Cut two or three lemons in half and place them in your oven directly on the rack.
Leave the oven door propped open for a few hours (or up to overnight).
In the morning, close the oven door and turn the broiler on.
Let the oven cool, toss the citrus, and wipe out the base of the oven.
The flies are gone and your kitchen smells good too !