/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 2 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 = 7486 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin1324 RA = 29.646, Dec = -39.5358 tmin = 582508801, tmax = 582768001 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='971973', job_status='RUN', time_executed='2021-08-14 23:26:38.484828', time_epoch_executed='1629008798.48' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='1324' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/971973 Creating custom pfile directory: /scratch/kocevski/971973/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=582508801.0 && nMetStart<582768001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=582508801.0 && nMetStart<582768001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/971973/ft1_4FGL_J0158.5-3932_daily_bin1324.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=582508801.0 && nMetStart<582768001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/971973/ft1_4FGL_J0158.5-3932_daily_bin1324.fits outfile=/scratch/kocevski/971973/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1324.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=582508801.0 tmax=582768001.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 8.84 user 3.48 sys 3.34 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.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/971973/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1324.fits evtable="EVENTS" outfile="/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.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 3.45 user 0.36 sys 2.99 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/971973/ltcube_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.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/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits .....................! real 17.47 user 13.83 sys 3.55 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/971973/ltcube_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits outfile=/scratch/kocevski/971973/expmap_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.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/971973/ltcube_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits .....................! real 195.73 user 185.40 sys 9.53 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 Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template. Added 174 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0158.5-3932 @ 29.646 -39.5358 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits outfile=/scratch/kocevski/971973/cmap_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.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=29.646 yref=-39.5358 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 3.67 user 0.38 sys 3.22 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits outfile=/scratch/kocevski/971973/cmap_HighResolution_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.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=29.646 yref=-39.5358 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 3.40 user 0.39 sys 2.96 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/971973/Model_4FGL_J0158.5-3932_daily_bin1324.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 Fornax A adding source GAL_V02 Working on... /scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits.....................! real 106.78 user 101.35 sys 4.96 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits', '/scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits', expMap='/scratch/kocevski/971973/expmap_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits', expCube='/scratch/kocevski/971973/ltcube_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/971973/Model_4FGL_J0158.5-3932_daily_bin1324.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0158.5-3932' 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 4.060e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.091e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/971973/ft1_filtered_4FGL_J0158.5-3932_daily_bin1324.fits Spacecraft file(s): /scratch/kocevski/971973/ft2_4FGL_J0158.5-3932_daily_bin1324.fits Exposure map: /scratch/kocevski/971973/expmap_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits Exposure cube: /scratch/kocevski/971973/ltcube_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/971973/Model_4FGL_J0158.5-3932_daily_bin1324.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) = 5168.03936959 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5168.03743962 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 ' .10004E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 44.143 1.0000 .10000E-03 10000. 4 'Prefactor ' .10376E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.1064 1.0000 .10000E-03 10000. 6 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.7536 1.0000 .10000E-03 10000. 8 'Prefactor ' 12.903 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' 32.058 1.0000 .10000E-03 10000. 11 'Prefactor ' .43081E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.6201 1.0000 .10000E-03 10000. 13 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 14 'norm ' .25695 1.0000 .10000E-03 10000. 15 'Prefactor ' 8.6432 1.0000 .10000E-03 10000. 16 'Prefactor ' .10105E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 41.755 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.9182 1.0000 .10000E-03 10000. 19 'norm ' .10004E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 359.89 1.0000 .10000E-03 10000. 21 'Normalizat' 1.4674 1.0000 .10000E-01 10.000 22 'Prefactor ' .27717 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5168.037 FROM MIGRAD STATUS=CONVERGED 485 CALLS 3437 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 10.310 -.78621E-07** at limit ** 2 Prefactor .10000E-03 2.3758 -.20266E-06** at limit ** 3 Prefactor 44.140 29.090 .24695E-07 .34021E-04 4 Prefactor .10000E-03 55.581 -.49302E-06** at limit ** 5 Prefactor 1.1040 2.1127 -.10802E-05 -.10965E-02 6 Prefactor .10000E-03 6.6612 -.36658E-07** at limit ** 7 norm 2.7531 2.8264 .10740E-06 .45394E-04 8 Prefactor 12.904 14.265 .66269E-07 .35889E-04 9 Prefactor .10000E-03 8.0039 -.12504E-06** at limit ** 10 norm 32.057 4.2251 .30267E-07 .33457E-03 11 Prefactor .10053E-03 70.548 -.60071E-05** at limit ** 12 Prefactor 2.6002 37.756 .18836E-05 .15965E-03 13 Prefactor .10000E-03 28.594 .14396E-05** at limit ** 14 norm .25824 4.5788 -.14252E-06 -.11920E-02 15 Prefactor 8.6402 12.150 -.15728E-07 .15550E-03 16 Prefactor .10000E-03 31.594 -.21854E-05** at limit ** 17 Prefactor 41.752 52.958 .72671E-06 -.22042E-04 18 Prefactor 3.9189 4.9107 -.67397E-07 .24017E-04 19 norm .10000E-03 .41061 -.12991E-06** at limit ** 20 Prefactor 359.93 309.54 -.16108E-05 -.18633E-04 21 Normalizat 1.4674 .20006 .11028E-05 .88486E-04 22 Prefactor .27716 .20967 -.11509E-05 .30090E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 44.1402 Prefactor = 0.0001 Prefactor = 1.10396 Prefactor = 0.0001 norm = 2.75306 Prefactor = 12.9041 Prefactor = 0.0001 norm = 32.0568 Prefactor = 0.000100535 Prefactor = 2.60019 Prefactor = 0.0001 norm = 0.25824 Prefactor = 8.64017 Prefactor = 0.000100001 Prefactor = 41.7523 Prefactor = 3.9189 norm = 0.0001 Prefactor = 359.926 Normalizat = 1.46742 Prefactor = 0.277161 ********** ** 18 **HESSE ********** FCN= 5168.037 FROM HESSE STATUS=OK 350 CALLS 3787 TOTAL EDM= .85E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 10.322 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 2.4259 .10806E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 44.140 29.251 .60341E-04 -1.4378 4 Prefactor .10000E-03 56.129 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.1040 2.1168 .17096E-02 -1.5498 6 Prefactor .10000E-03 6.7830 .18113E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.7531 2.8287 .11912E-03 -1.5376 8 Prefactor 12.904 14.280 .11151E-03 -1.4989 9 Prefactor .10000E-03 8.0086 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 32.057 4.2213 .51581E-04 -1.4575 11 Prefactor .10053E-03 117.69 .45001E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.6002 39.393 .25197E-03 -1.5385 13 Prefactor .10000E-03 28.590 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .25824 7.3448 .17243E-02 -1.5606 15 Prefactor 8.6402 12.147 .13635E-03 -1.5120 16 Prefactor .10000E-03 31.569 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 41.752 52.784 .62036E-04 -1.4415 18 Prefactor 3.9189 4.9209 .17312E-03 -1.5312 19 norm .10000E-03 .41939 .89704E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 359.93 308.68 .10737E-03 -1.1890 21 Normalizat 1.4674 .21132 .19596E-03 -.78698 22 Prefactor .27716 .21337 .44586E-03 -1.2363 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.49896e-09 Minuit parameter uncertainties: 1 1.21555e-06 2 5.53384e-07 3 29.2608 4 8.87588e-05 5 2.11693 6 5.17106e-06 7 2.82887 8 14.2833 9 5.6095e-06 10 4.22134 11 0.0158961 12 20.257 13 0.000123222 14 2.75426 15 12.1508 16 0.000257084 17 52.843 18 4.92143 19 1.58084e-07 20 310.112 21 0.211448 22 0.21398 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5168.03743667 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.290e+01 1.428e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.091e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 548 Prefactor: 2.772e-01 2.140e-01 0.000e+00 1.000e+01 ( 1.000e+00) 549 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 550 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 544 Normalization: 1.467e+00 2.114e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.12 Ra Dec: 29.646 -39.536 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 2.88e-08 +/- 3.18e-08 Energy Flux (Fixed Index): 1.61e-05 +/- 1.78e-05 TS (Fixed Index): 1.12 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/971973/likelihoodResults_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.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) = 5167.79143096 delta logL = 0.24600571376 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5167.76743527 delta logL = 0.270001402439 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.2365 1.0000 .10000E-03 10000. 2 'Index ' 2.8934 1.0000 .0000 10.000 3 'Normalizat' 1.4254 1.0000 .10000E-01 10.000 4 'Prefactor ' .30992 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5167.767 FROM MIGRAD STATUS=CONVERGED 61 CALLS 261 TOTAL EDM= .28E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.2263 118.32 .43914E-02 .40120E-03 2 Index 2.8939 3.5522 .10828 .15587E-03 3 Normalizat 1.4254 .66494E-01 .44864E-01 -.26709E-04 4 Prefactor .30997 .63900E-01 .95351E-01 .26367E-04 ERR DEF= .500 Final values: Prefactor = 5.22626 Index = 2.89394 Normalizat = 1.42537 Prefactor = 0.309972 ********** ** 18 **HESSE ********** FCN= 5167.767 FROM HESSE STATUS=OK 33 CALLS 294 TOTAL EDM= .41E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.2263 82.593 .13807E-03 -1.5251 2 Index 2.8939 3.6232 .56834E-02 -.43478 3 Normalizat 1.4254 .24782 .19830E-03 -.79898 4 Prefactor .30997 .25706 .42272E-03 -1.2168 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.14768e-10 Minuit parameter uncertainties: 1 41.6204 2 4.19729 3 0.248031 4 0.258009 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/971973': 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) = 5167.76743452 delta logL = 0.270002158726 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 5.226e+00 4.162e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.894e+00 4.197e+00 0.000e+00 1.000e+01 (-1.000e+00) 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 548 Prefactor: 3.100e-01 2.580e-01 0.000e+00 1.000e+01 ( 1.000e+00) 549 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 550 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 544 Normalization: 1.425e+00 2.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.66 Ra Dec: 29.646 -39.536 Photon Index (Free Index): 2.89 +/- 4.20 Photon Flux (Free Index): 5.54e-08 +/- 7.05e-08 Energy Flux (Free Index): 1.17e-05 +/- 2.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/971973/cmap_HighResolution_582508801_582768001_4FGL_J0158.5-3932_daily_bin1324.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/971973 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='1.17e-05', photon_flux_error='3.18e-08', dlogl='2.70e-01', energy_flux='1.61e-05', photon_flux2='5.54e-08', job_status='DONE', time_completed='2021-08-14 23:39:31.796830', photon_index_error2='4.20', photon_index2='2.89', ts='1.12', fit_tolerance='1e-08', GAL='0.28', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='2.07e-05', EG='1.47', time_epoch_completed='1629009571.8', return_code='0', job_id='971973', GAL2='0.31', EG2='1.43', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='7.05e-08', ts2='1.66', photon_index='2.09' WHERE bin_id='1324' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:39:31 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 971973: <4FGL_J0158.5-3932_daily_bin1324> in cluster Done Job <4FGL_J0158.5-3932_daily_bin1324> was submitted from host by user in cluster at Sat Aug 14 23:21:18 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:25:33 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:25:33 2021 Terminated at Sat Aug 14 23:39:33 2021 Results reported at Sat Aug 14 23:39:33 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin1324 29.646 -39.5358 582508801 582768001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0158.5-3932 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 816.00 sec. Max Memory : 1094 MB Average Memory : 326.68 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 839 sec. Turnaround time : 1095 sec. The output (if any) is above this job summary.