Writes fit results to file now