From Relative Magnitudes to Fluxes Nicole Fields 

Now that all the relative magnitudes and errors from IRAF have been extracted from the .fits.mag.1 files, the relative magnitude of the source must be calibrated using the known magnitudes of the reference stars.
Using the known magnitudes of the reference stars above, and the relative magnitudes of the reference stars given by IRAF from the photometry, it is possible to calculate the offset for each frame. This offset is calculated by subtracting the known magnitude from the relative magnitudefor each reference star, and then calculating the average. This average offset is then subtracted from the measured magnitude of the source to get the true apparent magnitude of the source. The error on the magnitude of the source was calculated by determining the sample standard deviation of the offset and adding that in quadrature to the error on the magnitude of the source given by IRAF. In the few cases where only one reference star was available, then the error on the magnitude was calculated by propagating the errors on the known magnitudes of each reference star along with the errors on the relative magnitudes given by IRAF to get the error on the offset. This was then added in quadrature to the error on the magnitude of the source given by IRAF. Once the magnitudes had been properly calibrated, they were then converted to fluxes. This was done using the following equation from Sparke & Gallagher. Here m is in Vega/A0 magnitudes and F_{&nu} is in Janskys. For the filters of our observation BVR with B and V Johnson filters and R a Cousins filter the following table gives the peak wavelength in Angstroms and the corresponding Zero Point.
Since magnitudes are on a log scale, it was slightly tricky to convert the error in magnitude to an error in flux. The following error formula is derived from the fact that magnitude differences are flux ratios. All of these calculations were done with a C program whose code can be found here. 
Back to the REU homepage! 