Just now, a housefly was bugging me a lot and I wanted to get rid of it. My mother suggested me to turn off the lightbulb and off it went. However a small flame was burning in my room. Why didn't the housefly get attracted to the flame (although it was a luminous flame)?
My first guess is because of the high temperature a flame produces. This Wikipedia article states that:
A 300 watt tubular halogen bulb operated at full power quickly reaches a temperature of about 540 °C (1,004 °F)
And a charcoal fire can produce temperatures between 750–1,200 °C (1382-2192 °F). Source.
I've seen small bugs getting attracted to large halogen lights in sports complexes. Although these two temperature ranges are a sizable difference apart, 540 °C doesn't seem cool at all. Is it really due to temperature, or is there some other reason?