Started working on galaxy PGC1570158 at Sun Jun 7 06:24:45 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 116.952084 18.783166 --width 269 --height 269 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158 --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/116/PGC1570158/PGC1570158-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T06:24:46.498287 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '116.952084', '18.783166', '--width', '269', '--height', '269', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158', '--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/116/PGC1570158/PGC1570158-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-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 116.952084 18.783166 --width 269 --height 269 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158 --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/116/PGC1570158/PGC1570158-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 116.952084 18.783166 Starting process 9387 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 9388 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 9389 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 9390 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057316 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-07T06:24:52.724427 Keeping 20 CCDs: c4d_190306_013239_ooi_g_ls9.fits.fz c4d_190306_013239_ooi_g_ls9-N3 g exptime 153.0 propid 2014B-0404 seeing 1.46 MJD 58548.064 object DECaLS_10750_g c4d_141229_052838_ooi_r_ls9.fits.fz c4d_141229_052838_ooi_r_ls9-N3 r exptime 66.0 propid 2014B-0404 seeing 1.05 MJD 57020.227 object DECaLS_10750_r c4d_150110_061002_ooi_z_ls9.fits.fz c4d_150110_061002_ooi_z_ls9-N3 z exptime 120.0 propid 2014B-0404 seeing 1.15 MJD 57032.255 object DECaLS_10750_z c4d_141229_053422_ooi_g_ls9.fits.fz c4d_141229_053422_ooi_g_ls9-N3 g exptime 78.0 propid 2014B-0404 seeing 1.27 MJD 57020.231 object DECaLS_10750_g c4d_170421_232305_ooi_z_ls9.fits.fz c4d_170421_232305_ooi_z_ls9-S2 z exptime 250.0 propid 2014B-0404 seeing 1.01 MJD 57864.971 object DECaLS_26622_z c4d_181104_071935_ooi_r_ls9.fits.fz c4d_181104_071935_ooi_r_ls9-S2 r exptime 54.0 propid 2014B-0404 seeing 1.16 MJD 58426.305 object DECaLS_26622_r c4d_160112_052631_ooi_r_ls9.fits.fz c4d_160112_052631_ooi_r_ls9-S2 r exptime 106.0 propid 2014B-0404 seeing 1.80 MJD 57399.225 object DECaLS_26622_r c4d_160112_052902_ooi_g_ls9.fits.fz c4d_160112_052902_ooi_g_ls9-S2 g exptime 125.0 propid 2014B-0404 seeing 1.68 MJD 57399.226 object DECaLS_26622_g c4d_150110_061002_ooi_z_ls9.fits.fz c4d_150110_061002_ooi_z_ls9-N2 z exptime 120.0 propid 2014B-0404 seeing 1.16 MJD 57032.255 object DECaLS_10750_z c4d_141229_053422_ooi_g_ls9.fits.fz c4d_141229_053422_ooi_g_ls9-N2 g exptime 78.0 propid 2014B-0404 seeing 1.29 MJD 57020.231 object DECaLS_10750_g c4d_171113_062735_ooi_r_ls9.fits.fz c4d_171113_062735_ooi_r_ls9-S1 r exptime 100.0 propid 2014B-0404 seeing 1.18 MJD 58070.269 object DECaLS_42494_r c4d_170504_232653_ooi_z_ls9.fits.fz c4d_170504_232653_ooi_z_ls9-S1 z exptime 250.0 propid 2014B-0404 seeing 0.93 MJD 57877.974 object DECaLS_42494_z c4d_190304_010242_ooi_g_ls9.fits.fz c4d_190304_010242_ooi_g_ls9-S1 g exptime 130.0 propid 2014B-0404 seeing 1.34 MJD 58546.044 object DECaLS_42494_g c4d_190102_050156_ooi_g_ls9.fits.fz c4d_190102_050156_ooi_g_ls9-S1 g exptime 121.0 propid 2014B-0404 seeing 1.28 MJD 58485.210 object DECaLS_42494_g c4d_170504_232215_ooi_z_ls9.fits.fz c4d_170504_232215_ooi_z_ls9-S24 z exptime 250.0 propid 2014B-0404 seeing 0.90 MJD 57877.970 object DECaLS_39202_z c4d_190304_010012_ooi_g_ls9.fits.fz c4d_190304_010012_ooi_g_ls9-S24 g exptime 121.0 propid 2014B-0404 seeing 1.31 MJD 58546.042 object DECaLS_39202_g c4d_181013_085322_ooi_g_ls9.fits.fz c4d_181013_085322_ooi_g_ls9-S24 g exptime 200.0 propid 2014B-0404 seeing 1.74 MJD 58404.370 object DECaLS_39202_g c4d_160113_052606_ooi_r_ls9.fits.fz c4d_160113_052606_ooi_r_ls9-S24 r exptime 125.0 propid 2014B-0404 seeing 1.20 MJD 57400.224 object DECaLS_39202_r c4d_190306_013239_ooi_g_ls9.fits.fz c4d_190306_013239_ooi_g_ls9-N2 g exptime 153.0 propid 2014B-0404 seeing 1.51 MJD 58548.064 object DECaLS_10750_g c4d_141229_052838_ooi_r_ls9.fits.fz c4d_141229_052838_ooi_r_ls9-N2 r exptime 66.0 propid 2014B-0404 seeing 1.07 MJD 57020.227 object DECaLS_10750_r The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9563512-z-20150110T060710_oi[N3,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9553439-g-20141229T053214_oi[N3,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a3c6-g-20190306T013239_oi[N3,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95506eb-r-20141229T052641_oi[N3,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95130c6-z-20170421T231805_oi[S2,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537eb2-r-20181104T071935_oi[S2,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9572439-g-20160112T052609_oi[S2,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95791cd-r-20160112T052354_oi[S2,noinherit][2046,4094][real]: DECaLS_2 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9553439-g-20141229T053214_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9563512-z-20150110T060710_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T232154_oi[S1,noinherit][2046,4094][real]: DECaLS_4 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9527501-r-20171113T062735_oi[S1,noinherit][2046,4094][real]: DECaLS_4 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a046-g-20190304T010242_oi[S1,noinherit][2046,4094][real]: DECaLS_4 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T231714_oi[S24,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537adb-g-20181013T085322_oi[S24,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9577f34-r-20160113T052311_oi[S24,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a3c6-g-20190306T013239_oi[N2,noinherit][2046,4094][real]: DECaLS_1 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9539c09-g-20190102T050156_oi[S1,noinherit][2046,4094][real]: DECaLS_4 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a046-g-20190304T010012_oi[S24,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95506eb-r-20141229T052641_oi[N2,noinherit][2046,4094][real]: DECaLS_1 Stage tims : Wall: 159.78 s, CPU: 7.69 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 179 MB, VmData: 213 MB, maxrss: 0.45464 MB Stage tims finished: 2020-06-07T06:27:32.499721 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9553439-g-20141229T053214_oi[N3,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_9537eb2-r-20181104T071935_oi[S2,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_9553439-g-20141229T053214_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_953a046-g-20190304T010242_oi[S1,noinherit][2046,4094][real]: DECaLS_4 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537adb-g-20181013T085322_oi[S24,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_953a3c6-g-20190306T013239_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_9563512-z-20150110T060710_oi[N3,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_95130c6-z-20170421T231805_oi[S2,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_9563512-z-20150110T060710_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_9539c09-g-20190102T050156_oi[S1,noinherit][2046,4094][real]: DECaLS_4 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a3c6-g-20190306T013239_oi[N3,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_95791cd-r-20160112T052354_oi[S2,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_95155af-z-20170504T232154_oi[S1,noinherit][2046,4094][real]: DECaLS_4 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a046-g-20190304T010012_oi[S24,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_95506eb-r-20141229T052641_oi[N3,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_9572439-g-20160112T052609_oi[S2,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_9527501-r-20171113T062735_oi[S1,noinherit][2046,4094][real]: DECaLS_4 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T231714_oi[S24,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_9577f34-r-20160113T052311_oi[S24,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_95506eb-r-20141229T052641_oi[N2,noinherit][2046,4094][real]: DECaLS_1 [astropy.io.fits.card] Resources for stage tims : 6.403 s worker CPU, 593.590 s worker Wall, Wall: 159.776 s, Cores in use: 0.09, Total efficiency (on 4 cores): 2.2 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T06:27:32.531085 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04073.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04202.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04201.fits Matched 27 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/reference-custom-116952p18783.fits Stage refs : Wall: 10.13 s, CPU: 9.65 s, VmPeak: 1046 MB, VmSize: 1040 MB, VmRSS: 225 MB, VmData: 256 MB, maxrss: 0.45464 MB Stage refs finished: 2020-06-07T06:27:42.656348 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 10.126 s, Cores in use: 0.95, Total efficiency (on 4 cores): 23.8 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T06:27:42.657852 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outlier-mask-custom-116952p18783.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outliers-pre-custom-116952p18783.jpg Image c4d_181013_085322_ooi_g_ls9-S24 g : masking 12060 positive outlier pixels and 0 negative outlier pixels Image c4d_190306_013239_ooi_g_ls9-N2 g : masking 180 positive outlier pixels and 0 negative outlier pixels Image c4d_190102_050156_ooi_g_ls9-S1 g : masking 0 positive outlier pixels and 182 negative outlier pixels Image c4d_160112_052631_ooi_r_ls9-S2 r : masking 3010 positive outlier pixels and 0 negative outlier pixels Image c4d_181104_071935_ooi_r_ls9-S2 r : masking 0 positive outlier pixels and 46 negative outlier pixels Image c4d_171113_062735_ooi_r_ls9-S1 r : masking 763 positive outlier pixels and 0 negative outlier pixels Image c4d_160113_052606_ooi_r_ls9-S24 r : masking 0 positive outlier pixels and 102 negative outlier pixels Image c4d_170421_232305_ooi_z_ls9-S2 z : masking 147 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outlier-mask-custom-116952p18783.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outliers-post-custom-116952p18783.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outliers-masked-pos-custom-116952p18783.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/outliers-masked-neg-custom-116952p18783.jpg Stage outliers : Wall: 5.98 s, CPU: 5.46 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 239 MB, VmData: 268 MB, maxrss: 0.45464 MB Stage outliers finished: 2020-06-07T06:27:48.633762 Resources for stage outliers : 1.387 s worker CPU, 1.426 s worker Wall, Wall: 5.977 s, Cores in use: 1.15, Total efficiency (on 4 cores): 28.6 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T06:27:48.635379 Stage halos : Wall: 14.43 s, CPU: 6.74 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 239 MB, VmData: 268 MB, maxrss: 0.45464 MB Stage halos finished: 2020-06-07T06:28:03.063749 Resources for stage halos : 0.503 s worker CPU, 19.862 s worker Wall, Wall: 14.430 s, Cores in use: 0.50, Total efficiency (on 4 cores): 12.6 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T06:28:03.065694 PSF sigmas in coadd pixels: ['2.38', '2.06', '2.72', '2.09', '2.17', '2.09', '2.13', '2.83', '2.46'] Using average PSF sigma 2.3244406513377034 Gaussian PSF norm 0.12136029010314119 vs pixelized 0.0998431 average tim pixel scale / coadd scale: 1.0011878970100452 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-copsf-g.fits.fz PSF sigmas in coadd pixels: ['1.71', '1.89', '2.92', '1.92', '1.96', '1.73'] Using average PSF sigma 2.020917720096032 Gaussian PSF norm 0.13958747007298908 vs pixelized 0.11532786 average tim pixel scale / coadd scale: 1.001312710231042 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.87', '1.63', '1.52', '1.47'] Using average PSF sigma 1.621593936633366 Gaussian PSF norm 0.17396142486789426 vs pixelized 0.13918567 average tim pixel scale / coadd scale: 1.0011094860698786 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-copsf-z.fits.fz Stage fit_on_coadds : Wall: 1.13 s, CPU: 0.24 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 241 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage fit_on_coadds finished: 2020-06-07T06:28:04.193804 Resources for stage fit_on_coadds : 0.381 s worker CPU, 0.390 s worker Wall, Wall: 1.129 s, Cores in use: 0.55, Total efficiency (on 4 cores): 13.8 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T06:28:04.197465 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 41 potential peaks Of 41 potential peaks: 11 in veto map, 11 cut by saddle test, 0 cut by aper test, 19 kept SED z : 19 new peaks Found 30 potential peaks Of 30 potential peaks: 22 in veto map, 6 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 24 potential peaks Of 24 potential peaks: 18 in veto map, 2 cut by saddle test, 0 cut by aper test, 4 kept SED g : 4 new peaks Found 33 potential peaks Of 33 potential peaks: 27 in veto map, 4 cut by saddle test, 0 cut by aper test, 2 kept SED Flat : 2 new peaks Found 40 potential peaks Of 40 potential peaks: 33 in veto map, 6 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 28 new sources Median coadd sky for g : 1.7131784e-05 Median coadd sky for r : 6.2591156e-05 Median coadd sky for z : 0.00037396443 Stage srcs : Wall: 3.91 s, CPU: 3.86 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 242 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage srcs finished: 2020-06-07T06:28:08.109432 Resources for stage srcs : 0.117 s worker CPU, 0.131 s worker Wall, Wall: 3.913 s, Cores in use: 1.02, Total efficiency (on 4 cores): 25.4 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/PGC1570158-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T06:28:08.122194 Blob 1 of 10, id: 1, sources: 22, size: 254x255, npix 26160, brick X: 0,254, Y: 9,264, one pixel: 95 9 Blob 2 of 10, id: 9, sources: 2, size: 40x33, npix 716, brick X: 33,73, Y: 224,257, one pixel: 42 224 Blob 3 of 10, id: 0, sources: 2, size: 40x24, npix 616, brick X: 120,160, Y: 0,24, one pixel: 129 0 Blob 4 of 10, id: 3, sources: 1, size: 27x31, npix 506, brick X: 190,217, Y: 54,85, one pixel: 202 54 Blob 5 of 10, id: 6, sources: 1, size: 30x25, npix 497, brick X: 118,148, Y: 200,225, one pixel: 132 200 Measuring 1 iterative sources Blob 3 finished, total: Wall: 1.36 s, CPU: 1.36 s, VmPeak: 969 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146808 MB Blob 6 of 10, id: 4, sources: 2, size: 26x34, npix 418, brick X: 233,259, Y: 85,119, one pixel: 249 85 Blob 2 finished, total: Wall: 1.54 s, CPU: 1.54 s, VmPeak: 964 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146608 MB Blob 7 of 10, id: 5, sources: 1, size: 26x26, npix 418, brick X: 213,239, Y: 127,153, one pixel: 223 127 Blob 4 finished, total: Wall: 1.78 s, CPU: 1.78 s, VmPeak: 963 MB, VmSize: 719 MB, VmRSS: 145 MB, VmData: 182 MB, maxrss: 0.14868 MB Blob 8 of 10, id: 2, sources: 1, size: 25x25, npix 385, brick X: 34,59, Y: 41,66, one pixel: 45 41 Blob 7 finished, total: Wall: 0.28 s, CPU: 0.28 s, VmPeak: 963 MB, VmSize: 719 MB, VmRSS: 145 MB, VmData: 182 MB, maxrss: 0.14868 MB Blob 9 of 10, id: 7, sources: 1, size: 15x20, npix 208, brick X: 254,269, Y: 201,221, one pixel: 262 201 Blob 5 finished, total: Wall: 0.86 s, CPU: 0.86 s, VmPeak: 969 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146808 MB Blob 10 of 10, id: 8, sources: 1, size: 13x22, npix 193, brick X: 0,13, Y: 216,238, one pixel: 1 216 Blob 6 finished, total: Wall: 0.97 s, CPU: 0.97 s, VmPeak: 964 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146608 MB Blob 9 finished, total: Wall: 0.42 s, CPU: 0.42 s, VmPeak: 969 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146808 MB Blob 10 finished, total: Wall: 0.19 s, CPU: 0.19 s, VmPeak: 964 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146608 MB Blob 8 finished, total: Wall: 0.68 s, CPU: 0.68 s, VmPeak: 963 MB, VmSize: 719 MB, VmRSS: 145 MB, VmData: 182 MB, maxrss: 0.14868 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.22854, ee1=0.345491, ee2=-0.452716 Measuring 4 iterative sources Blob 1 finished, total: Wall: 24.05 s, CPU: 24.05 s, VmPeak: 963 MB, VmSize: 725 MB, VmRSS: 157 MB, VmData: 188 MB, maxrss: 0.17266 MB Old catalog: 38 New catalog: 35 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/blobs-custom-116952p18783.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/metrics/cus/all-models-custom-116952p18783.fits Stage fitblobs : Wall: 27.51 s, CPU: 3.44 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 243 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage fitblobs finished: 2020-06-07T06:28:35.636941 Resources for stage fitblobs : 32.264 s worker CPU, 32.286 s worker Wall, Wall: 27.516 s, Cores in use: 1.30, Total efficiency (on 4 cores): 32.4 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T06:28:35.639473 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-resid.jpg Stage coadds : Wall: 6.02 s, CPU: 5.10 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 244 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage coadds finished: 2020-06-07T06:28:41.661866 Resources for stage coadds : 2.727 s worker CPU, 2.828 s worker Wall, Wall: 6.023 s, Cores in use: 1.30, Total efficiency (on 4 cores): 32.5 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T06:28:41.663437 Cut to 1 unWISE tiles Reading WISE tile 1173p181 band 1 Reading WISE tile 1173p181 band 2 Reading WISE tile 1173p181 band 3 Reading WISE tile 1173p181 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.11 s, CPU: 0.11 s, VmPeak: 963 MB, VmSize: 803 MB, VmRSS: 157 MB, VmData: 182 MB, maxrss: 0.204268 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.10 s, CPU: 0.10 s, VmPeak: 969 MB, VmSize: 795 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.2104 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.07 s, CPU: 0.07 s, VmPeak: 964 MB, VmSize: 795 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.210296 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/117/1173p181/unwise-1173p181-w1-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: 963 MB, VmSize: 795 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.21074 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/tmp-legacysurvey-custom-116952p18783-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 9.69 s, CPU: 7.52 s, VmPeak: 1050 MB, VmSize: 1050 MB, VmRSS: 244 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage wise_forced finished: 2020-06-07T06:28:51.355028 Resources for stage wise_forced : 4.680 s worker CPU, 6.819 s worker Wall, Wall: 9.693 s, Cores in use: 1.26, Total efficiency (on 4 cores): 31.5 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T06:28:51.356974 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/coadd/cus/custom-116952p18783/legacysurvey-custom-116952p18783-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/tractor-i/cus/tractor-custom-116952p18783.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/116/PGC1570158/tractor/cus/tractor-custom-116952p18783.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC1570158/tractor/cus/brick-custom-116952p18783.sha256sum Stage writecat : Wall: 6.90 s, CPU: 6.38 s, VmPeak: 1182 MB, VmSize: 1054 MB, VmRSS: 246 MB, VmData: 269 MB, maxrss: 0.45464 MB Stage writecat finished: 2020-06-07T06:28:58.255503 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 6.900 s, Cores in use: 0.92, Total efficiency (on 4 cores): 23.1 % Stage writecat finished All done: 48.464 s worker CPU, 657.334 s worker Wall, Wall: 245.535 s, Cores in use: 0.43, Total efficiency (on 4 cores): 10.7 % Finished galaxy PGC1570158 in 4.215 minutes.