- Timestamp:
- Apr 13, 2020, 2:38:00 PM (6 years ago)
- Location:
- trunk/doc/release.2015/ps1.analysis
- Files:
-
- 6 added
- 2 edited
-
analysis.tex (modified) (40 diffs)
-
pics/bright.mag.resid.pdf (added)
-
pics/completion.ppsim.pdf (added)
-
pics/galplanecut.pdf (added)
-
pics/psphot.complete.pv3.pdf (added)
-
pics/zpt.mjd.v0.i.pdf (added)
-
pics/zptres.hist.v0.i.pdf (added)
-
response.txt (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.analysis/analysis.tex
r41324 r41333 100 100 images from other telescopes. We describe the analysis of the 101 101 astronomical sources by \ippprog{psphot} in general as well as for the 102 specific case of the 3rd processing version used for the first \textmod{two public103 releases} of the Pan-STARRS $3\pi$ survey data.102 specific case of the 3rd processing version used for the first 103 \textmod{two public releases} of the Pan-STARRS $3\pi$ survey data. 104 104 \end{abstract} 105 105 … … 156 156 partners collaborate with the Pan-STARRS team to harvest the transient 157 157 sources such supernovae and graviational wave counterparts. A second 158 Pan-STARRS telescope \citep[PS2][ ]{chambers2017,chambers2020},159 generally matching the PS1 design \citep{ Morgan2012} has since been158 Pan-STARRS telescope \citep[PS2][Chambers et al 2020 in prep]{chambers2017}, 159 generally matching the PS1 design \citep{2012SPIE.8444E..0HM} has since been 160 160 constructed and has been producing science results since early 2018. 161 161 … … 281 281 282 282 The photometric and astrometric precision goals for the Pan-STARRS\,1 283 surveys were quite stringent. The astrometric goals were relative astrometric accuracy of 10 milliarcseconds284 a nd absolute astrometric accuracy of 100 milliarcseconds with respect285 to the ICRS reference stars. For photometry, the goal was 10 286 millimagnitudes accuracy within the internal photometric system across 287 the sky, though the tie to an absolute standard was not required to 288 meet this standard.283 surveys were quite stringent. The astrometric goals were relative 284 astrometric accuracy of 10 milliarcseconds and absolute astrometric 285 accuracy of 100 milliarcseconds with respect to the ICRS reference 286 stars. For photometry, the goal was 10 millimagnitudes accuracy 287 within the internal photometric system across the sky, though the tie 288 to an absolute standard was not required to meet this standard. 289 289 290 290 An additional constraint on the Pan-STARRS analysis system comes from … … 303 303 efficient. Not only is it necessary to make a careful measurement of 304 304 the flux of individual sources, it is also critical to characterize 305 the image point spread function (PSF), and its variations across the field306 and from image to image. Since comparisons between images must be 307 reliable, the measurements must be stable for both photometry and308 astrometry. 305 the image point spread function (PSF), and its variations across the 306 field and from image to image. Since comparisons between images must 307 be reliable, the measurements must be stable for both photometry and 308 astrometry. 309 309 310 310 A variety of astronomical software packages perform the basic source … … 518 518 \end{itemize} 519 519 520 \note{Discuss the psphot photometry accuracy and the ubercal solution, 521 etc. mention Paper V} 522 523 \textadd{The success of the \ippprog{psphot} implementation is meeting 520 \textadd{The success of the \ippprog{psphot} implementation in meeting 524 521 the photometry and astrometry design requirements is demonstrated by 525 the achieved accuracy for the Pan-STARRS $3\pi$ Survey data. 526 } 522 the achieved accuracy for the Pan-STARRS $3\pi$ Survey data. For a 523 survey like the Pan-STARRS\,1 $3\pi$ survey to achieve photometry 524 and astrometry accuracy at the level of our goals, not only must the 525 measurement of the astronomical detections be precise, but it is 526 necessary for the detrending (instrumental signature remove) and 527 calibration processes to correct for a wide variety of systematic 528 effects and it is also necessary for the observations to be 529 performed in such a way that the data can be calibrated well. These 530 others aspects of the process are discussed in detail elsewhere 531 (Papers I, III, V). In the end, the goals were largely achieved for 532 the Pan-STARRS\,1 $3\pi$ survey. As reported in Paper V, the 533 resulting photometric system is consistent across the sky to between 534 7 and 12.4 millimagnitudes depending on the filter. The systematic 535 error floor for individual photometry measurements is $(\sigma_g, 536 \sigma_r, \sigma_i, \sigma_z, \sigma_y) = (14, 14, 15, 15, 18)$ 537 millimagnitudes. The bright-star systematic error floor for 538 individual astrometric measurements is 16 milliarcseconds and the 539 Pan-STARRS Data Release 2 (DR2) astrometric system is tied to the 540 Gaia DR1 coordinate frame with a systematic uncertainty of $\sim 5$ 541 milliarcseconds. } 527 542 528 543 \section{Basic Analysis} … … 554 569 555 570 \item {\bf Output} Write out sources in selected format, write out 556 difference image, variance image, etc, as selected. 571 difference image, variance image, etc, as selected. 557 572 \end{enumerate} 558 573 … … 578 593 PSF model may already be available from external information, in which 579 594 case the PSF modeling stage can be skipped. 595 596 \textadd{Ultimately, all measurements of individual astronomical 597 sources from \ippprog{psphot} are reported in one of the tables in 598 the PSPS database. As discussed in detail in Paper VI, measurements 599 from individual exposures are available from the 600 \ippdbtable{Detection} table. Measurements of objects in the 601 stacked images are stored in one of several \ippdbtable{Stack...} 602 tables while the `forced' measurements from individual warp images 603 are stored in tables beginning with \ippdbtable{ForcedWarp...}.} 580 604 581 605 \begin{table*} … … 893 917 Since a typical smoothing or warping operation may introduce 894 918 correlation between 25 - 100 neighboring pixels, the size of such a 895 covariance image is prohibitive. 896 \note{describe the way we handle covariance} 919 covariance image is prohibitive. 920 921 %% \note{describe the way we handle covariance} 922 923 %% Within the IPP analysis generally, we carry a simplified 924 %% representation of the impact of covariance on the variance values 925 %% used in pixel analysis operations. Whenever image operations 926 %% introduce covariance by combining information from multiple pixels, 927 %% we update a matrix tracking the covariance at the image center for 928 %% a small range of pixels. 897 929 898 930 Before sources are detected in the image, a model of the background is … … 930 962 50\% of the peak bin value. 931 963 964 \begin{table} 965 \caption{\label{tab:sky.offset} Comparison of background 966 measurement methods. Backgrounds were measured for simulated images with the given stellar 967 density (at the low-density detection threshold) and known 968 background level. The {\tt psphot} technique is less biased at high 969 stellar densities.} \vspace{-0.5cm} 970 \begin{center} 971 % \footnotesize 972 \begin{tabular}{cccccc} 973 \hline 974 \hline 975 {\bf Density} & {\bf True} & {\bf Image} & {\bf Image} & {\bf Gauss} & {\bf \tt psphot} \\ 976 {\bf \footnotesize $\log_{10}(\mbox{deg}^{-2}$)} & {\bf Sky} & {\bf Mean} & {\bf Median} & {\bf Fit} & {\bf \tt Value} \\ 977 \hline 978 4.2 & 202.8 & 203.3 & 202.8 & 202.8 & 202.9 \\ 979 4.7 & 202.8 & 204.9 & 203.1 & 203.0 & 203.0 \\ 980 5.2 & 202.8 & 210.6 & 204.0 & 203.5 & 203.5 \\ 981 5.7 & 202.8 & 233.9 & 207.4 & 205.4 & 205.3 \\ 982 6.2 & 202.8 & 300.9 & 219.7 & 211.2 & 210.6 \\ 983 6.7 & 202.8 & 534.6 & 286.2 & 242.8 & 233.9 \\ 984 \hline 985 %\multicolumn{5}{l}{$^1$ a footnote} \\ 986 \end{tabular} 987 \end{center} 988 \end{table} 989 932 990 If the fit to the asymmetric lower fraction of the curve is less than 933 991 the symmetric fit, but greater than the above lower-bound of the full 934 992 symmetric fit, then the lower fraction value is kept as the true mean 935 sky value for this superpixel. 993 sky value for this superpixel. Table~\ref{tab:sky.offset} shows a 994 comparison of this technique to several other methods to measure the 995 sky background using simulated data with a range of stellar 996 densities. The stellar density listed in the table is the number of stars per 997 square degree at the $5\sigma$ detection limit {\em in the 998 lowest-density image}. In our simulations, we find that as the 999 stellar density rises to values typical in the Galactic plane regions, 1000 this technique results in a more accurate estimate of the background, 1001 though it still over-estimates the background compared to the truth. 936 1002 937 1003 Bilinear interpolation is used to generate a full-resolution image … … 986 1052 \textadd{For an image with a Gaussian PSF of the same size, this method 987 1053 would represent the optimal detection algorithm, equivalent to a 988 matched filter \note{add ref}. At this stage, our goal is simply to1054 matched filter. At this stage, our goal is simply to 989 1055 detect the brighter sources, so the exact size and shape of the PSF 990 1056 is not critical. } … … 1378 1444 parameters would be the shape terms ($\sigma_x, \sigma_y, \sigma_{\rm 1379 1445 xy}$) while the independent parameters would be the centroid, 1380 normalization and local sky values ($x_o, y_o, I_o, S$). \note{we do 1381 not fit sky as a free parametery, right?} Thus the 1382 shape parameters are each a function of the source centroid 1383 coordinates: 1446 normalization and local sky values ($x_o, y_o, I_o, S$), though as 1447 noted below (Section~\ref{sec:nonlinear.psf.model}), in practice we do 1448 not allow the sky to be fitted independently since we subtract the 1449 background model. Thus the shape parameters are each a function of 1450 the source centroid coordinates: 1384 1451 \begin{eqnarray} 1385 1452 \sigma_x & = & f_1(x_{\rm ccd},y_{\rm ccd}) \\ … … 1423 1490 \textadd{For these PSF models, the functions are evaluated at the pixel center. 1424 1491 Unlike some galaxy model representations (see 1425 Section~\ label{sec:galaxy.conv.fit} ), the first derivatives of these1492 Section~\ref{sec:galaxy.conv.fit} ), the first derivatives of these 1426 1493 functions approach zero as the radius approaches zero, so sub-pixel 1427 1494 integration is not necessary.} … … 1616 1683 With $\sigma_a$, $\sigma_b$, $\theta$ in hand, we can now transform 1617 1684 these values to the parameters of our fits, $\sigma_x$, $\sigma_y$, 1618 $\sigma_{\rm xy}$ (Eqn~\ label{eqn:2d.gaussian} above). This transformation1685 $\sigma_{\rm xy}$ (Eqn~\ref{eqn:2d.gaussian} above). This transformation 1619 1686 can be determined by rotating the 2D Gaussian equation, yielding: 1620 1687 \begin{eqnarray} … … 1802 1869 not to be in the current thread group). 1803 1870 1804 \note{explain number of superpixels (psphotThreadTools.c)}1871 % \note{explain number of superpixels (psphotThreadTools.c)} 1805 1872 1806 1873 As the threads complete their analysis, they are assigned the next … … 1897 1964 sky radius. These values are saved in the \textmod{output FITS catalog files}, but 1898 1965 not sent to the PSPS. The sky radius value is used below in the 1899 calculation of the Kron magnitude. \note{used in both versions?} 1900 \note{calculated for the second pass?} 1966 calculation of the Kron magnitude. 1901 1967 1902 1968 \subsubsection{Kron Magnitudes} … … 1949 2015 the neighbors.} 1950 2016 1951 % \note{give a test example}1952 1953 2017 \subsubsection{Source Size Assessment} 1954 2018 \label{sec:source.size} … … 2025 2089 PV3 analysis of the $3\pi$ survey data, this limit was set to a 2026 2090 signal-to-noise ratio of 20.0 for all analysis stages. In these fits, 2027 the dependent parameters are fixed by the PSF model and only the 4 2028 independent source model parameters are allowed to vary in the fit. 2029 \ippprog{psphot} again uses Levenberg-Marquardt minimization for the 2030 non-linear fitting. The sources are fitted in their S/N order, 2031 starting with the brightest and working down to the user-specified 2032 limit, with the other sources subtracted as discussed above. All 2033 sources for which a non-linear PSF model has been attempted have the 2034 flag bit \code{PM_SOURCE_MODE_FITTED} set, regardless of the quality 2035 of that fit. 2091 the dependent parameters are fixed by the PSF model and only \textmod{the 3 2092 independent source model parameters (position in $X$ and $Y$ and flux 2093 normalization) are allowed to vary in the fit. Note that we do {\em 2094 not} allow the local sky to be fitted as a free parameters. Since 2095 we have subtracted a model for the background, allowing the sky to be 2096 again at this stage is redundant. In fact, in our testing, we found 2097 that allowing the sky to float resulted in higher scatter for the flux 2098 normalizations.} \ippprog{psphot} again uses Levenberg-Marquardt 2099 minimization for the non-linear fitting. The sources are fitted in 2100 their S/N order, starting with the brightest and working down to the 2101 user-specified limit, with the other sources subtracted as discussed 2102 above. All sources for which a non-linear PSF model has been 2103 attempted have the flag bit \code{PM_SOURCE_MODE_FITTED} set, 2104 regardless of the quality of that fit. 2036 2105 2037 2106 Since the PSF model describes the variation of the PSF across the … … 2148 2217 As the sources are fitted to the PSF model, those which survive the 2149 2218 exclusion stage are subtracted from the image. The subtraction 2150 process modifies the image pixels (removing the fitted flux, though 2151 not the locally fitted background)\note{is the background actually 2152 fitted locally?} but does not modify the mask or the variance 2153 images. The signal-to-noise ratio in the image after subtraction 2154 represents the significance of the remaining flux. If the 2155 subtractions are sufficiently accurate models of the PSF flux 2156 distribution, \textmod{the remaining flux should be normally distributed about 2157 zero with a standard deviation of 1 $\sigma$}. In practice the cores 2158 of bright stars are poorly represented and may have larger residual 2159 significance. 2219 process modifies the image pixels (removing the fitted flux) but does 2220 not modify the mask or the variance images. The signal-to-noise ratio 2221 in the image after subtraction represents the significance of the 2222 remaining flux. If the subtractions are sufficiently accurate models 2223 of the PSF flux distribution, \textmod{the remaining flux should be 2224 normally distributed about zero with a standard deviation of 1 2225 $\sigma$}. In practice the cores of bright stars are poorly 2226 represented and may have larger residual significance. 2160 2227 2161 2228 For sources in groups of blended stars, the resulting fits are … … 2201 2268 comparing the ratio to that expected. 2202 2269 2203 \note{more on the parameter guess}2204 2205 2270 For each type of extended source model (in fact for all source 2206 2271 models), a function is defined which examines the fit results and … … 2238 2303 \subsection{Faint Source Analysis} 2239 2304 \label{sec:faint.psf.model} 2305 2306 % pueo:/home/real/eugene/ppsim.20200407 2307 \begin{figure}[htbp] 2308 \begin{center} 2309 \includegraphics[width=\hsize,clip]{\picdir/{completion.ppsim}.pdf} 2310 \caption{\label{fig:complete.ppsim} Completeness as a function of 2311 magnitude (blue curves) for different stellar densities in 2312 simulated data. The curves are labeled with the logarithm of the 2313 stellar density at the detection threshold of the low-density 2314 image. The dotted red line shows the detection limit expected for 2315 the sky level and seeing. The solid red curve shows the 2316 completeness estimated for the low-density image based on 2317 injection and recovery.} 2318 \end{center} 2319 \end{figure} 2320 2321 % pueo:/home/real/eugene/ppsim.20200407 2322 \begin{figure}[htbp] 2323 \begin{center} 2324 \includegraphics[width=\hsize,clip]{\picdir/{psphot.complete.pv3}.pdf} 2325 \caption{\label{fig:complete.pv3} Completeness and bogus fraction 2326 as a function of magnitude for different stellar densities in real 2327 PS1 exposures. Each panel represents an exposure at different 2328 Galactic latitudes towards anti-center, labeled by the density of 2329 stars at the detection limit of the low-density exposure. In each 2330 panel, the completeness (compared to deep stack data) and fraction 2331 of false detections (bogus fraction) is shown for a series of 2332 cuts. The gold curves show all detections in the exposures. The 2333 dotted black curve shows the impact of cutting detections 2334 identified by {\tt psphot} as cosmic rays. The blue curve 2335 excludes cosmic rays and detections with {\tt PSF\_QF} $< 0.95$ 2336 while the red curve excludes cosmic rays and detections with {\tt 2337 PSF\_QF\_PERFECT} $< 0.95$.} 2338 \end{center} 2339 \end{figure} 2240 2340 2241 2341 After a first pass through the image, in which the brighter sources … … 2274 2374 centroids.} 2275 2375 2276 \textadd{After the flux-normalization is calculated, the moments 2277 are used to calculate the preliminary Kron radius and flux (see 2278 Section~\ref{sec:kron.mags}). These are in turn used to assess the 2279 source sizes as in Section~\ref{sec:source.size}. However, the 2376 \textadd{After the flux-normalization is calculated, the radial 2377 profile is measured (Section~\ref{sec:radial.profile}) and the 2378 moments are used to calculate the preliminary Kron radius and flux 2379 (see Section~\ref{sec:kron.mags}). These are in turn used to assess 2380 the source sizes as in Section~\ref{sec:source.size}. However, the 2280 2381 non-linear fitting steps for the PSF model fits 2281 2382 (Section~\ref{sec:nonlinear.psf.model}) and the extended source … … 2288 2389 parameters. In addition, the positions (for PSF sources) are not 2289 2390 much improved using the non-linear fitting compared with the 2290 non-parametric centroid measurement for these faint sources. 2291 \note{show with a model}.} 2391 non-parametric centroid measurement for these faint sources. } 2292 2392 2293 2393 The PV3 threshold for the bright source analysis is a signal-to-noise … … 2312 2412 on one image based on detections in other images have the flag bit 2313 2413 \code{PM_SOURCE_MODE2_MATCHED} set. 2314 2315 \note{need to discuss the injection \& recovery analysis of the completeness}2316 2414 2317 2415 \subsection{Aperture Correction and Total Aperture Fluxes} … … 2338 2436 will by determined by how inconsistently the models represent the 2339 2437 actual source flux. 2340 2341 Aperture photometry attempts to avoid these problems, but introduces2342 other difficulties. In aperture photometry, if a large enough2343 aperture is chosen, the amount of flux which is lost will be a small2344 fraction of the total source flux. Even more importantly, as the2345 image conditions change, the amount lost will change by an even2346 smaller fraction, at least for a large aperture.2347 %2348 % This can be seen by2349 % the fact that the dominant variations in the image quality are in the2350 % focus, tracking and seeing. All of these errors initially affect the2351 % cores of the stellar images, rather than the wide wings. The wide2352 % wings are largely dominated by scattering in the optics and scattering2353 % in the atmosphere. The amplitude and distribution of these two2354 % scattering functions do not change significantly or quickly for a2355 % single telescope and site.2356 %2357 Aperture photometry can then be used to2358 correct the PSF photometry.2359 2360 The difficulty for aperture photometry is the need to make an accurate2361 measurement of the local background for each source. As the aperture2362 grows, errors in the measurement of the sky flux start to become2363 dominant. If the aperture is too small, then variations in the image2364 quality are dominant. The brighter is the source, the smaller is the2365 error introduced by the large size of the aperture. However, the2366 number of very bright stars is limited in any image, and of course the2367 brighter stars are more likely to suffer from non-linearity or2368 saturation.2369 2438 2370 2439 % /data/kukui.1/eugene/psphot.examples.20190423/compare.sh … … 2402 2471 \end{figure*} 2403 2472 2473 % on pueo ~eugene 2474 % /data/kukui.1/eugene/psphot.examples.20190423/compare.sh 2475 \begin{figure}[htbp] 2476 \begin{center} 2477 \includegraphics[width=\hsize,clip]{\picdir/{bright.mag.resid}.\plotext} 2478 \caption{\label{fig:mag.resid.stdevs} Demonstration of photometric 2479 accuracy using the image sequence from 2480 Figure~\ref{fig:mag.resid.psf}. Using only bright stars (7 - 8 2481 magnitudes above the detection threshold), we calculate the 2482 difference between the magnitudes in the first image and the other 2483 17 images. The plotted dots show for each pair the mean 2484 difference vs the standard deviation of the difference. Red dots 2485 show the PSF magnitudes and blue dots show aperture 2486 magnitudes. Despite real transparency variations of 0.4 over the 2487 50 minutes of this sequence, magnitudes are consistent at the few 2488 millimagnitude level. Aperture magnitudes have scatter in 2489 the 2 - 7 millimagnitude range, while the PSF magnitudes have 2490 scatter of 7 - 14 millimagntiudes. 2491 } 2492 \end{center} 2493 \end{figure} 2494 2495 % on pueo ~eugene/zpts.20200406/mana.sh 2496 \begin{figure*}[htbp] 2497 \begin{center} 2498 \includegraphics[width=\hsize,clip]{\picdir/{zpt.mjd.v0.i}.\plotext} 2499 \caption{\label{fig:zpt.iband} Historical \ips-band zero points. 2500 Blue dots are the individual exposure zero points, corrected to 2501 airmass at the zenith. Red dots are the median of zero points 2502 from images groups in bins of 10 nights. The grey line is a 2503 spline fit to these median values. } 2504 \end{center} 2505 \end{figure*} 2506 2507 % on pueo ~eugene/zpts.20200406/mana.sh 2508 \begin{figure}[htbp] 2509 \begin{center} 2510 \includegraphics[width=\hsize,clip]{\picdir/{zptres.hist.v0.i}.\plotext} 2511 \caption{\label{fig:zpt.resid.hist} Historical \ips-band zero-point 2512 residual variations. Log-histogram (black line) of the 2513 per-exposure zero points, corrected to the zenith, after 2514 subtracting a spline fit to the median of image groups in bins of 2515 10 nights. The inset shows the core of the distribution. In 2516 both, the red line is a Gaussian fit to the distribution. The 2517 large negative tails are due to clouds and haze. } 2518 \end{center} 2519 \end{figure} 2520 2521 Aperture photometry attempts to avoid these problems, but introduces 2522 other difficulties. In aperture photometry, if a large enough 2523 aperture is chosen, the amount of flux which is lost will be a small 2524 fraction of the total source flux. Even more importantly, as the 2525 image conditions change, the amount lost will change by an even 2526 smaller fraction, at least for a large aperture. 2527 % 2528 % This can be seen by 2529 % the fact that the dominant variations in the image quality are in the 2530 % focus, tracking and seeing. All of these errors initially affect the 2531 % cores of the stellar images, rather than the wide wings. The wide 2532 % wings are largely dominated by scattering in the optics and scattering 2533 % in the atmosphere. The amplitude and distribution of these two 2534 % scattering functions do not change significantly or quickly for a 2535 % single telescope and site. 2536 % 2537 Aperture photometry can then be used to 2538 correct the PSF photometry. 2539 2540 The difficulty for aperture photometry is the need to make an accurate 2541 measurement of the local background for each source. As the aperture 2542 grows, errors in the measurement of the sky flux start to become 2543 dominant. If the aperture is too small, then variations in the image 2544 quality are dominant. The brighter is the source, the smaller is the 2545 error introduced by the large size of the aperture. However, the 2546 number of very bright stars is limited in any image, and of course the 2547 brighter stars are more likely to suffer from non-linearity or 2548 saturation. 2549 2404 2550 In order to thread the needle between these effects, \ippprog{psphot} 2405 2551 measures the aperture photometry on a modest-sized aperture, and then … … 2431 2577 analysis, a grid with a maximum of $6\times 6$ samples per GPC1 chip 2432 2578 image was used. The reported PSF magnitudes for all objects have this 2433 aperture correction applied. 2579 aperture correction applied. \textadd{Note that an initial aperture correction was 2580 measured during the initial steps of the analysis before the PSF model 2581 was chosen. However, since the sources in the image were not yet 2582 measured and subtracted, that aperture could be contaminated by 2583 neighbors. The analysis here is performed one fairly bright star at a 2584 time with all other sources subtracted in order to minimize such contamination.} 2434 2585 2435 2586 % growth curve analysis in psphot: … … 2481 2632 %%% term. 2482 2633 2634 \subsection{Completeness \& Contamination} 2635 2636 At the end of the \ippprog{psphot} analysis of the sources in the 2637 image, an analysis is performed to test the detection efficiency. A 2638 number of fake PSF sources are injected into the image and the peak 2639 detection analysis (Section~\ref{sec:peaks}) is use to determine if 2640 these sources would have been recovered. The PSF model fluxes are 2641 measured for the source which are detected. For a given image, the 2642 detection threshold is predicted based on the median image variance 2643 and the seeing. A series of brightness bins straddling the threshold 2644 are defined and a number of sources are injected with magnitudes 2645 corresponding to each of these bin values. The \ippprog{psphot} 2646 recipe value \code{EFF.NUM} specifies the number of sources in each 2647 brightness bin (500 the PV3), and the value \code{@EFF.MAG} specifies 2648 the bins as magnitudes above and below the threshold. For PV3, the 13 2649 magnitude offsets were (-2.0, -1.0, -0.5, -0.25, -0.1, -0.05, 0.0, 2650 0.05, 0.1, 0.25, 0.5, 1.0, 2.0), providing fine sampling near the 2651 limit, but more coarse coverage further away. Poisson noise 2652 appropriate to the photon counts of the injected sources are included 2653 in the image. Injected sources are uniformly distributed across the 2654 image in $X$ and $Y$ pixel coordinates {\em without any consideration 2655 of the masked regions}. This last point means the recovered 2656 fraction in the bright bins can be used to test the masking fraction. 2657 2658 As the stellar density increases, the completeness suffers due to 2659 crowding and confusion. Since the injection and recovery analysis of 2660 the fake sources operates on the source-subtracted image and does not 2661 attempt to fully discovery the sources, this analysis over-estimates 2662 the completeness in crowded fields. To explore the completeness in 2663 crowded field images, we generate a series of simulated images using a 2664 Gaussian PSF with FWHM = 1\arcsec for a range of stellar densities. 2665 We generate fake stars with fluxes as faint as $\frac{1}{5}$ of the 2666 flux as the low-density detection limit, with densities ranging from 2667 \approx 14,000 stars per square degree at low-density detection limit 2668 to \approx 4.8 million stars per square degree at the low-density 2669 detection limit. The latter is comparable to observed densities in 2670 the Galactic plane. We run the \ippprog{psphot} analysis on these 2671 simulated images and compare the detected stars to those injected to 2672 calculate the completeness for each image as a function of the true 2673 magnitude of the stars. Figure~\ref{fig:complete.ppsim} shows the measured 2674 completeness for each of the six simulated images, labeled by the 2675 logarithm of their faint-end stellar density. The red dashed line 2676 shows the expected detection limit based on the background and seeing, 2677 while the red curve shows the completeness curve calculated 2678 automatically by \ippprog{psphot} using the injection and recovery 2679 analysis. 2680 2681 For low-density fields, the completeness function determined by 2682 injection and recovery is similar to that measured by the simulation, 2683 with the 50\% completeness threshold roughly 0.3 magnitudes too faint. 2684 As the stellar density increases, the true 50\% completeness magnitude 2685 rises relative to the value estimated by injection and recovery. 2686 2687 Ideally, all sources detected by \ippprog{psphot} would correspond to 2688 real astrophysical objects. In reality, many sources are detected in 2689 the images which do not correspond to real sources in the sky. In the 2690 very simplified simulations discussed above, which do not include 2691 realistic detector artifacts, we find that the fraction of bogus 2692 detections is extremely low, even at the very faint end. In real 2693 data, bogus detections are due to a variety of typical instrumental 2694 features including cosmic rays, diffraction spikes, satelite tracks, 2695 glows, non-Gaussian noise, variance mis-estimation, etc. See paper III 2696 for extensive discussion of instrumental artifacts in the Pan-STARRS images. 2697 2698 Figure~\ref{fig:complete.pv3} illustrates the completeness and bogus 2699 detection fraction for a set of 4 real PS1 exposures from the $3\pi$ 2700 Survey. This figure uses \ips-band exposures with Galactic longitude 2701 roughly 200\degrees and latitudes of 0, 10, 30, 90 degrees. We 2702 identify the real astrophysical sources in these fields by comparing 2703 with the deeper stack exposures and counting as real any source 2704 detected in both \rps\ and \ips. We correct for the masking fraction 2705 in the exposures (which is roughly 80\%) in the case of GPC1 and plot 2706 the completeness fraction for all detections in 0.5 magnitude wide 2707 bins from the saturation limit to below the detection limit. We also 2708 show the bogus fraction, calculated as $1 - f_{\rm pure}$, where 2709 $f_{\rm pure}$ is the ratio of real detections to all detections for 2710 the given sample. We then apply three cuts to remove certain kinds of 2711 bogus sources. First, we exclude cosmic rays identified by 2712 \ippprog{psphot} by rejecting sources with the flag bit 2713 \code{PM_SOURCE_MODE_CR_LIMIT} (see Section~\ref{sec:source.size}). 2714 Next, we also remove detections with \ippmisc{PSF_QF} less than 0.95. 2715 Because this cut removes detections with heavy masking, it exclude a 2716 number of bogus detections due to glows and edge defects. Finally, we 2717 also exclude detections with \ippmisc{PSF_QF_PERFECT} less than 2718 0.95. This cut removes detections on residual persistent glows and 2719 diffraction spikes. 2720 2721 For the exposures at high-Galactic latitude, with a relatively low 2722 density of sources, the cosmic rays represent a significant 2723 contamination, as seen in the excess of bogus sources with \ips-band 2724 magnitudes in the range 17 - 19. These are efficiently removed with 2725 the cosmic ray cut listed above without noticable impact on the 2726 completeness. The other two cuts remove significant numbers of bogus 2727 detections, especially at the faint end, but at a significant cost in 2728 completeness at even brighter magnitudes. The completeness impact of 2729 these cuts is more significant at low-Galactic latitude, likely 2730 because the chance of having a source lie on the diffraction spikes or 2731 persistence glows is greatly increased at higher stellar densities. 2732 The impact of the crowding on the completeness is also clear in this dataset. 2733 2483 2734 \subsection{Stellar Photometry Example} 2484 2735 \label{sec:phot.example} … … 2498 2749 configuration for \ippprog{psphot} as used for the full PV3 2499 2750 \ippstage{chip} analysis. The first image of the sequence is compared 2500 to the remaining 17 images. A relative zero point correction is2751 to the remaining 17 images. A relative zero-point correction is 2501 2752 applied, measured as the median of the photometry difference for stars 2502 2753 with signal-to-noise greater than 50. The combined error is reported 2503 and used to generate the histograms show sin the figures. From these2754 and used to generate the histograms shown in the figures. From these 2504 2755 two figures, one can observe the trade-off between PSF and aperture 2505 2756 photometry. For the brightest instrumental magnitudes, corresponding … … 2528 2779 with the aperture photometry degrading rapidly as the flux of the star 2529 2780 decreases. 2781 2782 {\TEXTADD The figures above show the relative photometric accuracy for 2783 observations at a consistent pointing compared to the photon 2784 counting statistics. A related question is to ask how consistent is 2785 the photometry of the very brightest stars in terms of magnitudes. 2786 Figure~\ref{fig:mag.resid.stdevs} shows the accuracy of the 2787 brightest stars in these images for both PSF and aperture 2788 magnitudes. The relative zero point between the 1st image in the 2789 sequence and each of the remaining images was calculated and the 2790 standard deviations were measured using stars 7 to 8 magnitudes 2791 brighter than the detection threshold, for which the photon noise is 2792 less than 1 millimagnitude. Significant zero-point differences 2793 between the images are observed, largely due to the atmospheric 2794 transparency variations. Even so, the relative zero points 2795 calculated from the aperture magnitudes have standard deviations of 2796 2.4 - 7.4 millimags with a median of 3.5 millimags, while for PSF 2797 magnitudes, the standard deviations are in the range 6.7 - 14.2 2798 millimags, with a median of 9.2. } 2799 2800 {\TEXTADD Our ultimate ability to accurately measure the brightness of 2801 individual sources depends on a few factors: the accuracy of the 2802 flat-field response, the consistency of the flux measurement across 2803 the image (either due to the accuracy of the PSF model or the 2804 accuracy of the aperture correction), and the accuracy of our 2805 correction for any zero point changes. Our ability to accurately 2806 measure the zero point of each exposure depends in part on the 2807 characteristics of the observing site. In hazy conditions, the 2808 transparency of the atmosphere may vary substantially in time but be 2809 relatively stable across the field-of-view of the camera, as is 2810 shown in Figure~\ref{fig:mag.resid.stdevs}. Conversely, thin patchy 2811 clouds can result in small average transparency changes but 2812 substantial localized variations. If the site experiences more 2813 patchy clouds than smooth haze, photometric calibration will be 2814 difficult. A large fraction of time with cloudless conditions will 2815 benefit the calibration.} 2816 2817 {\TEXTADD To examine the Pan-STARRS site characteristics, we extracted 2818 \ips\ zero points for the lifetime of the observatory (2009 June - 2819 2020 April), shown in Figure~\ref{fig:zpt.iband}. These zero points 2820 were measured as part of the PV3 analysis of the $3\pi$ Survey, and 2821 from the nightly data analysis after the end of the $3\pi$ Survey, 2822 in both cases using the Pan-STARRS-based reference catalog. The 2823 zero points vary from night-to-night and over long periods. Over 2824 the 11 years of PS1 operation, the observed \ips-band zero point 2825 (for data in good weather, extrapolated to the zenith), has varied 2826 over 0.175 magnitudes (see Figure~\ref{fig:zpt.iband}). The 2827 long-term variations are believed to be due mostly to dust 2828 accumulation on the primary mirror and occasional cleaning, though 2829 the effect of the atmosphere cannot be ruled out.} 2830 2831 {\TEXTADD Figure~\ref{fig:zpt.resid.hist} shows a log-scale histogram 2832 of the \ips-band zero points after subtracting a smoothly varying 2833 spline fit to the median of groups of 10 nights. A Gaussian fit to 2834 this distribution has $\sigma = 28.4$ millimags. If we 2835 alternatively subtract a median zero point for each night, the 2836 standard deviation is reduced to 18.9 millimags. These values can be 2837 compared to the results of \cite{2012ApJ...756..158S} in which only 2838 photometric nights were included, yielding a standard deviation of 2839 9.0 millimags. On short time scales, weather (e.g., clouds \& haze) 2840 causes the deviations to lower zero point values. A small fraction 2841 of positive deviations also seen in Figure~\ref{fig:zpt.resid.hist} 2842 which are not expected from the normal effects of weather. We 2843 believe these are largely due to aperture correction errors.} 2844 2845 \subsection{Basic Analysis Summary} 2846 2847 \textadd{This section is focused on the basic analysis of the image 2848 for point-source detection and measurement. This analysis is 2849 applied as described to the invidual exposures in the 2850 \ippstage{chip}-stage analysis and the measurements are exposed in 2851 the public release PSPS database in the \ippdbtable{Detection} 2852 table. The same analysis is applied to the individual skycells in 2853 the \ippstage{stack}-stage analysis and the resulting values are 2854 presented in the PSPS \ippdbtable{StackObjectThin} and 2855 \ippdbtable{StackObjectAttribute} tables, with the later presenting 2856 values in instrumental units and the former giving calibrated 2857 values. The detection efficiency information determined from the 2858 injection and recovery analysis is stored in the 2859 \ippdbtable{ImageDetEffMeta} and \ippdbtable{StackDetEffMeta} tables 2860 for the \ippstage{chip} and \ippstage{stack} stage analysis. } 2530 2861 2531 2862 \section{Extended Source Analysis} … … 2684 3015 saved as equal-length vectors in the FITS table (\code{PROF_FLUX} and 2685 3016 \code{PROF_FILL}). The values of the radial bins are saved in the 2686 output file FITS header (\code{RMIN_NN}, \code{RMAX_NN}). 2687 2688 \note{specify PV3 config values?} 2689 2690 % \note{these profiles are not saved in PSPS} 3017 output file FITS header (\code{RMIN_NN}, \code{RMAX_NN}). \textadd{These 3018 measurements are saved in the catalog FITS files generated by 3019 \ippprog{psphot}, but they are not currently exported to the PSPS 3020 database for easy access.} 2691 3021 2692 3022 \subsection{Petrosian Radii and Magnitudes} … … 2746 3076 parameters were attempted, but for which the radial profile analysis 2747 3077 failed have the flag bit 2748 \code{PM_SOURCE_MODE2_PETRO_NO_PROFILE} set. 3078 \code{PM_SOURCE_MODE2_PETRO_NO_PROFILE} set. \textadd{These measurements are 3079 available from the PSPS \ippdbtable{StackPetrosian} table.} 2749 3080 2750 3081 … … 2959 3290 \note{how much error does this approximation introduce?} 2960 3291 3292 The convolved galaxy model fit results are available in one of three 3293 PSPS database tables: \ippdbtable{StackModelFitExp}, 3294 \ippdbtable{StackModelFitDeV}, \ippdbtable{StackModelFitSer} for the 3295 Exponential, DeVaucouleur, and S\'ersic models, respectively. 3296 3297 2961 3298 \subsection{Fixed Aperture Photometry} 2962 3299 \label{sec:fixed.aperture.photom} … … 3031 3368 SDSS aperture magnitudes.} 3032 3369 3033 \note{test this?} 3370 \textadd{The measurements described in this subsection are presented 3371 in the PSPS database (Paper VI) in the 3372 \ippdbtable{StackApFlxExGalUnc}, \ippdbtable{StackApFlxExGalCon6}, 3373 \ippdbtable{StackApFlxExGalCon8}, and \ippdbtable{StackApFlx} tables. 3374 The first three tables present measurements for all apertures from 3375 the unconvolved, 6, and 8-pixel FWHM convolved images (respectively) 3376 while the last table presents a subset of the radii from all three 3377 sets of measurements joined together for ease of access.} 3378 3379 \note{test SDSS radial apertures?} 3034 3380 3035 3381 % at least out to aperture # RADIAL_AP_MIN (= 4), but no further than … … 3190 3536 Traditionally, projects which use multiple exposures to increase the 3191 3537 depth and sensitivity of the observations have generated something 3192 equivalent to the stack images produced by the IPP analysis 3193 (c.f, CFHT Legacy survey, COSMOS, etc). In theory, the photometry of 3194 the stack images produces the ``best'' photometry catalog, 3195 with best sensitivity and the best data quality at all magnitudes. In 3538 equivalent to the stack images produced by the IPP analysis, 3539 \textadd{as done for example by the CFHT Legacy Survey 3540 \citep{2006ApJ...647..116H} or the Cosmic Evolution Survey 3541 \citep[COSMOS][]{2007ApJS..172...99C}}. In theory, the photometry 3542 of the stack images produces the ``best'' photometry catalog, with 3543 best sensitivity and the best data quality at all magnitudes 3544 \citep[see e.g., the discussion of]{2017ApJ...836..187Z}. In 3196 3545 practice, these images have some significant limitations due to the 3197 3546 difficulty of modeling the PSF variations. This difficulty is … … 3201 3550 single exposure, and the wide range of image quality conditions under 3202 3551 which data were obtained and used to generate the $3\pi$ PV3 stacks. 3552 3553 % CFHTLS release doc: 3554 % http://www.cfht.hawaii.edu/Science/CFHLS/T0007/CFHTLS_T0007-TechnicalDocumentation.pdf 3203 3555 3204 3556 For any specific stack, the point spread function at a particular … … 3256 3608 (Section~\ref{sec:ensemble.fitting}). 3257 3609 3258 \textmod{Aperture fluxes, Kron fluxes}, and moments are also measured at 3259 this stage for each warp. Note that the flux measurement for a faint, 3610 \textmod{Aperture fluxes, Kron fluxes}, and moments are also measured 3611 at this stage for each warp. \textmod{For the Kron fluxes, the radii 3612 are fixed to the value determined in the analysis of the stack. 3613 Fluxes are also measured in 3 of the fixed apertures discussed in 3614 Section~\ref{sec:fixed.aperture.photom}: those with 3.00, 4.64, 3615 and 7.44 arcsecond radii.} 3616 Note that the flux measurement for a faint, 3260 3617 but significant, source from the stack image may be at a low 3261 3618 significance (less than the $5\sigma$ criterion used when the … … 3277 3634 system. The PSF photometry measurements are combined in the context 3278 3635 of the DVO database system \citep{magnier2017.datasystem}, including 3279 recalibration of the zero points for the individual warp. 3636 recalibration of the zero points for the individual warp. \textadd{These 3637 measurements for each warp are available from the PSPS database 3638 \ippdbtable{ForcedWarpMeasurement} and \ippdbtable{ForcedWarpExtended} 3639 tables, the latter containing the three fixed-aperture fluxes. The 3640 average values calculated over the warps are found in the 3641 \ippdbtable{ForcedMeanObject} tables.} 3280 3642 3281 3643 \note{discuss the relative quality of average exposure, forced warp … … 3339 3701 In this way, the forced galaxy model analysis uses the PSF information 3340 3702 from each warp image to determine a best set of convolved galaxy 3341 models for each galaxy model measured for the stack image. 3703 models for each galaxy model measured for the stack image. The 3704 results of these galaxy model fits are available from the PSPS 3705 database \ippdbtable{ForcedGalaxyShape} table. 3342 3706 3343 3707 \subsection{Galaxy Lensing Parameters} … … 3527 3891 \code{PSF_QF_PERFECT} is less than 0.85. 3528 3892 3893 The lensing parameters measured for individual warps are available 3894 from the PSPS database \ippdbtable{ForcedWarpLensing} table while the 3895 average values calculated over the warps is found in the 3896 \ippdbtable{ForcedMeanLensing} tables. 3897 3529 3898 % \note{example of using the lensing elements for binaries?} 3530 3899 … … 3673 4042 \section{Conclusions} 3674 4043 4044 \note{add lessons learned here} 4045 4046 \begin{verbatim} 4047 Suggestions for improvements / changes 4048 * use more external knowledge: 4049 ** Gaia or PS1 to select stars as PSF sources 4050 ** pre-seed information about the very bright or very crowded 4051 regions 4052 * background model 4053 ** allow the superpixel scale to change as a function of environment 4054 ** do not use the lower-end model unless region is known to be dense 4055 * use galactic latitude or local stellar density to smoothly 4056 transition from double / multi-PSF to galaxy model fitting 4057 \end{verbatim} 4058 3675 4059 The Pan-STARRS Image Processing Pipeline has used the \ippprog{psphot} 3676 4060 software to detect and characterize astronomical sources in images -
trunk/doc/release.2015/ps1.analysis/response.txt
r41324 r41333 16 16 data sets. 17 17 18 ** ** TBD : all of these items until Abstract18 ** added to the end of Section 3 Psphot Design Goals 19 19 20 20 For many of the sections, the reader would benefit by starting with … … 77 77 state the same for galaxy astrometry, fluxes and colors. 78 78 79 **** TBD 79 ** for each section, we have added a summary of where the values may 80 be found, and added an overall summary of this issue to the end of 81 the Basic Analysis section. 80 82 81 83 A detail of the code is presented (variable names, etc) that imply … … 96 98 that the photometric goals are achieved 97 99 98 **** TBD see note section Forced PSF Phot100 **** TBD : discuss relative quality of chip, forced, stack photometry 99 101 100 102 - Sec 7, where the image differencing detections and photometry is used … … 124 126 in one place would be a useful service. 125 127 126 **** TBD 128 **** TBD : summarize the lessons learned 127 129 128 130 Abstract: … … 219 221 applying to bright sources, and another addessing all (==faint) sources. 220 222 221 **** TBD 223 ** We have expanded the discussion in 4.7 (Faint Source Analysis) to 224 explain which of the steps in the bright source pass are repeated 225 and which are skipped. We refer back to the specific sections and 226 explain where there are detailed differences in the bright and 227 faint versions of the same step. 222 228 223 229 Sec 4.1: … … 227 233 of Sec 4.8) that the PSF model for an image is actually selected. 228 234 229 **** TBD230 235 ** The aperture correction is measured at the end of the bright-star 231 ** pass, at which point the PSF model is chosen and fixed. A final 232 ** aperture correction is measured at the end of the full analysis, 233 ** but only for the PSF model class selected earlier. 236 pass, at which point the PSF model is chosen and fixed for the rest 237 of the analysis. A final aperture correction is measured at the 238 end of the full analysis, but only for the PSF model class selected 239 earlier. But for PV3, the PDF model was fixed to the PS1_V1 240 version, so this selection was not performed. We have added text to 241 4.5.3 to explain how the aperture correction is used to select a 242 PSF model, and that only the single model form was used for PV3. 243 We also note in section 4.8 that we re-measure the aperture 244 correction at the end with the other sources subtracted. 234 245 235 246 Sec 4.3: … … 264 275 measure is used. 265 276 266 **** TBD: model? 277 ** added a table showing sky recovery vs stellar density from 278 simulations using the standard psphot analysis vs other methods, 279 added discussion of the results. 267 280 268 281 Sec 4.4.1: … … 319 332 320 333 **** TBD: SHOW SOME EXAMPLES of PSF variations 334 choose 3 exposures: 1 with good IQ, one with bad IQ, but round, one with bad IQ but not round, 335 plot some IQ stats (Mxx - Myy) / (Mxx + Myy) 321 336 322 337 - Please state whether the PSF model is this set of formulae … … 344 359 sources by GAIA. 345 360 346 ***** TBD 361 ** This is an interesting suggestion, but out of the scope of this 362 effort. we have added this to the lessons-learned discussion 347 363 348 364 Sec 4.5.3: … … 419 435 and presented as a future development effort. 420 436 421 **** TBD 437 **** TBD : wording of full PSF model section 4.6.6 422 438 423 439 - Remind the reader that the 4 independent parameters includes a local sky 424 440 value. 425 441 426 **** TBD: double-check if the sky is allowed to float in this step 442 ** in fact, we do not allow the sky to float; fixed the wording to 443 specify the *3* independent parameters and to explain why we do not 444 allow the sky to float. 427 445 428 446 - "remaining flux should be below 1\sigma significance" -> … … 437 455 range. 438 456 439 **** TBD: was the turned on for PV3?457 **** TBD: double-star mode: was this turned on for PV3? ppSim to show recovery 440 458 441 459 Sec 4.7: … … 444 462 could be included here. 445 463 446 **** TBD: include detection limit description 464 ** This was a definitely gap. We have added a subsection (4.9) 465 discussing the completeness and contamination, using both simulated 466 and real data to illustrate these effects 447 467 448 468 Sec 4.8: … … 501 521 atmospheric transparency variations. 502 522 503 **** TBD 523 ** we have added discussion and some plots showing the repeatability 524 of the brightest stars for PSF and aperture magnitudes. We also 525 discuss the long-term site characteristics and the impact of the 526 atmosphere on the photometric calibration, relating back to the 527 ubercal work of Schlaley et al 2012. 504 528 505 529 Sec 5: … … 534 558 compare well to those in the PS1 catalog? 535 559 536 **** TBD: compare to SDSS560 **** TBD: compare Petrosian mags to SDSS for some example 537 561 538 562 Sec 5.3: … … 561 585 error of this approximation should be stated. 562 586 563 **** TBD: model 587 **** TBD: model central pixel errors for Sersic models 564 588 565 589 Sec 5.4: … … 626 650 discussion would be Zackay & Ofek 2016. 627 651 628 ** ** TBD652 ** added references and updated the text 629 653 630 654 - The terms "skycell" and "warp image" are first used here without … … 664 688 and if not, which code would it be most similar to? 665 689 666 **** TBD 690 **** TBD : check on GREAT challenge to compare code 667 691 668 692 - Define "KSB" and "HFK" references in-line … … 789 813 - Some additional references should be included; some suggestions above. 790 814 791 ** ** TBD815 ** added additional references 792 816 793 817 ** Also, we have added Danny Farrow (UK Durham & MPIA) to the authors
Note:
See TracChangeset
for help on using the changeset viewer.
