a few changes to doControlPlotsPhotons to make easier to run and add the error for the significance test