You may be confused because ATK 10.8 and 2008.10 use slightly different ways to handle units. The script you show is valid for 2008.10 - until the point you ask for energies.inUnitsOf(), which could work in 10.8, but not in 2008.10.
However, you don't really want to have the whole list of energies inside the loop, you just want one value. So you should instead use
for j in range(len(energies)):
print "%g\t%g" % ( energies[j].inUnitsOf(eV),coefficients[j] )