runbrick.py starting at 2022-07-28T10:51:37.470193 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/, out . Starting process 2354 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 411 MB, VmSize: 411 MB, VmRSS: 96 MB, VmData: 144 MB, maxrss: 0.098752 MB Runstage image_coadds Runstage mask_junk Runstage tims Running stage tims Running stage tims at 2022-07-28T10:51:38.222179 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 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: 5.60 s, CPU: 5.55 s, VmPeak: 2249 MB, VmSize: 1373 MB, VmRSS: 1059 MB, VmData: 1101 MB, maxrss: 1.980132 MB Reading DECam 00647107-S24 Applying astrometric zeropoint: (0.0, 0.0) Reading image slice: (slice(2442, 4095, None), slice(1, 2047, None)) Reading image from /n/fink2/decaps/c4d_170504_084722_ooi_g_v1.fits.fz hdu 12 ('S24', '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.014083854 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)) Reading image from /n/fink2/decaps/c4d_170504_084722_ooi_g_v1.fits.fz hdu 18 ('S19', '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.014568165 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)) Reading image from /n/fink2/decaps/c4d_170504_084517_ooi_r_v1.fits.fz hdu 12 ('S24', '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.05895631 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)) Reading image from /n/fink2/decaps/c4d_170504_084517_ooi_r_v1.fits.fz hdu 18 ('S19', '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.06111426 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)) Reading image from /n/fink2/decaps/c4d_170504_094606_ooi_i_v1.fits.fz hdu 12 ('S24', '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.11432374 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)) Reading image from /n/fink2/decaps/c4d_170504_094606_ooi_i_v1.fits.fz hdu 18 ('S19', '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.115049854 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)) Reading image from /n/fink2/decaps/c4d_170504_094507_ooi_z_v1.fits.fz hdu 12 ('S24', '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.18438816 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)) Reading image from /n/fink2/decaps/c4d_170504_094507_ooi_z_v1.fits.fz hdu 18 ('S19', '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.18696602 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)) Reading image from /n/fink2/decaps/c4d_170504_094409_ooi_Y_v1.fits.fz hdu 12 ('S24', '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.2549975 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)) Reading image from /n/fink2/decaps/c4d_170504_094409_ooi_Y_v1.fits.fz hdu 18 ('S19', '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.26133555 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: 3.45 s, CPU: 2.78 s, VmPeak: 2249 MB, VmSize: 1692 MB, VmRSS: 1247 MB, VmData: 1417 MB, maxrss: 1.980132 MB Total of 18695321 pixels read Cut bands to ['g', 'r', 'i', 'z', 'Y'] Stage tims : Wall: 9.05 s, CPU: 8.32 s, VmPeak: 2249 MB, VmSize: 1692 MB, VmRSS: 1247 MB, VmData: 1417 MB, maxrss: 1.980132 MB Stage tims finished: 2022-07-28T10:51:47.274212 Resources for stage tims : Total serial CPU 5.550387912 Total serial Wall 5.603314 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 3.449685 Total parallel CPU 2.7748193269999994 Grand total CPU: 8.3 sec Grand total Wall: 9.1 sec Grand total CPU utilization: 0.92 cores Grand total efficiency: 92.0 % Stage tims finished Running stage mask_junk Running stage mask_junk at 2022-07-28T10:51:47.274893 Zeroing out a source with major/minor axis 2175.6312115608434 / 106.37292645602595 at centroid RA,Dec=(264.8229,-22.1272), brick coords 2628,51 Zeroing out a source with major/minor axis 3994.0339344909667 / 111.24341656532026 at centroid RA,Dec=(264.8824,-22.1271), brick coords 1870,54 Zeroing out a source with major/minor axis 4113.998935888844 / 107.25475563342343 at centroid RA,Dec=(264.8879,-22.1271), brick coords 1799,53 Zeroing out a source with major/minor axis 4119.40608361581 / 98.42870530950452 at centroid RA,Dec=(264.8871,-22.1274), brick coords 1810,50 Zeroing out a source with major/minor axis 1111.0370425156807 / 96.0730006184456 at centroid RA,Dec=(264.7873,-22.1276), brick coords 3081,47 Stage mask_junk : Wall: 1.60 s, CPU: 1.51 s, VmPeak: 2249 MB, VmSize: 1726 MB, VmRSS: 1282 MB, VmData: 1452 MB, maxrss: 1.980132 MB Stage mask_junk finished: 2022-07-28T10:51:48.878187 /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.5072551819999997 Total serial Wall 1.603791 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.94 cores Grand total efficiency: 94.0 % Stage mask_junk finished Running stage image_coadds Running stage image_coadds at 2022-07-28T10:51:48.878863 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: 17.80 s, CPU: 17.36 s, VmPeak: 2759 MB, VmSize: 2629 MB, VmRSS: 1896 MB, VmData: 2349 MB, maxrss: 2.012336 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/tmp5sdzbf_z.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: 27.59 s, CPU: 26.05 s, VmPeak: 3074 MB, VmSize: 1862 MB, VmRSS: 1415 MB, VmData: 1582 MB, maxrss: 2.452988 MB Stage image_coadds finished: 2022-07-28T10:52:16.470998 Resources for stage image_coadds : Total serial CPU 26.073216096000003 Total serial Wall 27.625402 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 0.0 Total parallel CPU 0.0 Grand total CPU: 26.1 sec Grand total Wall: 27.6 sec Grand total CPU utilization: 0.94 cores Grand total efficiency: 94.4 % Stage image_coadds finished All done: Wall: 38.25 s, CPU: 35.89 s, VmPeak: 3074 MB, VmSize: 1862 MB, VmRSS: 1415 MB, VmData: 1582 MB, maxrss: 2.452988 MB Total serial CPU 33.132288945 Total serial Wall 34.833945 Total worker CPU 0.0 Total worker Wall 0.0 Total parallel Wall 3.449685 Total parallel CPU 2.7748193269999994 Grand total CPU: 35.9 sec Grand total Wall: 38.3 sec Grand total CPU utilization: 0.94 cores Grand total efficiency: 93.8 %