The image is a bit small, a larger version might give better results.
Total edit: Just re-read the subject and it is just the flames not the candles.. Still using the gimp_gmic_qt plugin http://www.gmic.eu The Inpaint (diffusion transport ) filter. Use the pencil tool (not paint tool). Pure 100% red for the mask. Include any glow. Looks like this:
No use trying to save the candle wicks, back to the paint tool and a tiny brush, reduced opacity and paint them in.
Total edit: Just re-read the subject and it is just the flames not the candles.. Still using the gimp_gmic_qt plugin http://www.gmic.eu The Inpaint (diffusion transport ) filter. Use the pencil tool (not paint tool). Pure 100% red for the mask. Include any glow. Looks like this:
No use trying to save the candle wicks, back to the paint tool and a tiny brush, reduced opacity and paint them in.

