Added regression energy for photons