Detecting stellar flares in the presence of a deterministic trend and stochastic volatility | Synapse