I have these lines repeating
FINAL RESULTS NSTEP ENERGY RMS GMAX NAME NUMBER 1
Something like this should work for you:
awk '/FINAL RESULTS/{for (i=0; i<5; i++) getline; print $2}'