/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 124 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 = 7459 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin756 RA = 179.637, Dec = 48.4161 tmin = 435283201, tmax = 435542401 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='197940', job_status='RUN', time_executed='2021-09-04 17:38:52.081629', time_epoch_executed='1630802332.08' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='756' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/197940 Creating custom pfile directory: /scratch/kocevski/197940/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=435283201.0 && nMetStart<435542401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=435283201.0 && nMetStart<435542401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/197940/ft1_4FGL_J1158.5+4824_daily_bin756.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=435283201.0 && nMetStart<435542401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/197940/ft1_4FGL_J1158.5+4824_daily_bin756.fits outfile=/scratch/kocevski/197940/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin756.fits ra=179.637 dec=48.4161 rad=12.0 tmin=435283201.0 tmax=435542401.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 5.20 user 4.91 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.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/197940/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.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.56 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/197940/ltcube_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.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/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits .....................! real 12.05 user 11.67 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/197940/ltcube_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits outfile=/scratch/kocevski/197940/expmap_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.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/197940/ltcube_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits .....................! real 190.54 user 184.99 sys 5.07 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/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits outfile=/scratch/kocevski/197940/cmap_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.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.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits outfile=/scratch/kocevski/197940/cmap_HighResolution_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.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.36 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197940/Model_4FGL_J1158.5+4824_daily_bin756.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/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits.....................! real 41.73 user 40.35 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits', '/scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits', expMap='/scratch/kocevski/197940/expmap_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits', expCube='/scratch/kocevski/197940/ltcube_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/197940/Model_4FGL_J1158.5+4824_daily_bin756.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/197940/ft1_filtered_4FGL_J1158.5+4824_daily_bin756.fits Spacecraft file(s): /scratch/kocevski/197940/ft2_4FGL_J1158.5+4824_daily_bin756.fits Exposure map: /scratch/kocevski/197940/expmap_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits Exposure cube: /scratch/kocevski/197940/ltcube_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/197940/Model_4FGL_J1158.5+4824_daily_bin756.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) = 4431.18218541 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4431.14457809 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 23.569 1.0000 .10000E-03 10000. 2 'Prefactor ' 17.769 1.0000 .10000E-03 10000. 3 'Prefactor ' 93.360 1.0000 .10000E-03 10000. 4 'Prefactor ' 54.799 1.0000 .10000E-03 10000. 5 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 6 'norm ' .10002E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .77175 1.0000 .10000E-03 10000. 8 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 9 'norm ' 3.6910 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.7851 1.0000 .10000E-03 10000. 11 'norm ' 15.964 1.0000 .10000E-03 10000. 12 'norm ' .10015E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 92.102 1.0000 .10000E-03 10000. 15 'norm ' .10003E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 28.850 1.0000 .10000E-03 10000. 17 'norm ' 1.5200 1.0000 .10000E-03 10000. 18 'norm ' .10009E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 22 'norm ' 2.1965 1.0000 .10000E-03 10000. 23 'Prefactor ' 40.655 1.0000 .10000E-03 10000. 24 'Normalizat' .70188 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2358 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= 4431.145 FROM MIGRAD STATUS=CONVERGED 590 CALLS 3316 TOTAL EDM= .36E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 23.569 55.097 .18981E-06 -.12025E-05 2 Prefactor 17.828 339.73 .12577E-05 .84971E-05 3 Prefactor 93.399 140.09 .75493E-06 .16744E-04 4 Prefactor 54.803 57.490 .14563E-06 -.48931E-05 5 Prefactor .10000E-03 34.048 .20374E-07** at limit ** 6 norm .10000E-03 28.012 -.65249E-10** at limit ** 7 Prefactor .77150 10.406 .44129E-05 -.53142E-04 8 Prefactor .10000E-03 134.39 -.15051E-07** at limit ** 9 norm 3.6914 3.4035 -.23479E-06 -.76462E-05 10 Prefactor 2.7331 556.37 .10659E-04 -.10079E-04 11 norm 15.966 3.1905 -.20253E-06 -.32372E-04 12 norm .10000E-03 4.1304 .44891E-07** at limit ** 13 Prefactor .10000E-03 3.3256 -.64983E-07** at limit ** 14 Prefactor 92.119 74.372 .15236E-06 .23637E-04 15 norm .10000E-03 7.9380 -.15633E-07** at limit ** 16 Prefactor 28.840 28.212 .38963E-06 .10578E-05 17 norm 1.5200 1.9617 .10609E-06 -.45039E-04 18 norm .10000E-03 12.401 .34071E-07** at limit ** 19 Prefactor .10000E-03 10.423 -.10033E-07** at limit ** 20 Prefactor .10000E-03 2.3294 .53360E-09** at limit ** 21 Prefactor .10000E-03 8.8511 .20817E-07** at limit ** 22 norm 2.1966 2.4720 .13240E-06 -.63980E-05 23 Prefactor 40.653 52.397 .15833E-06 -.47983E-05 24 Normalizat .70192 .20068 -.11617E-05 -.71975E-04 25 Prefactor 1.2357 .24191 -.18369E-06 -.84204E-04 ERR DEF= .500 Final values: Prefactor = 23.5687 Prefactor = 17.8283 Prefactor = 93.3989 Prefactor = 54.8034 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.771502 Prefactor = 0.000100001 norm = 3.69144 Prefactor = 2.73314 norm = 15.9656 norm = 0.0001 Prefactor = 0.0001 Prefactor = 92.119 norm = 0.0001 Prefactor = 28.84 norm = 1.52003 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.19657 Prefactor = 40.6529 Normalizat = 0.701923 Prefactor = 1.23569 ********** ** 18 **HESSE ********** FCN= 4431.145 FROM HESSE STATUS=OK 423 CALLS 3739 TOTAL EDM= .77E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 23.569 55.100 .82510E-04 -1.4737 2 Prefactor 17.828 336.95 .95013E-04 -1.4863 3 Prefactor 93.399 140.09 .20797E-03 -1.3772 4 Prefactor 54.803 57.606 .54186E-04 -1.4226 5 Prefactor .10000E-03 34.050 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 28.014 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .77150 10.352 .39977E-03 -1.5532 8 Prefactor .10000E-03 136.11 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.6914 3.3882 .11184E-03 -1.5324 10 Prefactor 2.7331 548.67 .24382E-03 -1.5377 11 norm 15.966 3.1580 .42297E-04 -1.4909 12 norm .10000E-03 4.1314 .13213E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 5.4555 .21865E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 92.119 74.480 .20937E-03 -1.3785 15 norm .10000E-03 8.0414 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 28.840 26.509 .74589E-04 -1.4633 17 norm 1.5200 1.9411 .10164E-03 -1.5461 18 norm .10000E-03 12.758 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 10.436 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 2.3330 .99219E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 8.8583 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 2.1966 2.4609 .10735E-03 -1.5412 23 Prefactor 40.653 52.401 .62867E-04 -1.4432 24 Normalizat .70192 .23918 .27581E-03 -1.0382 25 Prefactor 1.2357 .29077 .26975E-03 -.85240 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.65219e-11 Minuit parameter uncertainties: 1 55.2191 2 156.038 3 140.591 4 57.6643 5 5.68274e-06 6 5.36864e-07 7 5.65297 8 0.000600471 9 3.3884 10 78.1851 11 3.158 12 1.23528e-06 13 2.5808e-05 14 74.5554 15 1.2756e-05 16 26.5199 17 1.94115 18 2.53319e-05 19 4.48708e-07 20 4.91398e-07 21 8.39416e-06 22 2.46098 23 52.4603 24 0.239534 25 0.29115 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4431.14457758 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.884e+01 2.652e+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: 1.236e+00 2.911e-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: 7.019e-01 2.395e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.86 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 4.85e-08 +/- 4.45e-08 Energy Flux (Fixed Index): 1.50e-05 +/- 1.38e-05 TS (Fixed Index): 1.86 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/197940/likelihoodResults_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.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) = 4430.60259871 delta logL = 0.541978877606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4430.56075814 delta logL = 0.583819439898 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1732 1.0000 .10000E-03 10000. 2 'Index ' 4.0471 1.0000 .0000 10.000 3 'Normalizat' .62497 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3106 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= 4430.561 FROM MIGRAD STATUS=CONVERGED 59 CALLS 272 TOTAL EDM= .20E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1343 42.627 .56876E-02 .28287E-03 2 Index 4.0535 3.1326 .10305 .11859E-03 3 Normalizat .62493 .67702E-01 .65707E-01 .20624E-04 4 Prefactor 1.3106 .84030E-01 .59508E-01 .21965E-05 ERR DEF= .500 Final values: Prefactor = 3.13426 Index = 4.0535 Normalizat = 0.624933 Prefactor = 1.31056 ********** ** 18 **HESSE ********** FCN= 4430.561 FROM HESSE STATUS=NOT POSDEF 33 CALLS 305 TOTAL EDM= .29E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1343 69.364 .75994E-04 -1.5354 2 Index 4.0535 6.8570 .40186E-02 -.19045 3 Normalizat .62493 .21346 .29076E-03 -1.0694 4 Prefactor 1.3106 .27251 .26314E-03 -.82994 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.92369e-10 Minuit parameter uncertainties: 1 29.5277 2 4.95738 3 0.213739 4 0.272808 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/197940': 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) = 4430.56075514 delta logL = 0.583822444615 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.134e+00 2.953e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 4.054e+00 4.957e+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.311e+00 2.728e-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: 6.249e-01 2.137e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.18 Ra Dec: 179.637 48.416 Photon Index (Free Index): 4.05 +/- 4.96 Photon Flux (Free Index): 9.33e-08 +/- 6.38e-08 Energy Flux (Free Index): 1.38e-05 +/- 1.31e-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/197940/cmap_HighResolution_435283201_435542401_4FGL_J1158.5+4824_daily_bin756.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/197940 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='1.38e-05', photon_flux_error='4.45e-08', dlogl='5.84e-01', energy_flux='1.50e-05', photon_flux2='9.33e-08', job_status='DONE', time_completed='2021-09-04 17:50:18.200296', photon_index_error2='4.96', photon_index2='4.05', ts='1.86', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.31e-05', EG='0.70', time_epoch_completed='1630803018.2', return_code='0', job_id='197940', GAL2='1.31', EG2='0.62', return_code2='102', energy_flux_error='1.38e-05', photon_flux_error2='6.38e-08', ts2='3.18', photon_index='2.44' WHERE bin_id='756' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:50:18 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 197940: <4FGL_J1158.5+4824_daily_bin756> in cluster Done Job <4FGL_J1158.5+4824_daily_bin756> was submitted from host by user in cluster at Sat Sep 4 17:36:34 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:35 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:35 2021 Terminated at Sat Sep 4 17:50:18 2021 Results reported at Sat Sep 4 17:50:18 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin756 179.637 48.4161 435283201 435542401 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 : 682.50 sec. Max Memory : 1257 MB Average Memory : 296.22 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 823 sec. Turnaround time : 824 sec. The output (if any) is above this job summary.