/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 151 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 72959 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0509.4+1012_monthly_bin12 RA = 77.351, Dec = 10.2008 tmin = 268099201, tmax = 270691201 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='286027', job_status='RUN', time_executed='2021-10-14 02:27:56.096518', time_epoch_executed='1634203676.1' WHERE source_name='4FGL J0509.4+1012' and cadence='monthly' and bin_id='12' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/286027 Creating custom pfile directory: /scratch/kocevski/286027/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=268099201.0 && nMetStart<270691201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=268099201.0 && nMetStart<270691201.0' /Data/Flight/Level1/LPA Retrieving 453 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/286027/ft1_4FGL_J0509.4+1012_monthly_bin12.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=268099201.0 && nMetStart<270691201.0' /Data/Flight/Level1/LPA Retrieving 453 files... Done. Merging files... Merged file saved to: /scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/286027/ft1_4FGL_J0509.4+1012_monthly_bin12.fits outfile=/scratch/kocevski/286027/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin12.fits ra=77.351 dec=10.2008 rad=12.0 tmin=268099201.0 tmax=270691201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 13.38 user 12.94 sys 0.39 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/286027/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin12.fits evtable="EVENTS" outfile="/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.83 user 0.64 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits" evtable="EVENTS" scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits sctable="SC_DATA" outfile=/scratch/kocevski/286027/ltcube_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits .....................! real 119.25 user 118.25 sys 0.65 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits sctable="SC_DATA" expcube=/scratch/kocevski/286027/ltcube_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits outfile=/scratch/kocevski/286027/expmap_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/286027/ltcube_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits .....................! real 192.48 user 186.76 sys 5.26 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Added 159 point sources and 3 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits outfile=/scratch/kocevski/286027/cmap_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=77.351 yref=10.2008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.78 user 0.60 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits outfile=/scratch/kocevski/286027/cmap_HighResolution_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=77.351 yref=10.2008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.79 user 0.62 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/286027/Model_4FGL_J0509.4+1012_monthly_bin12.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source IC 443 adding source Rosette adding source S 147 Working on... /scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits.....................! real 3474.53 user 3461.17 sys 2.90 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits', '/scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits', expMap='/scratch/kocevski/286027/expmap_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits', expCube='/scratch/kocevski/286027/ltcube_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/286027/Model_4FGL_J0509.4+1012_monthly_bin12.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/286027/ft1_filtered_4FGL_J0509.4+1012_monthly_bin12.fits Spacecraft file(s): /scratch/kocevski/286027/ft2_4FGL_J0509.4+1012_monthly_bin12.fits Exposure map: /scratch/kocevski/286027/expmap_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits Exposure cube: /scratch/kocevski/286027/ltcube_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/286027/Model_4FGL_J0509.4+1012_monthly_bin12.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 157687.409378 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 157687.333164 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.117 1.0000 .10000E-03 10000. 2 'Prefactor ' 7.5205 1.0000 .10000E-03 10000. 3 'norm ' 1.2527 1.0000 .10000E-03 10000. 4 'Prefactor ' .15574E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 6 'norm ' 2.2247 1.0000 .10000E-03 10000. 7 'Prefactor ' 4.0106 1.0000 .10000E-03 10000. 8 'Prefactor ' 10.280 1.0000 .10000E-03 10000. 9 'Prefactor ' .15688E-03 1.0000 .10000E-03 10000. 10 'norm ' .10016E-03 1.0000 .10000E-03 10000. 11 'norm ' 6.1012 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.4714 1.0000 .10000E-03 10000. 13 'norm ' 1.1328 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.2939 1.0000 .10000E-03 10000. 15 'Prefactor ' .15357E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .14959E-02 1.0000 .10000E-03 10000. 17 'norm ' 4.5392 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 3.5974 1.0000 .10000E-03 10000. 20 'norm ' 1.0484 1.0000 .10000E-03 10000. 21 'Prefactor ' 3.1692 1.0000 .10000E-03 10000. 22 'Prefactor ' .10201E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 3.6056 1.0000 .10000E-03 10000. 24 'Prefactor ' .15304E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0495 1.0000 .10000E-01 10.000 26 'Prefactor ' .99422 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 157687.3 FROM MIGRAD STATUS=CONVERGED 637 CALLS 2758 TOTAL EDM= .36E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.104 7.4378 .22629E-05 -.23561E-03 2 Prefactor 7.5235 3.8056 -.60660E-07 -.24655E-04 3 norm 1.2527 .73642 -.34031E-06 -.19686E-02 4 Prefactor .10000E-03 3.2057 .84870E-06** at limit ** 5 Prefactor .10000E-03 .69026 -.48699E-08** at limit ** 6 norm 2.2247 .61719 -.62272E-08 -.56095E-03 7 Prefactor 4.0213 5.5369 .74998E-06 -.14037E-04 8 Prefactor 10.302 6.6385 -.39143E-05 -.97364E-04 9 Prefactor .10000E-03 .28907 -.18567E-07** at limit ** 10 norm .10000E-03 .26745E-01 .13251E-06** at limit ** 11 norm 6.1003 1.0969 .13295E-06 -.49517E-02 12 Prefactor 1.4716 .89446 .53687E-07 -.73327E-03 13 norm 1.1327 .95608 -.16599E-07 -.67443E-03 14 Prefactor 2.2946 .99013 -.91299E-09 -.19982E-03 15 Prefactor .10000E-03 4.2614 -.11437E-05** at limit ** 16 Prefactor .10007E-03 .81850 -.23019E-06** at limit ** 17 norm 4.5392 .76586 -.11232E-08 -.74875E-04 18 Prefactor .10000E-03 .57028 -.17923E-08** at limit ** 19 norm 3.5943 .89349 -.34694E-07 -.43239E-02 20 norm 1.0482 .30038 -.59224E-08 -.72992E-03 21 Prefactor 3.1874 4.0839 .12693E-06 -.72406E-03 22 Prefactor .10000E-03 2.3410 -.43012E-06** at limit ** 23 Prefactor 3.6088 5.0054 -.33675E-06 .43629E-05 24 Prefactor .10000E-03 .20324 .46055E-08** at limit ** 25 Normalizat 1.0494 .81914E-01 .48592E-06 -.35761E-03 26 Prefactor .99421 .17434E-01 -.41502E-07 -.32068E-03 ERR DEF= .500 Final values: Prefactor = 13.1037 Prefactor = 7.52348 norm = 1.25273 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.22466 Prefactor = 4.02129 Prefactor = 10.3019 Prefactor = 0.0001 norm = 0.0001 norm = 6.10027 Prefactor = 1.47158 norm = 1.13274 Prefactor = 2.29455 Prefactor = 0.0001 Prefactor = 0.000100069 norm = 4.5392 Prefactor = 0.0001 norm = 3.5943 norm = 1.04822 Prefactor = 3.18742 Prefactor = 0.0001 Prefactor = 3.60877 Prefactor = 0.0001 Normalizat = 1.04941 Prefactor = 0.994209 ********** ** 18 **HESSE ********** FCN= 157687.3 FROM HESSE STATUS=OK 482 CALLS 3240 TOTAL EDM= .29E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.104 7.3090 .11060E-03 -1.4984 2 Prefactor 7.5235 3.8053 .14624E-03 -1.5159 3 norm 1.2527 .71955 .22746E-03 -1.5484 4 Prefactor .10000E-03 3.2189 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 .71221 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.2247 .61439 .15581E-03 -1.5410 7 Prefactor 4.0213 5.5118 .20137E-03 -1.5307 8 Prefactor 10.302 6.6344 .12497E-03 -1.5066 9 Prefactor .10000E-03 1.1476 .41053E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10000E-03 .97857E-01 .11889E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 6.1003 1.1023 .81270E-03 -1.5214 12 Prefactor 1.4716 .89177 .27916E-03 -1.5465 13 norm 1.1327 .95545 .34893E-03 -1.5495 14 Prefactor 2.2946 .98896 .25160E-03 -1.5405 15 Prefactor .10000E-03 4.2958 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10007E-03 .92920 .15147 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 4.5392 .76621 .13885E-03 -1.5282 18 Prefactor .10000E-03 .59590 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 3.5943 1.5653 .10652E-02 -1.5329 20 norm 1.0482 .29143 .10922E-03 -1.5503 21 Prefactor 3.1874 4.3982 .11383E-02 -1.5351 22 Prefactor .10000E-03 2.3609 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.6088 4.9834 .21279E-03 -1.5328 24 Prefactor .10000E-03 1.8774 .34078E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0494 .84956E-01 .60138E-03 -.91393 26 Prefactor .99421 .18632E-01 .14084E-03 -.92923 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.88906e-09 Minuit parameter uncertainties: 1 7.30947 2 3.80546 3 0.719553 4 1.36865e-05 5 2.95021e-07 6 0.614388 7 5.51247 8 6.63488 9 2.8583e-07 10 4.85913e-06 11 1.10229 12 0.891782 13 0.955461 14 0.988965 15 1.80851e-05 16 0.000506645 17 0.766215 18 1.29342e-08 19 1.56535 20 0.291429 21 4.3986 22 2.78759e-06 23 4.98393 24 7.55159e-06 25 0.0849674 26 0.0186318 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 157687.333051 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.472e+00 8.918e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.942e-01 1.863e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.049e+00 8.497e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.35 Ra Dec: 77.351 10.201 Photon Index (Fixed Index): 2.41 +/- 0.00 Photon Flux (Fixed Index): 2.40e-08 +/- 1.46e-08 Energy Flux (Fixed Index): 7.79e-06 +/- 4.72e-06 TS (Fixed Index): 3.35 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 5.05e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.90e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/286027/likelihoodResults_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 157686.9275 delta logL = 0.405550968717 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 157686.924658 delta logL = 0.408393378515 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.1805 1.0000 .10000E-03 10000. 2 'Index ' 2.7580 1.0000 .0000 10.000 3 'Normalizat' 1.0390 1.0000 .10000E-01 10.000 4 'Prefactor ' .99527 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 157686.9 FROM MIGRAD STATUS=FAILED 104 CALLS 286 TOTAL EDM= .35E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1805 .96609 .21722E-03 -.82233E-03 2 Index 2.7580 .46938 .82584E-02 .17104E-02 3 Normalizat 1.0390 .79457E-01 .60403E-03 -.16985E-03 4 Prefactor .99527 .18011E-01 .14077E-03 -.56598E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 157686.9 FROM SIMPLEX STATUS=UNCHANGED 69 CALLS 355 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1805 .96609 .25124E-04 -1.5491 2 Index 2.7580 .46938 .34993E-03 -.46497 3 Normalizat 1.0390 .79457E-01 .11833E-03 -.91736 4 Prefactor .99527 .18011E-01 .28416E-04 -.92887 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 157686.9 FROM MIGRAD STATUS=CONVERGED 37 CALLS 392 TOTAL EDM= .34E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1805 .85785 .86887E-05 -.16748E-03 2 Index 2.7580 .41667 .16517E-02 .72686E-05 3 Normalizat 1.0390 .79444E-01 .24161E-04 -.30114E-05 4 Prefactor .99527 .18002E-01 .56307E-05 -.12922E-04 ERR DEF= .500 Final values: Prefactor = 1.18049 Index = 2.75801 Normalizat = 1.03897 Prefactor = 0.995271 ********** ** 18 **HESSE ********** FCN= 157686.9 FROM HESSE STATUS=OK 23 CALLS 415 TOTAL EDM= .23E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1805 .84232 .17377E-05 -1.5491 2 Index 2.7580 .40895 .66067E-04 -.46497 3 Normalizat 1.0390 .79440E-01 .48322E-05 -.91736 4 Prefactor .99527 .17995E-01 .11261E-05 -.92887 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.30522e-12 Minuit parameter uncertainties: 1 0.842329 2 0.409524 3 0.0794488 4 0.017995 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/286027': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 157686.924658 delta logL = 0.408393383375 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.180e+00 8.423e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.758e+00 4.095e-01 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.953e-01 1.799e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.039e+00 7.945e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.23 Ra Dec: 77.351 10.201 Photon Index (Free Index): 2.76 +/- 0.41 Photon Flux (Free Index): 3.40e-08 +/- 1.95e-08 Energy Flux (Free Index): 7.84e-06 +/- 4.21e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/286027/cmap_HighResolution_268099201_270691201_4FGL_J0509.4+1012_monthly_bin12.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/286027 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-03', comment='SUCCESS', photon_flux='2.40e-08', energy_flux2='7.84e-06', photon_flux_error='1.46e-08', dlogl='4.08e-01', energy_flux='7.79e-06', photon_flux2='3.40e-08', job_status='DONE', time_completed='2021-10-14 06:04:09.095315', photon_index_error2='0.41', photon_index2='2.76', ts='3.35', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='4.21e-06', EG='1.05', time_epoch_completed='1634216649.1', return_code='0', job_id='286027', GAL2='1.00', EG2='1.04', return_code2='0', energy_flux_error='4.72e-06', photon_flux_error2='1.95e-08', ts2='4.23', photon_index='2.41' WHERE bin_id='12' AND source_name='4FGL J0509.4+1012' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 06:04:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 286027: <4FGL_J0509.4+1012_monthly_bin12> in cluster Done Job <4FGL_J0509.4+1012_monthly_bin12> was submitted from host by user in cluster at Thu Oct 14 02:25:14 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 02:25:16 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 02:25:16 2021 Terminated at Thu Oct 14 06:04:09 2021 Results reported at Thu Oct 14 06:04:09 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_monthly_bin12 77.351 10.2008 268099201 270691201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+1012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 12905.40 sec. Max Memory : 1272 MB Average Memory : 534.61 MB Total Requested Memory : - Delta Memory : - Max Swap : 3415 MB Max Processes : 6 Max Threads : 21 Run time : 13133 sec. Turnaround time : 13135 sec. The output (if any) is above this job summary.