/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 210 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 = 7483 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin222 RA = 29.646, Dec = -39.5358 tmin = 296870401, tmax = 297129601 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='966194', job_status='RUN', time_executed='2021-08-14 23:12:01.763639', time_epoch_executed='1629007921.76' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='222' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/966194 Creating custom pfile directory: /scratch/kocevski/966194/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/966194/ft1_4FGL_J0158.5-3932_daily_bin222.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/966194/ft1_4FGL_J0158.5-3932_daily_bin222.fits outfile=/scratch/kocevski/966194/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin222.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=296870401.0 tmax=297129601.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.52 user 3.41 sys 4.95 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.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/966194/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin222.fits evtable="EVENTS" outfile="/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.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 5.24 user 0.35 sys 4.83 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/966194/ltcube_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.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/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits .....................! real 20.38 user 14.61 sys 5.61 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/966194/ltcube_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits outfile=/scratch/kocevski/966194/expmap_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.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/966194/ltcube_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits .....................! real 200.55 user 187.38 sys 11.54 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/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits outfile=/scratch/kocevski/966194/cmap_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.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 5.26 user 0.40 sys 4.76 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits outfile=/scratch/kocevski/966194/cmap_HighResolution_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.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 5.26 user 0.40 sys 4.77 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/966194/Model_4FGL_J0158.5-3932_daily_bin222.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/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits.....................! real 91.38 user 82.48 sys 7.49 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits', '/scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits', expMap='/scratch/kocevski/966194/expmap_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits', expCube='/scratch/kocevski/966194/ltcube_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/966194/Model_4FGL_J0158.5-3932_daily_bin222.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/966194/ft1_filtered_4FGL_J0158.5-3932_daily_bin222.fits Spacecraft file(s): /scratch/kocevski/966194/ft2_4FGL_J0158.5-3932_daily_bin222.fits Exposure map: /scratch/kocevski/966194/expmap_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits Exposure cube: /scratch/kocevski/966194/ltcube_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/966194/Model_4FGL_J0158.5-3932_daily_bin222.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) = 4246.52699462 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4246.52565878 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.807 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.8654 1.0000 .10000E-03 10000. 3 'Prefactor ' .84206E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .18316E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .87073E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10327E-03 1.0000 .10000E-03 10000. 7 'norm ' .54801E-01 1.0000 .10000E-03 10000. 8 'Prefactor ' 12.864 1.0000 .10000E-03 10000. 9 'Prefactor ' .11143E-03 1.0000 .10000E-03 10000. 10 'norm ' .10104E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .43466E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10837E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .41275E-03 1.0000 .10000E-03 10000. 14 'norm ' .61960 1.0000 .10000E-03 10000. 15 'Prefactor ' 9.9636 1.0000 .10000E-03 10000. 16 'Prefactor ' .14049E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .11937E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.3859 1.0000 .10000E-03 10000. 20 'Prefactor ' .25718E-03 1.0000 .10000E-03 10000. 21 'Normalizat' 1.3503 1.0000 .10000E-01 10.000 22 'Prefactor ' .85063 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= 4246.525 FROM MIGRAD STATUS=CONVERGED 493 CALLS 2376 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.987 27.270 .24648E-04 -.32961E-05 2 Prefactor 3.8691 4.1644 -.56554E-06 -.21890E-03 3 Prefactor .10000E-03 10.779 .35477E-05** at limit ** 4 Prefactor .10000E-03 10.533 -.10319E-04** at limit ** 5 Prefactor .10015E-03 2.2293 -.62763E-06** at limit ** 6 Prefactor .10000E-03 2.8784 -.24638E-08** at limit ** 7 norm .11409E-01 3.1038 .77804E-06 -.54920E-03 8 Prefactor 12.912 11.837 -.64532E-05 .43961E-04 9 Prefactor .10000E-03 16.732 -.11701E-04** at limit ** 10 norm .10000E-03 1.4055 .20767E-06** at limit ** 11 Prefactor .10000E-03 30.325 -.57490E-05** at limit ** 12 Prefactor .10000E-03 15.620 .10495E-04** at limit ** 13 Prefactor .10000E-03 33.233 -.65336E-06** at limit ** 14 norm .62064 3.0192 -.10029E-05 -.26024E-03 15 Prefactor 9.9749 17.821 -.41833E-05 -.32237E-04 16 Prefactor .10000E-03 11.027 .10594E-04** at limit ** 17 Prefactor .10000E-03 24.303 -.23484E-05** at limit ** 18 Prefactor .10000E-03 2.1846 -.18005E-06** at limit ** 19 norm 1.3860 1.3609 .22576E-06 -.16828E-04 20 Prefactor .10000E-03 122.62 .50024E-04** at limit ** 21 Normalizat 1.3501 .21001 .14288E-05 .49238E-04 22 Prefactor .85070 .22669 -.18638E-05 .12470E-03 ERR DEF= .500 Final values: Prefactor = 10.9869 Prefactor = 3.86907 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100148 Prefactor = 0.0001 norm = 0.0114091 Prefactor = 12.9125 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.620636 Prefactor = 9.97492 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.38602 Prefactor = 0.0001 Normalizat = 1.35012 Prefactor = 0.850704 ********** ** 18 **HESSE ********** FCN= 4246.525 FROM HESSE STATUS=OK 350 CALLS 2726 TOTAL EDM= .68E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.987 27.188 .12187E-03 -1.5045 2 Prefactor 3.8691 4.1577 .13269E-03 -1.5315 3 Prefactor .10000E-03 10.798 .20871E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 10.540 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10015E-03 22.909 .18785E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 2.8818 .10795E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .11409E-01 5.2137 .40714E-01 -1.5687 8 Prefactor 12.912 11.836 .11168E-03 -1.4989 9 Prefactor .10000E-03 16.743 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10000E-03 4.3164 .14733E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 30.743 .21225E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 15.661 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 33.252 .21249E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .62064 4.9945 .20928E-02 -1.5550 15 Prefactor 9.9749 17.680 .12695E-03 -1.5076 16 Prefactor .10000E-03 11.035 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 24.311 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 2.1877 .94064E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.3860 1.3357 .71321E-04 -1.5473 20 Prefactor .10000E-03 122.63 .21454E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat 1.3501 .25044 .21550E-03 -.82082 22 Prefactor .85070 .27234 .29135E-03 -.97886 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.7874e-09 Minuit parameter uncertainties: 1 27.2188 2 4.15803 3 6.09504e-06 4 4.3108e-06 5 0.00368595 6 1.30794e-07 7 0.485686 8 11.838 9 1.54628e-05 10 5.50277e-05 11 0.000245517 12 2.56281e-05 13 4.46835e-06 14 3.52135 15 17.6891 16 9.2798e-06 17 1.32169e-05 18 5.83432e-07 19 1.3357 20 7.57415e-06 21 0.250666 22 0.272775 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4246.52549193 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.291e+01 1.184e+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: 8.507e-01 2.728e-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.350e+00 2.507e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.51 Ra Dec: 29.646 -39.536 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 2.88e-08 +/- 2.64e-08 Energy Flux (Fixed Index): 1.61e-05 +/- 1.48e-05 TS (Fixed Index): 3.51 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.56e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/966194/likelihoodResults_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.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) = 4246.42609952 delta logL = 0.0993924079276 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4246.42210413 delta logL = 0.103387806563 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.923 1.0000 .10000E-03 10000. 2 'Index ' 1.7398 1.0000 .0000 10.000 3 'Normalizat' 1.3624 1.0000 .10000E-01 10.000 4 'Prefactor ' .84377 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= 4246.422 FROM MIGRAD STATUS=CONVERGED 55 CALLS 215 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.922 11.553 -.23168E-05 .12536E-02 2 Index 1.7394 .56363 .97723E-05 .29839E-03 3 Normalizat 1.3623 .20407 -.39056E-06 -.16633E-03 4 Prefactor .84379 .22517 .31530E-06 -.10349E-03 ERR DEF= .500 Final values: Prefactor = 13.9223 Index = 1.73939 Normalizat = 1.36235 Prefactor = 0.843793 ********** ** 18 **HESSE ********** FCN= 4246.422 FROM HESSE STATUS=OK 29 CALLS 244 TOTAL EDM= .64E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.922 13.725 .10734E-03 -1.4962 2 Index 1.7394 .74797 .10359E-01 -.71038 3 Normalizat 1.3623 .24563 .21471E-03 -.81724 4 Prefactor .84379 .27066 .29243E-03 -.98134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.43409e-09 Minuit parameter uncertainties: 1 13.7283 2 0.752911 3 0.245844 4 0.271092 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/966194': 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) = 4246.42210396 delta logL = 0.10338797308 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.392e+01 1.373e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 1.739e+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: 8.438e-01 2.711e-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.362e+00 2.458e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.72 Ra Dec: 29.646 -39.536 Photon Index (Free Index): 1.74 +/- 0.75 Photon Flux (Free Index): 1.81e-08 +/- 2.67e-08 Energy Flux (Free Index): 2.61e-05 +/- 4.13e-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/966194/cmap_HighResolution_296870401_297129601_4FGL_J0158.5-3932_daily_bin222.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/966194 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='2.61e-05', photon_flux_error='2.64e-08', dlogl='1.03e-01', energy_flux='1.61e-05', photon_flux2='1.81e-08', job_status='DONE', time_completed='2021-08-14 23:23:09.175709', photon_index_error2='0.75', photon_index2='1.74', ts='3.51', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='4.13e-05', EG='1.35', time_epoch_completed='1629008589.18', return_code='0', job_id='966194', GAL2='0.84', EG2='1.36', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='2.67e-08', ts2='3.72', photon_index='2.09' WHERE bin_id='222' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:23:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 966194: <4FGL_J0158.5-3932_daily_bin222> in cluster Done Job <4FGL_J0158.5-3932_daily_bin222> was submitted from host by user in cluster at Sat Aug 14 23:05:47 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:07:00 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:07:00 2021 Terminated at Sat Aug 14 23:23:10 2021 Results reported at Sat Aug 14 23:23:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin222 29.646 -39.5358 296870401 297129601 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 : 735.01 sec. Max Memory : 782 MB Average Memory : 228.91 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 970 sec. Turnaround time : 1043 sec. The output (if any) is above this job summary.