/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 231 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 = 7734 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin734 RA = 310.136, Dec = -17.0901 tmin = 429580801, tmax = 429840001 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='108796', job_status='RUN', time_executed='2021-09-25 15:54:00.579913', time_epoch_executed='1632610440.58' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='734' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/108796 Creating custom pfile directory: /scratch/kocevski/108796/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=429580801.0 && nMetStart<429840001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=429580801.0 && nMetStart<429840001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/108796/ft1_4FGL_J2040.5-1705_daily_bin734.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=429580801.0 && nMetStart<429840001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/108796/ft1_4FGL_J2040.5-1705_daily_bin734.fits outfile=/scratch/kocevski/108796/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin734.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.32 user 6.02 sys 0.26 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.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/108796/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.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.54 user 0.32 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/108796/ltcube_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.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/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits .....................! real 14.70 user 14.27 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/108796/ltcube_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits outfile=/scratch/kocevski/108796/expmap_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.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/108796/ltcube_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits .....................! real 191.83 user 185.53 sys 5.79 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 Added 181 point sources and 0 extended sources Setting source of interest to: 4FGL J2040.5-1705 @ 310.136 -17.0901 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits outfile=/scratch/kocevski/108796/cmap_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.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=310.136 yref=-17.0901 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.57 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits outfile=/scratch/kocevski/108796/cmap_HighResolution_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.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=310.136 yref=-17.0901 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.58 user 0.38 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108796/Model_4FGL_J2040.5-1705_daily_bin734.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 Working on... /scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits.....................! real 71.25 user 68.97 sys 1.38 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits', '/scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits', expMap='/scratch/kocevski/108796/expmap_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits', expCube='/scratch/kocevski/108796/ltcube_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/108796/Model_4FGL_J2040.5-1705_daily_bin734.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2040.5-1705' 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.223e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/108796/ft1_filtered_4FGL_J2040.5-1705_daily_bin734.fits Spacecraft file(s): /scratch/kocevski/108796/ft2_4FGL_J2040.5-1705_daily_bin734.fits Exposure map: /scratch/kocevski/108796/expmap_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits Exposure cube: /scratch/kocevski/108796/ltcube_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/108796/Model_4FGL_J2040.5-1705_daily_bin734.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) = 7261.50287113 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7261.49328272 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 57.824 1.0000 .10000E-03 10000. 2 'Prefactor ' 15.551 1.0000 .10000E-03 10000. 3 'Prefactor ' .37222E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10091E-03 1.0000 .10000E-03 10000. 5 'norm ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' 8.4751 1.0000 .10000E-03 10000. 7 'Prefactor ' 40.178 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 13.061 1.0000 .10000E-03 10000. 10 'norm ' .10011E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.1793 1.0000 .10000E-03 10000. 12 'Prefactor ' 11.727 1.0000 .10000E-03 10000. 13 'norm ' .10244E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 51.081 1.0000 .10000E-03 10000. 16 'norm ' .10168E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 29.408 1.0000 .10000E-03 10000. 18 'Prefactor ' 20.434 1.0000 .10000E-03 10000. 19 'Prefactor ' .10056E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 1.1131 1.0000 .10000E-03 10000. 21 'Normalizat' .52025 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.1749 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7261.493 FROM MIGRAD STATUS=CONVERGED 465 CALLS 2373 TOTAL EDM= .91E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 57.786 37.426 -.97487E-07 -.18797E-03 2 Prefactor 15.560 28.530 .13748E-05 .78143E-04 3 Prefactor .10017E-03 .83520 .35137E-06** at limit ** 4 Prefactor .10000E-03 10.974 -.62862E-06** at limit ** 5 norm .10000E-03 3.1390 .23890E-08** at limit ** 6 norm 8.4727 8.4191 .90245E-06 .13347E-03 7 Prefactor 40.186 57.280 .59845E-06 .33125E-04 8 norm .10000E-03 5.0615 -.56164E-08** at limit ** 9 norm 13.064 14.144 -.66932E-07 .40030E-04 10 norm .10000E-03 .51018 .87879E-07** at limit ** 11 Prefactor 4.1848 13.425 .18168E-06 .43473E-04 12 Prefactor 11.731 10.312 .10273E-05 .16970E-03 13 norm .10000E-03 3.2117 -.93168E-06** at limit ** 14 Prefactor .10000E-03 2.3371 -.17356E-07** at limit ** 15 Prefactor 51.068 81.369 -.16640E-05 -.18030E-04 16 norm .10000E-03 13.712 .83313E-06** at limit ** 17 Prefactor 29.414 21.468 .87040E-07 .96800E-04 18 Prefactor 20.438 10.758 -.42059E-07 .28196E-04 19 Prefactor .10000E-03 21.151 -.60191E-06** at limit ** 20 Prefactor 1.1096 68.482 .34658E-05 .10914E-04 21 Normalizat .52029 .32018 -.38165E-05 .65001E-04 22 Prefactor 1.1748 .12558 .19944E-05 .32862E-03 ERR DEF= .500 Final values: Prefactor = 57.7865 Prefactor = 15.5598 Prefactor = 0.000100166 Prefactor = 0.0001 norm = 0.0001 norm = 8.47273 Prefactor = 40.1857 norm = 0.0001 norm = 13.0636 norm = 0.0001 Prefactor = 4.18477 Prefactor = 11.7305 norm = 0.000100005 Prefactor = 0.0001 Prefactor = 51.0678 norm = 0.0001 Prefactor = 29.4138 Prefactor = 20.4375 Prefactor = 0.0001 Prefactor = 1.10956 Normalizat = 0.520294 Prefactor = 1.17477 ********** ** 18 **HESSE ********** FCN= 7261.493 FROM HESSE STATUS=OK 342 CALLS 2715 TOTAL EDM= .18E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 57.786 37.579 .52757E-04 -1.4186 2 Prefactor 15.560 28.688 .10157E-03 -1.4919 3 Prefactor .10017E-03 9.4946 .14032E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 11.083 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 3.1422 .14744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 8.4727 8.4532 .13770E-03 -1.5126 7 Prefactor 40.186 57.327 .63237E-04 -1.4439 8 norm .10000E-03 5.0709 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 13.064 14.145 .11083E-03 -1.4985 10 norm .10000E-03 .52043 .11808E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.1848 13.295 .19714E-03 -1.5299 12 Prefactor 11.731 10.262 .58491E-03 -1.5023 13 norm .10000E-03 11.525 .28732E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 2.3648 .12714E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 51.068 81.245 .56113E-04 -1.4278 16 norm .10000E-03 13.743 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 29.414 21.426 .73880E-04 -1.4623 18 Prefactor 20.438 10.723 .88604E-04 -1.4803 19 Prefactor .10000E-03 21.198 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 1.1096 68.976 .44699E-02 -1.5497 21 Normalizat .52029 .32393 .54890E-03 -1.1148 22 Prefactor 1.1748 .13172 .15405E-03 -.87111 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.79804e-08 Minuit parameter uncertainties: 1 37.5943 2 28.7134 3 0.00251434 4 0.000115243 5 3.70224e-06 6 8.45441 7 57.4061 8 5.64417e-06 9 14.1482 10 9.84904e-07 11 13.3044 12 10.2639 13 0.000465035 14 3.70351e-06 15 81.4215 16 8.18694e-05 17 21.4319 18 10.7236 19 8.91259e-05 20 17.517 21 0.325115 22 0.131756 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7261.49326436 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.000e-04 3.704e-06 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.175e+00 1.318e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 5.203e-01 3.251e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/108796/likelihoodResults_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.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): 102 logL (Free Index) = 7261.49527805 delta logL = -0.00201369189563 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7261.49326452 delta logL = -1.59992850968e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10047E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5327 1.0000 .0000 10.000 3 'Normalizat' .52018 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1748 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+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= 7261.493 FROM MIGRAD STATUS=FAILED 87 CALLS 238 TOTAL EDM= .88E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10087E-03 118.88 .12753E-02** at limit ** 2 Index 2.4514 5.4732 .50000 .20853E-04 3 Normalizat .52030 .47893E-01 .54891E-03 .66690E-05 4 Prefactor 1.1748 .19752E-01 .15405E-03 .35939E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7261.493 FROM SIMPLEX STATUS=UNCHANGED 135 CALLS 373 TOTAL EDM= .95E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10087E-03 118.88 .22327E-03** at limit ** 2 Index 2.4514 5.4732 .29529E-03 .20853E-04 3 Normalizat .52030 .47893E-01 .10093E-04 .66690E-05 4 Prefactor 1.1748 .19752E-01 .24119E-05 .35939E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7261.493 FROM MIGRAD STATUS=CONVERGED 39 CALLS 412 TOTAL EDM= .58E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 515.67 .25506E-03** at limit ** 2 Index 2.2967 6.8572 .50000 .32098E-06 3 Normalizat .52030 .16231 .21957E-04 -.12116E-04 4 Prefactor 1.1748 .66813E-01 .61621E-05 -.25460E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.29674 Normalizat = 0.520295 Prefactor = 1.17476 ********** ** 18 **HESSE ********** FCN= 7261.493 FROM HESSE STATUS=OK 29 CALLS 441 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 2.6754 .51012E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2967 5.5081 .50000 -.57121 3 Normalizat .52030 .30051 .43913E-05 -1.1148 4 Prefactor 1.1748 .12428 .12324E-05 -.87111 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.32005e-10 Minuit parameter uncertainties: 1 5.07732e-05 2 112.997 3 0.30145 4 0.124307 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/108796': 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) = 7261.49326343 delta logL = 9.30833266466e-07 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.000e-04 5.077e-05 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.297e+00 1.130e+02 0.000e+00 1.000e+01 (-1.000e+00) 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.175e+00 1.243e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 5.203e-01 3.015e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 310.136 -17.090 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/108796/cmap_HighResolution_429580801_429840001_4FGL_J2040.5-1705_daily_bin734.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/108796 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-25 16:06:19.888332', job_id='108796', GAL2='1.17', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1632611179.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='9.31e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='734' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:06:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 108796: <4FGL_J2040.5-1705_daily_bin734> in cluster Done Job <4FGL_J2040.5-1705_daily_bin734> was submitted from host by user in cluster at Sat Sep 25 15:45:40 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 15:50:00 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 15:50:00 2021 Terminated at Sat Sep 25 16:06:20 2021 Results reported at Sat Sep 25 16:06:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin734 310.136 -17.0901 429580801 429840001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2040.5-1705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 737.00 sec. Max Memory : 617 MB Average Memory : 247.19 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 980 sec. Turnaround time : 1240 sec. The output (if any) is above this job summary.