/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 94 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 = 7548 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin149 RA = 179.637, Dec = 48.4161 tmin = 277948801, tmax = 278208001 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='195066', job_status='RUN', time_executed='2021-09-04 17:28:20.809857', time_epoch_executed='1630801700.81' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='149' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/195066 Creating custom pfile directory: /scratch/kocevski/195066/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/195066/ft1_4FGL_J1158.5+4824_daily_bin149.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=277948801.0 && nMetStart<278208001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/195066/ft1_4FGL_J1158.5+4824_daily_bin149.fits outfile=/scratch/kocevski/195066/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin149.fits ra=179.637 dec=48.4161 rad=12.0 tmin=277948801.0 tmax=278208001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.19 user 3.95 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.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/195066/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin149.fits evtable="EVENTS" outfile="/scratch/kocevski/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.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/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits" evtable="EVENTS" scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits sctable="SC_DATA" outfile=/scratch/kocevski/195066/ltcube_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.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/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits .....................! real 11.97 user 11.57 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits sctable="SC_DATA" expcube=/scratch/kocevski/195066/ltcube_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits outfile=/scratch/kocevski/195066/expmap_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.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/195066/ltcube_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits .....................! real 191.62 user 186.09 sys 4.99 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/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits outfile=/scratch/kocevski/195066/cmap_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.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.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits outfile=/scratch/kocevski/195066/cmap_HighResolution_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.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/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195066/Model_4FGL_J1158.5+4824_daily_bin149.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/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits.....................! real 50.68 user 49.38 sys 1.13 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits', '/scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits', expMap='/scratch/kocevski/195066/expmap_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits', expCube='/scratch/kocevski/195066/ltcube_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/195066/Model_4FGL_J1158.5+4824_daily_bin149.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/195066/ft1_filtered_4FGL_J1158.5+4824_daily_bin149.fits Spacecraft file(s): /scratch/kocevski/195066/ft2_4FGL_J1158.5+4824_daily_bin149.fits Exposure map: /scratch/kocevski/195066/expmap_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits Exposure cube: /scratch/kocevski/195066/ltcube_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/195066/Model_4FGL_J1158.5+4824_daily_bin149.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) = 5918.28049594 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5918.22880037 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 28.527 1.0000 .10000E-03 10000. 2 'Prefactor ' 17.774 1.0000 .10000E-03 10000. 3 'Prefactor ' 84.217 1.0000 .10000E-03 10000. 4 'Prefactor ' .10076E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 11.722 1.0000 .10000E-03 10000. 6 'norm ' 8.6629 1.0000 .10000E-03 10000. 7 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 11.943 1.0000 .10000E-03 10000. 9 'norm ' 3.6136 1.0000 .10000E-03 10000. 10 'Prefactor ' .10409E-03 1.0000 .10000E-03 10000. 11 'norm ' 1.2188 1.0000 .10000E-03 10000. 12 'norm ' 11.426 1.0000 .10000E-03 10000. 13 'Prefactor ' .10095E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 15 'norm ' 20.634 1.0000 .10000E-03 10000. 16 'Prefactor ' 17.079 1.0000 .10000E-03 10000. 17 'norm ' 7.6717 1.0000 .10000E-03 10000. 18 'norm ' .10177E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 12.983 1.0000 .10000E-03 10000. 20 'Prefactor ' .63140 1.0000 .10000E-03 10000. 21 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.8236 1.0000 .10000E-03 10000. 23 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .62488 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2673 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= 5918.229 FROM MIGRAD STATUS=CONVERGED 564 CALLS 2870 TOTAL EDM= .13E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 28.432 73.179 -.13373E-05 -.20431E-04 2 Prefactor 17.764 66.754 .59100E-07 -.25104E-05 3 Prefactor 84.036 128.01 -.19466E-05 -.21669E-04 4 Prefactor .10000E-03 31.594 -.43396E-06** at limit ** 5 Prefactor 11.645 68.731 -.10495E-05 -.18745E-04 6 norm 8.6642 23.585 .19756E-06 -.26179E-05 7 Prefactor .10000E-03 2.2630 .23614E-06** at limit ** 8 Prefactor 11.939 24.409 -.22320E-06 -.61327E-05 9 norm 3.6140 2.5728 .28731E-07 -.31610E-04 10 Prefactor .10000E-03 46.331 .42144E-06** at limit ** 11 norm 1.2193 .96345 .91033E-07 .86216E-04 12 norm 11.427 10.413 .50850E-07 -.16354E-04 13 Prefactor .10000E-03 2.1290 .45183E-06** at limit ** 14 Prefactor .10000E-03 17.211 .15794E-06** at limit ** 15 norm 20.633 8.6610 -.82987E-07 -.37827E-04 16 Prefactor 17.069 16.292 -.40145E-06 -.55626E-04 17 norm 7.6703 2.8341 -.11517E-06 -.16371E-03 18 norm .10000E-03 2.4533 -.36983E-07** at limit ** 19 Prefactor 12.969 19.981 -.30865E-06 -.18827E-04 20 Prefactor .63212 3.6175 .28222E-05 .21001E-03 21 Prefactor .10000E-03 7.1892 .29546E-06** at limit ** 22 norm 4.8233 2.3154 -.50359E-07 -.12060E-03 23 Prefactor .10000E-03 28.714 .38054E-06** at limit ** 24 Normalizat .62524 .16954 .34518E-05 -.18738E-03 25 Prefactor 1.2669 .20793 -.33910E-05 .35002E-04 ERR DEF= .500 Final values: Prefactor = 28.4319 Prefactor = 17.7638 Prefactor = 84.0357 Prefactor = 0.0001 Prefactor = 11.6454 norm = 8.66416 Prefactor = 0.0001 Prefactor = 11.9391 norm = 3.61396 Prefactor = 0.0001 norm = 1.21928 norm = 11.4265 Prefactor = 0.0001 Prefactor = 0.0001 norm = 20.6326 Prefactor = 17.0692 norm = 7.67031 norm = 0.0001 Prefactor = 12.9688 Prefactor = 0.632119 Prefactor = 0.0001 norm = 4.82328 Prefactor = 0.0001 Normalizat = 0.625236 Prefactor = 1.26693 ********** ** 18 **HESSE ********** FCN= 5918.229 FROM HESSE STATUS=OK 433 CALLS 3303 TOTAL EDM= .32E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 28.432 73.357 .75010E-04 -1.4641 2 Prefactor 17.764 66.770 .95000E-04 -1.4865 3 Prefactor 84.036 128.34 .21886E-03 -1.3872 4 Prefactor .10000E-03 31.704 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 11.645 69.398 .11700E-03 -1.5025 6 norm 8.6642 23.581 .13619E-03 -1.5119 7 Prefactor .10000E-03 2.2763 .11298E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 11.939 24.402 .11592E-03 -1.5017 9 norm 3.6140 2.5644 .10011E-03 -1.5328 10 Prefactor .10000E-03 46.493 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.2193 .94095 .63467E-04 -1.5487 12 norm 11.427 10.412 .11852E-03 -1.5032 13 Prefactor .10000E-03 2.1942 .21838E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 17.213 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 20.633 8.6591 .88175E-04 -1.4799 16 Prefactor 17.069 16.261 .96915E-04 -1.4881 17 norm 7.6703 2.8361 .73790E-04 -1.5154 18 norm .10000E-03 2.4568 .11754E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 12.969 19.967 .11117E-03 -1.4988 20 Prefactor .63212 3.7959 .29502E-03 -1.5549 21 Prefactor .10000E-03 7.2083 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.8233 2.3161 .78589E-04 -1.5269 23 Prefactor .10000E-03 28.738 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .62524 .17965 .26312E-03 -1.0692 25 Prefactor 1.2669 .22109 .24668E-03 -.84296 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.21607e-10 Minuit parameter uncertainties: 1 73.5907 2 67.0533 3 128.764 4 1.04505e-05 5 56.9555 6 23.6061 7 1.85549e-06 8 24.4223 9 2.56445 10 3.04929e-05 11 0.940962 12 10.4132 13 4.26602e-06 14 1.90317e-06 15 8.6596 16 16.2653 17 2.83612 18 5.79635e-07 19 19.9776 20 3.09811 21 8.43521e-06 22 2.31612 23 3.36315e-06 24 0.179822 25 0.221249 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5918.22879483 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.707e+01 1.627e+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.267e+00 2.212e-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.252e-01 1.798e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.96 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 2.87e-08 +/- 2.73e-08 Energy Flux (Fixed Index): 8.91e-06 +/- 8.49e-06 TS (Fixed Index): 1.96 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 9.21e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/195066/likelihoodResults_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.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) = 5916.80465215 delta logL = 1.42414267805 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5916.48059848 delta logL = 1.74819634549 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .39608E-02 1.0000 .10000E-03 10000. 2 'Index ' 7.3291 1.0000 .0000 10.000 3 'Normalizat' .52205 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3667 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= 5916.481 FROM MIGRAD STATUS=CONVERGED 57 CALLS 327 TOTAL EDM= .17E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .39400E-02 .32195E-01 .59082E-03 .77917E-02 2 Index 7.3319 2.3388 .93344E-01 .12414E-03 3 Normalizat .52140 .48326E-01 .64620E-01 .38328E-04 4 Prefactor 1.3676 .62521E-01 .54036E-01 .26215E-04 ERR DEF= .500 Final values: Prefactor = 0.00394004 Index = 7.33189 Normalizat = 0.521402 Prefactor = 1.36759 ********** ** 18 **HESSE ********** FCN= 5916.481 FROM HESSE STATUS=NOT POSDEF 31 CALLS 358 TOTAL EDM= .20E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .39400E-02 .56768E-01 .25093E-05 -1.5696 2 Index 7.3319 3.1812 .38940E-02 .48519 3 Normalizat .52140 .15464 .28597E-03 -1.1143 4 Prefactor 1.3676 .19773 .23890E-03 -.81319 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.01901e-07 Minuit parameter uncertainties: 1 0.0295291 2 3.55036 3 0.154766 4 0.197835 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/195066': 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) = 5916.48059031 delta logL = 1.74820451346 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.940e-03 2.953e-02 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 7.332e+00 3.550e+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.368e+00 1.978e-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: 5.214e-01 1.548e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.86 Ra Dec: 179.637 48.416 Photon Index (Free Index): 7.33 +/- 3.55 Photon Flux (Free Index): 9.08e-08 +/- 4.72e-08 Energy Flux (Free Index): 1.07e-05 +/- 5.83e-06 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/195066/cmap_HighResolution_277948801_278208001_4FGL_J1158.5+4824_daily_bin149.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/195066 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', comment='SUCCESS', photon_flux='2.87e-08', energy_flux2='1.07e-05', photon_flux_error='2.73e-08', dlogl='1.75e+00', energy_flux='8.91e-06', photon_flux2='9.08e-08', job_status='DONE', time_completed='2021-09-04 17:41:03.426274', photon_index_error2='3.55', photon_index2='7.33', ts='1.96', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='9.21e-08', energy_flux_error2='5.83e-06', EG='0.63', time_epoch_completed='1630802463.43', return_code='0', job_id='195066', GAL2='1.37', EG2='0.52', return_code2='102', energy_flux_error='8.49e-06', photon_flux_error2='4.72e-08', ts2='5.86', photon_index='2.44' WHERE bin_id='149' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:41:03 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 195066: <4FGL_J1158.5+4824_daily_bin149> in cluster Done Job <4FGL_J1158.5+4824_daily_bin149> was submitted from host by user in cluster at Sat Sep 4 17:26:31 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:26:34 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:26:34 2021 Terminated at Sat Sep 4 17:41:04 2021 Results reported at Sat Sep 4 17:41:04 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin149 179.637 48.4161 277948801 278208001 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 : 761.03 sec. Max Memory : 809 MB Average Memory : 267.92 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 869 sec. Turnaround time : 873 sec. The output (if any) is above this job summary.