Started working on galaxy PGC1071818 at Thu Jun 4 04:52:02 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 46.803291 -3.3960833 --width 251 --height 251 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-04T04:52:02.867191 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '46.803291', '-3.3960833', '--width', '251', '--height', '251', '--pixscale', '0.262', '--threads', '8', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'south', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-%%(stage)s.p', '--fit-on-coadds', '--saddle-fraction', '0.2', '--saddle-min', '4.0'] python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 46.803291 -3.3960833 --width 251 --height 251 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 46.803291 -3.3960833 Starting process 16899 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 16901 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 16903 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 16905 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Starting process 16907 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05732 MB Starting process 16909 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 MB Starting process 16911 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 MB Starting process 16915 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 MB Runstage writecat Runstage wise_forced Runstage coadds Runstage fitblobs Runstage srcs Runstage fit_on_coadds Runstage halos Runstage outliers Runstage refs Runstage tims Running stage tims Running stage tims at 2020-06-04T04:52:04.328843 Keeping 19 CCDs: c4d_170920_084000_ooi_g_ls9.fits.fz c4d_170920_084000_ooi_g_ls9-N8 g exptime 200.0 propid 2014B-0404 seeing 1.46 MJD 58016.361 object DECaLS_26255_g c4d_181002_075046_ooi_z_ls9.fits.fz c4d_181002_075046_ooi_z_ls9-N8 z exptime 80.0 propid 2014B-0404 seeing 0.88 MJD 58393.327 object DECaLS_26255_z c4d_171025_064326_ooi_r_ls9.fits.fz c4d_171025_064326_ooi_r_ls9-N8 r exptime 58.0 propid 2014B-0404 seeing 1.25 MJD 58051.280 object DECaLS_26255_r c4d_180905_075348_ooi_z_ls9.fits.fz c4d_180905_075348_ooi_z_ls9-N20 z exptime 80.0 propid 2014B-0404 seeing 1.23 MJD 58366.329 object DECaLS_57388_z c4d_170920_091714_ooi_g_ls9.fits.fz c4d_170920_091714_ooi_g_ls9-N2 g exptime 146.0 propid 2014B-0404 seeing 1.36 MJD 58016.387 object DECaLS_10383_g c4d_140815_091032_ooi_z_ls9.fits.fz c4d_140815_091032_ooi_z_ls9-N7 z exptime 145.0 propid 2014B-0404 seeing 0.97 MJD 56884.380 object DECaLS_10396_z c4d_180908_075922_ooi_r_ls9.fits.fz c4d_180908_075922_ooi_r_ls9-N2 r exptime 40.0 propid 2014B-0404 seeing 0.89 MJD 58369.333 object DECaLS_10383_r c4d_181002_070026_ooi_z_ls9.fits.fz c4d_181002_070026_ooi_z_ls9-N2 z exptime 80.0 propid 2014B-0404 seeing 0.95 MJD 58393.292 object DECaLS_10383_z c4d_171112_044349_ooi_r_ls9.fits.fz c4d_171112_044349_ooi_r_ls9-N7 r exptime 67.0 propid 2014B-0404 seeing 1.15 MJD 58069.197 object DECaLS_10396_r c4d_180812_084451_ooi_g_ls9.fits.fz c4d_180812_084451_ooi_g_ls9-N7 g exptime 101.0 propid 2014B-0404 seeing 1.19 MJD 58342.364 object DECaLS_10396_g c4d_170920_083745_ooi_r_ls9.fits.fz c4d_170920_083745_ooi_r_ls9-N13 r exptime 106.0 propid 2014B-0404 seeing 1.28 MJD 58016.360 object DECaLS_26268_r c4d_190103_024442_ooi_z_ls9.fits.fz c4d_190103_024442_ooi_z_ls9-N13 z exptime 98.0 propid 2014B-0404 seeing 1.00 MJD 58486.114 object DECaLS_26268_z c4d_160723_103309_ooi_z_ls9.fits.fz c4d_160723_103309_ooi_z_ls9-N8 z exptime 101.0 propid 2016A-0190 seeing 1.42 MJD 57592.438 object DECaLS_26255_z c4d_181101_070829_ooi_z_ls9.fits.fz c4d_181101_070829_ooi_z_ls9-N13 z exptime 119.0 propid 2014B-0404 seeing 0.95 MJD 58423.298 object DECaLS_26268_z c4d_180809_094546_ooi_g_ls9.fits.fz c4d_180809_094546_ooi_g_ls9-N13 g exptime 102.0 propid 2014B-0404 seeing 1.33 MJD 58339.407 object DECaLS_26268_g c4d_181016_033930_ooi_z_ls9.fits.fz c4d_181016_033930_ooi_z_ls9-N12 z exptime 169.0 propid 2014B-0404 seeing 1.15 MJD 58407.152 object DECaLS_42140_z c4d_181110_045452_ooi_r_ls9.fits.fz c4d_181110_045452_ooi_r_ls9-N12 r exptime 97.0 propid 2014B-0404 seeing 1.10 MJD 58432.205 object DECaLS_42140_r c4d_181017_070111_ooi_g_ls9.fits.fz c4d_181017_070111_ooi_g_ls9-N12 g exptime 136.0 propid 2014B-0404 seeing 1.20 MJD 58408.292 object DECaLS_42140_g c4d_151128_053742_ooi_z_ls9.fits.fz c4d_151128_053742_ooi_z_ls9-N2 z exptime 86.0 propid 2014B-0404 seeing 1.03 MJD 57354.233 object DECaLS_10383_z The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_952cb89-z-20180905T075348_oi[N20,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524a76-g-20170920T091714_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953057e-z-20181002T075046_oi[N8,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95355ca-r-20180908T075922_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953057e-z-20181002T070026_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954cb27-z-20140815T090713_oi[N7,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524a76-g-20170920T084000_oi[N8,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9533374-g-20180812T084451_oi[N7,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9526fce-r-20171112T044349_oi[N7,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9534704-z-20190103T024442_oi[N13,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524507-r-20170920T083745_oi[N13,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954b7a0-z-20160723T103035_oi[N8,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9531e27-g-20180809T094546_oi[N13,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9532159-z-20181101T070829_oi[N13,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95264c6-r-20171025T064326_oi[N8,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537f22-g-20181017T070111_oi[N12,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9531bff-z-20181016T033930_oi[N12,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953829b-r-20181110T045452_oi[N12,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95559f9-z-20151128T053525_oi[N2,noinherit][2046,4094][real]: DECaLS_1 Stage tims : Wall: 50.20 s, CPU: 1.35 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 183 MB, VmData: 217 MB, maxrss: 0.452728 MB Stage tims finished: 2020-06-04T04:52:54.532023 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953057e-z-20181002T070026_oi[N2,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954b7a0-z-20160723T103035_oi[N8,noinherit][2046,4094][real]: DECaLS_2 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524a76-g-20170920T084000_oi[N8,noinherit][2046,4094][real]: DECaLS_2 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9531e27-g-20180809T094546_oi[N13,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954cb27-z-20140815T090713_oi[N7,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9532159-z-20181101T070829_oi[N13,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95264c6-r-20171025T064326_oi[N8,noinherit][2046,4094][real]: DECaLS_2 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95355ca-r-20180908T075922_oi[N2,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9534704-z-20190103T024442_oi[N13,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537f22-g-20181017T070111_oi[N12,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524a76-g-20170920T091714_oi[N2,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9533374-g-20180812T084451_oi[N7,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9531bff-z-20181016T033930_oi[N12,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953057e-z-20181002T075046_oi[N8,noinherit][2046,4094][real]: DECaLS_2 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9524507-r-20170920T083745_oi[N13,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95559f9-z-20151128T053525_oi[N2,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] Resources for stage tims : 7.822 s worker CPU, 331.731 s worker Wall, Wall: 50.205 s, Cores in use: 0.18, Total efficiency (on 8 cores): 2.3 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-tims.p Running stage refs WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_952cb89-z-20180905T075348_oi[N20,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9526fce-r-20171112T044349_oi[N7,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953829b-r-20181110T045452_oi[N12,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] Running stage refs at 2020-06-04T04:52:54.576456 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-06608.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-06481.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-06480.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-06352.fits Matched 13 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/reference-custom-046803m03396.fits Stage refs : Wall: 4.00 s, CPU: 2.75 s, VmPeak: 1028 MB, VmSize: 1008 MB, VmRSS: 195 MB, VmData: 228 MB, maxrss: 0.452728 MB Stage refs finished: 2020-06-04T04:52:58.578414 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 4.003 s, Cores in use: 0.69, Total efficiency (on 8 cores): 8.6 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-04T04:52:58.580299 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outlier-mask-custom-046803m03396.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outliers-pre-custom-046803m03396.jpg Image c4d_170920_084000_ooi_g_ls9-N8 g : masking 280 positive outlier pixels and 137 negative outlier pixels Image c4d_170920_091714_ooi_g_ls9-N2 g : masking 483 positive outlier pixels and 0 negative outlier pixels Image c4d_180908_075922_ooi_r_ls9-N2 r : masking 186 positive outlier pixels and 0 negative outlier pixels Image c4d_181016_033930_ooi_z_ls9-N12 z : masking 346 positive outlier pixels and 78 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outlier-mask-custom-046803m03396.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outliers-post-custom-046803m03396.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outliers-masked-pos-custom-046803m03396.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/outliers-masked-neg-custom-046803m03396.jpg Stage outliers : Wall: 2.73 s, CPU: 2.49 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 216 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage outliers finished: 2020-06-04T04:53:01.311829 Resources for stage outliers : 1.760 s worker CPU, 1.761 s worker Wall, Wall: 2.733 s, Cores in use: 1.56, Total efficiency (on 8 cores): 19.4 % Stage outliers finished Running stage halos Running stage halos at 2020-06-04T04:53:01.314048 Stage halos : Wall: 1.10 s, CPU: 1.10 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 216 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage halos finished: 2020-06-04T04:53:02.415020 Resources for stage halos : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.102 s, Cores in use: 1.00, Total efficiency (on 8 cores): 12.5 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-04T04:53:02.417100 PSF sigmas in coadd pixels: ['2.38', '2.21', '1.93', '2.15', '1.94'] Using average PSF sigma 2.1227389915534403 Gaussian PSF norm 0.1328918877433153 vs pixelized 0.11417322 average tim pixel scale / coadd scale: 1.0011605682910796 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.04', '1.44', '1.87', '2.08', '1.78'] Using average PSF sigma 1.8434640522956762 Gaussian PSF norm 0.15302429761111094 vs pixelized 0.11216286 average tim pixel scale / coadd scale: 1.0011303158590699 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.42', '2.00', '1.58', '1.54', '1.62', '2.31', '1.54', '1.86', '1.67'] Using average PSF sigma 1.726419857557464 Gaussian PSF norm 0.16339871818491788 vs pixelized 0.14400393 average tim pixel scale / coadd scale: 1.0010884996532028 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.32 s, CPU: 0.29 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 218 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage fit_on_coadds finished: 2020-06-04T04:53:02.735522 Resources for stage fit_on_coadds : 0.333 s worker CPU, 0.333 s worker Wall, Wall: 0.320 s, Cores in use: 1.96, Total efficiency (on 8 cores): 24.5 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-04T04:53:02.739409 SED-matched filters: [('z', array([0., 0., 1.])), ('r', array([0., 1., 0.])), ('g', array([1., 0., 0.])), ('Flat', [1.0, 1.0, 1.0]), ('Red', [2.5, 1.0, 0.4])] Found 76 potential peaks Of 76 potential peaks: 41 in veto map, 11 cut by saddle test, 0 cut by aper test, 24 kept SED z : 24 new peaks Found 88 potential peaks Of 88 potential peaks: 79 in veto map, 7 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 68 potential peaks Of 68 potential peaks: 61 in veto map, 7 cut by saddle test, 0 cut by aper test, 0 kept SED g : 0 new peaks Found 102 potential peaks Of 102 potential peaks: 87 in veto map, 12 cut by saddle test, 1 cut by aper test, 2 kept SED Flat : 2 new peaks Found 111 potential peaks Of 111 potential peaks: 97 in veto map, 12 cut by saddle test, 0 cut by aper test, 2 kept SED Red : 2 new peaks Adding 30 new sources Median coadd sky for g : 8.265596e-05 Median coadd sky for r : 0.00019600904 Median coadd sky for z : 0.00043897587 Stage srcs : Wall: 1.43 s, CPU: 1.40 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 219 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage srcs finished: 2020-06-04T04:53:04.169858 Resources for stage srcs : 0.087 s worker CPU, 0.087 s worker Wall, Wall: 1.432 s, Cores in use: 1.04, Total efficiency (on 8 cores): 13.0 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/PGC1071818-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-04T04:53:04.189612 Blob 1 of 10, id: 3, sources: 18, size: 229x241, npix 28292, brick X: 0,229, Y: 10,251, one pixel: 5 10 Blob 2 of 10, id: 7, sources: 2, size: 35x43, npix 993, brick X: 208,243, Y: 131,174, one pixel: 223 131 Blob 3 of 10, id: 2, sources: 2, size: 35x44, npix 963, brick X: 127,162, Y: 5,49, one pixel: 140 5 Blob 4 of 10, id: 6, sources: 2, size: 29x39, npix 704, brick X: 3,32, Y: 128,167, one pixel: 16 128 Blob 5 of 10, id: 1, sources: 1, size: 35x35, npix 685, brick X: 158,193, Y: 0,35, one pixel: 169 0 Blob 6 of 10, id: 5, sources: 2, size: 26x39, npix 577, brick X: 225,251, Y: 93,132, one pixel: 233 93 Blob 7 of 10, id: 4, sources: 1, size: 27x26, npix 452, brick X: 196,223, Y: 71,97, one pixel: 209 71 Blob 8 of 10, id: 0, sources: 1, size: 26x22, npix 400, brick X: 91,117, Y: 0,22, one pixel: 99 0 Blob 9 of 10, id: 8, sources: 1, size: 19x19, npix 208, brick X: 58,77, Y: 197,216, one pixel: 66 197 Blob 8 finished, total: Wall: 0.71 s, CPU: 0.71 s, VmPeak: 967 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.14458 MB Blob 10 of 10, id: 9, sources: 1, size: 19x19, npix 208, brick X: 15,34, Y: 229,248, one pixel: 23 229 Blob 7 finished, total: Wall: 0.86 s, CPU: 0.86 s, VmPeak: 958 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.144708 MB Blob 10 finished, total: Wall: 0.07 s, CPU: 0.07 s, VmPeak: 958 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.144708 MB Blob 9 finished, total: Wall: 0.40 s, CPU: 0.40 s, VmPeak: 967 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.14458 MB Blob 6 finished, total: Wall: 1.20 s, CPU: 1.20 s, VmPeak: 961 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.144724 MB Measuring 1 iterative sources Blob 4 finished, total: Wall: 1.62 s, CPU: 1.62 s, VmPeak: 961 MB, VmSize: 720 MB, VmRSS: 142 MB, VmData: 183 MB, maxrss: 0.144992 MB Blob 5 finished, total: Wall: 1.70 s, CPU: 1.70 s, VmPeak: 962 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147212 MB Blob 3 finished, total: Wall: 1.93 s, CPU: 1.93 s, VmPeak: 947 MB, VmSize: 714 MB, VmRSS: 138 MB, VmData: 177 MB, maxrss: 0.141288 MB Blob 2 finished, total: Wall: 2.13 s, CPU: 2.13 s, VmPeak: 956 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147064 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.811891, ee1=0.112142, ee2=-0.241048 Measuring 7 iterative sources Blob 1 finished, total: Wall: 29.05 s, CPU: 29.04 s, VmPeak: 962 MB, VmSize: 719 MB, VmRSS: 150 MB, VmData: 182 MB, maxrss: 0.164524 MB Old catalog: 31 New catalog: 36 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/blobs-custom-046803m03396.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/metrics/cus/all-models-custom-046803m03396.fits Stage fitblobs : Wall: 30.67 s, CPU: 1.38 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 220 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage fitblobs finished: 2020-06-04T04:53:34.860116 Resources for stage fitblobs : 39.819 s worker CPU, 39.858 s worker Wall, Wall: 30.672 s, Cores in use: 1.34, Total efficiency (on 8 cores): 16.8 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-04T04:53:34.862774 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-resid.jpg Stage coadds : Wall: 2.30 s, CPU: 1.39 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 221 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage coadds finished: 2020-06-04T04:53:37.160960 Resources for stage coadds : 4.800 s worker CPU, 5.143 s worker Wall, Wall: 2.299 s, Cores in use: 2.69, Total efficiency (on 8 cores): 33.7 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-04T04:53:37.162977 Cut to 1 unWISE tiles Reading WISE tile 0468m031 band 2 Reading WISE tile 0468m031 band 4 Reading WISE tile 0468m031 band 1 Reading WISE tile 0468m031 band 3 Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 967 MB, VmSize: 795 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.207632 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 962 MB, VmSize: 798 MB, VmRSS: 153 MB, VmData: 177 MB, maxrss: 0.217304 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 962 MB, VmSize: 798 MB, VmRSS: 148 MB, VmData: 176 MB, maxrss: 0.190576 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/046/0468m031/unwise-0468m031-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.05 s, CPU: 0.05 s, VmPeak: 961 MB, VmSize: 791 MB, VmRSS: 141 MB, VmData: 170 MB, maxrss: 0.205756 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/tmp-legacysurvey-custom-046803m03396-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 4.91 s, CPU: 1.54 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 222 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage wise_forced finished: 2020-06-04T04:53:42.072994 Resources for stage wise_forced : 3.462 s worker CPU, 7.950 s worker Wall, Wall: 4.912 s, Cores in use: 1.02, Total efficiency (on 8 cores): 12.7 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-04T04:53:42.075410 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/coadd/cus/custom-046803m03396/legacysurvey-custom-046803m03396-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/tractor-i/cus/tractor-custom-046803m03396.fits Reading SFD maps... END Rejected (1), keyrecords following the END keyrecord were ignored. END Rejected (1), keyrecords following the END keyrecord were ignored. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/tractor/cus/tractor-custom-046803m03396.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/046/PGC1071818/tractor/cus/brick-custom-046803m03396.sha256sum Stage writecat : Wall: 1.78 s, CPU: 1.58 s, VmPeak: 1150 MB, VmSize: 1022 MB, VmRSS: 224 MB, VmData: 248 MB, maxrss: 0.452728 MB Stage writecat finished: 2020-06-04T04:53:43.852317 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.778 s, Cores in use: 0.89, Total efficiency (on 8 cores): 11.1 % Stage writecat finished All done: 58.086 s worker CPU, 386.867 s worker Wall, Wall: 99.529 s, Cores in use: 0.74, Total efficiency (on 8 cores): 9.2 % Finished galaxy PGC1071818 in 1.703 minutes.