Energy tally values

Dear lammps users

I maintained the two regions of the simulation box at two different temperatures, one at 310K and other at 290K using langevin thermostat. But when I tally the energy of two regions with time, the energy values for hot reservoir are coming out to be negative and that for cold one are positive. Since hot reservoir is getting energy from thermal bath, it’s energy tally value should be positive and similarly for cold one it should be negative. But why they are with reverse signs.

Thank you

Rajesh.