Updated photometry functions: do not substract background when estimating standard deviation