runbrick.py starting at 2022-07-28T10:50:11.366674 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', '2651m222'] Got survey: LegacySurveyData: dir /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir-mod/, out . Starting process 31903 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 94 MB, VmData: 144 MB, maxrss: 0.096072 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T10:50:11.743538 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 14 CCDs touching target WCS Finding blacklisted CCDs. Cameras: ['decam'] Checking 14 images from camera decam Keeping 14 non-blacklisted CCDs from camera decam 14 CCDs not in blacklist Unique filters: ['Y' 'g' 'i' 'r' 'z'] Cut on filter: 14 CCDs remain. Cutting out non-photometric CCDs... Finding photometric CCDs. Cameras: ['decam'] Checking 14 images from camera decam Flagged 4 more non-photometric using criterion: zpt not finite Keeping 10 photometric CCDs from camera decam 10 of 14 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.80 s, CPU: 4.77 s, VmPeak: 2248 MB, VmSize: 1372 MB, VmRSS: 1056 MB, VmData: 1100 MB, maxrss: 1.977896 MB Reading DECam 00647107-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3536, 4095, 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.012272793 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(3530, 4095, None), slice(1, 1282, 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.008714016 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(3530, 4095, None), slice(1, 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.05507654 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(3524, 4095, None), slice(1, 1287, 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.04464744 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(3549, 4095, None), slice(0, 2047, 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.1116985 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(3542, 4096, None), slice(1, 1283, 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.09657057 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(3559, 4095, None), slice(0, 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.18129979 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(3552, 4095, None), slice(1, 1276, 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.16317251 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(3550, 4095, 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.2522527 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(3543, 4095, None), slice(1, 1274, 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.19153436 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: 2.85 s, CPU: 2.50 s, VmPeak: 2248 MB, VmSize: 1629 MB, VmRSS: 1183 MB, VmData: 1355 MB, maxrss: 1.977896 MB Total of 9172291 pixels read Cut bands to ['g', 'r', 'i', 'z', 'Y'] Stage tims : Wall: 7.66 s, CPU: 7.27 s, VmPeak: 2248 MB, VmSize: 1629 MB, VmRSS: 1183 MB, VmData: 1355 MB, maxrss: 1.977896 MB Stage tims finished: 2022-07-28T10:50:19.401456 Resources for stage tims : Total serial CPU 4.767276366999999 Total serial Wall 4.806382 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 2.851939 Total parallel CPU 2.5010399020000005 Grand total CPU: 7.3 sec Grand total Wall: 7.7 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 94.9 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T10:50:19.401897 Stage mask_junk : Wall: 0.75 s, CPU: 0.72 s, VmPeak: 2248 MB, VmSize: 1630 MB, VmRSS: 1184 MB, VmData: 1355 MB, maxrss: 1.977896 MB Stage mask_junk finished: 2022-07-28T10:50:20.149023 /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 0.7162977090000009 Total serial Wall 0.747407 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 0.7 sec Grand total Wall: 0.7 sec Grand total CPU utilization: 0.96 cores Grand total efficiency: 95.8 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T10:50:20.149464 Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-ccds.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/265/2651m222/tmp-legacysurvey-2651m222-image-g.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image-g.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-invvar-g.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-invvar-g.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-nexp-g.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-nexp-g.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth-g.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-depth-g.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-galdepth-g.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/265/2651m222/tmp-legacysurvey-2651m222-image-r.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image-r.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-invvar-r.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-invvar-r.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-nexp-r.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-nexp-r.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth-r.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-depth-r.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-galdepth-r.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/265/2651m222/tmp-legacysurvey-2651m222-image-i.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image-i.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-invvar-i.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-invvar-i.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-nexp-i.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-nexp-i.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth-i.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-depth-i.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-galdepth-i.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/265/2651m222/tmp-legacysurvey-2651m222-image-z.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image-z.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-invvar-z.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-invvar-z.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-nexp-z.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-nexp-z.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth-z.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-depth-z.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-galdepth-z.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/265/2651m222/tmp-legacysurvey-2651m222-image-Y.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image-Y.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-invvar-Y.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-invvar-Y.fits Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-nexp-Y.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-nexp-Y.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth-Y.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-depth-Y.fits.gz Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-galdepth-Y.fits.gz Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-galdepth-Y.fits.gz coadds: images: Wall: 6.76 s, CPU: 6.59 s, VmPeak: 2626 MB, VmSize: 2576 MB, VmRSS: 2109 MB, VmData: 2296 MB, maxrss: 2.20906 MB Computing unique brick pixels... 11789768 of 12960000 pixels are unique to this brick g ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 24.09444046 24.12342072] g gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.76528168 23.7890892 ] r ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.12656593 23.12692451] r gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.73802757 22.74648666] i ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.79979324 22.80709267] i gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.35254288 22.36461258] z ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.26051521 22.2943325 ] z gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 21.80269241 21.82497787] Y ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 21.38476181 21.39038849] Y gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 20.89665985 20.90387535] Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-depth.fits Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-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/tmpujy_pcub.png | pnmtojpeg -quality 90 > ./coadd/265/2651m222/tmp-legacysurvey-2651m222-image.jpg -> 0 Wrote ./coadd/265/2651m222/tmp-legacysurvey-2651m222-image.jpg Renamed to ./coadd/265/2651m222/legacysurvey-2651m222-image.jpg Stage image_coadds : Wall: 14.41 s, CPU: 13.39 s, VmPeak: 2958 MB, VmSize: 1655 MB, VmRSS: 1206 MB, VmData: 1375 MB, maxrss: 2.554788 MB Stage image_coadds finished: 2022-07-28T10:50:34.558978 Resources for stage image_coadds : Total serial CPU 13.407220199000005 Total serial Wall 14.441686 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 13.4 sec Grand total Wall: 14.4 sec Grand total CPU utilization: 0.93 cores Grand total efficiency: 92.8 % Stage image_coadds finished All done: Wall: 22.82 s, CPU: 21.37 s, VmPeak: 2958 MB, VmSize: 1655 MB, VmRSS: 1206 MB, VmData: 1375 MB, maxrss: 2.554788 MB Total serial CPU 18.891701103000003 Total serial Wall 19.996385 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 2.851939 Total parallel CPU 2.5010399020000005 Grand total CPU: 21.4 sec Grand total Wall: 22.8 sec Grand total CPU utilization: 0.94 cores Grand total efficiency: 93.6 %