runbrick.py starting at 2022-07-28T10:53:23.851119 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', '2648m220'] Got survey: LegacySurveyData: dir /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir-mod/, out . Starting process 33871 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 95 MB, VmData: 144 MB, maxrss: 0.09726 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T10:53:24.221734 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 12 CCDs touching target WCS Finding blacklisted CCDs. Cameras: ['decam'] Checking 12 images from camera decam Keeping 12 non-blacklisted CCDs from camera decam 12 CCDs not in blacklist Unique filters: ['Y' 'g' 'i' 'r' 'z'] Cut on filter: 12 CCDs remain. Cutting out non-photometric CCDs... Finding photometric CCDs. Cameras: ['decam'] Checking 12 images from camera decam Flagged 2 more non-photometric using criterion: zpt not finite Keeping 10 photometric CCDs from camera decam 10 of 12 CCDs are photometric Cutting on CCDs to be used for fitting... DECam 00647107-S24 g exptime 96.0 propid 2016B-0279 seeing 1.06 object None DECam 00647107-S19 g exptime 96.0 propid 2016B-0279 seeing 1.07 object None DECam 00647106-S24 r exptime 30.0 propid 2016B-0279 seeing 0.95 object None DECam 00647106-S19 r exptime 30.0 propid 2016B-0279 seeing 0.95 object None DECam 00647153-S24 i exptime 30.0 propid 2016B-0279 seeing 0.83 object None DECam 00647153-S19 i exptime 30.0 propid 2016B-0279 seeing 0.85 object None DECam 00647152-S24 z exptime 30.0 propid 2016B-0279 seeing 0.82 object None DECam 00647152-S19 z exptime 30.0 propid 2016B-0279 seeing 0.84 object None DECam 00647151-S24 Y exptime 30.0 propid 2016B-0279 seeing 0.79 object None DECam 00647151-S19 Y exptime 30.0 propid 2016B-0279 seeing 0.80 object None [serial tims] Finding images touching brick: Wall: 4.81 s, CPU: 4.77 s, VmPeak: 2248 MB, VmSize: 1372 MB, VmRSS: 1056 MB, VmData: 1100 MB, maxrss: 1.977936 MB Reading DECam 00647107-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2442, 4095, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084722_ooi_g_v1.mod.fits ('S24_MOD', 'S24') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084722_oow_g_v1.fits.fz hdu 12 Reading data quality from /n/fink2/decaps/c4d_170504_084722_ood_g_v1.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.01230965 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.960792381341059, 0.0, 0.0, 2.960792381341059) Reading DECam 00647107-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(313, 3907, None), slice(1, 108, 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.012627848 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 00647106-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2436, 4095, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_084517_ooi_r_v1.mod.fits ('S24_MOD', 'S24') Reading inverse-variance from /n/fink2/decaps/c4d_170504_084517_oow_r_v1.fits.fz hdu 12 Reading data quality from /n/fink2/decaps/c4d_170504_084517_ood_r_v1.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.054562166 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.365964985279131, 0.0, 0.0, 2.365964985279131) Reading DECam 00647106-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(307, 3902, None), slice(1, 113, 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.056012012 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 00647153-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2454, 4095, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094606_ooi_i_v1.mod.fits ('S24_MOD', 'S24') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094606_oow_i_v1.fits.fz hdu 12 Reading data quality from /n/fink2/decaps/c4d_170504_094606_ood_i_v1.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.10789436 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.8078301505542775, 0.0, 0.0, 1.8078301505542775) Reading DECam 00647153-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(325, 3920, None), slice(1, 109, 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.10734549 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 00647152-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2464, 4095, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094507_ooi_z_v1.mod.fits ('S24_MOD', 'S24') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094507_oow_z_v1.fits.fz hdu 12 Reading data quality from /n/fink2/decaps/c4d_170504_094507_ood_z_v1.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.17231187 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.7756787287078313, 0.0, 0.0, 1.7756787287078313) Reading DECam 00647152-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(335, 3931, None), slice(1, 101, 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.17331485 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 00647151-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2455, 4095, None), slice(1, 2047, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_170504_094409_ooi_Y_v1.mod.fits ('S24_MOD', 'S24') Reading inverse-variance from /n/fink2/decaps/c4d_170504_094409_oow_Y_v1.fits.fz hdu 12 Reading data quality from /n/fink2/decaps/c4d_170504_094409_ood_Y_v1.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.2190135 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.6230673259690358, 0.0, 0.0, 1.6230673259690358) Reading DECam 00647151-S19 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(326, 3922, None), slice(1, 99, 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.2217752 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) [parallel tims] Read 10 images: Wall: 4.35 s, CPU: 3.79 s, VmPeak: 2248 MB, VmSize: 1679 MB, VmRSS: 1233 MB, VmData: 1404 MB, maxrss: 1.977936 MB Total of 18695321 pixels read Cut bands to ['g', 'r', 'i', 'z', 'Y'] Stage tims : Wall: 9.16 s, CPU: 8.56 s, VmPeak: 2248 MB, VmSize: 1679 MB, VmRSS: 1233 MB, VmData: 1404 MB, maxrss: 1.977936 MB Stage tims finished: 2022-07-28T10:53:33.386512 Resources for stage tims : Total serial CPU 4.772031975999999 Total serial Wall 4.814452 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 4.350697 Total parallel CPU 3.787881126000001 Grand total CPU: 8.6 sec Grand total Wall: 9.2 sec Grand total CPU utilization: 0.93 cores Grand total efficiency: 93.4 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T10:53:33.386926 Zeroing out a source with major/minor axis 2154.806277956656 / 105.86850594396446 at centroid RA,Dec=(264.8223,-22.1272), brick coords 2635,52 Zeroing out a source with major/minor axis 3998.408687748751 / 110.93244589854284 at centroid RA,Dec=(264.8817,-22.1271), brick coords 1879,54 Zeroing out a source with major/minor axis 4110.054181462638 / 106.67897883546662 at centroid RA,Dec=(264.8873,-22.1271), brick coords 1807,53 Zeroing out a source with major/minor axis 3574.664652135851 / 98.11085696648324 at centroid RA,Dec=(264.8700,-22.1274), brick coords 2027,49 Stage mask_junk : Wall: 1.56 s, CPU: 1.53 s, VmPeak: 2248 MB, VmSize: 1725 MB, VmRSS: 1278 MB, VmData: 1450 MB, maxrss: 1.977936 MB Stage mask_junk finished: 2022-07-28T10:53:34.949884 /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 1.5311175969999997 Total serial Wall 1.563245 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 1.5 sec Grand total Wall: 1.6 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:53:34.950318 Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-ccds.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-ccds.fits Doing Lanczos resampling Computing coadd for band g Applying surface-brightness scaling of 0.998 to 00647107-S24 g Applying surface-brightness scaling of 0.998 to 00647107-S19 g Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image-g.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image-g.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-invvar-g.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-invvar-g.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-nexp-g.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-nexp-g.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth-g.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-depth-g.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-galdepth-g.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-galdepth-g.fits.gz Computing coadd for band r Applying surface-brightness scaling of 0.998 to 00647106-S24 r Applying surface-brightness scaling of 0.998 to 00647106-S19 r Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image-r.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image-r.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-invvar-r.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-invvar-r.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-nexp-r.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-nexp-r.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth-r.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-depth-r.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-galdepth-r.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-galdepth-r.fits.gz Computing coadd for band i Applying surface-brightness scaling of 0.998 to 00647153-S24 i Applying surface-brightness scaling of 0.998 to 00647153-S19 i Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image-i.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image-i.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-invvar-i.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-invvar-i.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-nexp-i.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-nexp-i.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth-i.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-depth-i.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-galdepth-i.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-galdepth-i.fits.gz Computing coadd for band z Applying surface-brightness scaling of 0.998 to 00647152-S24 z Applying surface-brightness scaling of 0.998 to 00647152-S19 z Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image-z.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image-z.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-invvar-z.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-invvar-z.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-nexp-z.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-nexp-z.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth-z.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-depth-z.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-galdepth-z.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-galdepth-z.fits.gz Computing coadd for band Y Applying surface-brightness scaling of 0.998 to 00647151-S24 Y Applying surface-brightness scaling of 0.998 to 00647151-S19 Y Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image-Y.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image-Y.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-invvar-Y.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-invvar-Y.fits Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-nexp-Y.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-nexp-Y.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth-Y.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-depth-Y.fits.gz Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-galdepth-Y.fits.gz Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-galdepth-Y.fits.gz coadds: images: Wall: 15.38 s, CPU: 15.18 s, VmPeak: 2781 MB, VmSize: 2637 MB, VmRSS: 2007 MB, VmData: 2357 MB, maxrss: 2.159304 MB Computing unique brick pixels... 11775406 of 12960000 pixels are unique to this brick g ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 24.13077545 24.13077545 24.13077545] g gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 23.79545403 23.79545403 23.79545403] r ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 23.15638542 23.15638542 23.15638542] r gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 22.76552582 22.76552582 22.76552582] i ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 22.86351204 22.86351204 22.86351204] i gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 22.39842606 22.39842606 22.39842606] z ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 22.30549622 22.30549622 22.30549622] z gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 21.83513451 21.83513451 21.83513451] Y ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 21.43101692 21.43101692 21.43101692] Y gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 20.93387794 20.93387794 20.93387794] Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-depth.fits Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-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/tmp11_uzhbp.png | pnmtojpeg -quality 90 > ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image.jpg -> 0 Wrote ./coadd/264/2648m220/tmp-legacysurvey-2648m220-image.jpg Renamed to ./coadd/264/2648m220/legacysurvey-2648m220-image.jpg Stage image_coadds : Wall: 23.31 s, CPU: 22.20 s, VmPeak: 3083 MB, VmSize: 1801 MB, VmRSS: 1352 MB, VmData: 1521 MB, maxrss: 2.529852 MB Stage image_coadds finished: 2022-07-28T10:53:58.263246 Resources for stage image_coadds : Total serial CPU 22.222582624000005 Total serial Wall 23.344127 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 22.2 sec Grand total Wall: 23.3 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 95.2 % Stage image_coadds finished All done: Wall: 34.04 s, CPU: 32.30 s, VmPeak: 3083 MB, VmSize: 1801 MB, VmRSS: 1352 MB, VmData: 1521 MB, maxrss: 2.529852 MB Total serial CPU 28.526666062000004 Total serial Wall 29.722765 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 4.350697 Total parallel CPU 3.787881126000001 Grand total CPU: 32.3 sec Grand total Wall: 34.1 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 94.8 %