/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 1 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 = 7633 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin890 RA = 179.637, Dec = 48.4161 tmin = 470016001, tmax = 470275201 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='198193', job_status='RUN', time_executed='2021-09-04 17:37:06.190767', time_epoch_executed='1630802226.19' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='890' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/198193 Creating custom pfile directory: /scratch/kocevski/198193/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=470016001.0 && nMetStart<470275201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=470016001.0 && nMetStart<470275201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/198193/ft1_4FGL_J1158.5+4824_daily_bin890.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=470016001.0 && nMetStart<470275201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/198193/ft1_4FGL_J1158.5+4824_daily_bin890.fits outfile=/scratch/kocevski/198193/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin890.fits ra=179.637 dec=48.4161 rad=12.0 tmin=470016001.0 tmax=470275201.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 3.51 user 3.30 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.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/198193/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin890.fits evtable="EVENTS" outfile="/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.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.59 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits" evtable="EVENTS" scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits sctable="SC_DATA" outfile=/scratch/kocevski/198193/ltcube_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.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/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits .....................! real 12.00 user 11.57 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits sctable="SC_DATA" expcube=/scratch/kocevski/198193/ltcube_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits outfile=/scratch/kocevski/198193/expmap_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.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/198193/ltcube_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits .....................! real 191.31 user 185.88 sys 4.90 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/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits outfile=/scratch/kocevski/198193/cmap_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.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.53 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits outfile=/scratch/kocevski/198193/cmap_HighResolution_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.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.39 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198193/Model_4FGL_J1158.5+4824_daily_bin890.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/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits.....................! real 47.48 user 46.14 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits', '/scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits', expMap='/scratch/kocevski/198193/expmap_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits', expCube='/scratch/kocevski/198193/ltcube_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/198193/Model_4FGL_J1158.5+4824_daily_bin890.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/198193/ft1_filtered_4FGL_J1158.5+4824_daily_bin890.fits Spacecraft file(s): /scratch/kocevski/198193/ft2_4FGL_J1158.5+4824_daily_bin890.fits Exposure map: /scratch/kocevski/198193/expmap_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits Exposure cube: /scratch/kocevski/198193/ltcube_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/198193/Model_4FGL_J1158.5+4824_daily_bin890.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) = 5266.11716799 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5266.10309084 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10521E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10480E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .11260E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 6 'norm ' .10043E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 8.9187 1.0000 .10000E-03 10000. 8 'Prefactor ' 39.675 1.0000 .10000E-03 10000. 9 'norm ' 1.9135 1.0000 .10000E-03 10000. 10 'Prefactor ' 89.177 1.0000 .10000E-03 10000. 11 'norm ' .10034E-03 1.0000 .10000E-03 10000. 12 'norm ' 6.5117 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.3770 1.0000 .10000E-03 10000. 14 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 15 'norm ' .10095 1.0000 .10000E-03 10000. 16 'Prefactor ' 23.350 1.0000 .10000E-03 10000. 17 'norm ' 5.4590 1.0000 .10000E-03 10000. 18 'norm ' 10.868 1.0000 .10000E-03 10000. 19 'Prefactor ' 16.113 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.4553 1.0000 .10000E-03 10000. 21 'Prefactor ' .10029E-03 1.0000 .10000E-03 10000. 22 'norm ' 1.5878 1.0000 .10000E-03 10000. 23 'Prefactor ' 6.6869 1.0000 .10000E-03 10000. 24 'Normalizat' .91290 1.0000 .10000E-01 10.000 25 'Prefactor ' .94126 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= 5266.103 FROM MIGRAD STATUS=CONVERGED 624 CALLS 2966 TOTAL EDM= .27E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 38.749 -.73464E-06** at limit ** 2 Prefactor .10000E-03 50.844 .17267E-05** at limit ** 3 Prefactor .10000E-03 61.615 -.90026E-06** at limit ** 4 Prefactor .10000E-03 18.144 .17066E-05** at limit ** 5 Prefactor .10000E-03 327.54 .47422E-04** at limit ** 6 norm .10000E-03 16.917 -.11385E-04** at limit ** 7 Prefactor 8.9205 7.7993 -.12594E-05 .81580E-04 8 Prefactor 39.898 46.280 .93955E-05 .15156E-03 9 norm 1.9127 2.8988 -.48158E-06 -.57897E-03 10 Prefactor 89.196 44.641 .18830E-05 .61002E-04 11 norm .10000E-03 .41973 -.17023E-06** at limit ** 12 norm 6.5139 8.3150 .28662E-05 -.73012E-04 13 Prefactor 4.3742 4.2058 .37285E-06 -.13934E-03 14 Prefactor .10000E-03 16.729 .97753E-05** at limit ** 15 norm .10000E-03 8.0085 -.18310E-05** at limit ** 16 Prefactor 23.339 25.321 -.25183E-05 -.16384E-05 17 norm 5.4618 2.9218 .10080E-07 .14315E-03 18 norm 10.866 8.1633 .13038E-05 -.35188E-04 19 Prefactor 16.097 20.733 -.67724E-05 -.51544E-05 20 Prefactor 4.4579 5.8484 -.11769E-06 -.13161E-03 21 Prefactor .10000E-03 10.399 .82056E-07** at limit ** 22 norm 1.5873 1.5492 .14138E-07 -.18031E-05 23 Prefactor 6.6660 57.907 .49712E-05 -.76518E-05 24 Normalizat .91330 .18072 .62019E-06 .16606E-03 25 Prefactor .94141 .21520 -.64878E-06 .15119E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100002 norm = 0.0001 Prefactor = 8.92045 Prefactor = 39.8977 norm = 1.91271 Prefactor = 89.1962 norm = 0.0001 norm = 6.51392 Prefactor = 4.3742 Prefactor = 0.0001 norm = 0.000100002 Prefactor = 23.3388 norm = 5.46182 norm = 10.8662 Prefactor = 16.0967 Prefactor = 4.45786 Prefactor = 0.0001 norm = 1.58734 Prefactor = 6.66602 Normalizat = 0.913297 Prefactor = 0.941415 ********** ** 18 **HESSE ********** FCN= 5266.103 FROM HESSE STATUS=OK 439 CALLS 3405 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 38.767 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 50.845 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 61.692 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 18.153 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 331.13 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 16.866 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 8.9205 7.8122 .13421E-03 -1.5111 8 Prefactor 39.898 47.123 .63636E-04 -1.4444 9 norm 1.9127 2.8780 .14171E-03 -1.5431 10 Prefactor 89.196 43.840 .42549E-04 -1.3816 11 norm .10000E-03 .51102 .89302E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 6.5139 8.2777 .15727E-03 -1.5197 13 Prefactor 4.3742 4.1831 .12854E-03 -1.5290 14 Prefactor .10000E-03 16.662 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 19.831 .55379E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 23.339 25.261 .82894E-04 -1.4741 17 norm 5.4618 2.9258 .85693E-04 -1.5241 18 norm 10.866 8.1479 .12153E-03 -1.5049 19 Prefactor 16.097 20.748 .99776E-04 -1.4905 20 Prefactor 4.4579 5.8435 .19077E-03 -1.5286 21 Prefactor .10000E-03 10.462 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 1.5873 1.5466 .86835E-04 -1.5456 23 Prefactor 6.6660 57.837 .15517E-03 -1.5192 24 Normalizat .91330 .21139 .23151E-03 -.95994 25 Prefactor .94141 .25003 .28410E-03 -.94709 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.49592e-10 Minuit parameter uncertainties: 1 3.02727e-06 2 3.05356e-06 3 3.30893e-06 4 2.78575e-06 5 0.00179389 6 3.03337e-07 7 7.81313 8 47.1674 9 2.87822 10 43.8559 11 1.24157e-05 12 8.27915 13 4.18337 14 2.74921e-05 15 0.000421483 16 25.2726 17 2.92591 18 8.14869 19 20.757 20 5.84421 21 1.73151e-05 22 1.54659 23 39.3213 24 0.211579 25 0.25034 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5266.10287388 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.334e+01 2.527e+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.414e-01 2.503e-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.133e-01 2.116e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.40 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 3.92e-08 +/- 4.24e-08 Energy Flux (Fixed Index): 1.22e-05 +/- 1.32e-05 TS (Fixed Index): 1.40 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.65e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/198193/likelihoodResults_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.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) = 5265.38171599 delta logL = 0.721157883164 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5265.34525206 delta logL = 0.757621817403 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1532 1.0000 .10000E-03 10000. 2 'Index ' 3.9971 1.0000 .0000 10.000 3 'Normalizat' .84804 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0007 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= 5265.345 FROM MIGRAD STATUS=CONVERGED 52 CALLS 254 TOTAL EDM= .13E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1481 38.100 .57066E-02 .76755E-03 2 Index 3.9980 2.9033 .11100 .20483E-03 3 Normalizat .84804 .55547E-01 .44234E-01 -.13713E-04 4 Prefactor 1.0007 .67843E-01 .45535E-01 -.56287E-04 ERR DEF= .500 Final values: Prefactor = 3.14806 Index = 3.998 Normalizat = 0.848039 Prefactor = 1.00071 ********** ** 18 **HESSE ********** FCN= 5265.345 FROM HESSE STATUS=NOT POSDEF 33 CALLS 287 TOTAL EDM= .63E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1481 67.053 .81217E-04 -1.5353 2 Index 3.9980 6.8326 .41651E-02 -.20177 3 Normalizat .84804 .19509 .23901E-03 -.98311 4 Prefactor 1.0007 .24208 .27648E-03 -.92706 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 6.27927e-10 Minuit parameter uncertainties: 1 29.0943 2 4.90919 3 0.195256 4 0.242338 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/198193': 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) = 5265.34525186 delta logL = 0.757622019371 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.148e+00 2.909e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 3.998e+00 4.909e+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: 1.001e+00 2.423e-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.480e-01 1.953e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.06 Ra Dec: 179.637 48.416 Photon Index (Free Index): 4.00 +/- 4.91 Photon Flux (Free Index): 8.42e-08 +/- 5.80e-08 Energy Flux (Free Index): 1.26e-05 +/- 1.16e-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/198193/cmap_HighResolution_470016001_470275201_4FGL_J1158.5+4824_daily_bin890.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/198193 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-03', comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='1.26e-05', photon_flux_error='4.24e-08', dlogl='7.58e-01', energy_flux='1.22e-05', photon_flux2='8.42e-08', job_status='DONE', time_completed='2021-09-04 17:49:02.708443', photon_index_error2='4.91', photon_index2='4.00', ts='1.40', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.16e-05', EG='0.91', time_epoch_completed='1630802942.71', return_code='0', job_id='198193', GAL2='1.00', EG2='0.85', return_code2='102', energy_flux_error='1.32e-05', photon_flux_error2='5.80e-08', ts2='3.06', photon_index='2.44' WHERE bin_id='890' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:49:02 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 198193: <4FGL_J1158.5+4824_daily_bin890> in cluster Done Job <4FGL_J1158.5+4824_daily_bin890> was submitted from host by user in cluster at Sat Sep 4 17:36:50 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:52 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:52 2021 Terminated at Sat Sep 4 17:49:03 2021 Results reported at Sat Sep 4 17:49:03 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin890 179.637 48.4161 470016001 470275201 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 : 715.00 sec. Max Memory : 617 MB Average Memory : 300.74 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 730 sec. Turnaround time : 733 sec. The output (if any) is above this job summary.