simulation stop before finishing and does not dump data correctly

p.s.: you must be using a very old version of LAMMPS or else your
input would have terminated at the thermo command. that one does check
for invalid integers since summer 2013.