/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 7 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 = 7531 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1139.0+4033_daily_bin1108 RA = 174.764, Dec = 40.5617 tmin = 526521601, tmax = 526780801 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='989268', job_status='RUN', time_executed='2021-09-04 07:12:03.046719', time_epoch_executed='1630764723.05' WHERE source_name='4FGL J1139.0+4033' and cadence='daily' and bin_id='1108' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/989268 Creating custom pfile directory: /scratch/kocevski/989268/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=526521601.0 && nMetStart<526780801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=526521601.0 && nMetStart<526780801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/989268/ft1_4FGL_J1139.0+4033_daily_bin1108.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=526521601.0 && nMetStart<526780801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/989268/ft1_4FGL_J1139.0+4033_daily_bin1108.fits outfile=/scratch/kocevski/989268/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin1108.fits ra=174.764 dec=40.5617 rad=12.0 tmin=526521601.0 tmax=526780801.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 4.40 user 4.10 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.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/989268/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin1108.fits evtable="EVENTS" outfile="/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.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.49 user 0.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits" evtable="EVENTS" scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits sctable="SC_DATA" outfile=/scratch/kocevski/989268/ltcube_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.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/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits .....................! real 11.96 user 11.62 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits sctable="SC_DATA" expcube=/scratch/kocevski/989268/ltcube_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits outfile=/scratch/kocevski/989268/expmap_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.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/989268/ltcube_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits .....................! real 190.80 user 186.44 sys 3.95 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 219 point sources and 0 extended sources Setting source of interest to: 4FGL J1139.0+4033 @ 174.764 40.5617 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits outfile=/scratch/kocevski/989268/cmap_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.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=174.764 yref=40.5617 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.55 user 0.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits outfile=/scratch/kocevski/989268/cmap_HighResolution_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.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=174.764 yref=40.5617 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.54 user 0.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/989268/Model_4FGL_J1139.0+4033_daily_bin1108.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/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits.....................! real 59.74 user 58.37 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits', '/scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits', expMap='/scratch/kocevski/989268/expmap_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits', expCube='/scratch/kocevski/989268/ltcube_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/989268/Model_4FGL_J1139.0+4033_daily_bin1108.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1139.0+4033' 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 9.736e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/989268/ft1_filtered_4FGL_J1139.0+4033_daily_bin1108.fits Spacecraft file(s): /scratch/kocevski/989268/ft2_4FGL_J1139.0+4033_daily_bin1108.fits Exposure map: /scratch/kocevski/989268/expmap_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits Exposure cube: /scratch/kocevski/989268/ltcube_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/989268/Model_4FGL_J1139.0+4033_daily_bin1108.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) = 6824.8441288 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6824.64052704 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 89.349 1.0000 .10000E-03 10000. 3 'norm ' .81432 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.7620 1.0000 .10000E-03 10000. 5 'Prefactor ' 28.929 1.0000 .10000E-03 10000. 6 'Prefactor ' .10072E-03 1.0000 .10000E-03 10000. 7 'norm ' 20.278 1.0000 .10000E-03 10000. 8 'norm ' .10009E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.8633 1.0000 .10000E-03 10000. 10 'Prefactor ' 12.980 1.0000 .10000E-03 10000. 11 'Prefactor ' .11362E-03 1.0000 .10000E-03 10000. 12 'norm ' 5.6864 1.0000 .10000E-03 10000. 13 'Prefactor ' 8.8166 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.2026 1.0000 .10000E-03 10000. 15 'Prefactor ' 23.342 1.0000 .10000E-03 10000. 16 'norm ' 4.3341 1.0000 .10000E-03 10000. 17 'norm ' 10.002 1.0000 .10000E-03 10000. 18 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 3.8192 1.0000 .10000E-03 10000. 20 'Prefactor ' 39.095 1.0000 .10000E-03 10000. 21 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .40849E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.2247 1.0000 .10000E-01 10.000 25 'Prefactor ' .95846 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6824.641 FROM MIGRAD STATUS=CONVERGED 567 CALLS 2968 TOTAL EDM= .93E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 24.378 -.56852E-07** at limit ** 2 Prefactor 89.373 76.421 .69524E-06 .95391E-05 3 norm .81415 .30980 .93588E-08 -.28996E-04 4 Prefactor 1.7479 15.841 .22968E-05 .77016E-04 5 Prefactor 28.943 20.189 -.25493E-06 -.15915E-04 6 Prefactor .10000E-03 47.094 -.10293E-06** at limit ** 7 norm 20.278 15.488 -.28933E-07 -.15006E-04 8 norm .10000E-03 13.887 .17521E-07** at limit ** 9 Prefactor 2.8637 3.8750 .42355E-06 .19493E-03 10 Prefactor 12.976 51.256 -.19529E-05 -.15428E-05 11 Prefactor .10000E-03 80.847 -.32467E-06** at limit ** 12 norm 5.6862 3.9986 .22298E-06 .16118E-03 13 Prefactor 8.8067 12.308 .42621E-06 .59115E-04 14 Prefactor 3.2016 6.4671 .59756E-06 .11546E-03 15 Prefactor 23.431 61.030 .22014E-05 .29732E-04 16 norm 4.3329 1.9220 -.15210E-06 -.35134E-03 17 norm 10.002 9.5326 .23825E-07 .11213E-04 18 Prefactor .10000E-03 12.222 -.24050E-07** at limit ** 19 Prefactor 3.8193 2.5582 .32386E-07 -.14210E-04 20 Prefactor 39.106 50.632 .99008E-06 .18147E-04 21 Prefactor .10000E-03 13.418 -.17856E-06** at limit ** 22 Prefactor .10000E-03 173.75 -.43820E-05** at limit ** 23 Prefactor .10000E-03 7.6181 -.31598E-06** at limit ** 24 Normalizat 1.2248 .20853 -.39814E-05 .73002E-04 25 Prefactor .95841 .23555 .44614E-05 -.65634E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 89.3728 norm = 0.814152 Prefactor = 1.74794 Prefactor = 28.9431 Prefactor = 0.0001 norm = 20.2779 norm = 0.0001 Prefactor = 2.86365 Prefactor = 12.9764 Prefactor = 0.0001 norm = 5.68617 Prefactor = 8.80671 Prefactor = 3.20164 Prefactor = 23.4306 norm = 4.33292 norm = 10.002 Prefactor = 0.0001 Prefactor = 3.8193 Prefactor = 39.106 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 Normalizat = 1.22482 Prefactor = 0.95841 ********** ** 18 **HESSE ********** FCN= 6824.641 FROM HESSE STATUS=OK 431 CALLS 3399 TOTAL EDM= .21E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 24.400 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 89.373 76.452 .21254E-03 -1.3814 3 norm .81415 .31175 .25936E-04 -1.5528 4 Prefactor 1.7479 15.865 .31564E-03 -1.5444 5 Prefactor 28.943 20.308 .74489E-04 -1.4631 6 Prefactor .10000E-03 47.115 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 20.278 15.447 .88945E-04 -1.4807 8 norm .10000E-03 13.889 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.8637 3.8157 .14015E-03 -1.5370 10 Prefactor 12.976 51.147 .11118E-03 -1.4987 11 Prefactor .10000E-03 84.050 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 5.6862 3.9752 .11538E-03 -1.5231 13 Prefactor 8.8067 12.286 .13499E-03 -1.5114 14 Prefactor 3.2016 6.4083 .22640E-03 -1.5350 15 Prefactor 23.431 61.440 .82908E-04 -1.4739 16 norm 4.3329 1.9436 .59860E-04 -1.5292 17 norm 10.002 9.5328 .12670E-03 -1.5075 18 Prefactor .10000E-03 12.246 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 3.8193 2.5551 .10452E-03 -1.5317 20 Prefactor 39.106 50.736 .64105E-04 -1.4456 21 Prefactor .10000E-03 13.476 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 180.76 .42508E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 7.6857 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.2248 .21220 .24660E-03 -.85839 25 Prefactor .95841 .24197 .32480E-03 -.94129 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.07624e-10 Minuit parameter uncertainties: 1 1.22774e-06 2 76.536 3 0.311751 4 10.5354 5 20.3132 6 1.68234e-05 7 15.4501 8 1.02042e-05 9 3.81606 10 51.3205 11 0.000239161 12 3.97534 13 12.2893 14 6.40964 15 61.6063 16 1.94365 17 9.53428 18 3.44014e-06 19 2.55516 20 50.7921 21 1.24139e-05 22 0.000795558 23 1.19849e-05 24 0.212354 25 0.242241 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6824.64052302 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 2.343e+01 6.161e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 9.584e-01 2.422e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.225e+00 2.124e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.22 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/989268/likelihoodResults_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.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) = 6823.13947982 delta logL = 1.50104320458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6823.10338475 delta logL = 1.5371382734 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.2570 1.0000 .10000E-03 10000. 2 'Index ' 5.0109 1.0000 .0000 10.000 3 'Normalizat' 1.1277 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0326 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6823.103 FROM MIGRAD STATUS=CONVERGED 47 CALLS 269 TOTAL EDM= .30E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.2570 31.978 .56102E-02 .10046E-02 2 Index 5.0109 2.9286 .12615 .15529E-03 3 Normalizat 1.1277 .57075E-01 .57556E-01 .10423E-04 4 Prefactor 1.0326 .66824E-01 .70982E-01 .13236E-04 ERR DEF= .500 Final values: Prefactor = 3.25701 Index = 5.01087 Normalizat = 1.12774 Prefactor = 1.03257 ********** ** 18 **HESSE ********** FCN= 6823.103 FROM HESSE STATUS=NOT POSDEF 33 CALLS 302 TOTAL EDM= .31E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.2570 59.076 .85942E-04 -1.5347 2 Index 5.0109 7.1108 .47469E-02 .21739E-02 3 Normalizat 1.1277 .19035 .25453E-03 -.88866 4 Prefactor 1.0326 .22183 .31405E-03 -.91652 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.05863e-07 Minuit parameter uncertainties: 1 27.7741 2 5.01705 3 0.190461 4 0.22203 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/989268': 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): 102 logL (Free Index) = 6823.10338475 delta logL = 1.53713827635 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 3.257e+00 2.777e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 5.011e+00 5.017e+00 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 1.033e+00 2.220e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.128e+00 1.905e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.53 Ra Dec: 174.764 40.562 Photon Index (Free Index): 5.01 +/- 5.02 Photon Flux (Free Index): 1.19e-07 +/- 7.47e-08 Energy Flux (Free Index): 1.59e-05 +/- 1.32e-05 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/989268/cmap_HighResolution_526521601_526780801_4FGL_J1139.0+4033_daily_bin1108.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/989268 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='1.54e+00', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-09-04 07:26:44.406877', photon_index_error2='5.02', photon_index2='5.01', ts='0.22', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.32e-05', EG='1.22', time_epoch_completed='1630765604.41', return_code='0', job_id='989268', GAL2='1.03', EG2='1.13', return_code2='102', photon_flux_error2='7.47e-08', ts2='3.53', photon_index='2.72' WHERE bin_id='1108' AND source_name='4FGL J1139.0+4033' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 07:26:44 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 989268: <4FGL_J1139.0+4033_daily_bin1108> in cluster Done Job <4FGL_J1139.0+4033_daily_bin1108> was submitted from host by user in cluster at Sat Sep 4 07:11:24 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 07:11:26 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 07:11:26 2021 Terminated at Sat Sep 4 07:26:44 2021 Results reported at Sat Sep 4 07:26:44 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_daily_bin1108 174.764 40.5617 526521601 526780801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1139.0+4033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 876.22 sec. Max Memory : 731 MB Average Memory : 313.07 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 918 sec. Turnaround time : 920 sec. The output (if any) is above this job summary.