Started working on galaxy PGC020221 at Sun Jun 7 18:13:17 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 107.06304149999998 34.9870278 --width 307 --height 307 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221 --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/107/PGC020221/PGC020221-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:13:18.898602 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '107.06304149999998', '34.9870278', '--width', '307', '--height', '307', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221', '--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/107/PGC020221/PGC020221-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-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 107.06304149999998 34.9870278 --width 307 --height 307 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221 --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/107/PGC020221/PGC020221-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 107.06304149999998 34.9870278 Starting process 38275 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 38276 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 38277 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 38278 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 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-07T18:13:19.362065 Keeping 12 CCDs: k4m_180204_033601_ooi_zd_ls9.fits.fz k4m_180204_033601_ooi_zd_ls9-CCD2 z exptime 80.104 propid 2016A-0453 seeing 0.95 MJD 58153.150 object MzLS_578147_z k4m_160204_050309_ooi_zd_ls9.fits.fz k4m_160204_050309_ooi_zd_ls9-CCD2 z exptime 80.104 propid 2016A-0453 seeing 1.33 MJD 57422.211 object MzLS_578147_z k4m_170226_042227_ooi_zd_ls9.fits.fz k4m_170226_042227_ooi_zd_ls9-CCD2 z exptime 80.105 propid 2016A-0453 seeing 1.04 MJD 57810.182 object MzLS_577117_z k4m_170316_040230_ooi_zd_ls9.fits.fz k4m_170316_040230_ooi_zd_ls9-CCD2 z exptime 80.104 propid 2016A-0453 seeing 0.86 MJD 57828.168 object MzLS_577117_z k4m_160205_044421_ooi_zd_ls9.fits.fz k4m_160205_044421_ooi_zd_ls9-CCD1 z exptime 80.105 propid 2016A-0453 seeing 1.11 MJD 57423.197 object MzLS_579174_z ksb_160204_042118_ooi_r_ls9.fits.fz ksb_160204_042118_ooi_r_ls9-CCD4 r exptime 111.9 propid 2015A-0801 seeing 1.51 MJD 57422.181 object 60872 ksb_160114_070657_ooi_g_ls9.fits.fz ksb_160114_070657_ooi_g_ls9-CCD4 g exptime 212.3 propid 2015A-0801 seeing 1.42 MJD 57401.296 object 60872 ksb_160113_061519_ooi_g_ls9.fits.fz ksb_160113_061519_ooi_g_ls9-CCD2 g exptime 134.7 propid 2015A-0801 seeing 1.48 MJD 57400.261 object 60871 ksb_160212_040453_ooi_r_ls9.fits.fz ksb_160212_040453_ooi_r_ls9-CCD2 r exptime 96.7 propid 2015A-0801 seeing 1.28 MJD 57430.170 object 60871 ksb_160207_041247_ooi_r_ls9.fits.fz ksb_160207_041247_ooi_r_ls9-CCD1 r exptime 330.9 propid 2015A-0801 seeing 1.97 MJD 57425.176 object 60873 ksb_180316_030005_ooi_g_ls9.fits.fz ksb_180316_030005_ooi_g_ls9-CCD1 g exptime 121.32 propid BASS seeing 1.86 MJD 58193.125 object 60873 ksb_160203_042028_ooi_r_ls9.fits.fz ksb_160203_042028_ooi_r_ls9-CCD4 r exptime 154.5 propid 2015A-0801 seeing 1.93 MJD 57421.181 object 60872 mosaic get_fwhm: self.fwhm = 3.67 Found 4 relevant rows in amp-corrections file. Found overlap: image x 761 1071 and amp range 0 2047 and image y 2132 2442 and amp range 2040 4078 Range in image: x 0 311 , y 0 311 (with image size 311 x 311) dzp 0.003927584 -> scaling image by 1.0036239891963392 mosaic get_fwhm: self.fwhm = 5.13 Found 4 relevant rows in amp-corrections file. Found overlap: image x 737 1046 and amp range 0 2047 and image y 2136 2446 and amp range 2040 4078 Range in image: x 0 310 , y 0 311 (with image size 310 x 311) dzp 0.008550294 -> scaling image by 1.0079062018164673 mosaic get_fwhm: self.fwhm = 4.01 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3486 3803 and amp range 2048 4095 and image y 2582 2895 and amp range 2040 4078 Range in image: x 0 318 , y 0 314 (with image size 318 x 314) dzp -0.032976374 -> scaling image by 0.9700842429001929 mosaic get_fwhm: self.fwhm = 3.31 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3484 3801 and amp range 2048 4095 and image y 2587 2900 and amp range 2040 4078 Range in image: x 0 318 , y 0 314 (with image size 318 x 314) dzp -0.032976374 -> scaling image by 0.9700842429001929 Faked up EXPNUM 74010089 Faked up EXPNUM 74010089 Faked up EXPNUM 74010089 90prime get_fwhm: self.fwhm = 3.13 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1932 2111 and amp range 0 2015 and image y 746 924 and amp range 0 2047 Range in image: x 0 84 , y 0 179 (with image size 180 x 179) dzp 0.009539392 -> scaling image by 1.0088248156909383 Found overlap: image x 1932 2111 and amp range 2016 4031 and image y 746 924 and amp range 0 2047 Range in image: x 84 180 , y 0 179 (with image size 180 x 179) dzp 0.010226944 -> scaling image by 1.0094638657706572 mosaic get_fwhm: self.fwhm = 4.29 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2334 2642 and amp range 2006 4053 and image y 3520 3828 and amp range 2040 4078 Range in image: x 0 309 , y 0 309 (with image size 309 x 309) dzp -0.006092005 -> scaling image by 0.9944047680378836 Faked up EXPNUM 74220067 Faked up EXPNUM 74220067 Faked up EXPNUM 74220067 90prime get_fwhm: self.fwhm = 3.33 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1971 2150 and amp range 0 2015 and image y 761 939 and amp range 0 2047 Range in image: x 0 45 , y 0 179 (with image size 180 x 179) dzp 0.009781551 -> scaling image by 1.0090498455107675 Found overlap: image x 1971 2150 and amp range 2016 4031 and image y 761 939 and amp range 0 2047 Range in image: x 45 180 , y 0 179 (with image size 180 x 179) dzp 0.0047082007 -> scaling image by 1.0043458289369953 Faked up EXPNUM 74000133 Faked up EXPNUM 74000133 Faked up EXPNUM 74000133 90prime get_fwhm: self.fwhm = 3.27 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 99 and amp range 0 2015 and image y 3211 3388 and amp range 2048 4095 Range in image: x 0 85 , y 0 178 (with image size 85 x 178) dzp 0.01693853 -> scaling image by 1.015723292931903 Faked up EXPNUM 74300069 Faked up EXPNUM 74300069 Faked up EXPNUM 74300069 90prime get_fwhm: self.fwhm = 2.83 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 94 and amp range 0 2015 and image y 3201 3379 and amp range 2048 4095 Range in image: x 0 80 , y 0 179 (with image size 80 x 179) dzp 0.016961161 -> scaling image by 1.0157444649385616 Faked up EXPNUM 74250050 Faked up EXPNUM 74250050 Faked up EXPNUM 74250050 90prime get_fwhm: self.fwhm = 4.35 WARNING: image median 0.016842049 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 2178 2358 and amp range 2016 4031 and image y 1303 1482 and amp range 0 2047 Range in image: x 0 181 , y 0 180 (with image size 181 x 180) dzp -0.0041296566 -> scaling image by 0.9962036700684744 Faked up EXPNUM 81930054 Faked up EXPNUM 81930054 Faked up EXPNUM 81930054 90prime get_fwhm: self.fwhm = 4.11 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2107 2288 and amp range 2016 4031 and image y 1214 1394 and amp range 0 2047 Range in image: x 0 182 , y 0 181 (with image size 182 x 181) dzp -0.019046262 -> scaling image by 0.9826107140833663 Faked up EXPNUM 74210052 Faked up EXPNUM 74210052 Faked up EXPNUM 74210052 90prime get_fwhm: self.fwhm = 4.25 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2051 2229 and amp range 2016 4031 and image y 829 1007 and amp range 0 2047 Range in image: x 0 179 , y 0 179 (with image size 179 x 179) dzp 0.0047082007 -> scaling image by 1.0043458289369953 Stage tims : Wall: 8.15 s, CPU: 1.00 s, VmPeak: 942 MB, VmSize: 942 MB, VmRSS: 175 MB, VmData: 208 MB, maxrss: 0.56824 MB Stage tims finished: 2020-06-07T18:13:27.510217 Resources for stage tims : 4.055 s worker CPU, 19.591 s worker Wall, Wall: 8.150 s, Cores in use: 0.62, Total efficiency (on 4 cores): 15.5 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T18:13:27.539340 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02534.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02533.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02662.fits Matched 7 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/reference-custom-107063p34987.fits Stage refs : Wall: 5.09 s, CPU: 4.69 s, VmPeak: 1004 MB, VmSize: 997 MB, VmRSS: 233 MB, VmData: 264 MB, maxrss: 0.56824 MB Stage refs finished: 2020-06-07T18:13:32.628592 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 5.090 s, Cores in use: 0.92, Total efficiency (on 4 cores): 23.0 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T18:13:32.630024 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outlier-mask-custom-107063p34987.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outliers-pre-custom-107063p34987.jpg Image ksb_160114_070657_ooi_g_ls9-CCD4 g : masking 156 positive outlier pixels and 0 negative outlier pixels Image ksb_180316_030005_ooi_g_ls9-CCD1 g : masking 150 positive outlier pixels and 0 negative outlier pixels Image ksb_160207_041247_ooi_r_ls9-CCD1 r : masking 623 positive outlier pixels and 0 negative outlier pixels Image k4m_180204_033601_ooi_zd_ls9-CCD2 z : masking 364 positive outlier pixels and 0 negative outlier pixels Image k4m_160204_050309_ooi_zd_ls9-CCD2 z : masking 1532 positive outlier pixels and 0 negative outlier pixels Image k4m_170316_040230_ooi_zd_ls9-CCD2 z : masking 219 positive outlier pixels and 0 negative outlier pixels Image k4m_160205_044421_ooi_zd_ls9-CCD1 z : masking 540 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outlier-mask-custom-107063p34987.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outliers-post-custom-107063p34987.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outliers-masked-pos-custom-107063p34987.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/outliers-masked-neg-custom-107063p34987.jpg Stage outliers : Wall: 1.31 s, CPU: 0.78 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 253 MB, VmData: 281 MB, maxrss: 0.56824 MB Stage outliers finished: 2020-06-07T18:13:33.943241 Resources for stage outliers : 1.713 s worker CPU, 1.785 s worker Wall, Wall: 1.314 s, Cores in use: 1.90, Total efficiency (on 4 cores): 47.4 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T18:13:33.944907 Stage halos : Wall: 0.19 s, CPU: 0.18 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 253 MB, VmData: 281 MB, maxrss: 0.56824 MB Stage halos finished: 2020-06-07T18:13:34.130789 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 Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.000 s worker CPU, 0.001 s worker Wall, Wall: 0.187 s, Cores in use: 0.95, Total efficiency (on 4 cores): 23.6 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T18:13:34.132525 PSF sigmas in coadd pixels: ['2.31', '2.41', '3.03'] Using average PSF sigma 2.579509493600405 Gaussian PSF norm 0.10935985793955673 vs pixelized 0.09132218 average tim pixel scale / coadd scale: 1.7303318711253637 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.45', '2.08', '3.20', '3.13'] Using average PSF sigma 2.7166295702628687 Gaussian PSF norm 0.10383999160643087 vs pixelized 0.08835871 average tim pixel scale / coadd scale: 1.7301272389830893 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.55', '2.16', '1.69', '1.40', '1.81'] Using average PSF sigma 1.7211052949766412 Gaussian PSF norm 0.16390327343552025 vs pixelized 0.12890606 average tim pixel scale / coadd scale: 0.9908332317918255 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.31 s, CPU: 0.28 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 254 MB, VmData: 281 MB, maxrss: 0.56824 MB Stage fit_on_coadds finished: 2020-06-07T18:13:34.441550 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage fit_on_coadds : 0.377 s worker CPU, 0.383 s worker Wall, Wall: 0.310 s, Cores in use: 2.13, Total efficiency (on 4 cores): 53.2 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T18:13:34.444508 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 53 potential peaks Of 53 potential peaks: 13 in veto map, 5 cut by saddle test, 0 cut by aper test, 35 kept SED z : 35 new peaks Found 143 potential peaks Of 143 potential peaks: 132 in veto map, 8 cut by saddle test, 1 cut by aper test, 2 kept SED r : 2 new peaks Found 85 potential peaks Of 85 potential peaks: 74 in veto map, 10 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 190 potential peaks Of 190 potential peaks: 177 in veto map, 10 cut by saddle test, 0 cut by aper test, 3 kept SED Flat : 3 new peaks Found 108 potential peaks Of 108 potential peaks: 98 in veto map, 10 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 41 new sources Median coadd sky for g : 0.00050719205 Median coadd sky for r : 0.001565361 Median coadd sky for z : -0.000252942 Stage srcs : Wall: 0.82 s, CPU: 0.76 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 255 MB, VmData: 281 MB, maxrss: 0.56824 MB Stage srcs finished: 2020-06-07T18:13:35.261923 Resources for stage srcs : 0.176 s worker CPU, 0.183 s worker Wall, Wall: 0.818 s, Cores in use: 1.14, Total efficiency (on 4 cores): 28.5 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/PGC020221-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T18:13:35.278782 Blob 1 of 7, id: 0, sources: 44, size: 307x307, npix 64315, brick X: 0,307, Y: 0,307, one pixel: 12 0 Blob 2 of 7, id: 2, sources: 2, size: 53x51, npix 1951, brick X: 229,282, Y: 0,51, one pixel: 253 0 Blob 3 of 7, id: 6, sources: 2, size: 46x31, npix 861, brick X: 253,299, Y: 265,296, one pixel: 266 265 Blob 4 of 7, id: 4, sources: 1, size: 32x34, npix 802, brick X: 275,307, Y: 63,97, one pixel: 295 63 Blob 5 of 7, id: 3, sources: 1, size: 28x26, npix 490, brick X: 106,134, Y: 21,47, one pixel: 118 21 Blob 4 finished, total: Wall: 1.10 s, CPU: 1.09 s, VmPeak: 809 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.1431 MB Blob 3 finished, total: Wall: 1.09 s, CPU: 1.02 s, VmPeak: 811 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 179 MB, maxrss: 0.141544 MB Blob 6 of 7, id: 5, sources: 2, size: 16x29, npix 355, brick X: 291,307, Y: 227,256, one pixel: 301 227 Blob 7 of 7, id: 1, sources: 1, size: 19x16, npix 176, brick X: 190,209, Y: 0,16, one pixel: 197 0 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (107.04897, 34.99347), pm (-1.7, -1.4), parallax 0.287 with NanoMaggies: g=20.8, r=18.8, z=18.4 Reset brightness to NanoMaggies: g=20.6, r=19.2, z=18.4 Blob 6 finished, total: Wall: 0.13 s, CPU: 0.13 s, VmPeak: 811 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 179 MB, maxrss: 0.141544 MB Error getting update direction Error getting update direction Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (107.05890, 34.97269), pm (0.9, 1.3), parallax 0.744 with NanoMaggies: g=15.7, r=15.3, z=15.2 Reset brightness to NanoMaggies: g=15.7, r=15.3, z=15.2 Blob 7 finished, total: Wall: 0.04 s, CPU: 0.04 s, VmPeak: 811 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 179 MB, maxrss: 0.141544 MB Blob 5 finished, total: Wall: 0.72 s, CPU: 0.72 s, VmPeak: 809 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.1431 MB Blob 2 finished, total: Wall: 2.58 s, CPU: 2.58 s, VmPeak: 813 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.142912 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (107.08097, 34.98617), pm (-4.8, -7.5), parallax 1.487 with NanoMaggies: g=11.8, r=11.6, z=11.6 Reset brightness to NanoMaggies: g=11.8, r=11.6, z=11.6 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (107.08248, 34.99011), pm (-0.4, -1.1), parallax 0.641 with NanoMaggies: g=14, r=13.3, z=13 Reset brightness to NanoMaggies: g=14, r=13.3, z=13 Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.38747, ee1=0.374022, ee2=0.23163 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (107.07682, 34.98683), pm (-2.0, -4.6), parallax 0.790 with NanoMaggies: g=20.1, r=18.8, z=17.8 Reset brightness to NanoMaggies: g=20.2, r=18.8, z=17.8 Measuring 4 iterative sources Blob 1 finished, total: Wall: 27.64 s, CPU: 27.62 s, VmPeak: 809 MB, VmSize: 759 MB, VmRSS: 195 MB, VmData: 224 MB, maxrss: 0.2001 MB Old catalog: 58 New catalog: 46 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/blobs-custom-107063p34987.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/metrics/cus/all-models-custom-107063p34987.fits Stage fitblobs : Wall: 28.24 s, CPU: 0.43 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 258 MB, VmData: 284 MB, maxrss: 0.56824 MB Stage fitblobs finished: 2020-06-07T18:14:03.518504 Resources for stage fitblobs : 33.338 s worker CPU, 33.579 s worker Wall, Wall: 28.243 s, Cores in use: 1.20, Total efficiency (on 4 cores): 29.9 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T18:14:03.522807 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-resid.jpg Stage coadds : Wall: 1.70 s, CPU: 0.69 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 258 MB, VmData: 284 MB, maxrss: 0.56824 MB Stage coadds finished: 2020-06-07T18:14:05.227371 Resources for stage coadds : 2.831 s worker CPU, 3.091 s worker Wall, Wall: 1.706 s, Cores in use: 2.07, Total efficiency (on 4 cores): 51.7 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T18:14:05.229182 Cut to 1 unWISE tiles Reading WISE tile 1078p348 band 1 Reading WISE tile 1078p348 band 2 Reading WISE tile 1078p348 band 3 Reading WISE tile 1078p348 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.13 s, CPU: 0.13 s, VmPeak: 813 MB, VmSize: 796 MB, VmRSS: 151 MB, VmData: 177 MB, maxrss: 0.19166 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w3-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: 811 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.212464 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-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: 809 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.21244 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/107/1078p348/unwise-1078p348-w1-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: 809 MB, VmSize: 808 MB, VmRSS: 168 MB, VmData: 189 MB, maxrss: 0.226248 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/tmp-legacysurvey-custom-107063p34987-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.56 s, CPU: 0.56 s, VmPeak: 1007 MB, VmSize: 1007 MB, VmRSS: 259 MB, VmData: 284 MB, maxrss: 0.56824 MB Stage wise_forced finished: 2020-06-07T18:14:07.785590 Resources for stage wise_forced : 4.845 s worker CPU, 6.326 s worker Wall, Wall: 2.558 s, Cores in use: 2.12, Total efficiency (on 4 cores): 52.9 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T18:14:07.787599 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/coadd/cus/custom-107063p34987/legacysurvey-custom-107063p34987-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/tractor-i/cus/tractor-custom-107063p34987.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/107/PGC020221/tractor/cus/tractor-custom-107063p34987.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/107/PGC020221/tractor/cus/brick-custom-107063p34987.sha256sum Stage writecat : Wall: 0.92 s, CPU: 0.57 s, VmPeak: 1139 MB, VmSize: 1011 MB, VmRSS: 261 MB, VmData: 284 MB, maxrss: 0.56824 MB Stage writecat finished: 2020-06-07T18:14:08.707587 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 0.921 s, Cores in use: 0.62, Total efficiency (on 4 cores): 15.4 % Stage writecat finished All done: 47.338 s worker CPU, 64.939 s worker Wall, Wall: 49.351 s, Cores in use: 1.16, Total efficiency (on 4 cores): 29.0 % Finished galaxy PGC020221 in 0.863 minutes.