I have these lines repeating
FINAL RESULTS NSTEP ENERGY RMS GMAX NAME NUMBER 1
This might work for you:
awk '/FINAL RESULTS/{f=1;p=0}{p++}f==1 && p==6{print $2}' file
Or if you like:
awk 'f==2 && p==1{print $2}{p++}/FINAL RESULTS/{f=1}/ENERGY/ && f==1{f=2;p=0}' file