write gammas to files for plotting
correct error of overwriting previous year of interest