moved rm fits.log and worked on result generation