Added debug log on failed ema calculation