As part of our investigation into whether photometric or other errors could cause problems with the 2MASS Galaxy J-H / H-K color-color plot, T. Jarrett and T. Chester have been exploring and characterizing the various sources of noises in 2MASS galaxy photometry. This memo reports the results.
The main conclusions are as follows:
We have found that the annulus around a galaxy is more awful place than expected even at high galactic latitudes, full of extra flux due to faint galaxies, faint stars, and flux from the outer parts of the galaxies themselves.
In particular:
In the following, assume that the individual pixel noise in the coadded images is npixel, which ranges from 1.0 - 1.3 DN at H and K to around 0.6 DN at J. Also, remember that:
1.72*4*N*(npixel)^2,
in the case where the galaxy flux is negligible compared to the background flux, where:
Technical note: In this memo, whenever the noise is calculated for an aperture with N coadd pixels, we compute the noise from first principles using the Poisson noise of the total flux from sources in that aperture, the read noise, and the Poisson noise in the background, using a gain of 8 and a read noise of 55 electrons. The formula above approximates that calculation in the case where the total flux from sources in the aperture is small compared to the background flux, which is the usual case. We use a background of 100 DN for J, and 400-800 DN for H and K, which corresponds to a coadd noise of 0.6 DN for J, and 1.0 - 1.3 DN for H and K.
Currently, which will change with the next software update, GALWORKS determines the background as follows:
The software change which will occur is to fit the cubics to half of the in-scan extent of the coadd, separately for the top half, the middle half, and the bottom half, and interpolate between those solutions to get the background.
The noise of the background determination depends on the structure of the background. For example, if there is no variation in background across the entire coadd, then all cubic polynomial coefficients will be zero except for the mean level, which will be determined from the mean of all the 8 x 8 medians. The error in the determination of that mean is:
1.25 * npixel / { (64/[4*1.72]) * 128 * 64 }1/2 = 0.0059 npixel
If the background variation requires a cubic, and is well-fit by a cubic, which is normally the case except for H-band observations with high airglow, then intuitively the coadd is effectively divided into 4 x 4 regions with the resulting errors then being 4 times higher. ("intuitively" means that we don't really know if this is the answer, but it seems logical! if our reasoning is faulty, please let us know.) The resulting noise in the determination of the background is then:
0.024 npixel
If the background variation requires a higher-power polynomial than a cubic, then the error in the background will no longer be determined by the pixel noise. Instead, the background error will result from the residual error after a cubic polynomial is fit. This will be the case for airglow variation, which can vary on high spatial frequency scales.
The following table gives the photometric error caused by several levels of noise in the determination of the background error, along with ancillary information, for galaxies at the "10% flux accuracy" Level-1 Specification at H, and scaled for the other bands. The isophotal mag at the 20th mag per square arcsecond contour is used, and all bands have a radius of 6-10 pixels to that contour, containing 110 to 310 pixels.
| Band | Mag | Counts (DN) | Poisson Noise (DN) | Noise Due to Background (DN) | |||
|---|---|---|---|---|---|---|---|
| Number of Pixels | Background Noise (DN) | ||||||
| 110 | 330 | 0.01 | 0.05 | 0.1 | |||
| J | 14.5 | 344 | 21 | 37 | 1-3 | 5-16 | 11-31 |
| H | 13.8 | 540 | 34-45 | 58-78 | |||
| K | 13.0 | 597 | 34-45 | 58-78 | |||
The range for the Noise Due to Background (DN) is for 110-310 pixels. We used the following zero points from the prototype camera, which need to be updated to the actual processing values: j=20.84, h=20.63, k=19.94.
In order to keep the noise in determining the background level from increasing the total photometric noise by more than 10%, that noise must be less than half the Poisson noise. The noise in determining the background level must then be less than about 0.05 DN, using the largest aperture, the highest background and the usual case where a cubic fit is needed. Fortunately, the above results show that the typical noise in determining the background is ~0.01-0.02 DN, safely below that number. This will be true even if the change is made to fit half the coadd at a time, increasing the noise by sqrt(2), and will probably lead to an overall improvement since it will lower the "untracked" background amount.
In order to investigate the actual accuracy of determining the background, T. Jarrett changed GALWORKS to report the median flux in an annulus centered on each galaxy candidate. For most sources, the annulus spans a radius of 10 to 20 pixels from the center of each source.
The 5 duplicate scans over the Hercules Supercluster on 970521n were used for the analysis, since these scans have been properly calibrated, are photometric, and are free from hardware, operational or airglow problems.
Three problems prevent these annuli from being a true measure of the background:
The duplicate scans allow us to examine both the repeatability of the annuli fluxes using fixed positions on the sky as well as to examine the distribution in area as well as repeat. Using the fixed positions on the sky eliminates the dispersion caused by the above effects, but the mean flux will remain biased by them.
The statistics for those scans are presented in the following table. The sigma due to sources is the scatter required in addition to the sigma using fixed sources in order to equal the sigma using all sources. The sigma due to sources presumably results from the combination of the three factors mentioned above.
| Band | Distribution of Flux In Aperture (DN) | Sigma Due To Sources | |||
|---|---|---|---|---|---|
| Using fixed sources, 5 repeats | Using all sources, ~500 samples | ||||
| Bias | Sigma | Bias | Sigma | ||
| J | 0.050 | 0.051 | 0.048 | 0.084 | 0.067 |
| H | 0.061 | 0.089 | 0.058 | 0.120 | 0.080 |
| K | 0.054 | 0.092 | 0.052 | 0.117 | 0.072 |
The sigma using fixed sources, 5 repeats was calculated by first computing the unbiased estimate of the sigma for every source and then averaging those sigmas. |Means for individual sources| above 0.4 DN were tossed prior to that computation.
The sigma using all sources was calculated by computing the scatter of all measurements using all sources, after tossing the data points with |mean backgrounds| above 0.4 DN.
The bias values for each case would be identical if no points were tossed. Since outliers are tossed somewhat differently for each computation, they differ slightly. Note that points do exist off the boundaries of the plots.
The expected scatter in total flux for an annulus between a radius of 10" and 20", containing 942 coadd pixels, is:
1.7 * 2 * 31 * npixel = 105 npixel,
which is a scatter of 0.111 npixel in the mean flux of the annulus, which is 0.066 at J and 0.105 - 0.141 at H and K (from detailed computation). These are actually upper limits to the value of the noise, since blanking can remove some of the pixels from the aperture, resulting in lower noise. With this is mind, as can be seen from the above table, the sigma using fixed sources, 5 repeats is in agreement with those values.
The sigma due to sources is essentially the same in all bands.
For all the computations below, we calculate the contribution of various sources of noise in the annulus from a radius of 10" to a radius of 20" centered on each galaxy. The goal is to understand the source of the mean annuluar bias and the sigma due to sources found in the previous table.
The conclusion is that all three of the sources considered below contribute to the flux mean and scatter of the annulus. The table below gives a summary of the effect of each source alone at K-band:
| Source | Mean bias (DN) | Sigma Due To Each Source Class (DN) |
|---|---|---|
| Point Sources | 0.015 | 0.022 |
| Flux From the Galaxies Themselves | <0.022 | <0.024 |
| Neighboring Galaxies | 0.041 | 0.040 |
| Total All Sources | <0.078 | 0.049 |
| Observed Results | 0.055 | ~0.070-0.080 |
The mean bias is easily achievable due to a combination of all of these factors. The sigma due to sources is not so easily understood, but it is certainly possible that the contribution of neighboring galaxies is larger than calculated below, which might close the gap between the sum of these sources and the observed effect. At face value, another source of noise with sigma of 0.050 DN is needed to reach 0.070 DN.
Point Sources are blanked in all computations if they are brighter than ~2 mags (a namelist parameter) below the galaxy flux requirement. Thus point sources below ~17.0, 16.3, and 15.5 mag, for J, H and K, respectively, contribute flux to the annulus if they are present. Their effect scales directly with stellar density.
Consider first K band at high galactic latitudes, where the density of sources is 330 sources per square degree brighter than 14th mag. Assume that the density scales as 100.4*mK for fainter magnitudes. The density of sources above 15.5 mag is then ~1300 per sq. deg., and between 15.5 and 16.0 mag is 770 per sq. deg.
The maximum effect will occur when a star with 15.5 mag appears in the annulus, which makes the mean flux of the annulus brighter by 58 DN / 942 = 0.06 DN. This occurs for 0.06 of all annuli.
Of course, stars fainter than this flux will also be found in the annulus. The following table gives some rough numbers of the contribution of stars with various magnitudes:
| Mag. Range | Percent of Annuli | Max. Mean flux (DN) |
|---|---|---|
| 15.5-16.0 | 0.06 | 0.063 |
| 16.0-16.5 | 0.10 | 0.040 |
| 16.5-17.0 | 0.15 | 0.025 |
| 17.0-17.5 | 0.24 | 0.016 |
Given these probabilities and fluxes, we can then randomly assign those sources among a set of 100 annuli and get the expected distribution below:
| Number of Annuli | Mean flux (DN) |
|---|---|
| 55 | 0 |
| 17 | 0.016 |
| 9 | 0.025 |
| 6 | 0.04 |
| 3 | 0.041 |
| 2 | 0.056 |
| 4 | 0.063 |
| 1 | 0.065 |
| 1 | 0.079 |
| 1 | 0.081 |
| 1 | 0.088 |
Summing up the contributions from the table gives a mean bias of 0.015 DN and a sigma due to sources of 0.022 DN.
Extra credit discussion: It is true that the total flux from faint stars diverges if the number of sources scales as 100.4*mK. However, when the expected number of sources grows beyond one per annulus, the flux from those sources becomes part of the background and thus does not affect the aperture fluxes.
As mentioned above, galaxies with an r1/4 profile will have a significant amount of their own flux in that aperture. In particular, 7% of the total flux of an elliptical galaxy will be present, all with values of 0.1 DN or below for a 13th total mag galaxy. The exponential disk of a spiral galaxy will contribute no flux to that annulus, but 7% of its bulge component will be present.
To get an upper limit to this effect, assume that half of all galaxies are ellipticals. Half of all annuli will then have an extra 7% of the elliptical galaxy flux, corresponding to 42 DN for a galaxy with mK = 13 mag. This results in an average 21 DN extra flux in the total annulus, which is a mean bias of 0.022 DN for the mean annulus flux, about 40% of the observed mean bias. The scatter resulting from this distribution of fluxes is 0.024 DN.
It is well-known that the probability of finding a galaxy near another galaxy is significantly higher than that expected due to the average density of galaxies. This is true of galaxies in "the field", whatever that means, as well as of galaxies in a "cluster".
This enhanced probability is usually stated in terms of a two-point correlation function w(theta), such that the probability of finding any galaxy at an angular distance theta from another galaxy is {1 + w(theta)} times the normal Poisson probability density. The factor {1 + w(theta)} is the ratio of the true probability of finding a galaxy to that found by chance for objects placed at random.
To get a rough order of magnitude for this effect, we blindly apply the 2-point correlation coefficient found for optical galaxies with bj = 19.5 from the EDSGC (we forget what that stands for...) Assuming that mK - bj is ~4 implies that the bj = 19.5 mag value might roughly represent the 2-point correlation function for galaxies with mK ~ 15.5, which would not be blanked out in the annulus.
The value of w(theta) found in the EDSGC is 0.12 * theta-0.58, where theta is expressed in units of degrees. The values are then 3.6-2.4 for a radii of 10-20", implying a factor of 4.6-3.4 times the random probability.
Assuming that the density of galaxies brighter than mK ~ 13.5 is 25 sources per square degree, appropriate for the Hercules cluster studied here, and wildly extrapolating using a power law of 1.5, the density of galaxies with mK ~ 15.0 - 15.5 is 200 per square degree. This implies 0.015 such galaxy per randomly-chosen annulus, and 0.051 - 0.069 such galaxies per annulus centered on a 2MASS galaxy.
Of course, galaxies fainter than this flux will also be found in the annulus. Further, even when the number of such galaxies in the annulus becomes large, they still affect the mean flux of the annulus since their density is higher in these annuli than their mean density in the coadd. The following table gives some rough numbers of the contribution of galaxies with various magnitudes:
| Mag. Range | Max. No. | Mean flux (DN) |
|---|---|---|
| 15.0-15.5 | 0.07 | 0.100 |
| 15.5-16.0 | 0.14 | 0.063 |
| 16.0-16.5 | 0.28 | 0.040 |
| 16.5-17.0 | 0.56 | 0.025 |
Given these probabilities and fluxes, we can then randomly assign those sources among a set of 100 annuli and get the expected distribution below:
| Number of Annuli | Mean flux (DN) |
|---|---|
| 26 | 0 |
| 32 | 0.025 |
| 9 | 0.04 |
| 4 | 0.063 |
| 13 | 0.065 |
| 5 | 0.088 |
| 2 | 0.1 |
| 2 | 0.103 |
| 2 | 0.125 |
| 2 | 0.128 |
| 1 | 0.14 |
| 1 | 0.165 |
| 1 | 0.188 |
Summing up the contributions from the table gives a mean bias of 0.041 DN and a sigma due to sources of 0.040 DN.
Analysis of the "postage stamp" images could provide some evidence for a nonzero correlation coefficient for 2MASS galaxies. A postage stamp is 100" x 100". For the typical galaxy densities of 25 per square degree above mK = 13.5 mag, the expected number of postage stamps with two such galaxies is 0.02 from chance. This implies that among 25 galaxies, half of all such fields should have two galaxies found in the same postage stamp. The value of the 2-D correlation coefficient is still 1.0 even at a radius of 100", and hence the expected number among 25 galaxies is greater than unity.