run the module for photon energy regression