Changeset 40632
- Timestamp:
- Mar 4, 2019, 3:17:12 PM (7 years ago)
- Location:
- trunk/doc/release.2015/ps1.calibration
- Files:
-
- 9 added
- 1 edited
-
calibration.tex (modified) (64 diffs)
-
pics/allsky.histogram.astrom.compare.png (added)
-
pics/allsky.photom.v1.png (added)
-
pics/astroflat.gri.v1.png (added)
-
pics/astroflat.repair.png (added)
-
pics/astroflat.zy.v1.png (added)
-
pics/gpc1.layout.pdf (added)
-
pics/photflat.example.v1.png (added)
-
pics/photom.pv3.3v4.png (added)
-
pics/rings.v3.example.png (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.calibration/calibration.tex
r40614 r40632 18 18 \def\plotext{pdf} 19 19 %\def\plotext{ps} 20 21 %% NOTE: 2019 Feb versions of the figures are generated in /data/kukui.1/eugene/cal.paper.20190217 20 22 21 23 %\def\picdir{/home/eugene/chipresid.20140404} … … 148 150 readout time of 7 seconds for a full unbinned image 149 151 \citep{2008SPIE.7014E..0DO}. The active, usable pixels cover $\sim 150 80$\% of the FOV. 152 80$\% of the FOV. Figure~\ref{fig:gpc1.layout} illustrates the 153 physical layout of the devices in the camera with respect to the 154 parity of the sky. 151 155 152 156 Nightly observations are conducted remotely from the Advanced … … 240 244 %% submission and refereeing process.}} 241 245 246 %% this figure comes from kukui.1/~/czw.paper.images.20181130 247 \begin{figure} 248 \centering 249 \includegraphics[width=0.9\hsize,angle=0,clip]{{pics/gpc1.layout}.pdf} 250 \caption{Diagram illustrating layout of OTA devices in GPC1. The 251 blue dots mark the locations of the amplifiers for xy00 cells in 252 each chip. When cells are mosaicked to a single pixel grid, the 253 pixel in this corner is at chip coordinate (0,0). The figure 254 illustrates the orientation of the OTA devices relative to the 255 parity of the sky. An exposure taken with North at the top of the 256 field-of-view will have East to the left when the OTA devices are 257 mosaicked as shown. Note that the devices OTA0Y - OTA3Y are 258 rotated by 180\degrees\ relative to the other half of the camera. 259 The labeling of the non-existent corner OTAs is provided to orient 260 the focal plane.} 261 \label{fig:gpc1.layout} 262 \end{figure} 263 242 264 \section{Pan-STARRS\,1 Data Analysis} 243 265 … … 255 277 this article. 256 278 257 The data processing steps are described in detail by \cite{waters2017} 258 and \cite{magnier2017.datasystem,magnier2017.analysis}. In summary, individual images 259 are detrended: non-linearity and bias corrections are applied, a dark 260 current model is subtracted and flat-field corrections are applied. 261 The \yps-band images are also corrected for fringing: a master fringe 262 pattern is scaled to match the observed fringing and subtracted. Mask 263 and variance image arrays are generated with the detrend analysis and 264 carried forward at each stage of the IPP processing. Source detection 265 and photometry are performed for each chip independently. As 266 discussed below, preliminary astrometric and photometric calibrations 267 are performed for all chips in a single exposure in a single analysis. 268 We refer to these measurements as the ``chip'' photometry and 269 astrometry products. 279 The pipeline data processing steps are described in detail by 280 \cite{waters2017} and 281 \cite{magnier2017.datasystem,magnier2017.analysis}. In summary, 282 individual images are detrended: non-linearity and bias corrections 283 are applied, a dark current model is subtracted and flat-field 284 corrections are applied. The \yps-band images are also corrected for 285 fringing: a master fringe pattern is scaled to match the observed 286 fringing and subtracted. Mask and variance image arrays are generated 287 with the detrend analysis and carried forward at each stage of the IPP 288 processing. Source detection and photometry are performed for each 289 chip independently. As discussed below, preliminary astrometric and 290 photometric calibrations are performed for all chips in a single 291 exposure in a single analysis. We refer to these measurements as the 292 ``chip'' photometry and astrometry products. 270 293 271 294 Chip images are geometrically transformed based on the astrometric … … 321 344 the individual exposures and the stack images. 322 345 323 \section{Astrometric Models} 324 325 % \note{include projection math?} 326 % \note{reference discussion somewhere on cell vs chip} 346 \section{Pipeline Calibration} 347 348 \subsection{Overview} 349 350 As images are processed by the data analysis system, every exposure is 351 calibrated individually with respect to a photometric and astrometric 352 reference database. The goal of this calibration step is to generate 353 a preliminary astrometric calibration, to be used by the warping 354 analysis to determine the geometric transformation of the pixels, and 355 a preliminary photometric transformation, to be used by the stacking 356 analysis to ensure the warps are combined using consistent flux units. 357 358 The program used for the pipeline calibration, \ippprog{psastro}, 359 loads the measurements of the chip detections from their individual 360 output catalog files. It uses the header information populated at the 361 telescope to determine an initial astrometric calibration guess based 362 on the position of the telescope boresite right ascension, declination 363 and position angle as reported by the telescope \& camera subsystems. 364 Using the initial guess, \ippprog{psastro} loads astrometric and 365 photometric data from the reference database. 366 367 \subsection{Reference Catalogs} 368 \label{sec:synthdb} 369 370 During the course of the PS1SC Survey, several reference databases 371 have been used. For the first 20 months of the survey, 372 \ippprog{psastro} used a reference catalog with synthetic PS1 373 \grizy\ photometry generated by the Pan-STARRS IPP team based on based 374 combined photometry from Tycho (B, V), USNO \citep[red, blue, 375 IR][]{2003AJ....125..984M}, and 2MASS 376 $J, H, K$ \citep{2006AJ....131.1163S}. The astrometry in the database was from 2MASS 377 \citep{2006AJ....131.1163S}. After 2012 May, a reference catalog 378 generated from internal re-calibration of the PV0 analysis of PS1 379 photometry and astrometry was used for the reference catalog. 380 381 Coordinates and calibrated magnitudes of stars from the reference 382 database are loaded by \code{pasastro}. A model for the positions of 383 the 60 chips in the focal plane is used to determine the expected 384 astrometry for each chip based on the boresite coordinates and 385 position angle reported by the header. Reference stars are selected 386 from the full field of view of the GPC1 camera, padded by an 387 additional 25\% to ensure a match can be determined even in the 388 presence of substantial errors in the boresite coordinates. It is 389 important to choose an appropriate set of reference stars: if too few 390 are selected, the chance of finding a match between the reference and 391 observed stars is diminished. In addition, since stars are loaded in 392 brightness order, a selection which is too small is likely to contain 393 only stars which are saturated in the GPC1 images. On the other hand, 394 if too many reference stars are chosen, there is a higher chance of a 395 false-positive match, especially as many of the reference stars may 396 not be detected in the GPC1 image. The selection of the reference 397 stars includes a limit on the brightest and faintest magnitudes of the 398 stars selected. 399 400 The astrometric analysis is necessarily performed first; after the 401 astrometry is determined, an automatic byproduct is a reliable match 402 between reference and observed stars, allowing a comparison of the 403 magnitudes to determine the photometric calibration. 404 405 %% The astrometric calibration is performed in two major stages: first, 406 %% the chips are fitted independently with independent models for each 407 %% chip. This fit is sufficient to ensure a reliable match between 408 %% reference stars and observed sources in the image. Next, the set of 409 %% chip calibrations are used to define the transformation between the 410 %% focal plane coordinate system and the tangent plane coordinate 411 %% system. The chip-to-focal plane transformations are then determined 412 %% under the single common focal plane to tangent plane transformation. 413 414 \subsection{Astrometric Models} 327 415 328 416 Three somewhat distinct astrometric models are employed within the IPP … … 344 432 order}$, may be 1 to 3, under the restriction that sufficient stars 345 433 are needed to constrain the order. 346 347 % \note{describe a bit better: this is automatically selected based on the number of stars}348 434 349 435 A second form of astrometry model which yields somewhat higher … … 420 506 %% \end{verbatim} 421 507 422 \section{Real-time Calibration}423 424 \subsection{Overview}425 426 As images are processed by the data analysis system, every exposure is427 calibrated individually with respect to a photometric and astrometric428 database. The goal of this calibration step is to generate a preliminary429 astrometric calibration, to be used by the warping analysis to determine430 the geometric transformation of the pixels, and preliminary431 photometric transformation, to be used by the stacking analysis to432 ensure the warps are combined using consistent flux units.433 434 The program used for the real-time calibration, \ippprog{psastro},435 loads the measurements of the chip detections from their individual436 output catalog files. It uses the header information populated at the437 telescope to determine an initial astrometric calibration guess based438 on the position of the telescope boresite right ascension, declination439 and position angle as reported by the telescope \& camera subsystems.440 Using the initial guess, \ippprog{psastro} loads astrometric and441 photometric data from the reference database.442 443 \subsection{Reference Catalogs}444 \label{sec:synthdb}445 446 During the course of the PS1SC Survey, several reference databases447 have been used. For the first 20 months of the survey,448 \ippprog{psastro} used a reference catalog with synthetic PS1449 \grizy\ photometry generated by the Pan-STARRS IPP team based on based450 combined photometry from Tycho (B, V), USNO \citep[red, blue,451 IR][]{2003AJ....125..984M}, and 2MASS452 $J, H, K$ \citep{2006AJ....131.1163S}. The astrometry in the database was from 2MASS453 \citep{2006AJ....131.1163S}. After 2012 May, a reference catalog454 generated from internal re-calibration of the PV0 analysis of PS1455 photometry and astrometry was used for the reference catalog.456 457 % \note{discuss history of the different refcats?}458 459 Coordinates and calibrated magnitudes of stars from the reference460 database are loaded by \code{pasastro}. A model for the positions of461 the 60 chips in the focal plane is used to determine the expected462 astrometry for each chip based on the boresite coordinates and463 position angle reported by the header. Reference stars are selected464 from the full field of view of the GPC1 camera, padded by an465 additional 25\% to ensure a match can be determined even in the466 presence of substantial errors in the boresite coordinates. It is467 important to choose an appropriate set of reference stars: if too few468 are selected, the chance of finding a match between the reference and469 observed stars is diminished. In addition, since stars are loaded in470 brightness order, a selection which is too small is likely to contain471 only stars which are saturated in the GPC1 images. On the other hand,472 if too many reference stars are chosen, there is a higher chance of a473 false-positive match, especially as many of the reference stars may474 not be detected in the GPC1 image. The selection of the reference475 stars includes a limit on the brightest and faintest magnitudes of the476 stars selected.477 478 The astrometric analysis is necessarily performed first; after the479 astrometry is determined, an automatic byproduct is a reliable match480 between reference and observed stars, allowing a comparison of the481 magnitudes to determine the photometric calibration.482 483 The astrometric calibration is performed in two major stages: first,484 the chips are fitted independently with independent models for each485 chip. This fit is sufficient to ensure a reliable match between486 reference stars and observed sources in the image. Next, the set of487 chip calibrations are used to define the transformation between the488 focal plane coordinate system and the tangent plane coordinate489 system. The chip-to-focal plane transformations are then determined490 under the single common focal plane to tangent plane transformation.491 492 508 \subsection{Cross-Correlation Search} 493 509 … … 587 603 %% \note{quality of the fits as a result of this stage}. 588 604 589 \subsection{ Real-time Photometric Calibration}605 \subsection{Pipeline Photometric Calibration} 590 606 591 607 %% \note{define / describe the robust median} 592 608 593 After the astrometric calibration has finished, the photometric609 After the astrometric calibration is determined, the photometric 594 610 calibration is performed by \ippprog{psastro}. When the reference 595 611 stars are loaded, the apparent magnitude in the filter of interest is … … 598 614 points by comparison with the instrumental magnitudes. For the PV3 599 615 analysis, an outlier-rejecting median is used to measure the zero 600 point. For early versions of the real-time analysis, when the 601 reference catalog used synthetic magnitudes, it was necessary to 602 search for the blue edge of the distribution: the synthetic magnitude 603 poorly predicted the magnitudes of stars in the presence of 604 significant extinction or for the very red stars, making the blue edge 605 somewhat more reliable as a reference than the mean. Once the 606 calibration was based on a reference catalog generated from 607 \PSONE\ photometry, this methods was no longer needed. Note that we 608 do not fit for the airmass slope in this analysis. The nominal 609 airmass slope is used for each filter; any deviation from the nominal 610 value is effectively folded into the observed zero point. The zero 611 point may be measured separately for each chip or as a single value 612 for the entire exposure; the latter option was used for the PV3 613 analysis. 614 615 \subsection{Real-time outputs} 616 point. For early versions of the pipeline analysis, when the reference 617 catalog used synthetic magnitudes, it was necessary to search for the 618 blue edge of the distribution: the synthetic magnitude poorly 619 predicted the magnitudes of stars in the presence of significant 620 extinction or for the very red stars, making the blue edge somewhat 621 more reliable as a reference than the mean. Once the calibration was 622 based on a reference catalog generated from \PSONE\ photometry, this 623 methods was no longer needed. Note that we do not fit for the airmass 624 slope in this analysis. The nominal airmass slope is used for each 625 filter; any deviation from the nominal value is effectively folded 626 into the observed zero point. The zero point may be measured 627 separately for each chip or as a single value for the entire exposure; 628 the latter option was used for the PV3 analysis. 629 630 \subsection{Outputs} 616 631 617 632 The calibrations determined by \ippprog{psastro} are saved as part of … … 646 661 the data from the exposure are loaded into the DVO database. 647 662 648 \section{ PV3 DVO MasterDatabase}663 \section{Calibration Database} 649 664 650 665 Data from the GPC1 chip images, the stack images, and the warp images … … 712 727 \hline 713 728 ID\_MEAS\_NOCAL & 0x00000001 & detection ignored for this analysis (photcode, time range) -- internal only \\ 714 ID\_MEAS\_POOR\_PHOTOM & 0x00000002 & detection is photometry outlier (not used PV3) \\715 ID\_MEAS\_SKIP\_PHOTOM & 0x00000004 & detection was ignored for photometry measurement (not used PV3) \\716 ID\_MEAS\_AREA & 0x00000008 & detection near image edge (not used PV3) \\729 ID\_MEAS\_POOR\_PHOTOM & 0x00000002 & detection is photometry outlier (not used for PV3) \\ 730 ID\_MEAS\_SKIP\_PHOTOM & 0x00000004 & detection was ignored for photometry measurement (not used for PV3) \\ 731 ID\_MEAS\_AREA & 0x00000008 & detection near image edge (not used for PV3) \\ 717 732 ID\_MEAS\_POOR\_ASTROM & 0x00000010 & detection is astrometry outlier \\ 718 ID\_MEAS\_SKIP\_ASTROM & 0x00000020 & detection was ignored for astrometry measurement\\733 ID\_MEAS\_SKIP\_ASTROM & 0x00000020 & detection was not used for image calibration (not reported for PV3) \\ 719 734 ID\_MEAS\_USED\_OBJ & 0x00000040 & detection was used during update objects \\ 720 ID\_MEAS\_USED\_CHIP & 0x00000080 & detection was used during update chips (not saved PV3) \\721 ID\_MEAS\_BLEND\_MEAS & 0x00000100 & detection is within radius of multiple objects \\722 ID\_MEAS\_BLEND\_OBJ & 0x00000200 & multiple detections within radius of object \\735 ID\_MEAS\_USED\_CHIP & 0x00000080 & detection was used during update chips (not saved for PV3) \\ 736 ID\_MEAS\_BLEND\_MEAS & 0x00000100 & detection is within radius of multiple objects (not used for PV3) \\ 737 ID\_MEAS\_BLEND\_OBJ & 0x00000200 & multiple detections within radius of object (not used for PV3) \\ 723 738 ID\_MEAS\_WARP\_USED & 0x00000400 & measurement used to find mean warp photometry \\ 724 739 ID\_MEAS\_UNMASKED\_ASTRO & 0x00000800 & measurement was not masked in final astrometry fit \\ 725 ID\_MEAS\_BLEND\_MEAS\_X & 0x00001000 & detection is within radius of multiple objects across catalogs \\726 ID\_MEAS\_ARTIFACT & 0x00002000 & detection is thought to be non-astronomical \\727 ID\_MEAS\_SYNTH\_MAG & 0x00004000 & magnitude is synthetic \\740 ID\_MEAS\_BLEND\_MEAS\_X & 0x00001000 & detection is within radius of multiple objects across catalogs (not used for PV3) \\ 741 ID\_MEAS\_ARTIFACT & 0x00002000 & detection is thought to be non-astronomical (not used for PV3) \\ 742 ID\_MEAS\_SYNTH\_MAG & 0x00004000 & magnitude is synthetic (not used for DR2) \\ 728 743 ID\_MEAS\_PHOTOM\_UBERCAL & 0x00008000 & externally-supplied zero point from ubercal analysis \\ 729 744 ID\_MEAS\_STACK\_PRIMARY & 0x00010000 & this stack measurement is in the primary skycell \\ 730 745 ID\_MEAS\_STACK\_PHOT\_SRC & 0x00020000 & this measurement supplied the stack photometry \\ 731 ID\_MEAS\_ICRF\_QSO & 0x00040000 & this measurement is an ICRF reference position \\732 ID\_MEAS\_IMAGE\_EPOCH & 0x00080000 & this measurement is registered to the image epoch (not tied to ref catalog epoch) \\746 ID\_MEAS\_ICRF\_QSO & 0x00040000 & this measurement is an ICRF reference position (not used for PV3) \\ 747 ID\_MEAS\_IMAGE\_EPOCH & 0x00080000 & this measurement is registered to the image epoch (not used for PV3) \\ 733 748 ID\_MEAS\_PHOTOM\_PSF & 0x00100000 & this measurement is used for the mean psf mag \\ 734 749 ID\_MEAS\_PHOTOM\_APER & 0x00200000 & this measurement is used for the mean ap mag \\ … … 754 769 {\bf Bit Name} & {\bf Bit Value} & {\bf Description} \\ 755 770 \hline 756 ID\_SECF\_STAR\_FEW & 0x00000001 & Used within relphot: skip star \\757 ID\_SECF\_STAR\_POOR & 0x00000002 & Used within relphot: skip star \\758 ID\_SECF\_USE\_SYNTH & 0x00000004 & Synthetic photometry used in average measurement \\771 ID\_SECF\_STAR\_FEW & 0x00000001 & Used within relphot: skip star (not reported for PV3) \\ 772 ID\_SECF\_STAR\_POOR & 0x00000002 & Used within relphot: skip star (not reported for PV3) \\ 773 ID\_SECF\_USE\_SYNTH & 0x00000004 & Synthetic photometry used in average measurement (not used in PV3) \\ 759 774 ID\_SECF\_USE\_UBERCAL & 0x00000008 & Ubercal photometry used in average measurement \\ 760 775 ID\_SECF\_HAS\_PS1 & 0x00000010 & PS1 photometry used in average measurement \\ 761 776 ID\_SECF\_HAS\_PS1\_STACK & 0x00000020 & PS1 stack photometry exists \\ 762 ID\_SECF\_HAS\_TYCHO & 0x00000040 & Tycho photometry used for synth mags \\763 ID\_SECF\_FIX\_SYNTH & 0x00000080 & Synth mags repaired with zpt map \\777 ID\_SECF\_HAS\_TYCHO & 0x00000040 & Tycho photometry used for synth mags (not used in PV3) \\ 778 ID\_SECF\_FIX\_SYNTH & 0x00000080 & Synth mags repaired with zpt map (not used in PV3) \\ 764 779 ID\_SECF\_RANK\_0 & 0x00000100 & Average magnitude uses rank 0 values \\ 765 780 ID\_SECF\_RANK\_1 & 0x00000200 & Average magnitude uses rank 1 values \\ … … 772 787 ID\_SECF\_STACK\_PRIMDET & 0x00010000 & PS1 stack primary measurement is a detection (not forced) \\ 773 788 ID\_SECF\_STACK\_PRIMARY\_MULTIPLE & 0x00020000 & PS1 stack object has multiple primary measurements \\ 774 ID\_SECF\_HAS\_SDSS & 0x00100000 & This photcode has SDSS photometry \\775 ID\_SECF\_HAS\_HSC & 0x00200000 & This photcode has HSC photometry \\776 ID\_SECF\_HAS\_CFH & 0x00400000 & This photcode has CFH photometry ( mostly Megacam) \\777 ID\_SECF\_HAS\_DES & 0x00800000 & This photcode has DES photometry \\789 ID\_SECF\_HAS\_SDSS & 0x00100000 & This photcode has SDSS photometry (not used for PV3) \\ 790 ID\_SECF\_HAS\_HSC & 0x00200000 & This photcode has HSC photometry (not used for PV3) \\ 791 ID\_SECF\_HAS\_CFH & 0x00400000 & This photcode has CFH photometry (not used for PV3) \\ 792 ID\_SECF\_HAS\_DES & 0x00800000 & This photcode has DES photometry (not used for PV3) \\ 778 793 ID\_SECF\_OBJ\_EXT & 0x01000000 & Extended in this band \\ 779 794 \hline … … 791 806 {\bf Bit Name} & {\bf Bit Value} & {\bf Description} \\ 792 807 \hline 793 ID\_OBJ\_FEW & 0x00000001 & used within relphot: skip star \\794 ID\_OBJ\_POOR & 0x00000002 & used within relphot: skip star \\795 ID\_OBJ\_ICRF\_QSO & 0x00000004 & object IDed with known ICRF quasar ( may have ICRF position measurement) \\808 ID\_OBJ\_FEW & 0x00000001 & used within relphot: skip star (not reported for PV3) \\ 809 ID\_OBJ\_POOR & 0x00000002 & used within relphot: skip star (not reported for PV3) \\ 810 ID\_OBJ\_ICRF\_QSO & 0x00000004 & object IDed with known ICRF quasar (not used for PV3) \\ 796 811 ID\_OBJ\_HERN\_QSO\_P60 & 0x00000008 & identified as likely QSO \citep{2016ApJ...817...73H}, $P_{\rm QSO} \geq 0.60$ \\ 797 812 ID\_OBJ\_HERN\_QSO\_P05 & 0x00000010 & identified as possible QSO \citep{2016ApJ...817...73H}, $P_{\rm QSO} \geq 0.05$ \\ … … 799 814 ID\_OBJ\_HERN\_RRL\_P05 & 0x00000040 & identified as possible RR Lyra \citep{2016ApJ...817...73H}, $P_{\rm RRLyra} \geq 0.05$ \\ 800 815 ID\_OBJ\_HERN\_VARIABLE & 0x00000080 & identified as a variable by \cite{2016ApJ...817...73H} \\ 801 ID\_OBJ\_TRANSIENT & 0x00000100 & identified as a non-periodic (stationary) transient \\816 ID\_OBJ\_TRANSIENT & 0x00000100 & identified as a non-periodic (stationary) transient (not used for PV3) \\ 802 817 ID\_OBJ\_HAS\_SOLSYS\_DET & 0x00000200 & identified with a known solar-system object (asteroid or other) \\ 803 818 ID\_OBJ\_MOST\_SOLSYS\_DET & 0x00000400 & most detections from a known solar-system object \\ 804 ID\_OBJ\_LARGE\_PM & 0x00000800 & star with large proper motion \\819 ID\_OBJ\_LARGE\_PM & 0x00000800 & star with large proper motion (not used for PV3) \\ 805 820 ID\_OBJ\_RAW\_AVE & 0x00001000 & simple weighted average position was used (no IRLS fitting) \\ 806 821 ID\_OBJ\_FIT\_AVE & 0x00002000 & average position was fitted \\ … … 840 855 ID\_IMAGE\_NEW & 0x00000000 & no calibrations yet attempted \\ 841 856 ID\_IMAGE\_PHOTOM\_NOCAL & 0x00000001 & user-set value used within relphot: ignore \\ 842 ID\_IMAGE\_PHOTOM\_POOR & 0x00000002 & relphot says image is bad (dMcal >limit) \\857 ID\_IMAGE\_PHOTOM\_POOR & 0x00000002 & relphot says image is bad (dMcal $>$ limit) \\ 843 858 ID\_IMAGE\_PHOTOM\_SKIP & 0x00000004 & user-set value: assert that this image has bad photometry \\ 844 859 ID\_IMAGE\_PHOTOM\_FEW & 0x00000008 & currently too few measurements for photometry \\ 845 860 ID\_IMAGE\_ASTROM\_NOCAL & 0x00000010 & user-set value used within relastro: ignore \\ 846 ID\_IMAGE\_ASTROM\_POOR & 0x00000020 & relastro says image is bad (dR,dD >limit) \\861 ID\_IMAGE\_ASTROM\_POOR & 0x00000020 & relastro says image is bad (dR,dD $>$ limit) \\ 847 862 ID\_IMAGE\_ASTROM\_FAIL & 0x00000040 & relastro fit diverged, fit not applied \\ 848 863 ID\_IMAGE\_ASTROM\_SKIP & 0x00000080 & user-set value: assert that this image has bad astrometry \\ … … 861 876 \subsection{Ubercal Analysis} 862 877 863 % \note{clean up and re-word the pieces below}864 865 878 The photometric calibration of the DVO database starts with the 866 879 ``ubercal'' analysis technique as described by 867 880 \cite{2012ApJ...756..158S}. This analysis is performed by the group 868 at Harvard, loading data from the \code{smf}files into their instance881 at Harvard, loading data from the raw detection files into their instance 869 882 of the Large Scale Database \citep[LSD,][]{2011AAS...21743319J}, a 870 883 system similar to DVO used to manage the detections and determine the … … 894 907 additional flat-field seasons. 895 908 896 %% \note{something for PV4}.897 898 909 By excluding non-photometric data and only fitting 2 parameters for 899 910 each night, the Ubercal solution is robust and rigid. It is not … … 907 918 millimags in (\grizy). As we discuss below, this conclusion is 908 919 reinforced by our external comparison. 909 910 %% \note{do I have a measurement911 %% of the bright end stability in PV3? basically, what is the scatter912 %% per star as a function of position in the camera and magnitude?}913 920 914 921 The overall zero point for each filter is not naturally determined by … … 929 936 \cite{2012ApJ...756..158S}. 930 937 931 %% \note{The calspec spectrophotometry values have also been re-examined932 %% by REF; using these new measurements, \cite{2015ApJ...815..117S}933 %% determine new zero points for the PS1 system, which we have applied934 %% (see below).}935 936 938 % http://iopscience.iop.org/article/10.1088/0004-637X/815/2/117/pdf 937 939 938 \subsection{Apply ing the Ubercal Zero Points : Setphot}940 \subsection{Apply Zero Points} 939 941 940 942 The ubercal analysis above results in a table of zero points for all … … 976 978 \hline 977 979 \hline 978 {\bf Filter} & {\bf Zero Point} & {\bf Zero Point} & {\bf Airmass Slope} \\979 & {\bf (Raw)} & {\bf (Calspec)} & \\980 {\bf Filter} & {\bf Zero Point} & {\bf Zero Point} & {\bf Airmass} \\ 981 & {\bf (Raw)} & {\bf (Calspec)} & {\bf Slope} \\ 980 982 \hline 981 983 \gps & 24.563 & 24.583 & 0.147 \\ … … 988 990 \end{center} 989 991 \end{table} 990 991 %% \note{give airmass formula for completeness?}.992 992 993 993 When \code{setphot} applies the ubercal information to the image … … 1077 1077 the offsets converge to the milli-magnitude level within 8 iterations. 1078 1078 1079 Only brighter,high quality measurements are used in the relative1079 Only high quality measurements are used in the relative 1080 1080 photometry analysis of the exposure zero points. We use only the 1081 1081 brighter objects, limiting the density to a maximum of 4000 objects … … 1147 1147 The calculation of the relative photometry zero points is performed 1148 1148 for the entire $3\pi$ data set in a single, highly parallelized 1149 analysis. As discussed above, the measurement and object data in the1149 analysis. The measurement and object data in the 1150 1150 DVO database are distributed across a large number of computers in the 1151 1151 IPP cluster: for PV3, 100 parallel hosts are used. These machines by … … 1164 1164 of responsibility. 1165 1165 1166 %% plots made using scripts and data in 1167 % /data/kukui.3/eugene/pv3.cam.20150607: 1168 % photflat.20151127.fix/photflat.20151127.fix.0.*.fits 1169 % based on extractions in: 1170 % /data/ipp094.0/eugene/pv3.cam.20150607/astrom.corrections/ 1171 % measurements are in photflat.extract.*.fits 1172 % tdhistograms in photflat.20151127/ 1173 % script: photflat.sh 1174 % catdir /data/ipp094.0/eugene/pv3.cam.20150607/catdir.master 1175 % measurement extraction was done ~ 2015.11.25-27 1176 % this is PV3.0 [pre-calibrations] 1177 1166 1178 \begin{figure*}[htbp] 1167 1179 \begin{center} 1168 1180 \begin{minipage}{0.85\linewidth} 1169 \includegraphics[width=\textwidth,clip]{{pics/photflat.example. sm}.png}1181 \includegraphics[width=\textwidth,clip]{{pics/photflat.example.v1}.png} 1170 1182 \end{minipage} 1171 \hspace{- 2.75in}1183 \hspace{-3.0in} 1172 1184 \begin{minipage}{0.4\linewidth} 1173 \vspace{3.25in} 1174 \caption{\label{fig:photflat} High-resolution flat-field correction images for the 5 filters $grizy$.} 1185 \vspace{6.0in} 1186 \caption{\label{fig:photflat} High-resolution flat-field correction 1187 images for the 5 filters $grizy$. These images are shown in 1188 standard camera orientation with OTA00 in the lower-left 1189 corner and OTA07 in the upper-right corner. Fine 1190 ``tree-ring'' structures are visible in several chips especially 1191 in the bluer bands. The effect of the central ``tent'' on the 1192 photometry, presumably due to the rapidly-varying PSF in this 1193 region may also be seen. } 1175 1194 \end{minipage} 1176 1195 \end{center} … … 1220 1239 analysis. 1221 1240 1241 %% figure made using scripts and data in: 1242 % /data/kukui.3/eugene/pv3.stats.20161202 1243 % scatter.sh : allsky.scatter.photom 1244 % maps.measure/pv3.v1.dmag_*.sigma.fits 1245 % cdhist.measure/cdmerge.v1.dmag_*.fits 1246 % 1247 %% cdhist.measure from: 1248 % /data/ipp094.0/eugene/pv3.stats.20161202/ 1249 % measures.sh : extract.allsky 1250 % used catdir /data/ipp094.0/eugene/pv3.cam.20150607/catdir.master 1251 % data was extracted 2016.12.11 : PV3.2 calibration 1252 1253 %% the mean camera photometry was not modified after this date 1254 %% These extractions should be used for the paper (EAM 2019.02.15) 1255 1222 1256 \begin{figure*}[htbp] 1223 1257 \begin{center} 1224 1258 %width=\hsize 1225 \includegraphics[height=\vsize,clip]{{pics/allsky.photom. sigma.sm}.png}1259 \includegraphics[height=\vsize,clip]{{pics/allsky.photom.v1}.png} 1226 1260 \caption{\label{fig:allsky.photom.sigma} Consistency of photometry 1227 1261 measurements across the sky. Each panel shows a map of the … … 1233 1267 \end{center} 1234 1268 \end{figure*} 1235 1236 %% \note{need to discuss the process of setting the final mean magnitudes}1237 1269 1238 1270 \subsubsection{Photometric Flat-field} … … 1291 1323 variable charge diffusion. 1292 1324 1293 Other features include some poorly responding cells (e.g., in XY14)1325 Other features include some poorly responding cells (e.g., in OTA14) 1294 1326 and effects at the edges of chips, possibly where the PSF model fails 1295 1327 to follow the changes in the PSF. 1296 1297 %% XXX : need to refer to system paper on the central tent?1298 1299 %% \note{show the flat-field residual images, discuss the features?}.1300 1328 1301 1329 For stacks and warps, the image calibrations were determined after the … … 1323 1351 magnitudes, but the aperture-like magnitudes are tied by equating the 1324 1352 stack Kron magnitudes to the average chip Kron magnitudes. {\em Note 1325 that for DR1, this split zero point calibration was used; instead1353 that for DR1, this split zero point calibration was {\bf not} used; instead 1326 1354 all stack photometry was tied to the average chip photometry via the 1327 1355 PSF magnitudes.} The result of using a single zero point is that … … 1332 1360 This split is not needed for the forced-warp photometry since the 1333 1361 individual warps have well-defined PSfs. 1362 1363 %% XXX generate a figure to illustrate the Kron vs PSF mags in stacks (DR1 & DR2) 1334 1364 1335 1365 \subsection{Photometry Calibration Quality} … … 1369 1399 18)$ millimagnitudes. 1370 1400 1371 %% \note{recommendation} 1372 1373 \subsection{Calculation of Object Photometry} 1401 \subsection{Object Photometry} 1374 1402 1375 1403 Once the image photometric calibrations (zero points and flat-field … … 1400 1428 1401 1429 \subsubsection{Selection of Measurements} 1430 \label{sec:measurement.quality} 1402 1431 1403 1432 To choose the measurements which will be used in the analysis, we … … 1486 1515 raised identifying which rank was used. These bit are called 1487 1516 \code{ID_SECF_RANK_0} through \code{ID_SECF_RANK_4} (see 1488 Table~\ref{tab:secf_mask_values}). 1517 Table~\ref{tab:secf_mask_values}). This assessment of the valid 1518 measurements is performed independently for PSF, Kron, and 1519 seeing-matched total aperture magnitudes. All measurements which are 1520 retained to determine the average value are marked with bit-flags: \code{ID_MEAS_PHOTOM_PSF}, 1521 \code{ID_MEAS_PHOTOM_KRON}, or \code{ID_MEAS_PHOTOM_APER} depending on 1522 which average magnitude is being calculated. 1489 1523 1490 1524 %% where do these go? analyis? … … 1510 1544 underlying constant value. The discussion below applies to both the 1511 1545 average of the chip photometry magnitudes and the forced-warp 1512 photometry fluxes. 1546 photometry fluxes. This technique is used to calculate the average 1547 magnitudes for all three types of photometry stored in the DVO 1548 database: PSF, Kron, and seeing-matched total aperture photometry. 1513 1549 1514 1550 The IRLS analysis starts with an ordinary least squares fit, using the … … 1550 1586 converge. 1551 1587 1552 % \note{did this happen for any of our targets?}1553 1554 1588 To calculate a fit $\chi^2$ value and to determine an appropriate set 1555 1589 of errors for the model parameters, it is necessary to transform the … … 1558 1592 ($\omega^\prime < 0.3 <\omega>$) then the point is treated as clipped. 1559 1593 The $\chi^2$ is determined from the {\em unclipped} points using the 1560 standard Poisson errors. 1594 standard Poisson errors. Data points which are so excluded are marked 1595 with bit-flags: \code{ID_MEAS_MASKED_PSF}, 1596 \code{ID_MEAS_MASKED_KRON}, or \code{ID_MEAS_MASKED_APER} depending on 1597 which average magnitude is being calculated. 1561 1598 1562 1599 Bootstrap-resampling analysis is used to assess the errors on the fit … … 1575 1612 photometry. 1576 1613 1614 One detail related to the above analysis concerns the measurements 1615 from images which were included in the ubercal analysis. These images 1616 were determined to have been taken in good quality (photometric) 1617 weather, and have had their zero points determined with a robust 1618 analysis. We therefore over-weight these data points to ensure the 1619 average photometry is dominated by the ubercal values. In the IRLS 1620 analysis above, the ubercal points are given 10 times the weight of 1621 the non-ubercal points. This over-weighting is applied independently 1622 of the calculation of the reweighting based on the deviation from the 1623 model. Thus, the increased weight is {\em not} applied by reducing 1624 the errorbars by a factor of 10 since that would increase the chance 1625 that the ubercal measurements would be given reduced weight. If the 1626 average photometry of an object in a filter includes ubercal 1627 measurements, the per-filter bit flag \code{ID_SECF_USE_UBERCAL} is set. 1628 1577 1629 % mask values for which wt < threshold (0.3 * median wt) 1578 1630 % we record the min and max values of the unmasked / unclipped subset … … 1580 1632 % bootstrap: use only unclipped subset and raw weights to estimate errors 1581 1633 1582 % \note{bootstrap uses unclipped values and the raw weights? confirmed}1583 1584 % \note{reported error is max of bootstrap and formal error? confirmed}1585 1586 1634 \subsubsection{Stack Photometry} 1635 \label{sec:stack.phot} 1587 1636 1588 1637 For the stack photometry, the assessment is different from the chip … … 1596 1645 detections of the same object. This situation is discussed in more 1597 1646 detail below. 1647 1648 % generate from : 1649 % /data/kukui.1/eugene/czw.paper.images.20181130 (see .dvo) 1598 1650 1599 1651 \begin{figure*}[htbp] … … 1661 1713 Since the ``primary'' identification is purely based on the skycell 1662 1714 geometry and the coordinate of the object, there is no guarantee that 1663 any primary measurement is in fact a good or even the bestmeasurement1715 any primary measurement is in fact the best or even a good measurement 1664 1716 of the object. While the different overlapping pixels should be 1665 1717 essentially identical, it is possible (due to some of the edge cases … … 1687 1739 split should not be common (and in fact reflects a failure of the 1688 1740 algorithm), but we have defined the rules to allows us to choose an 1689 acceptable measurement even in these cases. 1741 acceptable measurement even in these cases. Also note that the 1742 ``best'' measurement is not guarateed to be a good measurement. 1743 1744 Stack measurements which are in the ``primary'' skycell have the bit 1745 flag \code{ID_MEAS_STACK_PRIMARY}. The measurement which was 1746 identified as the ``best'' measurement gets the bit flag 1747 \code{ID_MEAS_STACK_PHOT_SRC}. If a ``primary'' measurement exists 1748 for a given filter, then the per-filter bit flag 1749 \code{ID_SECF_STACK_PRIMARY} is set for that filter. If multiple 1750 primary stack measurements exist for a given filter, then the 1751 per-filter bit flag \code{ID_SECF_STACK_PRIMARY_MULTIPLE} is also set 1752 for that filter. 1753 % 1754 If the ``best'' measurement for a filter is a significant detection 1755 (not forced from another band), then the per-filter bit flag 1756 \code{ID_SECF_STACK_BESTDET} is set. 1757 % 1758 If any of the ``primary'' measurements for a filter is a significant 1759 detection (not forced from another band), then the per-filter bit flag 1760 \code{ID_SECF_STACK_PRIMDET} is set. 1761 % 1762 If any stack measurements exist for a given filter, then the 1763 per-filter bit flag \code{ID_SECF_HAS_PS1_STACK} is set. 1764 1765 The ``best'' stack measurements are examined across the filters. If 1766 for all five filters, the ``best'' stack measurement is a ``primary'' 1767 measurement, then the object bit flag \code{ID_OBJ_BEST_STACK} is set. 1768 % 1769 If the ``best'' stack measurement in a filter has signal-to-noise less 1770 than 5, has any of the ``bad quality'' bits raised (see 1771 Section~\ref{sec:measurement.quality}, rank 6), or has a \code{PSF_QF} 1772 value less than 0.85 (or NAN) is considered to be ``bad''. 1773 % 1774 It it has any of the ``poor quality'' bits raised (see 1775 Section~\ref{sec:measurement.quality}, rank 2), or has a 1776 \code{PSF_QF_PERFECT} value less than 0.85 is considered to be 1777 ``suspect''. 1778 % 1779 Otherwise, the measurement is considered to be ``good''. For an 1780 object detected in the stacks, if at least 2 of the filters have 1781 ``good'' stack measurements, then the object is considered to be 1782 ``good'', \ie, likely to be a valid astronomical object, and the 1783 object bit flag \code{ID_OBJ_GOOD_STACK} is set. If no more than one 1784 filter measurement is good, and there are at least two good or suspect 1785 measurements, then the object is considered to be ``suspect'' and the 1786 object bit flag \code{ID_OBJ_SUSPECT_STACK} is set. If at most a 1787 single measurement is either good or suspect, then the object is 1788 considered to be ``bad'' and the object bit flag 1789 \code{ID_OBJ_BAD_STACK} is set. Note, however, that a high redshift 1790 quasar which is well detected in the \yps-band but undetected in the 1791 other bands would be labeled ``bad''; caution is required as always. 1792 1793 In the public science database (PSPS) available through the MAST 1794 interface includes two fields in the \ippdbtable{StackObjectThin} 1795 table, \ippdbcolumn{primaryDetection} and \ippdbcolumn{bestDetection}. 1796 These fields have an error in their definition and should not be used 1797 for either DR1 or DR2. An update to the database will define fields 1798 for each object which encapsulate the information about the ``primary'' 1799 and ``best'' detections. 1690 1800 1691 1801 \subsubsection{Warp Photometry} … … 1706 1816 been selected, the same quality cuts are applied to the measurements 1707 1817 as are applied to the chip measurements, as discussed above. 1818 Forced-warp measurements actually used to calculate the average for a 1819 filter are marked with the bit flag \code{ID_MEAS_WARP_USED}. 1820 1821 % from: /data/kukui.3/eugene/pv3.stats.20161202/ 1708 1822 1709 1823 \begin{figure*}[htbp] … … 1711 1825 \includegraphics[width=\hsize,clip]{{pics/KHexample}.png} 1712 1826 \caption{\label{fig:KHexample} Illustration of the Koppenh\"ofer Effect 1713 on chip XY04. {\bf Bottom left} X-direction before correction. The solid line shows the measured1827 on OTA04. {\bf Bottom left} X-direction before correction. The solid line shows the measured 1714 1828 mean residual for stars detected on this chip as a function of the 1715 1829 instrumental magnitude / FWHM$^2$. … … 1719 1833 \end{center} 1720 1834 \end{figure*} 1835 1836 % from: /data/kukui.3/eugene/pv3.stats.20161202/ 1721 1837 1722 1838 \begin{figure}[htbp] … … 1732 1848 \end{center} 1733 1849 \end{figure} 1850 1851 \subsubsection{Object Photometry Flags} 1852 1853 Certain object-level bit flags are set based on the 1854 \ippstage{chip}-stage measurements. If any object has at least one 1855 PS1 measurement from rank 0 - 2 1856 (Section~\ref{sec:measurement.quality}), then the object is marked 1857 with the bit flag \code{ID_OBJ_GOOD}. Each measurement is also 1858 checked for consistency with a PSF or an extended source morphology: 1859 if the difference between the PSF magnitude and the seeing-matched 1860 full aperture magnitude is less than a specific cut-off (2.5$\sigma$ 1861 added in quadrature to a floor of 0.1 magnitudes), then the 1862 measurement is considered ``PSF-like''. Otherwise, the measurement is 1863 counted as extended. If more of the PS1 measurements are extended 1864 than PSF-like, the object bit flag \code{ID_OBJ_EXT} is raised. If 1865 more than half of the PS1 \ippstage{chip}-stage measurements within a 1866 single filter are extended, then the per-filter bit flag 1867 \code{ID_SEC_OBJ_EXT} and \code{ID_SEC_OBJ_EXT_PSPS} are set. The 1868 latter bit is a duplicate bit defined because the high bit in a 32-bit 1869 integer is difficult to handle within the context of SQL server. Any 1870 object which has any \ippstage{chip}-stage measurements for one of the 1871 five filters has the per-filter bit flag \code{ID_SECF_HAS_PS1} set. 1872 1873 In addition, if the object has measurements from the 2MASS point 1874 source catalog, the quality of these measurements are check. If the 1875 2MASS quality flag \code{ph_qual} has a value of A,B, or C, then the 1876 object is considered to be a good 2MASS object and the bit flag 1877 \code{ID_OBJ_GOOD_ALT} is set. If the 2MASS extended source flag, 1878 \code{gal_contam}, has a value of 1 or 2 then the object bit flag 1879 \code{ID_OBJ_EXT_ALT} is set. 1880 1881 %% the flags below were in fact correctly set -- verified 2019.02.26 1882 %% for 3pi.pv3.20170919 (and logs say they were set 2016.04.12 in 1883 %% /data/ipp094.0/eugene/hernitschek.20151125 1884 1885 We also set certain object-level bit flags based on additional 1886 analysis of the Pan-STARRS data. \cite{2016ApJ...817...73H} used 1887 measurements from the $3\pi$ survey to identify potentially 1888 interesting variable sources. They examined the characteristics of 1889 the varying fluxes in the 5 bands to distinguish two classes of 1890 variable sources: RR Lyrae stars and QSOs. They present two 1891 classifier statistics, $P_{\rm QSO}$ and $P_{\rm RRLyrae}$ which can 1892 be used to select candidates with varying levels of quality and 1893 completeness. Using this catalog, we have marked objects with a set 1894 of bits to specify the possible varibility information as identified 1895 by \cite{2016ApJ...817...73H}: 1896 \begin{itemize} 1897 \item \code{ID_OBJ_HERN_QSO_P60} : identified as likely QSO, $P_{\rm QSO} \geq 0.60$ 1898 \item \code{ID_OBJ_HERN_QSO_P05} : identified as possible QSO, $P_{\rm QSO} \geq 0.05$ 1899 \item \code{ID_OBJ_HERN_RRL_P60} : identified as likely RR Lyra, $P_{\rm RRLyra} \geq 0.60$ 1900 \item \code{ID_OBJ_HERN_RRL_P05} : identified as possible RR Lyra, $P_{\rm RRLyra} \geq 0.05$ 1901 \item \code{ID_OBJ_HERN_VARIABLE} : identified as a variable by \cite{2016ApJ...817...73H} 1902 \end{itemize} 1903 In addition, the Pan-STARRS MOPS team has identified solar-system 1904 objects within the $3\pi$ dataset. We have used a list of 14.7M such 1905 detections recorded by MOPS from the $3\pi$ survey. Any object which 1906 contains one of these detections has the object bit flag 1907 \code{ID_OBJ_HAS_SOLSYS_DET} set. If 50\% or more of the detections 1908 for an object are solar-system objects, then the bit flag 1909 \code{ID_OBJ_MOST_SOLSYS_DET} is set. 1734 1910 1735 1911 \section{Astrometry Calibration} … … 1794 1970 % ALL 322922 1163377 27.76 1795 1971 1796 % \note{was there is significant difference using a surface brightness version?}1797 1798 1972 We measured the Koppenh\"ofer Effect by accumulating the residual 1799 1973 astrometry statistics for stars in the database. For each chip, we … … 1827 2001 define a blue DCR color ($g-i$) to be used when correcting the filters 1828 2002 \gps,\rps,\ips, and a red DCR color ($z - y$) to be used when 1829 correcting the filters $zy$. In the process of performing the2003 correcting the filters \zps\ and \yps. In the process of performing the 1830 2004 relative astrometry calibration, we record the median red and blue 1831 2005 colors of the reference stars used to measure the astrometry … … 1842 2016 the difference between the star color and the reference star color, 1843 2017 using the red or blue color appropriate to the particular filter, times 1844 the tangent of the zenith distance. Figure~\ref{fig:DCRexample} shows the 1845 DCR trend for the 5 filters \grizy, as well as the measured 1846 displacement in the direction perpendicular to the parallactic angle. 1847 We represent the trend with a spline fitted to this dataset. 2018 the tangent of the zenith distance: 2019 \begin{eqnarray} 2020 \delta_{\rm blue} = \alpha \left[(g - i)_{\rm ref} - (g - i)\right] \tan \zeta \\ 2021 \delta_{\rm red} = \alpha \left[(z - y)_{\rm ref} - (z - y)\right] \tan \zeta 2022 \end{eqnarray} 2023 where $(g-i)_{\rm ref}$ and $(z-y)_{\rm ref}$ are the median colors of the 2024 stars used the calibrate a specific blue- or red-filter image, 2025 respecitively, while $\zeta$ is the zenith distance. 2026 Figure~\ref{fig:DCRexample} shows the DCR trend for the 5 filters 2027 \grizy, as well as the measured displacement in the direction 2028 perpendicular to the parallactic angle. We represent the trend with a 2029 spline fitted to this dataset. 2030 2031 % figure from /data/kukui.3/eugene/dcr.20141205 2032 % based on /data/ipp064.0/eugene/dcr.20141205 2033 % script: dvo.dcr.sh 2034 % catdir /data/stsci19.2/eugene/addstar.20141016/lap.pv2.subset.catdir 2035 % XXX THIS IS A PV2 analysis! 2036 % 2037 % Generate new figure using: 2038 % /data/ipp094.0/eugene/pv3.cam.20150607/astrom.corrections/dcr.meas.20151203.0.fits 1848 2039 1849 2040 \begin{figure}[htbp] … … 1856 2047 \end{figure} 1857 2048 1858 The amplitude of the DCR trend in the five filters is $(g,r,i,z,y) = 1859 (0.010, 0.001, -0.003, -0.017, -0.021)$ arcsec airmass$^{-1}$ 1860 magnitude$^{-1}$. We saturate the DCR correction if the term $color 1861 TAN (\zeta)$ for a given measurement is outside a range where the 1862 DCR correction is well measured. The maximum DCR correction applied 1863 to the five filters is $(g,r,i,z,y) = (0.019, 0.002, 0.003, 0.006, 1864 0.008)$ arcseconds. 1865 1866 %% \note{write down the DCR formalae for reference}. 2049 The amplitude of the DCR trend, $\alpha$, in the five filters is 2050 $(g,r,i,z,y) = (0.010, 0.001, -0.003, -0.017, -0.021)$ arcsec 2051 airmass$^{-1}$ magnitude$^{-1}$. We saturate the DCR correction if 2052 the term $\left[gi_{\rm ref} - (g - i)\right] \tan \zeta$ or 2053 $\left[zy_{\rm ref} - (z - y)\right] \tan \zeta$ for a given 2054 measurement is outside of the range where the DCR correction is 2055 measured. The maximum DCR correction applied to the five filters is 2056 $(g,r,i,z,y) = (0.019, 0.002, 0.003, 0.006, 0.008)$ arcseconds. 2057 2058 %% plots made using scripts and data in 2059 % /data/kukui.3/eugene/pv3.cam.20150607: 2060 % astroflat.20151205/astroflat.20151205.v2.$dir.$filter.fits 2061 % 2062 % based on extractions in: 2063 % /data/ipp094.0/eugene/pv3.cam.20150607/astrom.corrections/ 2064 % measurements are in astroflat.0.fits - astroflat.3.fits 2065 % 2066 % script: dvo.astroflat.sh 2067 % catdir /data/ipp094.0/eugene/pv3.cam.20150607/catdir.master 2068 % measurement extraction was done 2015.12.04 2069 % this is PV3.0 [pre-calibrations] 2070 % 2071 % NOTE: the extraction generated 4 meas tables, but the flat-field 2072 % was built with only 1 (the .0.fits version) 2073 % 2074 % 2017.02.17 : I generated a new set of flats based on all 4 extractions 2075 % this is in /data/ipp105.0/eugene/astrom.20170225/astroflat.20170217/ 2076 % and was applied to the database 2017.02.25 (../run.setastrom) 2077 % 2078 % generate new astrometric flat-field images based on e.g.: 2079 % /data/ipp105.0/eugene/astrom.20170225/astroflat.20170217/astroflat.20170217.med.cam.dX.g.fits 1867 2080 1868 2081 \begin{figure*}[htbp] 1869 2082 \begin{center} 1870 \includegraphics[width=0.85\textwidth,clip]{{pics/astroflat.gri. sm}.png}2083 \includegraphics[width=0.85\textwidth,clip]{{pics/astroflat.gri.v1}.png} 1871 2084 \caption{\label{fig:astroflat.gri} High-resolution astrometric flat-field correction images for $gri$.} 1872 2085 \end{center} … … 1875 2088 \begin{figure*}[htbp] 1876 2089 \begin{center} 1877 \includegraphics[width=0.85\textwidth,clip]{{pics/astroflat.zy. sm}.png}2090 \includegraphics[width=0.85\textwidth,clip]{{pics/astroflat.zy.v1}.png} 1878 2091 \caption{\label{fig:astroflat.zy} High-resolution astrometric flat-field correction images for $zy$.} 1879 2092 \end{center} … … 1881 2094 1882 2095 \subsubsection{Astrometric Flat-field} 2096 \label{sec:astro.flat} 1883 2097 1884 2098 After correction for both KE and DCR, we observe persistent residual 1885 2099 astrometric deviations which depend on the position in the camera. We 1886 2100 construct an astrometric ``flat-field'' response by determining the 1887 mean residual displacement in the X and Y(chip) directions as a2101 mean residual displacement in the $X$ and $Y$ (chip) directions as a 1888 2102 function of position in the focal plane. We have measured the 1889 astrometric flat using a sampling resolution of 40x40 pixels, matching 1890 the photometric flat-field correction images. 2103 astrometric flat using a sampling resolution of $80 \times 80$ pixels. 1891 2104 Figures~\ref{fig:astroflat.gri} and \ref{fig:astroflat.zy} show the 1892 2105 astrometric flat-field images for the five filters \grizy\ in each of … … 1900 2113 The dominant pattern in the astrometric residual is roughly a series 1901 2114 of concentric rings. The pattern is similar to the pattern of the 1902 focal surface residuals measured by \cite{2008SPIE.7014E..0DO}, which also has1903 a concentric series of rings with similar spacing. The ``tent'' in1904 the center of the focal surface is reflected in these astrometry 1905 residual plots. Our interpretation of the structure is that the 1906 deviations of the focal plane from the ideal focal surface introduces 1907 small-scale PSF changes, presumably coupled to the optical2115 focal surface residuals measured by \cite{2008SPIE.7014E..0DO}, which 2116 also has a concentric series of rings with similar spacing. The 2117 ``tent'' in the center of the focal surface is reflected in these 2118 astrometry residual plots. Our interpretation of the structure is 2119 that the deviations of the focal plane from the ideal focal surface 2120 introduces small-scale PSF changes, presumably coupled to the optical 1908 2121 aberrations, which result in small changes in the centroid of the 1909 2122 object relative to the PSF model at that location. Since the PSF 1910 model shape parameters are only able to vary at the level of a 6x6 1911 grid per chips, the finer structures are not included in the PSF 1912 model. The PV2 analysis shows the ring structure more clearly, with a 1913 pattern much more closely following the focal surface deviations. In 1914 the PV2 analysis, the PSF model used at most a 3x3 grid per chip to 1915 follow the shape variations, so any changes caused by the optical 1916 aberrations would be less well modeled in the PV2 analysis, as we 1917 observe. 2123 model shape parameters are only able to vary at the level of a $6 2124 \times 6$ grid per chips, the finer structures are not included in the 2125 PSF model. 2126 2127 The PV2 analysis shows this circular pattern more clearly than the PV3 2128 analysis, with a pattern much more closely following the focal surface 2129 deviations. In the PV2 analysis, the PSF model used at most a 2130 $3\times 3$ grid per chip to follow the shape variations, so any 2131 changes caused by the optical aberrations would be less well modeled 2132 in the PV2 analysis than the PV3 analysis. For PV3, some of these 2133 patterns are suppressed by the higher-resolution PSF model. 1918 2134 1919 2135 A second pattern which is weakly seen in several chips consists of 1920 consistent displacements in the X(serial) direction for certain1921 cells. This effect can be seen most clearly in chips XY45 and XY46.2136 consistent displacements in the $X$ (serial) direction for certain 2137 cells. This effect can be seen most clearly in chips OTA45 and OTA46. 1922 2138 In the PV2 analysis, this pattern is also more clearly seen. In this 1923 2139 case, the fact that the astrometric model used polynomials with a … … 1929 2145 of this is unclear, but likely caused by the astrometry model failing 1930 2146 to follow the underlying variations because of the need to extrapolate 1931 to the edge pixels. Finally, we also mention an interesting effect 2147 to the edge pixels. 2148 2149 Finally, we also mention an interesting effect 1932 2150 {\em not} visible at the resolution of these astrometric flat-field 1933 2151 images. Fine structures are observed at the \approx 10 pixel scale … … 1949 2167 average solution, resulting in residual astrometric structures. The 1950 2168 gradient of the astrometric displacement results in an apparent 1951 expansion or compression of the pixel sizes, resulting ina signal2169 expansion or compression of the pixel sizes, generating a signal 1952 2170 which can be observed in the flat-field images. For GPC1, unlike the 1953 2171 DES detectors, the amplitude of these flat-field variations are much 1954 2172 smaller than the photometric variations caused by the changing PSF 1955 size d, caused in turn by varying electron diffusion rates. These2173 sizez, caused in turn by varying electron diffusion rates. These 1956 2174 features, and the related vertical electron diffusion variations are 1957 2175 discussed in detail in \cite{2018PASP..130f5002M}. 1958 2176 1959 Unfortunately, we discovered a problem with the astrometric flat-field 1960 correction too late to be repaired for DR1. As can be seen by 1961 inspection of Figures~\ref{fig:astroflat.gri} and 1962 \ref{fig:astroflat.zy}, there is significant pixel-to-pixel noise in 1963 the the astrometric flat-field images. This pixel-to-pixel noise is 1964 caused by too few stars used in the measurement of the flat-field 1965 structure for the high-resolution sampling. As a result, the 1966 astrometric flat-field correction reduces systematic structures on 1967 large spatial scales, but at the expense of degrading the quality of 1968 an individual measurement. Only $i$-band has sufficient 1969 signal-to-noise per pixel to avoid significantly increasing the 1970 per-measurement position errors. 2177 % generate (or plot) astrometric flat-field images for DR2 (PV3.X) 2178 2179 \begin{figure*}[htbp] 2180 \begin{center} 2181 \includegraphics[width=\hsize,clip]{{pics/astroflat.repair}.png} 2182 \caption{\label{fig:astroflat.repair} Comparison of the 2183 high-resolution astrometric flat-field images used for PV3.2 2184 (left) and for PV3.3 (right). These examples show the \gps-band 2185 astrometric flat-field corrections for the $X$ direction as seen 2186 in the focal plane coordinate system. Note the elevated noise in 2187 the PV3.2 image due to insufficient numbers of stars used in the analysis. 2188 } 2189 \end{center} 2190 \end{figure*} 2191 2192 % numbers of stars used: 2193 %% mana: load.stars astroflat.20151205/astroflat.20151205.v1.Npt.fits 2194 %% filter g : 2591421 stars 2195 %% filter r : 3497036 stars 2196 %% filter i : 16241986 stars 2197 %% filter z : 7153595 stars 2198 %% filter y : 4509749 stars 2199 %% mana: load.stars astroflat.20170217/astroflat.20170217.Npt.fits 2200 %% filter g : 17590560 stars 2201 %% filter r : 31000135 stars 2202 %% filter i : 82648850 stars 2203 %% filter z : 62166619 stars 2204 %% filter y : 42867074 stars 2205 2206 \note{move the discussion of the DR1 & DR2 scatter to the end of the 2207 astrom section?} 1971 2208 1972 2209 Figure~\ref{fig:allsky.astrom.sigma} shows the standard deviations of 1973 2210 the mean residual astrometry in $(\alpha,\delta)$ for bright stars as 1974 a function of position across the sky . For each pixel in these1975 images, we selected all objects with $15 < i < 17$, with at least 3 1976 measurements in $i$-band (to reject artifacts detected in a pair of 1977 exposures from the same night), with \code{PSF_QF} $> 0.85$ (to reject 1978 excessively-masked objects), and with $mag_{\rm PSF} - mag_{\rm Kron}1979 < 0.1$ (to reject galaxies). We then generated histograms of the 1980 difference between the object position predicted for the epoch of each 1981 measurement (based on the proper motion and parallax fit) and the 1982 observed position of that measurement, in both the Right Ascension and 1983 Declination directions (in linear arcseconds), for all stars in a 1984 given pixel in the images. From these residual histograms, we can 1985 then determine the median and the 68\%-ile range to calculate a robust 1986 version of the standard deviation. This represents the bright-end 1987 systematic error floor for a measurement from a single exposure. The1988 standard deviations are then plotted in2211 a function of position across the sky based on the DR2 calibration. For each 2212 pixel in these images, we selected all objects with $15 < i < 17$, 2213 with at least 3 measurements in $i$-band (to reject artifacts detected 2214 in a pair of exposures from the same night), with \code{PSF_QF} $> 2215 0.85$ (to reject excessively-masked objects), and with $mag_{\rm PSF} 2216 - mag_{\rm Kron} < 0.1$ (to reject galaxies). We then generated 2217 histograms of the difference between the object position predicted for 2218 the epoch of each measurement (based on the proper motion and parallax 2219 fit) and the observed position of that measurement, in both the Right 2220 Ascension and Declination directions (in linear arcseconds), for all 2221 stars in a given pixel in the images. From these residual histograms, 2222 we can then determine the median and the 68\%-ile range to calculate a 2223 robust version of the standard deviation. This represents the 2224 bright-end systematic error floor for a measurement from a single 2225 exposure. The standard deviations are then plotted in 1989 2226 Figure~\ref{fig:allsky.photom.sigma}. The median value of the 1990 standard deviations across the sky i s $(\sigma_\alpha, \sigma_\delta)1991 = (22, 23)$milliarcseconds.2227 standard deviations across the sky in both $(\sigma_\alpha, 2228 \sigma_\delta)$ is 16 milliarcseconds. 1992 2229 1993 2230 The Galactic plane is clearly apparently in these images. Like 1994 2231 photometry, we attribute this to failure of the PSF fitting due to 1995 2232 crowding. The celestial North pole regions have somewhat elevated 1996 errors in both R.A. and DEC. This may be due to the larger typical 1997 seeing at these high airmass regions, but without further exploration 1998 this interpretation is uncertain. Several features can be seen which 1999 appear to be an effect of the tie to the Gaia astrometry: the stripes 2000 near the center of the DEC image and the right side of the R.A. image. 2001 The mesh of circular outlines is due to the outer edge of the focal 2002 plane where the astrometric calibration is poorly determined. As 2003 discussed above, the median values in the images are higher than 2004 expected based on our PV2 analysis of the astrometry: the median 2005 per-measurement error floor of \approx 22 mas is significantly worse 2006 than the \approx 17 mas value in that earlier analysis. We attribute 2007 this degradation to the noise introduced by the astrometric 2008 flat-field. This noise has been addressed for the DR2 release 2009 of the individual measurement data. 2010 2011 \begin{figure}[htbp] 2233 errors in both R.A. and DEC, with some specifc structures. Some of 2234 these structures may be due to the larger typical seeing at these high 2235 airmass regions, but some are due to astrometric failures which stem 2236 from the reference catalog based on the PV2 analysis (see 2237 Section~\ref{sec:pole.problems} for further details). Several 2238 features can be seen which appear to be an effect of the tie to the 2239 Gaia astrometry: the stripes near the center of the DEC image and the 2240 right side of the R.A. image. The mesh of circular outlines one the 2 2241 degree scale is due to the outer edge of the focal plane where the 2242 astrometric calibration is poorly determined. 2243 2244 The DR1 astrometric calibration suffered from degraded astrometry due 2245 to a problem with the astrometric flat-field correction identified too 2246 late to be repaired for DR1. 2247 % 2248 The astrometric flat-field images used 2249 for that release had too few stars to measure the correction with 2250 sufficient signal-to-noise. As a result, those corrections had 2251 significant pixel-to-pixel noise which can be seen in 2252 Figure~\ref{fig:astroflat.repair}. As a result, the astrometric 2253 flat-field correction reduces systematic structures on large spatial 2254 scales, but at the expense of degrading the quality of individual 2255 measurements. Only the $i$-band flat had sufficient signal-to-noise 2256 per pixel to avoid significantly increasing the per-measurement 2257 position errors. 2258 2259 For DR2, we recalculated the astrometric flat-field correction using 2260 many more stars. For the DR1 release, the number of stars per filter 2261 was (\grizy) = (2.6M, 3.5M, 16M, 7M, 4.5M), while for the DR2 release, 2262 the number of stars per filter was (\grizy) = (18M, 31M, 83M, 62M, 2263 43M). We also reduced the resolution of the astrometric flat-field, 2264 using $80 \times 80$ superpixels, rather than the $40 \times 40$ 2265 superpixels used for DR1. Because of the degraded astrometric 2266 flat-field correction, the median per-measurement error floor of DR1 2267 is \approx 22 mas, significantly worse than both DR2 and the earlier 2268 PV2 analysis. Figure~\ref{fig:allsky.astro.histogram} shows 2269 histograms of the astrometric residual scatter across the sky for DR1 2270 and DR2, illustrating the improvement. 2271 2272 \begin{figure*}[htbp] 2012 2273 \begin{center} 2013 \includegraphics[width=\hsize,clip]{{pics/allsky.astrom.sigma}.png} 2014 \caption{\label{fig:allsky.astrom.sigma} Consistency of photometry 2274 \includegraphics[width=\hsize,clip]{{pics/allsky.histogram.astrom.compare}.png} 2275 \caption{\label{fig:allsky.astro.histogram} Illustration of the 2276 impact of the astrometric flat-field correction used for PV3.2 vs 2277 PV3.3. The blue histograms show the distribution of astrometric 2278 residuals for bright stars from the PV3.2 analysis while the red 2279 histograms show the distribution for the PV3.3 analysis. The 2280 median standard deviation for PV3.2 is 22 milliarcseconds in R.A. 2281 (23 mas in Declination). Using the higher signal-to-noise 2282 flat-field correction images reduces the median values to 16 mas 2283 for both R.A. and Declination directions in PV3.3. 2284 } 2285 \end{center} 2286 \end{figure*} 2287 2288 % older version of this figure: 2289 % pv2_0 : /data/ipp060.0/eugene/pv2.astrom.20150126/astromap.20150127/dDsig.im.fits 2290 % pv2_1 : /data/ipp060.0/eugene/pv2.astrom.20150126/astromap.20150429/dDsig.im.fits 2291 2292 % NOTE: 2293 % the pv2 versions used: resize 1800 920; region 0 0 85 ait 2294 % the pv3 versions used: resize 1800 950; region 180 0 90 ait 2295 2296 % thus we cannot directly compare map pixels, without re-extracting the measurements 2297 % (we can do that if we decide it is needed to generate the best plots) 2298 2299 % original version of figure: pv3.stats.20161202/allsky.astrom.sigma.png 2300 % based on /data/kukui.3/eugene/pv3.stats.20161202/maps.measure/pv3.v1.*.sigma.fits 2301 % based on /data/ipp094.0/eugene/pv3.stats.20161202/cdhist.measure/cdmerge.v1.dD.fits (& dR) 2302 % plot script /data/kukui.3/eugene/pv3.stats.20161202/scatter.sh 2303 % catdir /data/ipp094.0/eugene/pv3.cam.20150607/catdir.master (PV3.2) 2304 2305 % regenerate using fits image in pv3.stats.20170413 2306 2307 \begin{figure*}[htbp] 2308 \begin{center} 2309 \includegraphics[width=\hsize,clip]{{pics/allsky.astrom.pv3.3}.png} 2310 \caption{\label{fig:allsky.astrom.sigma} Consistency of astrometry 2015 2311 measurements across the sky. Each panel shows a map of the 2016 2312 standard deviation of astrometry residuals for stars in each … … 2021 2317 is likely responsible for these elevated value. } 2022 2318 \end{center} 2023 \end{figure} 2024 2025 % plot of the astrometric error floor per filter? 2026 2027 % \note{SECTION or REF?}. 2319 \end{figure*} 2028 2320 2029 2321 After the initial analysis to measure the KE corrections, DCR 2030 2322 corrections, and astrometric flat-field corrections, we applied these 2031 2323 corrections to the entire database. Within the schema of the 2032 database, each measurement has the raw chip coordinates 2033 (\code{Measure.Xccd,Yccd}) as well as the offset for that object based on each of 2034 these three corrections: \code{Measure.XoffKH,YoffKH, 2035 Measure.XoffDCR,YoffDCR, Measure.XoffCAM,YoffCAM}. The offsets are 2036 calculated for each measurement based on the observed instrumental 2037 chip magnitudes and FWHM for the Koppenh\"ofer Effect, on the average 2038 chip colors and the altitude \& azimuth of each measurement for the 2039 DCR correction, and on the chip coordinates for the astrometric 2040 flat-field corrections. The corrections are combined and applied to 2041 the raw chip coordinates and saved back in the database in the fields 2042 \code{Measure.Xfix,Yfix}. At this point, we are ready to run the 2043 full astrometric calibration. 2044 2045 \subsection{Galactic Rotation and Solar Motion} 2324 database, each measurement in the \ippdbtable{Measure} table has the 2325 raw chip coordinates (\ippdbcolumn{Xccd}, \ippdbcolumn{Yccd}) as well 2326 as the offset for that object based on each of the three corrections 2327 discussed above (\ippdbcolumn{XoffKH}, \ippdbcolumn{YoffKH}; 2328 \ippdbcolumn{XoffDCR}, \ippdbcolumn{YoffDCR}; \ippdbcolumn{XoffCAM}, 2329 \ippdbcolumn{YoffCAM}). The offsets are calculated for each 2330 measurement based on the observed instrumental chip magnitudes and 2331 FWHM for the Koppenh\"ofer Effect, on the average chip colors and the 2332 altitude \& azimuth of each measurement for the DCR correction, and on 2333 the chip coordinates for the astrometric flat-field corrections. The 2334 corrections are combined and applied to the raw chip coordinates and 2335 saved back in the database in the fields \ippdbcolumn{Xfix}, 2336 \ippdbcolumn{Yfix}. At this point, we are ready to run the full 2337 astrometric calibration. 2338 2339 \subsection{Absolute Calibration} 2340 \label{sec:galactic.rotation} 2046 2341 2047 2342 The initial analysis of the PV2 astrometry used the 2MASS positions as … … 2121 2416 where $d$ is the distance and $l,b$ are the Galactic coordinates of the 2122 2417 star. Note that the proper motion induced by 2123 %% \note{some reference for this?}2124 2418 the Galactic rotation is independent of distance while the reflex 2125 2419 motion induced by the solar motion decreases with increasing … … 2135 2429 value of 500pc. 2136 2430 2137 %% \note{plots to show how well this worked for PV3 pre Gaia}2138 2139 2431 \subsection{Gaia Constraint} 2432 2433 \note{move comparisons to Gaia to the discussion, limit this section 2434 to the Gaia astrometric tie} 2140 2435 2141 2436 After the full relative astrometry analysis was performed for the PV3 … … 2164 2459 even at a lower weight, helps to tile over those gaps. 2165 2460 2166 %% \note{Figures showing the Gaia residuals}2167 2168 2461 \begin{figure*}[htbp] 2169 2462 \begin{center} … … 2259 2552 proper motions will obviate the need to correct for the Galactic rotation. 2260 2553 2261 \subsection{Calculation of Object Astrometry} 2554 \subsection{Object Astrometry} 2555 2556 After the image astrometric parameters have been determined and 2557 applied to the measurements from each image, we attempt to find the 2558 best astrometric parameters (position, parallax and proper motions) 2559 for all objects in the database. Only good quality measurements are 2560 kept for the astrometric analysis: PS1 chip detections with 2561 \code{PSF_QF} $< 0.85$ are rejected, as are any detections for which 2562 the magnitude or magnitude error were reported as \code{NAN}. Only 2563 PS1 \ippstage{chip}-stage measurements were used for the astrometry 2564 measurement (no stack or forced-warp measurements). If available, the 2565 2MASS and Gaia astrometry for an object was also used in the 2566 calculation of the astrometry. Measurements which were kept for the 2567 astrometric fit for an object were marked with the bit-flags 2568 \code{ID_MEAS_USED_OBJ}. Some detections were identified as extreme 2569 outliers if their position deviated from the mean object coordinate by 2570 more than 2 arcseconds. These detections were ignored and marked with 2571 the bit flag \code{ID_MEAS_POOR_ASTROM}. 2572 2573 If 2MASS or Gaia astrometry measurements 2574 were available for an object, {\em all} measurements for that object 2575 are marked with the bit-flag \code{ID_MEAS_OBJECT_HAS_2MASS} or 2576 \code{ID_MEAS_OBJECT_HAS_GaIA} as appropriate. The Tycho 2.0 2577 measurements were not included in this analysis and objects with Tycho 2578 measurements are therefore not marked. 2262 2579 2263 2580 \subsubsection{Iteratively Reweighted Least Squares Fitting} 2264 2265 After the image astrometric parameters have been determined and2266 applied to the measurements from each image, we attempt to find2267 the best astrometric parameters (position, parallax and proper2268 motions) for all objects in the database. We require a minimum of 52269 detections and 1 year of data for any object in order for it to be2270 fitted for just proper motion. For a parallax and proper-motion fit,2271 we require at least 7 detections, 1 year of data, and a parallax2272 factor range of at least 0.25; no object is fitted to parallax without2273 proper motion as well. If an object is fitted for parallax, it is2274 also fitted with a model including only proper motion and only a mean2275 position. The chisq for all three fits is saved. Currently, the2276 highest order fit allowed is saved in the database, regardless of the2277 significance of the improvement in adding parameters. The resulting2278 parallax and proper motion measurements are inserted back into the DVO2279 database for use by science queries.2280 2581 2281 2582 With an automatic process applied to hundreds of millions of stars, it … … 2339 2640 fractional change is less than some tolerance ($10^{-4}$), then 2340 2641 iterations are halted and the last fitted parameters are used. If 2341 convergence is not reached in 10 iterations, the process is halted in 2342 any case and a flag raised for the object to note that IRLS did not 2343 converge. 2344 2345 % \note{did this happen for any of our targets?} 2642 convergence is not reached in 10 iterations, the process is halted and 2643 the analysis is rejected. 2346 2644 2347 2645 To calculate a fit $\chi^2$ value and to determine an appropriate set … … 2354 2652 either used to calculate both RA and Declination terms, or neither). 2355 2653 The $\chi^2$ is determined from the unclipped points in the standard 2356 way. Bootstrap analysis is used to assess the errors on the fit 2654 way. These measurements are marked with the bit flag 2655 \code{ID_MEAS_UNMASKED_ASTRO}. 2656 2657 Bootstrap-resampling analysis is used to assess the errors on the fit 2357 2658 parameters: A number of measurements equal to the number of unclipped 2358 2659 data points are randomly selected from the set of unclipped data … … 2360 2661 then used to fit for the astrometric parameters, using ordinary least 2361 2662 squares fitting. The parameters are recorded and the process re-run 2362 100 times. For each astrometric parameter, the error is determined as2663 300 times. For each astrometric parameter, the error is determined as 2363 2664 half of the 68\% confidence range for the distribution of fitted 2364 2665 parameter values. 2365 2666 2667 \subsubsection{Object Astrometry Flags} 2668 2669 We require a minimum of 5 detections and 1 year of data for any object 2670 in order for it to be fitted for just proper motion. For a parallax 2671 and proper-motion fit, we require at least 7 detections, 1 year of 2672 data, and a parallax factor range of at least 0.25; no object is 2673 fitted to parallax without proper motion as well. If an object is 2674 fitted for parallax, it is also fitted with a model including only 2675 proper motion and only a mean position. The chisq for all three fits 2676 is saved. Currently, the highest order fit allowed is saved in the 2677 database, regardless of the significance of the improvement in adding 2678 parameters. The resulting parallax and proper motion measurements are 2679 inserted back into the DVO database for use by science queries. If 2680 one of the three types of fits were attempted, the corresponding bit 2681 flags are set: \code{ID_OBJ_FIT_PAR} for the full parallax fit, 2682 \code{ID_OBJ_FIT_PM} for the proper-motion fit, \code{ID_OBJ_FIT_AVE} 2683 for the mean position. The fit which was used to provide the reported 2684 astrometric parameters is noted with one of the three object bit 2685 flags: \code{ID_OBJ_USE_PAR}, \code{ID_OBJ_USE_PM}, 2686 \code{ID_OBJ_USE_AVE}. If the IRLS analysis for all three types of 2687 fits fails to converge, the raw weighted average position is reported 2688 and the bit flag \code{ID_OBJ_RAW_AVE} is set. If the proper-motion 2689 model was attempted and failed, the bit flag \code{ID_OBJ_BAD_PM} is 2690 set. 2691 2692 Objects for which there is no valid chip-stage measurement (\eg., 2693 faint sources below the single-exposure detection limit) will use the 2694 position from the stack for the mean position. In this case, the bit 2695 flag \code{ID_OBJ_STACK_FOR_MEAN} will be raised. Stack astrometry is 2696 reported to the PSPS database. The stack astrometry is calculated 2697 based on the median of stack measurements. The stack measurements are 2698 not statistically independent (see Section~\ref{sec:stack.phot}), so 2699 there an average of the stack measurements does not improve the 2700 statistical significance of the position measurement. In addition, 2701 the stack astrometry is expected to be degraded relative to the 2702 chip-stage astrometry, in part because of the geometric re-warping 2703 required to generate the stack images and in part because of the 2704 spatially variable stack PSFs. If stack measurements exist but for 2705 some reason cannot be used for astrometry (\eg., poor quality) the 2706 values reported to the PSPS database will be derived from the average 2707 of the chip detections and the bit flag \code{ID_OBJ_MEAN_FOR_STACK} 2708 will be set for the object. 2709 2366 2710 \section{Discussion} 2711 \label{sec:discussion} 2712 2713 The calibration of the PV3 DVO database required several iterations. 2714 For completeness, we discuss these steps and their implications for 2715 the DR1 and DR2 releases. 2716 \begin{itemize} 2717 2718 \item[PV3.0] The first calibrated PV3 database is identified as PV3.0. 2719 This calibration predates the Gaia DR1 release and uses the 2MASS 2720 catalog as a reference. After internal testing, an error in the 2721 photometry calibration was identified in this DVO version: the 2722 high-resolution photometric flat-field correction measured using the 2723 stellar photometry (see Section~\ref{sec:phot.flat}) was applied 2724 with the wrong sign to the measurements. 2725 2726 \item[PV3.1] After the above error was identified, the photometric 2727 flat-field correction was applied in the correct sense to the 2728 measurements and the average photometry was recalculated. The 2729 resulting PV3.1 version of the database was used for the DR1 release 2730 (but see below regarding the mean positions). 2731 2732 \item[PV3.2] The Gaia DR1 release motivated a recalibration of the 2733 astrometry using the Gaia DR1 position information, combined with 2734 photometric distance estimates and a model for the Galactic and 2735 Solar motion to correct the absolute proper motion (see 2736 Section~\ref{sec:galactic.rotation}). We identify the resulting 2737 database as PV3.1. This database was used to generate the positions 2738 in the \ippdbtable{gaiaObject} table, which are exposed in the DR1 2739 release. 2740 2741 \item[PV3.3] After the DR1 release, we identified a problem with the 2742 astrometric flat-field corrections (see 2743 Section~\ref{sec:astro.flat}): for all but the \ips\ filter, the 2744 analysis of the flat-field used too few stars. The measurement of 2745 the systematic astrometric corrections therefore had a low 2746 signal-to-noise. Instead of reducing the scatter in the astrometric 2747 measurements, the application of these flat-fields {\em increased} 2748 the scatter. Recognizing this error, we re-measured the astrometric 2749 flat-fields with a larger number of stars and applied the improve 2750 versions to the database. The resulting PV3.3 calibration has a 2751 noticable improvement in the astrometric scatter for bright stars. 2752 2753 \item[PV3.4] Two errors were identified in the PV3.3 calibration 2754 before the DR2 release was completed. First, we discovered that the 2755 repair applied to the photometric flat-field correction for PV3.1, 2756 reversing the sign of the correction, was not propagated to the 2757 stack or warp photometry calibrations. Although the measurements 2758 from these stages are not corrected by those flat-fields, they are 2759 affected by this calibration since they are tied to the average of 2760 the chip-stage measurements. Second, we determined that the 2761 aperture-like photometry (e.g., Kron magnitudes) and photomety 2762 which depends on the PSF model for the stack measurements need to be 2763 independently tied to the average exposure photometry (see 2764 discussion in Section~\ref{sec:phot.flat}). We addressed both of 2765 these issue in the PV3.4 calibration of the DVO database. This 2766 database was then used to generate the values in the DR2 PSPS 2767 database tables. \note{what about P2, those were done first, right?} 2768 \end{itemize} 2769 2770 \begin{figure*}[htbp] 2771 \begin{center} 2772 \includegraphics[width=\hsize,clip]{{pics/photom.pv3.3v4}.png} 2773 \caption{\label{fig:photom.pv3.3v4} Sample comparison of PV3.3 and 2774 PV3.4 photometry illustrating the impact of the issues identified 2775 in the PV3.3 stack and warp photometry. All figures use \ips-band 2776 photometry. The left panels use data from PV3.3 while the right 2777 use PV3.4. The top row shows the mean difference between the 2778 average photometry from individual exposures (``chip'') and the 2779 stack photometry using Kron magnitudes. The middle row shows the 2780 mean difference between the average photometry from individual 2781 exposures (``chip'') and the average forced-warp photometry, again 2782 using Kron magnitudes. The bottom row shows the mean difference 2783 between the average photometry from individual exposures 2784 (``chip'') and the average forced-warp photometry, using PSF 2785 magnitudes. See Section~\ref{sec:discussion} for a description of 2786 the calibration change in PV3.4.} 2787 \end{center} 2788 \end{figure*} 2367 2789 2368 2790 \section{Conclusion} … … 2386 2808 Lorand University (ELTE) and the Los Alamos National Laboratory. 2387 2809 2810 \note{colormaps by Peter Kovesi. Good Colour Maps: How to Design Them. 2811 arXiv:1509.03700 [cs.GR] 2015. add ref} 2812 2813 2814 2388 2815 \bibliographystyle{apj} 2389 2816 % \bibliography{lib}{} … … 2416 2843 * kh.data.20151203.v1/spline.final.fits : spline fits to the KH data 2417 2844 * kh.data.20151203.v1.fits : densify images of residuals per chip : (dX,dY) & (T0, T1) = (pre fix, post fix) 2418 * mana.sh : kh.example - plot of XY042845 * mana.sh : kh.example - plot of OTA04 2419 2846 * mana.sh : khmap (needs cleanup) 2420 2847 * ipp094:/data/ipp094.0/eugene/pv3.cam.20150607/astrom.corrections : extractions and original scripts to make spline, etc
Note:
See TracChangeset
for help on using the changeset viewer.
