runbrick.py starting at 2022-07-28T11:00:04.611176 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', '2630m210'] Got survey: LegacySurveyData: dir /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/Projects/legacysurvey/survey-dir/, out . Starting process 56325 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 95 MB, VmData: 144 MB, maxrss: 0.096888 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T11:00:05.430255 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-S24 g exptime 96.0 propid 2018B-0271 seeing 0.93 object None DECam 00760936-S24 r exptime 30.0 propid 2018B-0271 seeing 0.92 object None DECam 00745474-S24 i exptime 30.0 propid 2018A-0251 seeing 0.85 object None DECam 00745473-S24 z exptime 30.0 propid 2018A-0251 seeing 0.78 object None [serial tims] Finding images touching brick: Wall: 5.12 s, CPU: 5.03 s, VmPeak: 2248 MB, VmSize: 1373 MB, VmRSS: 1057 MB, VmData: 1101 MB, maxrss: 1.9779 MB Reading DECam 00760937-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3126, 4095, None), slice(1, 446, None)) Reading image from /n/fink2/decaps2/c4d_180802_011341_ooi_g_decaps2.fits.fz hdu 12 ('S24', 'S24') Reading inverse-variance from /n/fink2/decaps2/c4d_180802_011341_oow_g_decaps2.fits.fz hdu 12 Reading data quality from /n/fink2/decaps2/c4d_180802_011341_ood_g_decaps2.fits.fz hdu 12 Instantiating and subtracting sky model Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.2855366667241284, 0.0, 0.0, 2.2855366667241284) Reading DECam 00760936-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3134, 4095, None), slice(0, 449, None)) Reading image from /n/fink2/decaps2/c4d_180802_011243_ooi_r_decaps2.fits.fz hdu 12 ('S24', 'S24') Reading inverse-variance from /n/fink2/decaps2/c4d_180802_011243_oow_r_decaps2.fits.fz hdu 12 Reading data quality from /n/fink2/decaps2/c4d_180802_011243_ood_r_decaps2.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.017296294 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(2.2222905230473518, 0.0, 0.0, 2.2222905230473518) Reading DECam 00745474-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3075, 4095, None), slice(1, 438, None)) Reading image from /n/fink2/decaps2/c4d_180512_092616_ooi_i_decaps2.fits.fz hdu 12 ('S24', 'S24') Reading inverse-variance from /n/fink2/decaps2/c4d_180512_092616_oow_i_decaps2.fits.fz hdu 12 Reading data quality from /n/fink2/decaps2/c4d_180512_092616_ood_i_decaps2.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.03630485 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.9066803247588953, 0.0, 0.0, 1.9066803247588953) Reading DECam 00745473-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3083, 4095, None), slice(1, 454, None)) Reading image from /n/fink2/decaps2/c4d_180512_092516_ooi_z_decaps2.fits.fz hdu 12 ('S24', 'S24') Reading inverse-variance from /n/fink2/decaps2/c4d_180512_092516_oow_z_decaps2.fits.fz hdu 12 Reading data quality from /n/fink2/decaps2/c4d_180512_092516_ood_z_decaps2.fits.fz hdu 12 Instantiating and subtracting sky model WARNING: image median 0.0588344 is more than 1 sigma away from zero! Using PSF model GaussianMixturePSF: amps=(1.0,), means=(0.0, 0.0), var=(1.5936419418091443, 0.0, 0.0, 1.5936419418091443) [parallel tims] Read 4 images: Wall: 1.49 s, CPU: 0.66 s, VmPeak: 2248 MB, VmSize: 1510 MB, VmRSS: 1066 MB, VmData: 1235 MB, maxrss: 1.9779 MB Total of 1765086 pixels read Cut bands to ['g', 'r', 'i', 'z'] Stage tims : Wall: 6.61 s, CPU: 5.69 s, VmPeak: 2248 MB, VmSize: 1510 MB, VmRSS: 1066 MB, VmData: 1235 MB, maxrss: 1.9779 MB Stage tims finished: 2022-07-28T11:00:12.040745 Resources for stage tims : Total serial CPU 5.029655957 Total serial Wall 5.122736000000001 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.488472 Total parallel CPU 0.6596305139999998 Grand total CPU: 5.7 sec Grand total Wall: 6.6 sec Grand total CPU utilization: 0.86 cores Grand total efficiency: 86.1 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T11:00:12.041250 Stage mask_junk : Wall: 0.47 s, CPU: 0.44 s, VmPeak: 2248 MB, VmSize: 1514 MB, VmRSS: 1070 MB, VmData: 1239 MB, maxrss: 1.9779 MB Stage mask_junk finished: 2022-07-28T11:00:12.511388 /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.4411084940000016 Total serial Wall 0.470414 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 0.4 sec Grand total Wall: 0.5 sec Grand total CPU utilization: 0.94 cores Grand total efficiency: 93.8 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T11:00:12.511813 Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-ccds.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-ccds.fits Doing Lanczos resampling Computing coadd for band g Applying surface-brightness scaling of 0.998 to 00760937-S24 g Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image-g.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-image-g.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-invvar-g.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-invvar-g.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-nexp-g.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-nexp-g.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-depth-g.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-depth-g.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-galdepth-g.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-galdepth-g.fits.gz Computing coadd for band r Applying surface-brightness scaling of 0.998 to 00760936-S24 r Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image-r.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-image-r.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-invvar-r.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-invvar-r.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-nexp-r.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-nexp-r.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-depth-r.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-depth-r.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-galdepth-r.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-galdepth-r.fits.gz Computing coadd for band i Applying surface-brightness scaling of 0.998 to 00745474-S24 i Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image-i.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-image-i.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-invvar-i.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-invvar-i.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-nexp-i.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-nexp-i.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-depth-i.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-depth-i.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-galdepth-i.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-galdepth-i.fits.gz Computing coadd for band z Applying surface-brightness scaling of 0.998 to 00745473-S24 z Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image-z.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-image-z.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-invvar-z.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-invvar-z.fits Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-nexp-z.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-nexp-z.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-depth-z.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-depth-z.fits.gz Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-galdepth-z.fits.gz Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-galdepth-z.fits.gz coadds: images: Wall: 3.33 s, CPU: 3.18 s, VmPeak: 2374 MB, VmSize: 2326 MB, VmRSS: 1458 MB, VmData: 2046 MB, maxrss: 1.9779 MB Computing unique brick pixels... 11786206 of 12960000 pixels are unique to this brick g ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 24.64872551] g gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 24.24870682] r ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.61327362] r gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 23.2057972] i ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.94459343] i gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.49485397] z ptsrc band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.51821327] z gal band depth map: percentiles [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 22.01547623] Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-depth.fits Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-depth.fits Warning: band i not used in creating RGB image pngtopnm /n/holylfs05/LABS/finkbeiner_lab/Lab/saydjari/decaps/tmp/tmpk2sv1m41.png | pnmtojpeg -quality 90 > ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image.jpg -> 0 Wrote ./coadd/263/2630m210/tmp-legacysurvey-2630m210-image.jpg Renamed to ./coadd/263/2630m210/legacysurvey-2630m210-image.jpg Stage image_coadds : Wall: 9.92 s, CPU: 9.02 s, VmPeak: 2729 MB, VmSize: 1522 MB, VmRSS: 1071 MB, VmData: 1242 MB, maxrss: 1.99368 MB Stage image_coadds finished: 2022-07-28T11:00:22.429324 Resources for stage image_coadds : Total serial CPU 9.031888180000003 Total serial Wall 9.940809999999999 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 9.0 sec Grand total Wall: 9.9 sec Grand total CPU utilization: 0.91 cores Grand total efficiency: 90.9 % Stage image_coadds finished All done: Wall: 17.00 s, CPU: 15.15 s, VmPeak: 2729 MB, VmSize: 1522 MB, VmRSS: 1071 MB, VmData: 1242 MB, maxrss: 1.99368 MB Total serial CPU 14.503947767000003 Total serial Wall 15.535271999999997 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.488472 Total parallel CPU 0.6596305139999998 Grand total CPU: 15.2 sec Grand total Wall: 17.0 sec Grand total CPU utilization: 0.89 cores Grand total efficiency: 89.1 %