Save log files, and run more cycles in optimization.

Log files are saved at several intermediate steps.
Print additional info in gaussian logs