show energy and update progress bar with iteration information