1. Method for controlling an internal combustion engine during an engine operating cycle, said engine fluidly connected to an exhaust aftertreatment system and operatively connected to an electro-mechanical transmission to transmit tractive power to a driveline, comprising: determining a temperature of the exhaust aftertreatment system; adjusting power output of the engine based upon the temperature of the exhaust aftertreatment system and a preferred temperature range of the exhaust aftertreatment system; and, controlling the electro-mechanical transmission to transmit tractive power to the driveline to meet an operator torque request based upon the adjusted power output of the engine.