The star’s intensity is the total photon count for your selected source pixels minus the average background photon count for each source pixel. (The average background count rate per pixel was determi...The star’s intensity is the total photon count for your selected source pixels minus the average background photon count for each source pixel. (The average background count rate per pixel was determined by adding up all the counts in the background pixels and dividing by the number of background pixels that you selected.)