/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 80 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 = 7398 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin324 RA = 29.646, Dec = -39.5358 tmin = 323308801, tmax = 323568001 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='967666', job_status='RUN', time_executed='2021-08-14 23:12:13.701591', time_epoch_executed='1629007933.7' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='324' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/967666 Creating custom pfile directory: /scratch/kocevski/967666/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=323308801.0 && nMetStart<323568001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=323308801.0 && nMetStart<323568001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/967666/ft1_4FGL_J0158.5-3932_daily_bin324.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=323308801.0 && nMetStart<323568001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/967666/ft1_4FGL_J0158.5-3932_daily_bin324.fits outfile=/scratch/kocevski/967666/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin324.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=323308801.0 tmax=323568001.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.32 user 3.11 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.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/967666/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin324.fits evtable="EVENTS" outfile="/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.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.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits" evtable="EVENTS" scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits sctable="SC_DATA" outfile=/scratch/kocevski/967666/ltcube_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.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/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits .....................! real 12.45 user 12.10 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits sctable="SC_DATA" expcube=/scratch/kocevski/967666/ltcube_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits outfile=/scratch/kocevski/967666/expmap_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.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/967666/ltcube_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits .....................! real 190.91 user 186.03 sys 4.41 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/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits outfile=/scratch/kocevski/967666/cmap_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.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 0.54 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits outfile=/scratch/kocevski/967666/cmap_HighResolution_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.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 0.52 user 0.37 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/967666/Model_4FGL_J0158.5-3932_daily_bin324.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/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits....................! real 119.68 user 118.09 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits', '/scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits', expMap='/scratch/kocevski/967666/expmap_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits', expCube='/scratch/kocevski/967666/ltcube_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/967666/Model_4FGL_J0158.5-3932_daily_bin324.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/967666/ft1_filtered_4FGL_J0158.5-3932_daily_bin324.fits Spacecraft file(s): /scratch/kocevski/967666/ft2_4FGL_J0158.5-3932_daily_bin324.fits Exposure map: /scratch/kocevski/967666/expmap_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits Exposure cube: /scratch/kocevski/967666/ltcube_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/967666/Model_4FGL_J0158.5-3932_daily_bin324.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) = 6051.89255053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6051.87945656 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.9009 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.2889 1.0000 .10000E-03 10000. 3 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 15.478 1.0000 .10000E-03 10000. 5 'Prefactor ' .53546 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 19.652 1.0000 .10000E-03 10000. 8 'Prefactor ' 8.4799 1.0000 .10000E-03 10000. 9 'Prefactor ' 16.564 1.0000 .10000E-03 10000. 10 'norm ' .10003E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10183E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.6517 1.0000 .10000E-03 10000. 13 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 14 'norm ' 3.4374 1.0000 .10000E-03 10000. 15 'Prefactor ' .33930E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 7.5638 1.0000 .10000E-03 10000. 17 'Prefactor ' 21.325 1.0000 .10000E-03 10000. 18 'Prefactor ' .10112E-03 1.0000 .10000E-03 10000. 19 'norm ' 2.7569 1.0000 .10000E-03 10000. 20 'Prefactor ' .34290E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .84364 1.0000 .10000E-01 10.000 22 'Prefactor ' .92653 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= 6051.879 FROM MIGRAD STATUS=CONVERGED 473 CALLS 2406 TOTAL EDM= .41E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.8998 17.194 .32445E-06 -.26926E-04 2 Prefactor 1.2886 3.0539 .88395E-06 -.14909E-04 3 Prefactor .10000E-03 4.7652 .29133E-07** at limit ** 4 Prefactor 15.472 22.589 -.10656E-05 -.18309E-03 5 Prefactor .53649 3.5645 .20578E-05 -.38293E-04 6 Prefactor .10000E-03 2.9570 .95749E-07** at limit ** 7 norm 19.652 6.6021 .92707E-07 .16607E-03 8 Prefactor 8.4796 9.0833 .19542E-05 -.52635E-04 9 Prefactor 16.563 18.481 -.15386E-07 .15535E-04 10 norm .10000E-03 .52987 .41867E-07** at limit ** 11 Prefactor .10000E-03 25.373 .90150E-06** at limit ** 12 Prefactor 4.6554 13.068 .31820E-06 .47720E-04 13 Prefactor .10000E-03 22.455 .11716E-06** at limit ** 14 norm 3.4378 2.2826 .64820E-07 -.21367E-04 15 Prefactor .10004E-03 7.9212 -.11995E-05** at limit ** 16 Prefactor 7.5642 10.266 .23530E-06 -.23715E-05 17 Prefactor 21.330 36.752 .49863E-06 .52945E-04 18 Prefactor .10000E-03 1.7244 .75710E-07** at limit ** 19 norm 2.7578 1.2729 -.15641E-07 .61055E-03 20 Prefactor .10024E-03 950.54 -.11779E-04** at limit ** 21 Normalizat .84370 .14758 -.43029E-06 -.90649E-04 22 Prefactor .92651 .16905 -.11264E-05 -.62875E-04 ERR DEF= .500 Final values: Prefactor = 8.89982 Prefactor = 1.28865 Prefactor = 0.0001 Prefactor = 15.4718 Prefactor = 0.536492 Prefactor = 0.0001 norm = 19.6521 Prefactor = 8.47959 Prefactor = 16.5631 norm = 0.0001 Prefactor = 0.0001 Prefactor = 4.65543 Prefactor = 0.0001 norm = 3.43779 Prefactor = 0.000100038 Prefactor = 7.56417 Prefactor = 21.3304 Prefactor = 0.0001 norm = 2.75784 Prefactor = 0.000100243 Normalizat = 0.843696 Prefactor = 0.92651 ********** ** 18 **HESSE ********** FCN= 6051.879 FROM HESSE STATUS=OK 352 CALLS 2758 TOTAL EDM= .19E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.8998 17.189 .13435E-03 -1.5111 2 Prefactor 1.2886 3.0515 .19746E-03 -1.5481 3 Prefactor .10000E-03 4.7689 .16586E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 15.472 22.685 .10180E-03 -1.4921 5 Prefactor .53649 3.5939 .27090E-03 -1.5561 6 Prefactor .10000E-03 2.9707 .13059E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 19.652 6.6029 .90350E-04 -1.4821 8 Prefactor 8.4796 9.0428 .68830E-03 -1.5125 9 Prefactor 16.563 18.499 .98409E-04 -1.4894 10 norm .10000E-03 .54531 .11059E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 25.661 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 4.6554 12.910 .18660E-03 -1.5276 13 Prefactor .10000E-03 22.491 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.4378 2.2792 .90672E-04 -1.5337 15 Prefactor .10004E-03 25.299 .39762E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.5642 10.264 .72909E-03 -1.5158 17 Prefactor 21.330 36.796 .86737E-04 -1.4784 18 Prefactor .10000E-03 3.7067 .19918E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 2.7578 1.2404 .56063E-04 -1.5376 20 Prefactor .10024E-03 990.59 .21332E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .84370 .17493 .21501E-03 -.98468 22 Prefactor .92651 .19990 .24124E-03 -.95221 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.86009e-09 Minuit parameter uncertainties: 1 17.1988 2 3.05183 3 2.61239e-06 4 22.6977 5 2.77712 6 3.42217e-06 7 6.60312 8 9.04426 9 18.5059 10 1.78649e-06 11 8.43407e-05 12 12.9174 13 4.14228e-05 14 2.27929 15 0.00195761 16 10.2663 17 36.8355 18 1.00581e-05 19 1.24042 20 0.031582 21 0.175046 22 0.200059 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6051.87945082 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 8.480e+00 9.044e+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 GAL_V02 Spectrum: PowerLaw 548 Prefactor: 9.265e-01 2.001e-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.437e-01 1.750e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.26 Ra Dec: 29.646 -39.536 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 1.89e-08 +/- 2.01e-08 Energy Flux (Fixed Index): 1.06e-05 +/- 1.13e-05 TS (Fixed Index): 1.26 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 6.65e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/967666/likelihoodResults_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.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) = 6051.86378996 delta logL = 0.0156608589568 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6051.85913421 delta logL = 0.020316603448 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.5384 1.0000 .10000E-03 10000. 2 'Index ' 2.2304 1.0000 .0000 10.000 3 'Normalizat' .84020 1.0000 .10000E-01 10.000 4 'Prefactor ' .92895 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= 6051.859 FROM MIGRAD STATUS=CONVERGED 45 CALLS 205 TOTAL EDM= .28E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.5384 283.05 .36516E-02 .90083E-03 2 Index 2.2304 5.9519 .14246 .18903E-03 3 Normalizat .84020 .64032E-01 .44133E-01 .62572E-04 4 Prefactor .92896 .64265E-01 .45373E-01 .12630E-03 ERR DEF= .500 Final values: Prefactor = 7.53843 Index = 2.23041 Normalizat = 0.840199 Prefactor = 0.928959 ********** ** 18 **HESSE ********** FCN= 6051.859 FROM HESSE STATUS=OK 33 CALLS 238 TOTAL EDM= .51E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.5384 10.216 .14607E-03 -1.5159 2 Index 2.2304 .74880 .84832E-02 -.58706 3 Normalizat .84020 .16914 .21541E-03 -.98594 4 Prefactor .92896 .19821 .24095E-03 -.95136 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.14205e-10 Minuit parameter uncertainties: 1 10.2188 2 0.7529 3 0.169245 4 0.19836 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/967666': 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) = 6051.85913421 delta logL = 0.0203166051569 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 7.538e+00 1.022e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.230e+00 7.529e-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: 9.290e-01 1.984e-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.402e-01 1.692e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.29 Ra Dec: 29.646 -39.536 Photon Index (Free Index): 2.23 +/- 0.75 Photon Flux (Free Index): 2.15e-08 +/- 2.48e-08 Energy Flux (Free Index): 9.14e-06 +/- 1.22e-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/967666/cmap_HighResolution_323308801_323568001_4FGL_J0158.5-3932_daily_bin324.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/967666 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', comment='SUCCESS', photon_flux='1.89e-08', energy_flux2='9.14e-06', photon_flux_error='2.01e-08', dlogl='2.03e-02', energy_flux='1.06e-05', photon_flux2='2.15e-08', job_status='DONE', time_completed='2021-08-14 23:24:01.257744', photon_index_error2='0.75', photon_index2='2.23', ts='1.26', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.65e-08', energy_flux_error2='1.22e-05', EG='0.84', time_epoch_completed='1629008641.26', return_code='0', job_id='967666', GAL2='0.93', EG2='0.84', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='2.48e-08', ts2='1.29', photon_index='2.09' WHERE bin_id='324' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:24:01 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 967666: <4FGL_J0158.5-3932_daily_bin324> in cluster Done Job <4FGL_J0158.5-3932_daily_bin324> was submitted from host by user in cluster at Sat Aug 14 23:10:26 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:10:45 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:10:45 2021 Terminated at Sat Aug 14 23:24:02 2021 Results reported at Sat Aug 14 23:24:02 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin324 29.646 -39.5358 323308801 323568001 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 : 705.00 sec. Max Memory : 1206 MB Average Memory : 367.96 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 797 sec. Turnaround time : 816 sec. The output (if any) is above this job summary.