runbrick.py starting at 2022-07-28T11:01:43.156413 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-mod/, out . Starting process 39418 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 95 MB, VmData: 144 MB, maxrss: 0.096788 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T11:01:43.956168 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 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: 4.72 s, CPU: 4.68 s, VmPeak: 2248 MB, VmSize: 1372 MB, VmRSS: 1056 MB, VmData: 1100 MB, maxrss: 1.977944 MB Reading DECam 00760937-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(3126, 4095, None), slice(1, 446, None)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_180802_011341_ooi_g_decaps2.mod.fits ('S24_MOD', '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)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_180802_011243_ooi_r_decaps2.mod.fits ('S24_MOD', '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 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)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_180512_092616_ooi_i_decaps2.mod.fits ('S24_MOD', '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 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)) Horrible EFS hack /n/home12/saydjari/finksage/decaps/mod/c4d_180512_092516_ooi_z_decaps2.mod.fits ('S24_MOD', '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 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.85 s, CPU: 1.02 s, VmPeak: 2248 MB, VmSize: 1556 MB, VmRSS: 1106 MB, VmData: 1282 MB, maxrss: 1.977944 MB Total of 1765086 pixels read Cut bands to ['g', 'r', 'i', 'z'] Stage tims : Wall: 6.57 s, CPU: 5.70 s, VmPeak: 2248 MB, VmSize: 1556 MB, VmRSS: 1106 MB, VmData: 1282 MB, maxrss: 1.977944 MB Stage tims finished: 2022-07-28T11:01:50.527034 Resources for stage tims : Total serial CPU 4.6789225210000005 Total serial Wall 4.724825 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.846737 Total parallel CPU 1.0222129099999995 Grand total CPU: 5.7 sec Grand total Wall: 6.6 sec Grand total CPU utilization: 0.87 cores Grand total efficiency: 86.8 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T11:01:50.527520 Stage mask_junk : Wall: 0.50 s, CPU: 0.47 s, VmPeak: 2248 MB, VmSize: 1558 MB, VmRSS: 1107 MB, VmData: 1283 MB, maxrss: 1.977944 MB Stage mask_junk finished: 2022-07-28T11:01:51.027016 /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.4702059710000004 Total serial Wall 0.499778 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 0.5 sec Grand total Wall: 0.5 sec Grand total CPU utilization: 0.94 cores Grand total efficiency: 94.1 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T11:01:51.027458 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.11 s, CPU: 2.96 s, VmPeak: 2374 MB, VmSize: 2326 MB, VmRSS: 1499 MB, VmData: 2046 MB, maxrss: 1.977944 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/tmpio0wp82c.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: 8.93 s, CPU: 8.11 s, VmPeak: 2771 MB, VmSize: 1571 MB, VmRSS: 1119 MB, VmData: 1291 MB, maxrss: 2.07884 MB Stage image_coadds finished: 2022-07-28T11:01:59.959506 Resources for stage image_coadds : Total serial CPU 8.123081623000003 Total serial Wall 8.955486 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 8.1 sec Grand total Wall: 9.0 sec Grand total CPU utilization: 0.91 cores Grand total efficiency: 90.7 % Stage image_coadds finished All done: Wall: 16.00 s, CPU: 14.28 s, VmPeak: 2771 MB, VmSize: 1571 MB, VmRSS: 1119 MB, VmData: 1291 MB, maxrss: 2.07884 MB Total serial CPU 13.273437069000003 Total serial Wall 14.181321 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 1.846737 Total parallel CPU 1.0222129099999995 Grand total CPU: 14.3 sec Grand total Wall: 16.0 sec Grand total CPU utilization: 0.89 cores Grand total efficiency: 89.2 %