/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 101 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 = 7588 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin1472 RA = 179.637, Dec = 48.4161 tmin = 620870401, tmax = 621129601 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='201689', job_status='RUN', time_executed='2021-09-04 17:48:44.180436', time_epoch_executed='1630802924.18' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='1472' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/201689 Creating custom pfile directory: /scratch/kocevski/201689/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=620870401.0 && nMetStart<621129601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=620870401.0 && nMetStart<621129601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/201689/ft1_4FGL_J1158.5+4824_daily_bin1472.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=620870401.0 && nMetStart<621129601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/201689/ft1_4FGL_J1158.5+4824_daily_bin1472.fits outfile=/scratch/kocevski/201689/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1472.fits ra=179.637 dec=48.4161 rad=12.0 tmin=620870401.0 tmax=621129601.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.22 user 3.02 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.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/201689/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1472.fits evtable="EVENTS" outfile="/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.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.50 user 0.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/201689/ltcube_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.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/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits .....................! real 13.25 user 12.63 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/201689/ltcube_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits outfile=/scratch/kocevski/201689/expmap_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.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/201689/ltcube_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits .....................! real 192.22 user 186.42 sys 5.01 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/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits outfile=/scratch/kocevski/201689/cmap_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.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.54 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits outfile=/scratch/kocevski/201689/cmap_HighResolution_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/201689/Model_4FGL_J1158.5+4824_daily_bin1472.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/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits.....................! real 21.64 user 19.64 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits', '/scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits', expMap='/scratch/kocevski/201689/expmap_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits', expCube='/scratch/kocevski/201689/ltcube_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/201689/Model_4FGL_J1158.5+4824_daily_bin1472.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/201689/ft1_filtered_4FGL_J1158.5+4824_daily_bin1472.fits Spacecraft file(s): /scratch/kocevski/201689/ft2_4FGL_J1158.5+4824_daily_bin1472.fits Exposure map: /scratch/kocevski/201689/expmap_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits Exposure cube: /scratch/kocevski/201689/ltcube_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/201689/Model_4FGL_J1158.5+4824_daily_bin1472.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) = 1102.17333777 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1102.15265588 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 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 40.719 1.0000 .10000E-03 10000. 5 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 6 'norm ' .10350E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 33.999 1.0000 .10000E-03 10000. 8 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 9 'norm ' 10000. 1.0000 .10000E-03 10000. 10 'Prefactor ' .10137E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 15 'norm ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 22.188 1.0000 .10000E-03 10000. 17 'norm ' 20.265 1.0000 .10000E-03 10000. 18 'norm ' .11545E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 146.60 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.0546 1.0000 .10000E-03 10000. 21 'Prefactor ' 25.536 1.0000 .10000E-03 10000. 22 'norm ' 3.2492 1.0000 .10000E-03 10000. 23 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2386 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 1102.153 FROM MIGRAD STATUS=CONVERGED 111 CALLS 3132 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 58.974 .22424E-05** at limit ** 2 Prefactor .12475E-03 87.062 -.27190E-05** at limit ** 3 Prefactor .22859E-03 84.291 -.52893E-06** at limit ** 4 Prefactor 40.718 1.0120 .43118E-08 .14216E-03 5 Prefactor .10688E-03 177.63 .33407E-05** at limit ** 6 norm .96789E-03 122.04 .32965E-05** at limit ** 7 Prefactor 33.999 1.0210 .23506E-08 -.98194E-04 8 Prefactor .10004E-03 28.080 .10480E-05** at limit ** 9 norm 10000.0 172.11 -.26934E-05** at limit ** 10 Prefactor .26768E-02 65.710 .25687E-05 .13807E-02 11 norm .10000E-03 10.806 -.50659E-06** at limit ** 12 norm .10367E-03 27.421 .98541E-06** at limit ** 13 Prefactor .10007E-03 28.592 -.17451E-05** at limit ** 14 Prefactor .10098E-03 75.727 -.25945E-05** at limit ** 15 norm .10000E-03 18.407 -.47952E-06** at limit ** 16 Prefactor 22.180 1.6688 .46804E-07 .55762E-03 17 norm 20.263 1.0130 .56110E-08 -.64477E-03 18 norm .10003E-03 37.425 .10462E-05** at limit ** 19 Prefactor 146.57 4.5878 .54174E-07 .24919E-02 20 Prefactor 3.0541 1.1908 .10658E-06 -.81896E-03 21 Prefactor 25.531 1.1097 -.19872E-07 -.34316E-03 22 norm 3.2492 2.7844 -.82588E-07 .37907E-03 23 Prefactor .10187E-03 51.845 -.13108E-05** at limit ** 24 Normalizat .10000E-01 .44131 -.88349E-05** at limit ** 25 Prefactor 1.2386 .25797 -.15543E-05 .16936E-03 ERR DEF= .500 Final values: Prefactor = 0.000100004 Prefactor = 0.000124754 Prefactor = 0.000228586 Prefactor = 40.7183 Prefactor = 0.000106884 norm = 0.000967886 Prefactor = 33.9992 Prefactor = 0.000100044 norm = 10000 Prefactor = 0.00267675 norm = 0.0001 norm = 0.00010367 Prefactor = 0.000100074 Prefactor = 0.000100984 norm = 0.0001 Prefactor = 22.1804 norm = 20.2634 norm = 0.000100026 Prefactor = 146.574 Prefactor = 3.05411 Prefactor = 25.5314 norm = 3.24921 Prefactor = 0.000101867 Normalizat = 0.01 Prefactor = 1.23856 ********** ** 18 **HESSE ********** FCN= 1102.153 FROM HESSE STATUS=OK 471 CALLS 3603 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 79.814 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .12475E-03 170.44 .90712E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .22859E-03 274.75 .90712E-02 -1.5710 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 40.718 121.45 .15704E-02 -1.4431 5 Prefactor .10688E-03 621.99 .90712E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .96789E-03 1079.9 .90712E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 33.999 24.839 .17181E-02 -1.4541 8 Prefactor .10004E-03 28.152 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 10000.0 480.28 .90712E-02 1.5709 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .26768E-02 1728.3 .90712E-02 -1.5698 11 norm .10000E-03 10.809 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10367E-03 68.429 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10007E-03 28.690 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10098E-03 188.86 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 18.371 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 22.180 1363.3 .21259E-02 -1.4766 17 norm 20.263 13.219 .22243E-02 -1.4807 18 norm .10003E-03 37.415 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 146.57 77.299 .83203E-03 -1.3281 20 Prefactor 3.0541 10.188 .58031E-02 -1.5358 21 Prefactor 25.531 39.061 .19818E-02 -1.4697 22 norm 3.2492 2.7816 .56172E-02 -1.5347 23 Prefactor .10187E-03 59.535 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .10000E-01 .37368 .17204 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 1.2386 .32505 .56462E-01 -.85153 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.16484e-06 Minuit parameter uncertainties: 1 0.00106713 2 0.13028 3 0.377666 4 122.2 5 0.132264 6 1.97291 7 24.846 8 0.00223813 9 0.321528 10 4.35275 11 0.000106756 12 0.0317303 13 0.00292515 14 0.0273543 15 0.000131223 16 356.649 17 13.2206 18 0.00198177 19 77.3528 20 10.1939 21 39.0998 22 2.7817 23 0.0211066 24 1.0944e-05 25 0.32558 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1102.1526567 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.218e+01 3.566e+02 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.239e+00 3.256e-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: 1.000e-02 1.094e-05 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.68e-06 ph cm-2 s-1 Energy Flux Upper Limit: 1.30e-01 MeV cm-2 s-1 Saving results to: /scratch/kocevski/201689/likelihoodResults_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.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) = 1101.70548672 delta logL = 0.447169979462 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 1101.61647179 delta logL = 0.536184908858 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27370E-03 1.0000 .10000E-03 10000. 2 'Index ' 9.8321 1.0000 .0000 10.000 3 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1880 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= 1101.616 FROM MIGRAD STATUS=CONVERGED 98 CALLS 563 TOTAL EDM= .28E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22250E-03 .23823E-03 .10714E-03** at limit ** 2 Index 9.9292 1.0649 .34779 -.70016E-04 3 Normalizat .10000E-01 .18416 .21220 ** at limit ** 4 Prefactor 1.1878 .28325 .56430E-01 .11657E-03 ERR DEF= .500 Final values: Prefactor = 0.000222498 Index = 9.92921 Normalizat = 0.01 Prefactor = 1.18783 ********** ** 18 **HESSE ********** FCN= 1101.616 FROM HESSE STATUS=OK 31 CALLS 594 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22250E-03 .34485E-02 .67322E-06 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.9292 9.8887 .21667E-01 1.4023 3 Normalizat .10000E-01 .21001 .76779E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.1878 .25307 .24945E-03 -.86707 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.06166e-09 Minuit parameter uncertainties: 1 0.00129989 2 2.69976 3 1.65052e-06 4 0.253329 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/201689': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 1101.61642407 delta logL = 0.536232627619 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.225e-04 1.300e-03 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 9.929e+00 2.700e+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.188e+00 2.533e-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: 1.000e-02 1.651e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.12 Ra Dec: 179.637 48.416 Photon Index (Free Index): 9.93 +/- 2.70 Photon Flux (Free Index): 1.27e-06 +/- 1.29e-06 Energy Flux (Free Index): 1.42e-04 +/- 1.46e-04 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/201689/cmap_HighResolution_620870401_621129601_4FGL_J1158.5+4824_daily_bin1472.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/201689 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-01', comment='SUCCESS', energy_flux2='1.42e-04', dlogl='5.36e-01', photon_flux2='1.27e-06', job_status='DONE', time_completed='2021-09-04 17:55:54.733928', photon_index_error2='2.70', photon_index2='9.93', ts='0.00', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.68e-06', energy_flux_error2='1.46e-04', EG='0.01', time_epoch_completed='1630803354.73', return_code='0', job_id='201689', GAL2='1.19', EG2='0.01', return_code2='0', photon_flux_error2='1.29e-06', ts2='1.12', photon_index='2.44' WHERE bin_id='1472' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:55:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 201689: <4FGL_J1158.5+4824_daily_bin1472> in cluster Done Job <4FGL_J1158.5+4824_daily_bin1472> was submitted from host by user in cluster at Sat Sep 4 17:46:52 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:46:53 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:46:53 2021 Terminated at Sat Sep 4 17:55:55 2021 Results reported at Sat Sep 4 17:55:55 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin1472 179.637 48.4161 620870401 621129601 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 : 422.22 sec. Max Memory : 1094 MB Average Memory : 223.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 541 sec. Turnaround time : 543 sec. The output (if any) is above this job summary.