/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 73 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 = 7463 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin1684 RA = 29.646, Dec = -39.5358 tmin = 675820801, tmax = 676080001 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='181012', job_status='RUN', time_executed='2022-06-05 00:08:26.101618', time_epoch_executed='1654412906.1' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='1684' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/181012 Creating custom pfile directory: /scratch/kocevski/181012/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=675820801.0 && nMetStart<676080001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=675820801.0 && nMetStart<676080001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/181012/ft1_4FGL_J0158.5-3932_daily_bin1684.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=675820801.0 && nMetStart<676080001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/181012/ft1_4FGL_J0158.5-3932_daily_bin1684.fits outfile=/scratch/kocevski/181012/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1684.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=675820801.0 tmax=676080001.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.60 user 4.26 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.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/181012/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.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.59 user 0.34 sys 0.16 Number of photons that the gtmktime cut: 538 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/181012/ltcube_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.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/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits .....................! real 14.66 user 14.10 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/181012/ltcube_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits outfile=/scratch/kocevski/181012/expmap_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.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/181012/ltcube_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits .....................! real 193.81 user 187.19 sys 5.18 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/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits outfile=/scratch/kocevski/181012/cmap_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.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.61 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits outfile=/scratch/kocevski/181012/cmap_HighResolution_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.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.56 user 0.41 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181012/Model_4FGL_J0158.5-3932_daily_bin1684.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/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits.....................! real 115.20 user 112.09 sys 1.44 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits', '/scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits', expMap='/scratch/kocevski/181012/expmap_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits', expCube='/scratch/kocevski/181012/ltcube_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/181012/Model_4FGL_J0158.5-3932_daily_bin1684.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/181012/ft1_filtered_4FGL_J0158.5-3932_daily_bin1684.fits Spacecraft file(s): /scratch/kocevski/181012/ft2_4FGL_J0158.5-3932_daily_bin1684.fits Exposure map: /scratch/kocevski/181012/expmap_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits Exposure cube: /scratch/kocevski/181012/ltcube_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/181012/Model_4FGL_J0158.5-3932_daily_bin1684.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) = 5851.59566357 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5851.47248309 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10231E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 2.4894 1.0000 .10000E-03 10000. 3 'Prefactor ' .10159E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .29085E-02 1.0000 .10000E-03 10000. 5 'Prefactor ' 4.0202 1.0000 .10000E-03 10000. 6 'Prefactor ' 15.117 1.0000 .10000E-03 10000. 7 'norm ' .10809E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10687E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10074E-03 1.0000 .10000E-03 10000. 10 'norm ' 3.0278 1.0000 .10000E-03 10000. 11 'Prefactor ' 16.736 1.0000 .10000E-03 10000. 12 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 202.12 1.0000 .10000E-03 10000. 14 'norm ' 2.3237 1.0000 .10000E-03 10000. 15 'Prefactor ' 15.185 1.0000 .10000E-03 10000. 16 'Prefactor ' .10196E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .39878E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10123E-03 1.0000 .10000E-03 10000. 19 'norm ' .12685 1.0000 .10000E-03 10000. 20 'Prefactor ' 71.399 1.0000 .10000E-03 10000. 21 'Normalizat' 1.0073 1.0000 .10000E-01 10.000 22 'Prefactor ' .61139 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 5851.472 FROM MIGRAD STATUS=FAILED 877 CALLS 3280 TOTAL EDM= .33E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.8272 .16409E-02** at limit ** 2 Prefactor 2.4895 2.9932 .69039E-03 .18486E-03 3 Prefactor .10000E-03 16.119 .18142E-02** at limit ** 4 Prefactor .10032E-03 15.618 .84514E-01** at limit ** 5 Prefactor 4.0200 2.9000 .10571E-03 .13390E-03 6 Prefactor 15.116 7.4436 .10301E-03 .46456E-03 7 norm .10011E-03 2.4285 .40985E-01** at limit ** 8 Prefactor .10014E-03 25.342 .32061E-02** at limit ** 9 Prefactor .10000E-03 36.606 .18142E-02** at limit ** 10 norm 3.0279 1.4597 .62112E-04 .14222E-03 11 Prefactor 16.747 12.643 .97902E-04 .31562E-03 12 Prefactor .10000E-03 20.224 .18142E-02** at limit ** 13 Prefactor 202.12 64.043 .28424E-04 .29358E-04 14 norm 2.3239 1.8285 .88474E-04 -.32638E-03 15 Prefactor 15.177 10.953 .10278E-03 .22819E-03 16 Prefactor .10000E-03 4.7806 .16333E-02** at limit ** 17 Prefactor .10000E-03 129.36 .21265E-02** at limit ** 18 Prefactor .10000E-03 1.6750 .96373E-03** at limit ** 19 norm .12735 1.5029 .12166E-02 .66264E-02 20 Prefactor 71.369 215.74 .47510E-04 -.12970E-04 21 Normalizat 1.0073 .17438 .19237E-03 -.61992E-04 22 Prefactor .61131 .19333 .27509E-03 .37971E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5851.472 FROM SIMPLEX STATUS=UNCHANGED 1151 CALLS 4431 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.8272 .31139E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.4895 2.9932 .10115E-05 -1.5392 3 Prefactor .10000E-03 16.119 .53660E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10032E-03 15.618 .47742E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 4.0200 2.9000 .10115E-05 -1.5307 6 Prefactor 15.116 7.4436 .98477E-06 -1.4930 7 norm .10011E-03 2.4285 .18374E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10014E-03 25.342 .80075E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 36.606 .57721E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0279 1.4597 .10056E-05 -1.5360 11 Prefactor 16.747 12.643 .97148E-06 -1.4889 12 Prefactor .10000E-03 20.224 .31601E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 202.12 64.043 .84232E-06 -1.2855 14 norm 2.3239 1.8285 .10092E-05 -1.5403 15 Prefactor 15.177 10.953 .97908E-06 -1.4929 16 Prefactor .10000E-03 4.7806 .25437E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 129.36 .91533E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 1.6750 .13028E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .12735 1.5029 .10446E-05 -1.5637 20 Prefactor 71.369 215.74 .94202E-06 -1.4016 21 Normalizat 1.0073 .17438 .62541E-06 -.92785 22 Prefactor .61131 .19333 .70716E-06 -1.0711 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5851.472 FROM MIGRAD STATUS=CONVERGED 343 CALLS 4774 TOTAL EDM= .34E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.8273 .32818E-03** at limit ** 2 Prefactor 2.4895 2.9919 .27616E-04 -.14409E-04 3 Prefactor .10000E-03 16.127 .36285E-03** at limit ** 4 Prefactor .10032E-03 14.857 .87708E-01** at limit ** 5 Prefactor 4.0200 2.8998 .42283E-05 -.40331E-04 6 Prefactor 15.116 7.3071 .20603E-04 -.33903E-03 7 norm .10008E-03 21.565 .22705E-02** at limit ** 8 Prefactor .10000E-03 25.576 .64123E-03** at limit ** 9 Prefactor .10000E-03 36.623 .36285E-03** at limit ** 10 norm 3.0279 1.4597 .24845E-05 -.92433E-04 11 Prefactor 16.746 12.640 .39161E-05 -.53417E-04 12 Prefactor .10000E-03 20.226 .36285E-03** at limit ** 13 Prefactor 202.12 64.041 .56848E-05 -.27998E-05 14 norm 2.3239 1.8283 .35390E-05 .12850E-05 15 Prefactor 15.177 10.919 .41113E-05 -.45350E-04 16 Prefactor .10000E-03 4.7806 .32665E-03** at limit ** 17 Prefactor .10000E-03 129.41 .42530E-03** at limit ** 18 Prefactor .10000E-03 1.6751 .19275E-03** at limit ** 19 norm .12735 1.4930 .24332E-03 .25371E-04 20 Prefactor 71.371 215.80 .95019E-05 .47859E-06 21 Normalizat 1.0073 .17447 .76950E-05 -.14745E-03 22 Prefactor .61130 .19353 .11004E-04 -.11985E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 2.48946 Prefactor = 0.0001 Prefactor = 0.000100316 Prefactor = 4.02001 Prefactor = 15.1157 norm = 0.000100081 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.02789 Prefactor = 16.7465 Prefactor = 0.0001 Prefactor = 202.124 norm = 2.32389 Prefactor = 15.1769 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.127354 Prefactor = 71.3706 Normalizat = 1.00734 Prefactor = 0.611298 ********** ** 18 **HESSE ********** FCN= 5851.472 FROM HESSE STATUS=OK 334 CALLS 5108 TOTAL EDM= .36E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.8273 .65637E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.4895 2.9909 .11046E-05 -1.5392 3 Prefactor .10000E-03 16.127 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10032E-03 15.034 .86934E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 4.0200 2.8990 .84565E-06 -1.5307 6 Prefactor 15.116 7.2964 .41205E-05 -1.4930 7 norm .10008E-03 22.441 .90821E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 25.586 .12825E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 36.624 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.0279 1.4599 .49689E-06 -1.5360 11 Prefactor 16.746 12.639 .78322E-06 -1.4889 12 Prefactor .10000E-03 20.226 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 202.12 63.996 .11370E-05 -1.2855 14 norm 2.3239 1.8283 .70779E-06 -1.5403 15 Prefactor 15.177 10.906 .82225E-06 -1.4929 16 Prefactor .10000E-03 4.7806 .65331E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 129.41 .85060E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 1.6751 .38549E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .12735 1.4896 .97328E-05 -1.5637 20 Prefactor 71.371 215.57 .19004E-05 -1.4016 21 Normalizat 1.0073 .17404 .15390E-05 -.92785 22 Prefactor .61130 .19326 .22007E-05 -1.0711 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.6037e-09 Minuit parameter uncertainties: 1 3.88219e-08 2 2.99111 3 5.60088e-07 4 0.00436064 5 2.89909 6 7.29682 7 0.00269548 8 0.000197807 9 1.23219e-05 10 1.45993 11 12.6407 12 4.51238e-06 13 64.0181 14 1.82836 15 10.9074 16 5.45156e-07 17 7.95605e-05 18 7.85156e-09 19 0.870777 20 217.994 21 0.174137 22 0.193472 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5851.47247918 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.000e-04 1.978e-04 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: 6.113e-01 1.935e-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.007e+00 1.741e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 4.70e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.55e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/181012/likelihoodResults_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5851.47266605 delta logL = -0.00018686895055 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5851.47247886 delta logL = 3.18933416565e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11885E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.1819 1.0000 .0000 10.000 3 'Normalizat' 1.0074 1.0000 .10000E-01 10.000 4 'Prefactor ' .61123 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= 5851.472 FROM MIGRAD STATUS=CONVERGED 70 CALLS 243 TOTAL EDM= .40E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10233E-03 2.6485 .61309E-01** at limit ** 2 Index 2.3143 2.7418 .50000 -.33515E-04 3 Normalizat 1.0073 .24395E-02 .46259E-01 -.62595E-04 4 Prefactor .61130 .27896E-02 .62179E-01 -.85167E-05 ERR DEF= .500 Final values: Prefactor = 0.000102335 Index = 2.31433 Normalizat = 1.00734 Prefactor = 0.611299 ********** ** 18 **HESSE ********** FCN= 5851.472 FROM HESSE STATUS=NOT POSDEF 43 CALLS 286 TOTAL EDM= .24E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10233E-03 3.4969 .53402E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.3143 2.8426 .50000 -.56704 3 Normalizat 1.0073 .25477E-02 .19237E-03 -.92785 4 Prefactor .61130 .29098E-02 .27509E-03 -1.0711 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.3501e-11 Minuit parameter uncertainties: 1 0.00571473 2 3.11928 3 0.00254774 4 0.00290978 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/181012': 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) = 5851.47247759 delta logL = 1.59471437655e-06 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.023e-04 5.715e-03 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.314e+00 3.119e+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: 6.113e-01 2.910e-03 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.007e+00 2.548e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 29.646 -39.536 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/181012/cmap_HighResolution_675820801_676080001_4FGL_J0158.5-3932_daily_bin1684.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/181012 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.70e-08', time_completed='2022-06-05 00:23:05.114451', job_id='181012', GAL2='0.61', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1654413785.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.59e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1684' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jun 5 00:23:05 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 181012: <4FGL_J0158.5-3932_daily_bin1684> in cluster Done Job <4FGL_J0158.5-3932_daily_bin1684> was submitted from host by user in cluster at Sun Jun 5 00:04:49 2022 Job was executed on host(s) , in queue , as user in cluster at Sun Jun 5 00:06:55 2022 was used as the home directory. was used as the working directory. Started at Sun Jun 5 00:06:55 2022 Terminated at Sun Jun 5 00:23:05 2022 Results reported at Sun Jun 5 00:23:05 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin1684 29.646 -39.5358 675820801 676080001 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 : 871.34 sec. Max Memory : 1257 MB Average Memory : 339.75 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 970 sec. Turnaround time : 1096 sec. The output (if any) is above this job summary.