/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 70 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 = 7447 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin813 RA = 29.646, Dec = -39.5358 tmin = 450057601, tmax = 450316801 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='969706', job_status='RUN', time_executed='2021-08-14 23:19:55.315691', time_epoch_executed='1629008395.32' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='813' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/969706 Creating custom pfile directory: /scratch/kocevski/969706/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=450057601.0 && nMetStart<450316801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=450057601.0 && nMetStart<450316801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/969706/ft1_4FGL_J0158.5-3932_daily_bin813.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=450057601.0 && nMetStart<450316801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/969706/ft1_4FGL_J0158.5-3932_daily_bin813.fits outfile=/scratch/kocevski/969706/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin813.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=450057601.0 tmax=450316801.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 6.69 user 3.32 sys 3.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.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/969706/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin813.fits evtable="EVENTS" outfile="/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.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.59 user 0.35 sys 3.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits" evtable="EVENTS" scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits sctable="SC_DATA" outfile=/scratch/kocevski/969706/ltcube_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.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/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits .....................! real 18.94 user 14.91 sys 3.90 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/969706/ltcube_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits outfile=/scratch/kocevski/969706/expmap_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.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/969706/ltcube_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits .....................! real 197.78 user 188.32 sys 8.75 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/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits outfile=/scratch/kocevski/969706/cmap_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.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.38 user 0.38 sys 2.98 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits outfile=/scratch/kocevski/969706/cmap_HighResolution_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.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.57 user 0.40 sys 3.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/969706/Model_4FGL_J0158.5-3932_daily_bin813.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/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits.....................! real 89.60 user 84.01 sys 5.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits', '/scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits', expMap='/scratch/kocevski/969706/expmap_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits', expCube='/scratch/kocevski/969706/ltcube_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/969706/Model_4FGL_J0158.5-3932_daily_bin813.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/969706/ft1_filtered_4FGL_J0158.5-3932_daily_bin813.fits Spacecraft file(s): /scratch/kocevski/969706/ft2_4FGL_J0158.5-3932_daily_bin813.fits Exposure map: /scratch/kocevski/969706/expmap_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits Exposure cube: /scratch/kocevski/969706/ltcube_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/969706/Model_4FGL_J0158.5-3932_daily_bin813.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) = 4297.24178402 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4297.2277226 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 31.938 1.0000 .10000E-03 10000. 4 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.0974 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.7096 1.0000 .10000E-03 10000. 7 'norm ' .10122E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 11.730 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.0716 1.0000 .10000E-03 10000. 10 'norm ' .90784 1.0000 .10000E-03 10000. 11 'Prefactor ' .10061E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 8.0342 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'norm ' .10008E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .80715 1.0000 .10000E-03 10000. 16 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.3977 1.0000 .10000E-03 10000. 19 'norm ' .10012E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 38.435 1.0000 .10000E-03 10000. 21 'Normalizat' .81599 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.1033 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= 4297.228 FROM MIGRAD STATUS=CONVERGED 460 CALLS 2334 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 9.5993 .11754E-04** at limit ** 2 Prefactor .10000E-03 1.1394 -.14945E-06** at limit ** 3 Prefactor 31.932 26.564 -.78341E-05 .10856E-03 4 Prefactor .10000E-03 15.430 .23471E-08** at limit ** 5 Prefactor 1.0975 2.9460 -.25465E-05 -.96125E-03 6 Prefactor 3.7088 5.5094 .60964E-06 .24255E-03 7 norm .10000E-03 2.6715 .35458E-06** at limit ** 8 Prefactor 11.728 13.142 -.31062E-05 .72964E-04 9 Prefactor 2.0606 54.726 -.37873E-04 -.56114E-04 10 norm .90677 1.5706 -.87743E-06 -.72314E-03 11 Prefactor .10000E-03 4.8016 -.11506E-06** at limit ** 12 Prefactor 8.0306 8.9979 -.28509E-06 .14945E-03 13 Prefactor .10000E-03 26.588 -.63502E-05** at limit ** 14 norm .10000E-03 1.0607 .15729E-06** at limit ** 15 Prefactor .80593 6.7980 -.37547E-05 .37130E-03 16 Prefactor .10000E-03 10.429 -.16524E-04** at limit ** 17 Prefactor .10000E-03 16.319 .10072E-04** at limit ** 18 Prefactor 3.3980 4.3324 -.11052E-06 -.73854E-04 19 norm .10000E-03 .51260 -.33058E-06** at limit ** 20 Prefactor 37.973 227.94 -.74174E-03 .65032E-04 21 Normalizat .81624 .18167 .98080E-05 .60963E-03 22 Prefactor 1.1030 .20487 .79803E-05 .55918E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 31.9322 Prefactor = 0.0001 Prefactor = 1.09745 Prefactor = 3.70882 norm = 0.0001 Prefactor = 11.7276 Prefactor = 2.0606 norm = 0.906774 Prefactor = 0.0001 Prefactor = 8.03064 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.805933 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.39796 norm = 0.0001 Prefactor = 37.9731 Normalizat = 0.816243 Prefactor = 1.10303 ********** ** 18 **HESSE ********** FCN= 4297.228 FROM HESSE STATUS=OK 344 CALLS 2678 TOTAL EDM= .41E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 9.6058 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 1.1431 .68329E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 31.932 26.602 .70901E-04 -1.4577 4 Prefactor .10000E-03 15.506 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.0975 2.8852 .17669E-03 -1.5498 6 Prefactor 3.7088 5.4752 .17933E-03 -1.5323 7 norm .10000E-03 2.6888 .10432E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 11.728 13.142 .11697E-03 -1.5023 9 Prefactor 2.0606 54.677 .28700E-03 -1.5421 10 norm .90677 1.4303 .10296E-02 -1.5518 11 Prefactor .10000E-03 4.8062 .14010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 8.0306 8.9864 .14145E-03 -1.5141 13 Prefactor .10000E-03 26.601 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 1.0782 .65889E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .80593 27.214 .31790E-02 -1.5528 16 Prefactor .10000E-03 10.435 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 16.326 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.3980 4.3248 .14953E-03 -1.5339 19 norm .10000E-03 .81425 .89888E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 37.973 229.77 .32325E-03 -1.4475 21 Normalizat .81624 .21379 .22472E-03 -.99469 22 Prefactor 1.1030 .24203 .22793E-03 -.89370 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.13346e-09 Minuit parameter uncertainties: 1 6.03017e-05 2 1.51198e-05 3 26.6121 4 0.000133751 5 2.8856 6 5.47598 7 6.381e-05 8 13.1449 9 21.2501 10 1.43034 11 6.00014e-06 12 8.98791 13 9.01703e-05 14 1.53315e-05 15 9.37043 16 0.000127239 17 7.57698e-05 18 4.32522 19 3.04574e-05 20 187.904 21 0.214011 22 0.242276 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4297.2277181 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.173e+01 1.314e+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: 1.103e+00 2.423e-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: 8.162e-01 2.140e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.05 Ra Dec: 29.646 -39.536 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 2.61e-08 +/- 2.93e-08 Energy Flux (Fixed Index): 1.46e-05 +/- 1.64e-05 TS (Fixed Index): 1.05 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 9.28e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/969706/likelihoodResults_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.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) = 4297.1207025 delta logL = 0.107015597972 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4297.11595099 delta logL = 0.111767107132 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.3796 1.0000 .10000E-03 10000. 2 'Index ' 2.4941 1.0000 .0000 10.000 3 'Normalizat' .80292 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1138 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4297.116 FROM MIGRAD STATUS=CONVERGED 98 CALLS 301 TOTAL EDM= .13E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.3736 18.083 .73821E-03 -.86673E-04 2 Index 2.4946 1.2747 .64183E-02 .36230E-03 3 Normalizat .80267 .20955 .22641E-03 -.51920E-04 4 Prefactor 1.1144 .24323 .22690E-03 -.73754E-04 ERR DEF= .500 Final values: Prefactor = 7.37356 Index = 2.4946 Normalizat = 0.802668 Prefactor = 1.11445 ********** ** 18 **HESSE ********** FCN= 4297.116 FROM HESSE STATUS=OK 27 CALLS 328 TOTAL EDM= .63E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.3736 13.838 .29528E-04 -1.5165 2 Index 2.4946 .98098 .12837E-02 -.52485 3 Normalizat .80267 .20863 .90564E-05 -.99970 4 Prefactor 1.1144 .24198 .45380E-04 -.89006 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.2805e-11 Minuit parameter uncertainties: 1 13.8442 2 0.989586 3 0.208842 4 0.24222 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/969706': 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) = 4297.11594465 delta logL = 0.111773450554 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 7.374e+00 1.384e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.495e+00 9.896e-01 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: 1.114e+00 2.422e-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: 8.027e-01 2.088e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.27 Ra Dec: 29.646 -39.536 Photon Index (Free Index): 2.49 +/- 0.99 Photon Flux (Free Index): 3.47e-08 +/- 3.76e-08 Energy Flux (Free Index): 1.01e-05 +/- 1.28e-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/969706/cmap_HighResolution_450057601_450316801_4FGL_J0158.5-3932_daily_bin813.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/969706 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', comment='SUCCESS', photon_flux='2.61e-08', energy_flux2='1.01e-05', photon_flux_error='2.93e-08', dlogl='1.12e-01', energy_flux='1.46e-05', photon_flux2='3.47e-08', job_status='DONE', time_completed='2021-08-14 23:30:44.420222', photon_index_error2='0.99', photon_index2='2.49', ts='1.05', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='9.28e-08', energy_flux_error2='1.28e-05', EG='0.82', time_epoch_completed='1629009044.42', return_code='0', job_id='969706', GAL2='1.11', EG2='0.80', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='3.76e-08', ts2='1.27', photon_index='2.09' WHERE bin_id='813' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:30:44 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 969706: <4FGL_J0158.5-3932_daily_bin813> in cluster Done Job <4FGL_J0158.5-3932_daily_bin813> was submitted from host by user in cluster at Sat Aug 14 23:15:41 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:17:42 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:17:42 2021 Terminated at Sat Aug 14 23:30:45 2021 Results reported at Sat Aug 14 23:30:45 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin813 29.646 -39.5358 450057601 450316801 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 : 686.25 sec. Max Memory : 1256 MB Average Memory : 302.59 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 783 sec. Turnaround time : 904 sec. The output (if any) is above this job summary.