Started working on galaxy PGC091054 at Sun Jun 7 17:14:39 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 163.328667 79.2685 --width 281 --height 281 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T17:14:41.363933 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '163.328667', '79.2685', '--width', '281', '--height', '281', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-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 163.328667 79.2685 --width 281 --height 281 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 163.328667 79.2685 Starting process 11025 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 11029 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 11030 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 11031 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-07T17:14:41.852811 Keeping 15 CCDs: k4m_171229_061914_ooi_zd_ls9.fits.fz k4m_171229_061914_ooi_zd_ls9-CCD3 z exptime 130.104 propid 2016A-0453 seeing 1.45 MJD 58116.263 object MzLS_729805_z k4m_171116_093514_ooi_zd_ls9.fits.fz k4m_171116_093514_ooi_zd_ls9-CCD2 z exptime 82.104 propid 2016A-0453 seeing 0.87 MJD 58073.399 object MzLS_729563_z k4m_171127_082414_ooi_zd_ls9.fits.fz k4m_171127_082414_ooi_zd_ls9-CCD3 z exptime 136.103 propid 2016A-0453 seeing 0.94 MJD 58084.350 object MzLS_730043_z ksb_180610_041430_ooi_g_ls9.fits.fz ksb_180610_041430_ooi_g_ls9-CCD1 g exptime 166.455 propid NOTBASS seeing 1.61 MJD 58279.177 object 51661 ksb_190208_101642_ooi_r_ls9.fits.fz ksb_190208_101642_ooi_r_ls9-CCD1 r exptime 117.435 propid NOTBASS seeing 1.62 MJD 58522.428 object ksb_190211_111439_ooi_r_ls9.fits.fz ksb_190211_111439_ooi_r_ls9-CCD3 r exptime 141.621 propid NOTBASS seeing 1.68 MJD 58525.469 object ksb_180606_051458_ooi_g_ls9.fits.fz ksb_180606_051458_ooi_g_ls9-CCD3 g exptime 250.0 propid NOTBASS seeing 2.05 MJD 58275.219 object 51673 ksb_180606_051945_ooi_g_ls9.fits.fz ksb_180606_051945_ooi_g_ls9-CCD4 g exptime 250.0 propid NOTBASS seeing 1.95 MJD 58275.222 object 52213 ksb_180226_063334_ooi_r_ls9.fits.fz ksb_180226_063334_ooi_r_ls9-CCD1 r exptime 250.0 propid BASS seeing 1.60 MJD 58175.273 object 51662 ksb_190211_110555_ooi_r_ls9.fits.fz ksb_190211_110555_ooi_r_ls9-CCD1 r exptime 122.986 propid NOTBASS seeing 1.75 MJD 58525.462 object ksb_180608_042727_ooi_g_ls9.fits.fz ksb_180608_042727_ooi_g_ls9-CCD1 g exptime 195.307 propid NOTBASS seeing 1.71 MJD 58277.186 object 51662 ksb_180612_040805_ooi_r_ls9.fits.fz ksb_180612_040805_ooi_r_ls9-CCD3 r exptime 127.4 propid NOTBASS seeing 1.31 MJD 58281.172 object 51671 ksb_180609_042013_ooi_g_ls9.fits.fz ksb_180609_042013_ooi_g_ls9-CCD3 g exptime 223.72 propid NOTBASS seeing 1.60 MJD 58278.181 object 51671 ksb_180226_075336_ooi_r_ls9.fits.fz ksb_180226_075336_ooi_r_ls9-CCD4 r exptime 250.0 propid BASS seeing 1.34 MJD 58175.329 object 52213 ksb_190211_111741_ooi_r_ls9.fits.fz ksb_190211_111741_ooi_r_ls9-CCD4 r exptime 150.403 propid NOTBASS seeing 1.79 MJD 58525.471 object Faked up EXPNUM 82790034 Faked up EXPNUM 82790034 Faked up EXPNUM 82790034 90prime get_fwhm: self.fwhm = 3.55 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1740 1913 and amp range 0 2015 and image y 42 215 and amp range 0 2047 Range in image: x 0 174 , y 0 174 (with image size 174 x 174) dzp -0.030770088 -> scaling image by 0.9720575212609548 mosaic get_fwhm: self.fwhm = 3.35 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2253 2542 and amp range 2048 4095 and image y 2653 2938 and amp range 2040 4078 Range in image: x 0 290 , y 0 286 (with image size 290 x 286) dzp -0.036442947 -> scaling image by 0.9669918668439786 mosaic get_fwhm: self.fwhm = 5.59 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3784 4046 and amp range 2006 4053 and image y 403 685 and amp range 0 2039 Range in image: x 0 263 , y 0 283 (with image size 263 x 283) dzp -0.006757846 -> scaling image by 0.993795123967763 Faked up EXPNUM 85220248 Faked up EXPNUM 85220248 Faked up EXPNUM 85220248 90prime get_fwhm: self.fwhm = 3.57 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1783 1955 and amp range 0 2015 and image y 53 225 and amp range 0 2047 Range in image: x 0 173 , y 0 173 (with image size 173 x 173) dzp -0.035150982 -> scaling image by 0.9681432169373447 mosaic get_fwhm: self.fwhm = 3.63 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1084 1372 and amp range 0 2005 and image y 2632 2925 and amp range 2040 4078 Range in image: x 0 289 , y 0 294 (with image size 289 x 294) dzp 0.01523814 -> scaling image by 1.014133796220052 Faked up EXPNUM 82750056 Faked up EXPNUM 82750056 Faked up EXPNUM 82750056 90prime get_fwhm: self.fwhm = 4.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 99 and amp range 0 2015 and image y 1245 1409 and amp range 0 2047 Range in image: x 0 85 , y 0 165 (with image size 85 x 165) dzp -0.03692675 -> scaling image by 0.9665610717922232 Faked up EXPNUM 81750078 Faked up EXPNUM 81750078 Faked up EXPNUM 81750078 90prime get_fwhm: self.fwhm = 3.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3807 3974 and amp range 2016 4031 and image y 1909 2077 and amp range 0 2047 Range in image: x 0 168 , y 0 139 (with image size 168 x 169) dzp -0.03177219 -> scaling image by 0.9711607558798585 Found overlap: image x 3807 3974 and amp range 2016 4031 and image y 1909 2077 and amp range 2048 4095 Range in image: x 0 168 , y 139 169 (with image size 168 x 169) dzp 0.015744466 -> scaling image by 1.0146068417155982 Faked up EXPNUM 82750057 Faked up EXPNUM 82750057 Faked up EXPNUM 82750057 90prime get_fwhm: self.fwhm = 4.29 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3693 3859 and amp range 2016 4031 and image y 1780 1946 and amp range 0 2047 Range in image: x 0 167 , y 0 167 (with image size 167 x 167) dzp 0.023266561 -> scaling image by 1.0216605511853067 Faked up EXPNUM 85250239 Faked up EXPNUM 85250239 Faked up EXPNUM 85250239 90prime get_fwhm: self.fwhm = 3.85 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3835 4003 and amp range 2016 4031 and image y 1924 2091 and amp range 0 2047 Range in image: x 0 169 , y 0 124 (with image size 169 x 168) dzp -0.023422003 -> scaling image by 0.9786585595476589 Found overlap: image x 3835 4003 and amp range 2016 4031 and image y 1924 2091 and amp range 2048 4095 Range in image: x 0 169 , y 124 168 (with image size 169 x 168) dzp 0.017774878 -> scaling image by 1.0165060112155746 Faked up EXPNUM 82770044 Faked up EXPNUM 82770044 Faked up EXPNUM 82770044 90prime get_fwhm: self.fwhm = 3.77 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3841 4009 and amp range 2016 4031 and image y 1927 2095 and amp range 0 2047 Range in image: x 0 169 , y 0 121 (with image size 169 x 169) dzp -0.019046262 -> scaling image by 0.9826107140833663 Found overlap: image x 3841 4009 and amp range 2016 4031 and image y 1927 2095 and amp range 2048 4095 Range in image: x 0 169 , y 121 169 (with image size 169 x 169) dzp 0.016257986 -> scaling image by 1.01508683329102 Faked up EXPNUM 82810044 Faked up EXPNUM 82810044 Faked up EXPNUM 82810044 90prime get_fwhm: self.fwhm = 2.89 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1872 2041 and amp range 0 2015 and image y 3101 3269 and amp range 2048 4095 Range in image: x 0 144 , y 0 169 (with image size 170 x 169) dzp -0.038361903 -> scaling image by 0.9652842912941227 Found overlap: image x 1872 2041 and amp range 2016 4031 and image y 3101 3269 and amp range 2048 4095 Range in image: x 144 170 , y 0 169 (with image size 170 x 169) dzp -0.0072602304 -> scaling image by 0.9933353884052984 Faked up EXPNUM 85250242 Faked up EXPNUM 85250242 Faked up EXPNUM 85250242 90prime get_fwhm: self.fwhm = 3.71 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 79 and amp range 0 2015 and image y 1227 1391 and amp range 0 2047 Range in image: x 0 65 , y 0 165 (with image size 65 x 165) dzp -0.040645268 -> scaling image by 0.9632563770903896 Faked up EXPNUM 82780032 Faked up EXPNUM 82780032 Faked up EXPNUM 82780032 90prime get_fwhm: self.fwhm = 3.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1907 2076 and amp range 0 2015 and image y 3127 3295 and amp range 2048 4095 Range in image: x 0 109 , y 0 169 (with image size 170 x 169) dzp -0.027600318 -> scaling image by 0.9748995562775561 Found overlap: image x 1907 2076 and amp range 2016 4031 and image y 3127 3295 and amp range 2048 4095 Range in image: x 109 170 , y 0 169 (with image size 170 x 169) dzp -0.01723723 -> scaling image by 0.9842492857213068 Faked up EXPNUM 81750095 Faked up EXPNUM 81750095 Faked up EXPNUM 81750095 90prime get_fwhm: self.fwhm = 2.95 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3663 3830 and amp range 2016 4031 and image y 1793 1960 and amp range 0 2047 Range in image: x 0 168 , y 0 168 (with image size 168 x 168) dzp 0.043530058 -> scaling image by 1.0409072255640852 Faked up EXPNUM 85250243 Faked up EXPNUM 85250243 Faked up EXPNUM 85250243 90prime get_fwhm: self.fwhm = 3.95 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3672 3838 and amp range 2016 4031 and image y 1785 1951 and amp range 0 2047 Range in image: x 0 167 , y 0 167 (with image size 167 x 167) dzp 0.033414163 -> scaling image by 1.0312540450862397 Stage tims : Wall: 6.65 s, CPU: 0.96 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 175 MB, VmData: 208 MB, maxrss: 0.56654 MB Stage tims finished: 2020-06-07T17:14:48.498583 Resources for stage tims : 4.163 s worker CPU, 19.597 s worker Wall, Wall: 6.647 s, Cores in use: 0.77, Total efficiency (on 4 cores): 19.3 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T17:14:48.594456 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00096.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00126.fits Matched 8 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/reference-custom-163328p79268.fits Stage refs : Wall: 2.36 s, CPU: 2.07 s, VmPeak: 973 MB, VmSize: 962 MB, VmRSS: 195 MB, VmData: 228 MB, maxrss: 0.56654 MB Stage refs finished: 2020-06-07T17:14:50.956649 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 2.363 s, Cores in use: 0.88, Total efficiency (on 4 cores): 21.9 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T17:14:50.958228 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outlier-mask-custom-163328p79268.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outliers-pre-custom-163328p79268.jpg Image ksb_180606_051458_ooi_g_ls9-CCD3 g : masking 2395 positive outlier pixels and 0 negative outlier pixels Image ksb_180610_041430_ooi_g_ls9-CCD1 g : masking 0 positive outlier pixels and 249 negative outlier pixels Image ksb_180608_042727_ooi_g_ls9-CCD1 g : masking 106 positive outlier pixels and 0 negative outlier pixels Image ksb_190211_111439_ooi_r_ls9-CCD3 r : masking 2637 positive outlier pixels and 0 negative outlier pixels Image ksb_190208_101642_ooi_r_ls9-CCD1 r : masking 0 positive outlier pixels and 121 negative outlier pixels Image ksb_180226_063334_ooi_r_ls9-CCD1 r : masking 0 positive outlier pixels and 132 negative outlier pixels Image ksb_190211_110555_ooi_r_ls9-CCD1 r : masking 0 positive outlier pixels and 113 negative outlier pixels Image ksb_180226_075336_ooi_r_ls9-CCD4 r : masking 0 positive outlier pixels and 321 negative outlier pixels Image ksb_190211_111741_ooi_r_ls9-CCD4 r : masking 0 positive outlier pixels and 157 negative outlier pixels Image k4m_171127_082414_ooi_zd_ls9-CCD3 z : masking 1433 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outlier-mask-custom-163328p79268.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outliers-post-custom-163328p79268.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outliers-masked-pos-custom-163328p79268.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/outliers-masked-neg-custom-163328p79268.jpg Stage outliers : Wall: 2.07 s, CPU: 0.92 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 214 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage outliers finished: 2020-06-07T17:14:53.032106 Resources for stage outliers : 2.266 s worker CPU, 2.311 s worker Wall, Wall: 2.075 s, Cores in use: 1.54, Total efficiency (on 4 cores): 38.4 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T17:14:53.033849 Stage halos : Wall: 0.28 s, CPU: 0.27 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 214 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage halos finished: 2020-06-07T17:14:53.311946 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.279 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % Stage halos finished Running stage fit_on_coadds Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-07T17:14:53.313806 PSF sigmas in coadd pixels: ['2.61', '3.33', '3.16', '2.77', '2.60'] Using average PSF sigma 2.89604955190884 Gaussian PSF norm 0.09740675589889139 vs pixelized 0.0789191 average tim pixel scale / coadd scale: 1.729950833113025 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.63', '2.73', '2.60', '2.84', '2.13', '2.17', '2.91'] Using average PSF sigma 2.572786996722678 Gaussian PSF norm 0.10964560693645534 vs pixelized 0.08689913 average tim pixel scale / coadd scale: 1.7309378719083242 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-copsf-r.fits.fz PSF sigmas in coadd pixels: ['2.36', '1.41', '1.53'] Using average PSF sigma 1.767216812333194 Gaussian PSF norm 0.15962658899868568 vs pixelized 0.12926395 average tim pixel scale / coadd scale: 0.9911535516601653 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.41 s, CPU: 0.30 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage fit_on_coadds finished: 2020-06-07T17:14:53.726834 Resources for stage fit_on_coadds : 0.644 s worker CPU, 0.670 s worker Wall, Wall: 0.414 s, Cores in use: 2.28, Total efficiency (on 4 cores): 57.0 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T17:14:53.730154 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 18 potential peaks Of 18 potential peaks: 8 in veto map, 4 cut by saddle test, 0 cut by aper test, 6 kept SED z : 6 new peaks Found 15 potential peaks Of 15 potential peaks: 10 in veto map, 2 cut by saddle test, 0 cut by aper test, 3 kept SED r : 3 new peaks Found 11 potential peaks Of 11 potential peaks: 8 in veto map, 3 cut by saddle test, 0 cut by aper test, 0 kept SED g : 0 new peaks Found 15 potential peaks Of 15 potential peaks: 12 in veto map, 2 cut by saddle test, 0 cut by aper test, 1 kept SED Flat : 1 new peaks Found 17 potential peaks Of 17 potential peaks: 13 in veto map, 4 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 10 new sources Median coadd sky for g : -5.1570514e-05 Median coadd sky for r : -0.00020284764 Median coadd sky for z : 2.695291e-05 Stage srcs : Wall: 0.51 s, CPU: 0.45 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage srcs finished: 2020-06-07T17:14:54.242847 Resources for stage srcs : 0.130 s worker CPU, 0.130 s worker Wall, Wall: 0.514 s, Cores in use: 1.14, Total efficiency (on 4 cores): 28.4 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/PGC091054-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T17:14:54.257353 Blob 1 of 9, id: 2, sources: 2, size: 123x209, npix 10082, brick X: 80,203, Y: 13,222, one pixel: 178 13 Blob 2 of 9, id: 5, sources: 3, size: 66x65, npix 2333, brick X: 200,266, Y: 154,219, one pixel: 243 154 Blob 3 of 9, id: 6, sources: 2, size: 46x60, npix 1846, brick X: 2,48, Y: 169,229, one pixel: 30 169 Blob 4 of 9, id: 1, sources: 1, size: 42x35, npix 1115, brick X: 215,257, Y: 0,35, one pixel: 225 0 Blob 5 of 9, id: 7, sources: 1, size: 34x35, npix 819, brick X: 152,186, Y: 227,262, one pixel: 165 227 Blob 4 finished, total: Wall: 0.69 s, CPU: 0.69 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143044 MB Blob 6 of 9, id: 4, sources: 1, size: 29x28, npix 537, brick X: 31,60, Y: 56,84, one pixel: 40 56 Blob 3 finished, total: Wall: 1.90 s, CPU: 1.88 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14304 MB Blob 7 of 9, id: 3, sources: 1, size: 27x28, npix 484, brick X: 244,271, Y: 44,72, one pixel: 256 44 Blob 5 finished, total: Wall: 1.36 s, CPU: 1.36 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143044 MB Blob 8 of 9, id: 0, sources: 1, size: 26x26, npix 446, brick X: 99,125, Y: 0,26, one pixel: 109 0 Blob 7 finished, total: Wall: 0.66 s, CPU: 0.66 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143816 MB Blob 9 of 9, id: 8, sources: 1, size: 15x22, npix 229, brick X: 0,15, Y: 235,257, one pixel: 4 235 Blob 8 finished, total: Wall: 0.45 s, CPU: 0.45 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143816 MB Blob 9 finished, total: Wall: 0.59 s, CPU: 0.59 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143816 MB Measuring 1 iterative sources Blob 6 finished, total: Wall: 1.97 s, CPU: 1.97 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.14352 MB Blob 2 finished, total: Wall: 4.64 s, CPU: 4.64 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144404 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.365, ee1=0.323833, ee2=0.685785 Measuring 3 iterative sources Blob 1 finished, total: Wall: 9.75 s, CPU: 9.75 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 143 MB, VmData: 179 MB, maxrss: 0.145924 MB Old catalog: 17 New catalog: 17 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/blobs-custom-163328p79268.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/metrics/cus/all-models-custom-163328p79268.fits Stage fitblobs : Wall: 10.18 s, CPU: 0.38 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage fitblobs finished: 2020-06-07T17:15:04.437576 Resources for stage fitblobs : 22.090 s worker CPU, 22.152 s worker Wall, Wall: 10.181 s, Cores in use: 2.21, Total efficiency (on 4 cores): 55.2 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T17:15:04.439557 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-resid.jpg Stage coadds : Wall: 1.37 s, CPU: 0.63 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 217 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage coadds finished: 2020-06-07T17:15:05.808679 Resources for stage coadds : 2.043 s worker CPU, 2.130 s worker Wall, Wall: 1.370 s, Cores in use: 1.95, Total efficiency (on 4 cores): 48.7 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T17:15:05.810131 Cut to 1 unWISE tiles Reading WISE tile 1656p787 band 2 Reading WISE tile 1656p787 band 1 Reading WISE tile 1656p787 band 3 Reading WISE tile 1656p787 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-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: 804 MB, VmSize: 796 MB, VmRSS: 148 MB, VmData: 177 MB, maxrss: 0.1939 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 806 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.2124 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w2-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: 805 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.212228 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/165/1656p787/unwise-1656p787-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 805 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.212276 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/tmp-legacysurvey-custom-163328p79268-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.41 s, CPU: 0.38 s, VmPeak: 973 MB, VmSize: 972 MB, VmRSS: 218 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage wise_forced finished: 2020-06-07T17:15:08.222440 Resources for stage wise_forced : 4.694 s worker CPU, 6.299 s worker Wall, Wall: 2.413 s, Cores in use: 2.10, Total efficiency (on 4 cores): 52.5 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T17:15:08.224225 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/coadd/cus/custom-163328p79268/legacysurvey-custom-163328p79268-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/tractor-i/cus/tractor-custom-163328p79268.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/163/PGC091054/tractor/cus/tractor-custom-163328p79268.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/163/PGC091054/tractor/cus/brick-custom-163328p79268.sha256sum Stage writecat : Wall: 1.92 s, CPU: 0.61 s, VmPeak: 1104 MB, VmSize: 976 MB, VmRSS: 220 MB, VmData: 244 MB, maxrss: 0.56654 MB Stage writecat finished: 2020-06-07T17:15:10.144373 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.921 s, Cores in use: 0.32, Total efficiency (on 4 cores): 7.9 % Stage writecat finished All done: 36.032 s worker CPU, 53.293 s worker Wall, Wall: 28.297 s, Cores in use: 1.52, Total efficiency (on 4 cores): 38.0 % Finished galaxy PGC091054 in 0.509 minutes.