/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 172 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 = 7353 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin41 RA = 179.637, Dec = 48.4161 tmin = 249955201, tmax = 250214401 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='194958', job_status='RUN', time_executed='2021-09-04 17:29:19.788959', time_epoch_executed='1630801759.79' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='41' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/194958 Creating custom pfile directory: /scratch/kocevski/194958/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=249955201.0 && nMetStart<250214401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=249955201.0 && nMetStart<250214401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/194958/ft1_4FGL_J1158.5+4824_daily_bin41.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=249955201.0 && nMetStart<250214401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/194958/ft1_4FGL_J1158.5+4824_daily_bin41.fits outfile=/scratch/kocevski/194958/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin41.fits ra=179.637 dec=48.4161 rad=12.0 tmin=249955201.0 tmax=250214401.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 1.45 user 1.26 sys 0.16 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.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/194958/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin41.fits evtable="EVENTS" outfile="/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.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.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/194958/ltcube_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.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/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits .....................! real 12.41 user 12.06 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/194958/ltcube_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits outfile=/scratch/kocevski/194958/expmap_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.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/194958/ltcube_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits .....................! real 191.22 user 185.78 sys 4.88 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 213 point sources and 0 extended sources Setting source of interest to: 4FGL J1158.5+4824 @ 179.637 48.4161 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits outfile=/scratch/kocevski/194958/cmap_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.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=179.637 yref=48.4161 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.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits outfile=/scratch/kocevski/194958/cmap_HighResolution_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.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=179.637 yref=48.4161 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.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194958/Model_4FGL_J1158.5+4824_daily_bin41.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/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits.....................! real 46.17 user 44.83 sys 1.14 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits', '/scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits', expMap='/scratch/kocevski/194958/expmap_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits', expCube='/scratch/kocevski/194958/ltcube_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/194958/Model_4FGL_J1158.5+4824_daily_bin41.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1158.5+4824' 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 5.005e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/194958/ft1_filtered_4FGL_J1158.5+4824_daily_bin41.fits Spacecraft file(s): /scratch/kocevski/194958/ft2_4FGL_J1158.5+4824_daily_bin41.fits Exposure map: /scratch/kocevski/194958/expmap_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits Exposure cube: /scratch/kocevski/194958/ltcube_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/194958/Model_4FGL_J1158.5+4824_daily_bin41.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) = 5254.84097413 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5254.83836989 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10130E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .11057E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10448E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 28.880 1.0000 .10000E-03 10000. 5 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 6 'norm ' .10339E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 14.784 1.0000 .10000E-03 10000. 9 'norm ' .23590E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10854E-03 1.0000 .10000E-03 10000. 11 'norm ' .71800 1.0000 .10000E-03 10000. 12 'norm ' 20.628 1.0000 .10000E-03 10000. 13 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10669E-03 1.0000 .10000E-03 10000. 15 'norm ' 3.9688 1.0000 .10000E-03 10000. 16 'Prefactor ' 6.3476 1.0000 .10000E-03 10000. 17 'norm ' 1.8875 1.0000 .10000E-03 10000. 18 'norm ' .10009E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 5.2139 1.0000 .10000E-03 10000. 20 'Prefactor ' .16586 1.0000 .10000E-03 10000. 21 'Prefactor ' 2.4768 1.0000 .10000E-03 10000. 22 'norm ' .73306 1.0000 .10000E-03 10000. 23 'Prefactor ' 30.907 1.0000 .10000E-03 10000. 24 'Normalizat' .93120 1.0000 .10000E-01 10.000 25 'Prefactor ' .94206 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5254.838 FROM MIGRAD STATUS=CONVERGED 583 CALLS 2905 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 26.941 .15597E-04** at limit ** 2 Prefactor .10000E-03 106.54 -.79108E-05** at limit ** 3 Prefactor .10000E-03 44.992 .38841E-05** at limit ** 4 Prefactor 28.846 50.622 -.42511E-04 .74870E-05 5 Prefactor .10000E-03 31.319 -.93571E-05** at limit ** 6 norm .10000E-03 35.893 -.20779E-04** at limit ** 7 Prefactor .10000E-03 2.2905 .75563E-07** at limit ** 8 Prefactor 14.775 22.596 -.41414E-06 .48925E-05 9 norm .10000E-03 1.1550 -.17794E-06** at limit ** 10 Prefactor .10000E-03 19.626 -.55364E-05** at limit ** 11 norm .71782 .67168 -.65929E-07 -.59955E-04 12 norm 20.625 12.109 -.17878E-06 .29115E-04 13 Prefactor .10000E-03 2.3068 .29354E-06** at limit ** 14 Prefactor .10000E-03 17.377 .11971E-05** at limit ** 15 norm 3.9677 7.4133 -.76765E-06 -.27186E-03 16 Prefactor 6.3220 23.508 -.66454E-05 -.25404E-04 17 norm 1.8869 2.2454 -.50548E-06 -.64104E-03 18 norm .10000E-03 3.0423 -.24685E-06** at limit ** 19 Prefactor 5.2108 14.353 .18517E-06 -.34130E-04 20 Prefactor .85366E-01 3.4595 .10215E-05 -.11098E-02 21 Prefactor 2.4758 13.353 -.23041E-05 -.15814E-03 22 norm .73244 1.6885 -.79285E-06 -.14663E-02 23 Prefactor 30.914 40.228 .40198E-05 .51557E-05 24 Normalizat .93137 .16483 .35180E-05 -.88338E-04 25 Prefactor .94209 .19684 -.92236E-07 .16428E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 28.8461 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 14.7754 norm = 0.0001 Prefactor = 0.0001 norm = 0.717817 norm = 20.6252 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.9677 Prefactor = 6.32204 norm = 1.88686 norm = 0.0001 Prefactor = 5.21076 Prefactor = 0.085366 Prefactor = 2.47579 norm = 0.73244 Prefactor = 30.9141 Normalizat = 0.931366 Prefactor = 0.942094 ********** ** 18 **HESSE ********** FCN= 5254.838 FROM HESSE STATUS=OK 435 CALLS 3340 TOTAL EDM= .34E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 26.944 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 106.51 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 45.001 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 28.846 50.616 .74551E-04 -1.4633 5 Prefactor .10000E-03 31.309 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 35.885 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 2.2980 .10712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 14.775 22.588 .10417E-03 -1.4939 9 norm .10000E-03 6.4338 .15091E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 19.672 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .71782 .65812 .55233E-04 -1.5539 12 norm 20.625 12.101 .88187E-04 -1.4799 13 Prefactor .10000E-03 2.3641 .21385E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 17.382 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 3.9677 7.4079 .20247E-03 -1.5310 16 Prefactor 6.3220 23.471 .15931E-03 -1.5205 17 norm 1.8869 2.2356 .11168E-03 -1.5433 18 norm .10000E-03 3.0532 .12334E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 5.2108 14.330 .17604E-03 -1.5251 20 Prefactor .85366E-01 70.601 .26004E-02 -1.5650 21 Prefactor 2.4758 13.353 .25979E-03 -1.5393 22 norm .73244 1.6000 .13822E-02 -1.5537 23 Prefactor 30.914 40.219 .72071E-04 -1.4595 24 Normalizat .93137 .19415 .21329E-03 -.95367 25 Prefactor .94209 .23164 .26427E-03 -.94685 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.39097e-08 Minuit parameter uncertainties: 1 5.45874e-05 2 0.000483728 3 1.95824e-05 4 50.6911 5 1.79535e-05 6 3.13698e-06 7 7.94532e-06 8 22.601 9 5.50516e-05 10 2.76939e-05 11 0.658124 12 12.1026 13 2.07065e-05 14 1.45544e-05 15 7.4096 16 23.5052 17 2.23572 18 5.21071e-06 19 14.3398 20 4.9129 21 11.5034 22 1.60005 23 40.2543 24 0.194296 25 0.231882 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5254.83823165 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 6.322e+00 2.351e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 9.421e-01 2.319e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 9.314e-01 1.943e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.09 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 9.72e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/194958/likelihoodResults_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.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) = 5254.39340522 delta logL = 0.444826434968 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5254.22263421 delta logL = 0.615597442342 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Index ' 8.7013 1.0000 .0000 10.000 3 'Normalizat' .88029 1.0000 .10000E-01 10.000 4 'Prefactor ' .99190 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5254.223 FROM MIGRAD STATUS=CONVERGED 248 CALLS 649 TOTAL EDM= .15E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .38794E-02 .33986E-03** at limit ** 2 Index 8.7012 7.3530 .21551 .80620E-04 3 Normalizat .88024 .36910E-01 .44649E-01 -.31632E-03 4 Prefactor .99205 .45788E-01 .46166E-01 -.33244E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 8.70123 Normalizat = 0.88024 Prefactor = 0.992046 ********** ** 18 **HESSE ********** FCN= 5254.223 FROM HESSE STATUS=NOT POSDEF 37 CALLS 686 TOTAL EDM= .53E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .26513E-01 .17366E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 8.7012 8.9752 .85683E-02 .83344 3 Normalizat .88024 .86555E-01 .21865E-03 -.97158 4 Prefactor .99205 .10722 .25838E-03 -.92995 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.31546e-07 Minuit parameter uncertainties: 1 4.67828e-07 2 6.21599 3 0.0865691 4 0.107248 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/194958': 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) = 5254.22263238 delta logL = 0.615599279405 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.000e-04 4.678e-07 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 8.701e+00 6.216e+00 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 9.920e-01 1.072e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 8.802e-01 8.657e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.41 Ra Dec: 179.637 48.416 Photon Index (Free Index): 8.70 +/- 6.22 Photon Flux (Free Index): 4.15e-08 +/- 5.33e-07 Energy Flux (Free Index): 4.74e-06 +/- 6.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/194958/cmap_HighResolution_249955201_250214401_4FGL_J1158.5+4824_daily_bin41.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/194958 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', comment='SUCCESS', energy_flux2='4.74e-06', dlogl='6.16e-01', photon_flux2='4.15e-08', job_status='DONE', time_completed='2021-09-04 17:41:25.358047', photon_index_error2='6.22', photon_index2='8.70', ts='0.09', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='9.72e-08', energy_flux_error2='6.07e-05', EG='0.93', time_epoch_completed='1630802485.36', return_code='0', job_id='194958', GAL2='0.99', EG2='0.88', return_code2='102', photon_flux_error2='5.33e-07', ts2='1.41', photon_index='2.44' WHERE bin_id='41' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:41:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 194958: <4FGL_J1158.5+4824_daily_bin41> in cluster Done Job <4FGL_J1158.5+4824_daily_bin41> was submitted from host by user in cluster at Sat Sep 4 17:26:18 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:26:19 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:26:19 2021 Terminated at Sat Sep 4 17:41:26 2021 Results reported at Sat Sep 4 17:41:26 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin41 179.637 48.4161 249955201 250214401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1158.5+4824 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 722.39 sec. Max Memory : 1257 MB Average Memory : 289.07 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 906 sec. Turnaround time : 908 sec. The output (if any) is above this job summary.