runbrick.py starting at 2022-07-28T11:00:53.968979 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', '2626m207'] Got survey: LegacySurveyData: dir /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir/, out . Starting process 56536 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 96 MB, VmData: 144 MB, maxrss: 0.098484 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T11:00:54.346372 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/survey-ccds-decaps2.1-zps-abscal6-add2-noJup.fits.gz Got 1300250 CCDs Total of 1300250 CCDs 34 CCDs touching target WCS Finding blacklisted CCDs. Cameras: ['decam'] Checking 34 images from camera decam Keeping 34 non-blacklisted CCDs from camera decam 34 CCDs not in blacklist Unique filters: ['Y' 'g' 'i' 'r' 'z'] Cut on filter: 34 CCDs remain. Cutting out non-photometric CCDs... Finding photometric CCDs. Cameras: ['decam'] Checking 34 images from camera decam Flagged 30 more non-photometric using criterion: zpt not finite Keeping 4 photometric CCDs from camera decam 4 of 34 CCDs are photometric Cutting on CCDs to be used for fitting... DECam 00760937-S31 g exptime 96.0 propid 2018B-0271 seeing 0.99 object None DECam 00760936-S31 r exptime 30.0 propid 2018B-0271 seeing 0.94 object None DECam 00745474-S31 i exptime 30.0 propid 2018A-0251 seeing 0.88 object None DECam 00745473-S31 z exptime 30.0 propid 2018A-0251 seeing 0.82 object None [serial tims] Finding images touching brick: Wall: 4.95 s, CPU: 4.92 s, VmPeak: 2248 MB, VmSize: 1372 MB, VmRSS: 1057 MB, VmData: 1100 MB, maxrss: 1.978996 MB Reading DECam 00760937-S31 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2392, 4095, None), slice(1, 1523, None)) Reading image from /n/fink2/decaps2/c4d_180802_011341_ooi_g_decaps2.fits.fz hdu 3 ('S31', 'S31') Reading inverse-variance from /n/fink2/decaps2/c4d_180802_011341_oow_g_decaps2.fits.fz hdu 3 Reading data quality from /n/fink2/decaps2/c4d_180802_011341_ood_g_decaps2.fits.fz hdu 3 Instantiating and subtracting sky model Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.6050399559301036, 0.0, 0.0, 2.6050399559301036) Reading DECam 00760936-S31 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2399, 4095, None), slice(1, 1527, None)) Reading image from /n/fink2/decaps2/c4d_180802_011243_ooi_r_decaps2.fits.fz hdu 3 ('S31', 'S31') Reading inverse-variance from /n/fink2/decaps2/c4d_180802_011243_oow_r_decaps2.fits.fz hdu 3 Reading data quality from /n/fink2/decaps2/c4d_180802_011243_ood_r_decaps2.fits.fz hdu 3 Instantiating and subtracting sky model WARNING: image median 0.019309092 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.342957813743775, 0.0, 0.0, 2.342957813743775) Reading DECam 00745474-S31 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2342, 4095, None), slice(1, 1515, None)) Reading image from /n/fink2/decaps2/c4d_180512_092616_ooi_i_decaps2.fits.fz hdu 3 ('S31', 'S31') Reading inverse-variance from /n/fink2/decaps2/c4d_180512_092616_oow_i_decaps2.fits.fz hdu 3 Reading data quality from /n/fink2/decaps2/c4d_180512_092616_ood_i_decaps2.fits.fz hdu 3 Instantiating and subtracting sky model WARNING: image median 0.0382824 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.0188092809504754, 0.0, 0.0, 2.0188092809504754) Reading DECam 00745473-S31 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2350, 4095, None), slice(1, 1531, None)) Reading image from /n/fink2/decaps2/c4d_180512_092516_ooi_z_decaps2.fits.fz hdu 3 ('S31', 'S31') Reading inverse-variance from /n/fink2/decaps2/c4d_180512_092516_oow_z_decaps2.fits.fz hdu 3 Reading data quality from /n/fink2/decaps2/c4d_180512_092516_ood_z_decaps2.fits.fz hdu 3 Instantiating and subtracting sky model WARNING: image median 0.062313728 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.7798568722906292, 0.0, 0.0, 1.7798568722906292) [parallel tims] Read 4 images: Wall: 1.36 s, CPU: 1.08 s, VmPeak: 2248 MB, VmSize: 1618 MB, VmRSS: 1175 MB, VmData: 1344 MB, maxrss: 1.978996 MB Total of 10497862 pixels read Cut bands to ['g', 'r', 'i', 'z'] Stage tims : Wall: 6.31 s, CPU: 6.00 s, VmPeak: 2248 MB, VmSize: 1618 MB, VmRSS: 1176 MB, VmData: 1344 MB, maxrss: 1.978996 MB Stage tims finished: 2022-07-28T11:01:00.656145 Resources for stage tims : Total serial CPU 4.9178736910000005 Total serial Wall 4.950345 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.359901 Total parallel CPU 1.0782203079999997 Grand total CPU: 6.0 sec Grand total Wall: 6.3 sec Grand total CPU utilization: 0.95 cores Grand total efficiency: 95.0 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T11:01:00.656676 Stage mask_junk : Wall: 2.08 s, CPU: 2.05 s, VmPeak: 2248 MB, VmSize: 1644 MB, VmRSS: 1201 MB, VmData: 1369 MB, maxrss: 1.978996 MB Stage mask_junk finished: 2022-07-28T11:01:02.736983 /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 2.0465356969999995 Total serial Wall 2.080589 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 2.0 sec Grand total Wall: 2.1 sec Grand total CPU utilization: 0.98 cores Grand total efficiency: 98.4 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T11:01:02.737388 Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-ccds.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-ccds.fits Doing Lanczos resampling Computing coadd for band g Applying surface-brightness scaling of 0.998 to 00760937-S31 g Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image-g.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-image-g.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-invvar-g.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-invvar-g.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-nexp-g.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-nexp-g.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-depth-g.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-depth-g.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-galdepth-g.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-galdepth-g.fits.gz Computing coadd for band r Applying surface-brightness scaling of 0.998 to 00760936-S31 r Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image-r.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-image-r.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-invvar-r.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-invvar-r.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-nexp-r.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-nexp-r.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-depth-r.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-depth-r.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-galdepth-r.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-galdepth-r.fits.gz Computing coadd for band i Applying surface-brightness scaling of 0.998 to 00745474-S31 i Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image-i.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-image-i.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-invvar-i.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-invvar-i.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-nexp-i.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-nexp-i.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-depth-i.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-depth-i.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-galdepth-i.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-galdepth-i.fits.gz Computing coadd for band z Applying surface-brightness scaling of 0.998 to 00745473-S31 z Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image-z.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-image-z.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-invvar-z.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-invvar-z.fits Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-nexp-z.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-nexp-z.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-depth-z.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-depth-z.fits.gz Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-galdepth-z.fits.gz Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-galdepth-z.fits.gz coadds: images: Wall: 6.40 s, CPU: 6.06 s, VmPeak: 2605 MB, VmSize: 2556 MB, VmRSS: 1868 MB, VmData: 2276 MB, maxrss: 1.978996 MB Computing unique brick pixels... 11788446 of 12960000 pixels are unique to this brick g ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 24.55035019 24.55035019] g gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 24.18396187 24.18396187] r ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.5564785 23.5564785] r gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.1629982 23.1629982] i ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.89174652 22.89174652] i gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.45811844 22.45811844] z ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.43345261 22.43345261] z gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 21.96377563 21.96377563] Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-depth.fits Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-depth.fits Warning: band i not used in creating RGB image pngtopnm /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/decaps/tmp/tmpb3zglms7.png | pnmtojpeg -quality 90 > ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image.jpg -> 0 Wrote ./coadd/262/2626m207/tmp-legacysurvey-2626m207-image.jpg Renamed to ./coadd/262/2626m207/legacysurvey-2626m207-image.jpg Stage image_coadds : Wall: 13.19 s, CPU: 11.98 s, VmPeak: 2818 MB, VmSize: 1655 MB, VmRSS: 1209 MB, VmData: 1375 MB, maxrss: 2.208596 MB Stage image_coadds finished: 2022-07-28T11:01:15.925249 Resources for stage image_coadds : Total serial CPU 11.999900346000002 Total serial Wall 13.213584 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 12.0 sec Grand total Wall: 13.2 sec Grand total CPU utilization: 0.91 cores Grand total efficiency: 90.8 % Stage image_coadds finished All done: Wall: 21.58 s, CPU: 20.03 s, VmPeak: 2818 MB, VmSize: 1655 MB, VmRSS: 1209 MB, VmData: 1375 MB, maxrss: 2.208596 MB Total serial CPU 18.965198831000002 Total serial Wall 20.24541 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.359901 Total parallel CPU 1.0782203079999997 Grand total CPU: 20.0 sec Grand total Wall: 21.6 sec Grand total CPU utilization: 0.93 cores Grand total efficiency: 92.8 %