runbrick.py starting at 2022-07-28T10:49:44.222621 Command-line args: ['/n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/ExtSoftware/legacypipe/py/legacypipe/runbrick.py', '--gpsf', '--early-coadds', '-s', 'image_coadds', '--no-write', '--bands', 'grizY', '--skip-calibs', '-v', '--brick', '2648m222'] Got survey: LegacySurveyData: dir /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir-mod/, out . Starting process 31786 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 94 MB, VmData: 144 MB, maxrss: 0.096748 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T10:49:44.597529 Warning: failed to get version string for "numpy" Warning: failed to get version string for "scipy" Warning: failed to get version string for "wcslib" Warning: failed to get version string for "astropy" Warning: failed to get version string for "photutils" Warning: failed to get version string for "ceres" Warning: failed to get version string for "sextractor" Warning: failed to get version string for "psfex" Warning: failed to get version string for "astrometry_net" Warning: failed to get version string for "tractor" Warning: failed to get version string for "fitsio" Warning: failed to get version string for "unwise_coadds" Warning: failed to get version string for "python" Warning: failed to get version string for "unwise_coadds_timeresolved" Warning: failed to get version string for "legacysurvey" Warning: failed to get version string for "legacypipe" Warning: failed to get version string for "dust" Reading CCDs from /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir-mod/survey-ccds-decaps2.1-zps-abscal6-add2-noJup-mod.fits.gz Got 1300250 CCDs Total of 1300250 CCDs 16 CCDs touching target WCS Finding blacklisted CCDs. Cameras: ['decam'] Checking 16 images from camera decam Keeping 16 non-blacklisted CCDs from camera decam 16 CCDs not in blacklist Unique filters: ['Y' 'g' 'i' 'r' 'z'] Cut on filter: 16 CCDs remain. Cutting out non-photometric CCDs... Finding photometric CCDs. Cameras: ['decam'] Checking 16 images from camera decam Flagged 6 more non-photometric using criterion: zpt not finite Keeping 10 photometric CCDs from camera decam 10 of 16 CCDs are photometric Cutting on CCDs to be used for fitting... DECam 00647107-S19 g exptime 96.0 propid 2016B-0279 seeing 1.07 object None DECam 00647107-S13 g exptime 96.0 propid 2016B-0279 seeing 1.06 object None DECam 00647106-S19 r exptime 30.0 propid 2016B-0279 seeing 0.95 object None DECam 00647106-S13 r exptime 30.0 propid 2016B-0279 seeing 0.97 object None DECam 00647153-S19 i exptime 30.0 propid 2016B-0279 seeing 0.85 object None DECam 00647153-S13 i exptime 30.0 propid 2016B-0279 seeing 0.86 object None DECam 00647152-S19 z exptime 30.0 propid 2016B-0279 seeing 0.84 object None DECam 00647152-S13 z exptime 30.0 propid 2016B-0279 seeing 0.82 object None DECam 00647151-S19 Y exptime 30.0 propid 2016B-0279 seeing 0.80 object None DECam 00647151-S13 Y exptime 30.0 propid 2016B-0279 seeing 0.80 object None [serial tims] Finding images touching brick: Wall: 4.78 s, CPU: 4.74 s, VmPeak: 2249 MB, VmSize: 1373 MB, VmRSS: 1057 MB, VmData: 1101 MB, maxrss: 1.977952 MB Reading DECam 00647107-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(110, 3713, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084722_ooi_g_v1.mod.fits ('S19_MOD', 'S19') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084722_oow_g_v1.fits.fz hdu 18 Reading data quality from /n/fink2/decaps/c4d_170504_084722_ood_g_v1.fits.fz hdu 18 Instantiating and subtracting sky model WARNING: image median 0.014054217 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(3.0400296674015386, 0.0, 0.0, 3.0400296674015386) Reading DECam 00647107-S13 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(107, 3706, None), slice(0, 1281, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084722_ooi_g_v1.mod.fits ('S13_MOD', 'S13') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084722_oow_g_v1.fits.fz hdu 24 Reading data quality from /n/fink2/decaps/c4d_170504_084722_ood_g_v1.fits.fz hdu 24 Instantiating and subtracting sky model WARNING: image median 0.0123447105 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.9732765273879584, 0.0, 0.0, 2.9732765273879584) Reading DECam 00647106-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(104, 3707, None), slice(0, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084517_ooi_r_v1.mod.fits ('S19_MOD', 'S19') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084517_oow_r_v1.fits.fz hdu 18 Reading data quality from /n/fink2/decaps/c4d_170504_084517_ood_r_v1.fits.fz hdu 18 Instantiating and subtracting sky model WARNING: image median 0.059775922 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.383887380673426, 0.0, 0.0, 2.383887380673426) Reading DECam 00647106-S13 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(101, 3701, None), slice(1, 1286, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084517_ooi_r_v1.mod.fits ('S13_MOD', 'S13') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084517_oow_r_v1.fits.fz hdu 24 Reading data quality from /n/fink2/decaps/c4d_170504_084517_ood_r_v1.fits.fz hdu 24 Instantiating and subtracting sky model WARNING: image median 0.055594582 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.4668632248005427, 0.0, 0.0, 2.4668632248005427) Reading DECam 00647153-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(123, 3726, None), slice(1, 2048, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094606_ooi_i_v1.mod.fits ('S19_MOD', 'S19') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094606_oow_i_v1.fits.fz hdu 18 Reading data quality from /n/fink2/decaps/c4d_170504_094606_ood_i_v1.fits.fz hdu 18 Instantiating and subtracting sky model WARNING: image median 0.112467654 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.9234573802799457, 0.0, 0.0, 1.9234573802799457) Reading DECam 00647153-S13 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(119, 3719, None), slice(0, 1282, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094606_ooi_i_v1.mod.fits ('S13_MOD', 'S13') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094606_oow_i_v1.fits.fz hdu 24 Reading data quality from /n/fink2/decaps/c4d_170504_094606_ood_i_v1.fits.fz hdu 24 Instantiating and subtracting sky model WARNING: image median 0.10909963 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.9561164787905834, 0.0, 0.0, 1.9561164787905834) Reading DECam 00647152-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(132, 3736, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094507_ooi_z_v1.mod.fits ('S19_MOD', 'S19') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094507_oow_z_v1.fits.fz hdu 18 Reading data quality from /n/fink2/decaps/c4d_170504_094507_ood_z_v1.fits.fz hdu 18 Instantiating and subtracting sky model WARNING: image median 0.18389057 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.8539244311011316, 0.0, 0.0, 1.8539244311011316) Reading DECam 00647152-S13 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(128, 3729, None), slice(1, 1275, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094507_ooi_z_v1.mod.fits ('S13_MOD', 'S13') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094507_oow_z_v1.fits.fz hdu 24 Reading data quality from /n/fink2/decaps/c4d_170504_094507_ood_z_v1.fits.fz hdu 24 Instantiating and subtracting sky model WARNING: image median 0.1782982 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.7817876013082838, 0.0, 0.0, 1.7817876013082838) Reading DECam 00647151-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(123, 3727, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094409_ooi_Y_v1.mod.fits ('S19_MOD', 'S19') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094409_oow_Y_v1.fits.fz hdu 18 Reading data quality from /n/fink2/decaps/c4d_170504_094409_ood_Y_v1.fits.fz hdu 18 Instantiating and subtracting sky model WARNING: image median 0.24339703 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.672447685076686, 0.0, 0.0, 1.672447685076686) Reading DECam 00647151-S13 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(119, 3720, None), slice(1, 1272, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094409_ooi_Y_v1.mod.fits ('S13_MOD', 'S13') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094409_oow_Y_v1.fits.fz hdu 24 Reading data quality from /n/fink2/decaps/c4d_170504_094409_ood_Y_v1.fits.fz hdu 24 Instantiating and subtracting sky model WARNING: image median 0.22685225 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.6813337768490717, 0.0, 0.0, 1.6813337768490717) [parallel tims] Read 10 images: Wall: 6.60 s, CPU: 6.11 s, VmPeak: 2249 MB, VmSize: 2104 MB, VmRSS: 1660 MB, VmData: 1830 MB, maxrss: 1.977952 MB Total of 59864432 pixels read Cut bands to ['g', 'r', 'i', 'z', 'Y'] Stage tims : Wall: 11.38 s, CPU: 10.85 s, VmPeak: 2249 MB, VmSize: 2104 MB, VmRSS: 1660 MB, VmData: 1830 MB, maxrss: 1.977952 MB Stage tims finished: 2022-07-28T10:49:55.973032 Resources for stage tims : Total serial CPU 4.744987357000001 Total serial Wall 4.778205 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 6.597694 Total parallel CPU 6.107914741999999 Grand total CPU: 10.9 sec Grand total Wall: 11.4 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 95.4 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T10:49:55.973463 Stage mask_junk : Wall: 4.46 s, CPU: 4.37 s, VmPeak: 2249 MB, VmSize: 2071 MB, VmRSS: 1627 MB, VmData: 1796 MB, maxrss: 1.977952 MB Stage mask_junk finished: 2022-07-28T10:50:00.432775 /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/ExtSoftware/legacypipe/py/legacypipe/runbrick.py:1770: RuntimeWarning: divide by zero encountered in true_divide depth = 5. / np.sqrt(det) Resources for stage mask_junk : Total serial CPU 4.367810571 Total serial Wall 4.459588 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 4.4 sec Grand total Wall: 4.5 sec Grand total CPU utilization: 0.98 cores Grand total efficiency: 97.9 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T10:50:00.433167 Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-ccds.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-ccds.fits Doing Lanczos resampling Computing coadd for band g Applying surface-brightness scaling of 0.998 to 00647107-S19 g Applying surface-brightness scaling of 0.998 to 00647107-S13 g Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image-g.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image-g.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-invvar-g.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-invvar-g.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-nexp-g.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-nexp-g.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth-g.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth-g.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-galdepth-g.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-galdepth-g.fits.gz Computing coadd for band r Applying surface-brightness scaling of 0.998 to 00647106-S19 r Applying surface-brightness scaling of 0.998 to 00647106-S13 r Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image-r.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image-r.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-invvar-r.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-invvar-r.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-nexp-r.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-nexp-r.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth-r.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth-r.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-galdepth-r.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-galdepth-r.fits.gz Computing coadd for band i Applying surface-brightness scaling of 0.998 to 00647153-S19 i Applying surface-brightness scaling of 0.998 to 00647153-S13 i Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image-i.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image-i.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-invvar-i.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-invvar-i.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-nexp-i.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-nexp-i.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth-i.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth-i.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-galdepth-i.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-galdepth-i.fits.gz Computing coadd for band z Applying surface-brightness scaling of 0.998 to 00647152-S19 z Applying surface-brightness scaling of 0.998 to 00647152-S13 z Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image-z.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image-z.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-invvar-z.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-invvar-z.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-nexp-z.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-nexp-z.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth-z.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth-z.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-galdepth-z.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-galdepth-z.fits.gz Computing coadd for band Y Applying surface-brightness scaling of 0.998 to 00647151-S19 Y Applying surface-brightness scaling of 0.998 to 00647151-S13 Y Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image-Y.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image-Y.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-invvar-Y.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-invvar-Y.fits Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-nexp-Y.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-nexp-Y.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth-Y.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth-Y.fits.gz Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-galdepth-Y.fits.gz Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-galdepth-Y.fits.gz coadds: images: Wall: 24.81 s, CPU: 24.41 s, VmPeak: 3445 MB, VmSize: 3388 MB, VmRSS: 2934 MB, VmData: 3108 MB, maxrss: 3.004596 MB Computing unique brick pixels... 11789768 of 12960000 pixels are unique to this brick g ptsrc band depth map: percentiles [ 0. 24.0995636 24.0995636 24.0995636 24.0995636 24.0995636 24.0995636 24.12377548 24.12377548 24.12377548 24.12377548] g gal band depth map: percentiles [ 0. 23.77040672 23.77040672 23.77040672 23.77040672 23.77040672 23.77040672 23.78944397 23.78944397 23.78944397 23.78944397] r ptsrc band depth map: percentiles [ 0. 23.12096596 23.12096596 23.12096596 23.12096596 23.12898254 23.12898254 23.12898254 23.12898254 23.12898254 23.12898254] r gal band depth map: percentiles [ 0. 22.74008751 22.74008751 22.74008751 22.74008751 22.74008751 22.74008751 22.7408886 22.7408886 22.7408886 22.7408886 ] i ptsrc band depth map: percentiles [ 0. 22.81442261 22.81442261 22.81442261 22.81442261 22.81442261 22.81442261 22.81644058 22.81644058 22.81644058 22.81644058] i gal band depth map: percentiles [ 0. 22.36717224 22.36717224 22.36717224 22.36717224 22.36717224 22.36717224 22.37396049 22.37396049 22.37396049 22.37396049] z ptsrc band depth map: percentiles [ 0. 22.26618004 22.26618004 22.26618004 22.26618004 22.26618004 22.26618004 22.29687691 22.29687691 22.29687691 22.29687691] z gal band depth map: percentiles [ 0. 21.80835724 21.80835724 21.80835724 21.80835724 21.80835724 21.80835724 21.82752228 21.82752228 21.82752228 21.82752228] Y ptsrc band depth map: percentiles [ 0. 21.39327812 21.39327812 21.39327812 21.39327812 21.39327812 21.39327812 21.39536285 21.39536285 21.39536285 21.39536285] Y gal band depth map: percentiles [ 0. 20.90517426 20.90517426 20.90517426 20.90517426 20.90517426 20.90517426 20.90885162 20.90885162 20.90885162 20.90885162] Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-depth.fits Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-depth.fits Warning: band i not used in creating RGB image Warning: band Y not used in creating RGB image pngtopnm /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/decaps/tmp/tmpa5rz4c67.png | pnmtojpeg -quality 90 > ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image.jpg -> 0 Wrote ./coadd/264/2648m222/tmp-legacysurvey-2648m222-image.jpg Renamed to ./coadd/264/2648m222/legacysurvey-2648m222-image.jpg Stage image_coadds : Wall: 37.08 s, CPU: 35.36 s, VmPeak: 3597 MB, VmSize: 2608 MB, VmRSS: 2161 MB, VmData: 2328 MB, maxrss: 3.22006 MB Stage image_coadds finished: 2022-07-28T10:50:37.516705 Resources for stage image_coadds : Total serial CPU 35.379140956000015 Total serial Wall 37.114601 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 35.4 sec Grand total Wall: 37.1 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 95.3 % Stage image_coadds finished All done: Wall: 52.92 s, CPU: 50.58 s, VmPeak: 3597 MB, VmSize: 2608 MB, VmRSS: 2161 MB, VmData: 2328 MB, maxrss: 3.22006 MB Total serial CPU 44.492814942 Total serial Wall 46.353275 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 6.597694 Total parallel CPU 6.107914741999999 Grand total CPU: 50.6 sec Grand total Wall: 53.0 sec Grand total CPU utilization: 0.96 cores Grand total efficiency: 95.6 %