 **********
 **   18 **HESSE 
 **********

 FCN=   24139.38     FROM HESSE     STATUS=OK           267 CALLS     2097 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.1327        .11916E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.3415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0148        3.9936        .40936E-03   -1.5659    
   4  Prefactor     .55511E-10    9.8435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.675        21.667        .26150E-03   -1.5631    
   6  Prefactor     .36697        .83292        .56615E-02   -1.5696    
   7  Prefactor      .0000        20.761        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    6.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.596        11.237        .29384E-03   -1.5640    
  10  Prefactor     .94369E-09    151.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.190        9.2399        .24851E-03   -1.5627    
  12  norm          .55511E-10    16.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2139        .75564        .10252E-02   -1.5686    
  14  Prefactor     .11102E-09    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .81245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .57205        .22003        .16978       -1.0918    
  17  Prefactor     1.1529        .50132E-01    .35854E-01   -.87793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49992e-09
Minuit parameter uncertainties:
  1  6.91255e-05
  2  4.78068e-06
  3  3.99362
  4  4.51266e-05
  5  21.6675
  6  0.832919
  7  1.56567e-05
  8  3.44869e-05
  9  11.2368
  10  0.00075106
  11  9.23988
  12  7.1225e-05
  13  0.75564
  14  7.9872e-05
  15  1.99305e-06
  16  0.220364
  17  0.0501345
number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3805462

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  1.566e-05  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  5.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 300.375 -8.316
Photon Flux Upper Limit: 5.82491946879e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00442250042201 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683122/likelihoodResults_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.4036561
delta logL = -0.02310989947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24138.9925485
delta logL = 0.387997691101

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .53596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2999        .42118E-03** at limit **
   2  Index         .65614        .78230        .13559E-04     .0000    
   3  Normalizat    .57204        .89760        .17340E-04    .19513E-03
   4  Prefactor     1.1529        1.1168        .54637E-05   -.46134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.656139
  Normalizat = 0.572043
  Prefactor  = 1.1529
/sdf/group/fermi/u/kocevski/software/conda/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
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2999        .42118E-03   -.15167E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16316E-03    .87848        .13559E-04   -.17487E+07
   3  Normalizat    .57204        .89760        .17340E-04    161.31    
   4  Prefactor     1.1529        1.1168        .54637E-05   -157.96    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.6131e-10
Minuit parameter uncertainties:
  1  8.54935e-06
  2  0.795937
  3  0.92206
  4  1.1409
Done.


Performing analysis on: 4FGL_J2001.5-0818_weekly_bin936
RA = 300.375, Dec = -8.3162
tmin = 805075201, tmax = 805680001
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='31684350', job_status='RUN', time_executed='2026-07-14 17:17:23.197266', time_epoch_executed='1784074643.2' WHERE source_name='4FGL J2001.5-0818' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31684350

Creating custom pfile directory:
/lscratch/kocevski/31684350/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31684350/ft1_4FGL_J2001.5-0818_weekly_bin936.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31684350/ft1_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31684350/ft1_filteredMKT_4FGL_J2001.5-0818_weekly_bin936.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=805075201.0 tmax=805680001.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 5.37
user 4.47
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31684350/ft1_filteredMKT_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.20
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2310

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" 
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/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)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24139.3805462
delta logL = -6.91215973347e-11

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  8.549e-06  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  6.561e-01  7.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  1.141e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  9.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 300.375 -8.316

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31683122/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2026-07-14 17:26:25.363356', job_id='31683122', GAL2='1.15', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1784075185.36', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='936' AND source_name='4FGL J2001.5-0818' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:26:26 PDT 2026


WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

outfile=/lscratch/kocevski/31684350/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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 /lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits
.....................!
real 18.97
user 17.89
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31684350/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31684350/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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 /lscratch/kocevski/31684350/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
.....................!
real 70.71
user 65.33
sys 4.11

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 G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Added 282 point sources and 10 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 J2001.5-0818 @ 300.375 -8.3162

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31684350/cmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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=300.375 yref=-8.3162 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 1.11
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31684350/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=2000Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3805462

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  1.566e-05  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  5.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 300.375 -8.316
Photon Flux Upper Limit: 5.82491946879e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00442250042201 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683166/likelihoodResults_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.4036561
delta logL = -0.02310989947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24138.9925485
delta logL = 0.387997691101

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .53596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2999        .42118E-03** at limit **
   2  Index         .65614        .78230        .13559E-04     .0000    
   3  Normalizat    .57204        .89760        .17340E-04    .19513E-03
   4  Prefactor     1.1529        1.1168        .54637E-05   -.46134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.656139
  Normalizat = 0.572043
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2999        .42118E-03   -.15167E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16316E-03    .87848        .13559E-04   -.17487E+07
   3  Normalizat    .57204        .89760        .17340E-04    161.31    
   4  Prefactor     1.1529        1.1168        .54637E-05   -157.96    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.6131e-10
Minuit parameter uncertainties:
  1  8.54935e-06
  2  0.795937
  3  0.92206
  4  1.1409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24139.3805462
delta logL = -6.91215973347e-11

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  8.549e-06  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  6.561e-01  7.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  1.141e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  9.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 300.375 -8.316

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31683166/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2026-07-14 17:28:50.155204', job_id='31683166', GAL2='1.15', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1784075330.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='936' AND source_name='4FGL J2001.5-0818' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:28:50 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3805462

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  1.566e-05  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  5.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 300.375 -8.316
Photon Flux Upper Limit: 5.82491946879e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00442250042201 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683234/likelihoodResults_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.4036561
delta logL = -0.02310989947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24138.9925485
delta logL = 0.387997691101

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .53596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2999        .42118E-03** at limit **
   2  Index         .65614        .78230        .13559E-04     .0000    
   3  Normalizat    .57204        .89760        .17340E-04    .19513E-03
   4  Prefactor     1.1529        1.1168        .54637E-05   -.46134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.656139
  Normalizat = 0.572043
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2999        .42118E-03   -.15167E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16316E-03    .87848        .13559E-04   -.17487E+07
   3  Normalizat    .57204        .89760        .17340E-04    161.31    
   4  Prefactor     1.1529        1.1168        .54637E-05   -157.96    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.6131e-10
Minuit parameter uncertainties:
  1  8.54935e-06
  2  0.795937
  3  0.92206
  4  1.1409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24139.3805462
delta logL = -6.91215973347e-11

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  8.549e-06  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  6.561e-01  7.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  1.141e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  9.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 300.375 -8.316

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31683234/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2026-07-14 17:29:45.924565', job_id='31683234', GAL2='1.15', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1784075385.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='936' AND source_name='4FGL J2001.5-0818' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:29:46 PDT 2026

number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2001.5-0818_weekly_bin936
RA = 300.375, Dec = -8.3162
tmin = 805075201, tmax = 805680001
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='31685121', job_status='RUN', time_executed='2026-07-14 17:26:35.517305', time_epoch_executed='1784075195.52' WHERE source_name='4FGL J2001.5-0818' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31685121

Creating custom pfile directory:
/lscratch/kocevski/31685121/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31685121/ft1_4FGL_J2001.5-0818_weekly_bin936.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31685121/ft1_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31685121/ft1_filteredMKT_4FGL_J2001.5-0818_weekly_bin936.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=805075201.0 tmax=805680001.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.58
user 3.88
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/31685121/ft1_filteredMKT_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.97
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 2310

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31685121/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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 /lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits
.....................!
real 15.95
user 15.11
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31685121/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31685121/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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 /lscratch/kocevski/31685121/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
.....................!
real 59.81
user 55.56
sys 3.47

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 G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Added 282 point sources and 10 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 J2001.5-0818 @ 300.375 -8.3162

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31685121/cmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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=300.375 yref=-8.3162 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.79
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits outfile=/lscratch/kocevski/31685121/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=20000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=300.375 yref=-8.3162 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 1.02
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31684350/Model_4FGL_J2001.5-0818_weekly_bin936.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 FGES J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits.....................!
real 170.19
user 167.47
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits', '/lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits', expMap='/lscratch/kocevski/31684350/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits', expCube='/lscratch/kocevski/31684350/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31684350/Model_4FGL_J2001.5-0818_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2001.5-0818'

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.722e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31684350/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31684350/ft2_4FGL_J2001.5-0818_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31684350/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31684350/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31684350/Model_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.3865153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3833648

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36028       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20742E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0093       1.0000          .0000       .10000E+07
     4 'Prefactor '    .97573E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.641       1.0000          .0000       .10000E+07
     6 'Prefactor '    .36684       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15922E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .14013E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.604       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42129E-03   1.0000          .0000       .10000E+07
    11 'norm      '    16.209       1.0000          .0000       .10000E+07
    12 'norm      '    .76078E-06   1.0000          .0000       .10000E+07
    13 'norm      '    1.2143       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42268E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
    16 'Normalizat'    .57152       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1830 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    126.66        .55801E-05** at limit **
   2  Prefactor      .0000        3.3372       -.34806E-06** at limit **
   3  Prefactor     6.0148        3.9482       -.12591E-06    .16775E-03
   4  Prefactor     .55511E-10    9.8336        .13819E-05** at limit **
   5  Prefactor     14.675        1.0693       -.18369E-07    .15403E-02
   6  Prefactor     .36697        1.6201        .41434E-06    .14685E-02
   7  Prefactor      .0000        20.967       -.13726E-05** at limit **
   8  norm          .55511E-10    6.2818        .88863E-06** at limit **
   9  Prefactor     11.596        11.232        .18315E-06   -.66691E-04
  10  Prefactor     .94369E-09    150.36       -.61670E-06** at limit **
  11  norm          16.190        9.2222       -.70014E-07   -.75376E-03
  12  norm          .55511E-10    16.656        .10734E-05** at limit **
  13  norm          1.2139        .74098        .10420E-06   -.75948E-03
  14  Prefactor     .11102E-09    15.609        .16506E-05** at limit **
  15  norm           .0000        .80697        .22560E-06** at limit **
  16  Normalizat    .57205        .20467        .97090E-05    .46708E-04
  17  Prefactor     1.1529        .48614E-01   -.46013E-06    .25361E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 6.0148
  Prefactor  = 5.55112e-11
  Prefactor  = 14.6753
  Prefactor  = 0.366967
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 11.5963
  Prefactor  = 9.4369e-10
  norm       = 16.1898
  norm       = 5.55112e-11
  norm       = 1.21395
  Prefactor  = 1.11022e-10
  norm       = 0
  Normalizat = 0.572046
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********

 FCN=   24139.38     FROM HESSE     STATUS=OK           267 CALLS     2097 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.1327        .11916E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.3415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0148        3.9936        .40936E-03   -1.5659    
   4  Prefactor     .55511E-10    9.8435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.675        21.667        .26150E-03   -1.5631    
   6  Prefactor     .36697        .83292        .56615E-02   -1.5696    
   7  Prefactor      .0000        20.761        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    6.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.596        11.237        .29384E-03   -1.5640    
  10  Prefactor     .94369E-09    151.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.190        9.2399        .24851E-03   -1.5627    
  12  norm          .55511E-10    16.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2139        .75564        .10252E-02   -1.5686    
  14  Prefactor     .11102E-09    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .81245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .57205        .22003        .16978       -1.0918    
  17  Prefactor     1.1529        .50132E-01    .35854E-01   -.87793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49992e-09
Minuit parameter uncertainties:
  1  6.91255e-05
  2  4.78068e-06
  3  3.99362
  4  4.51266e-05
  5  21.6675
  6  0.832919
  7  1.56567e-05
  8  3.44869e-05
  9  11.2368
  10  0.00075106
  11  9.23988
  12  7.1225e-05
  13  0.75564
  14  7.9872e-05
  15  1.99305e-06
  16  0.220364
  17  0.0501345
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3805462

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  1.566e-05  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  5.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 300.375 -8.316
Photon Flux Upper Limit: 5.82491946879e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00442250042201 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31684350/likelihoodResults_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.4036561
delta logL = -0.02310989947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24138.9925485
delta logL = 0.387997691101

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .53596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2999        .42118E-03** at limit **
   2  Index         .65614        .78230        .13559E-04     .0000    
   3  Normalizat    .57204        .89760        .17340E-04    .19513E-03
   4  Prefactor     1.1529        1.1168        .54637E-05   -.46134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.656139
  Normalizat = 0.572043
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2999        .42118E-03   -.15167E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16316E-03    .87848        .13559E-04   -.17487E+07
   3  Normalizat    .57204        .89760        .17340E-04    161.31    
   4  Prefactor     1.1529        1.1168        .54637E-05   -157.96    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.6131e-10
Minuit parameter uncertainties:
  1  8.54935e-06
  2  0.795937
  3  0.92206
  4  1.1409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24139.3805462
delta logL = -6.91215973347e-11

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  8.549e-06  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  6.561e-01  7.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  1.141e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  9.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 300.375 -8.316

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31684350/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2026-07-14 17:43:36.293329', job_id='31684350', GAL2='1.15', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1784076216.29', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='936' AND source_name='4FGL J2001.5-0818' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:43:36 PDT 2026

000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=300.375 yref=-8.3162 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.85
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31685121/Model_4FGL_J2001.5-0818_weekly_bin936.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 FGES J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits.....................!
real 143.72
user 141.81
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits', '/lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits', expMap='/lscratch/kocevski/31685121/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits', expCube='/lscratch/kocevski/31685121/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31685121/Model_4FGL_J2001.5-0818_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2001.5-0818'

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.722e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31685121/ft1_filtered_4FGL_J2001.5-0818_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31685121/ft2_4FGL_J2001.5-0818_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31685121/expmap_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31685121/ltcube_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31685121/Model_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.3865153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3833648

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36028       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20742E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0093       1.0000          .0000       .10000E+07
     4 'Prefactor '    .97573E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.641       1.0000          .0000       .10000E+07
     6 'Prefactor '    .36684       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15922E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .14013E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.604       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42129E-03   1.0000          .0000       .10000E+07
    11 'norm      '    16.209       1.0000          .0000       .10000E+07
    12 'norm      '    .76078E-06   1.0000          .0000       .10000E+07
    13 'norm      '    1.2143       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42268E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
    16 'Normalizat'    .57152       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1830 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    126.66        .55801E-05** at limit **
   2  Prefactor      .0000        3.3372       -.34806E-06** at limit **
   3  Prefactor     6.0148        3.9482       -.12591E-06    .16775E-03
   4  Prefactor     .55511E-10    9.8336        .13819E-05** at limit **
   5  Prefactor     14.675        1.0693       -.18369E-07    .15403E-02
   6  Prefactor     .36697        1.6201        .41434E-06    .14685E-02
   7  Prefactor      .0000        20.967       -.13726E-05** at limit **
   8  norm          .55511E-10    6.2818        .88863E-06** at limit **
   9  Prefactor     11.596        11.232        .18315E-06   -.66691E-04
  10  Prefactor     .94369E-09    150.36       -.61670E-06** at limit **
  11  norm          16.190        9.2222       -.70014E-07   -.75376E-03
  12  norm          .55511E-10    16.656        .10734E-05** at limit **
  13  norm          1.2139        .74098        .10420E-06   -.75948E-03
  14  Prefactor     .11102E-09    15.609        .16506E-05** at limit **
  15  norm           .0000        .80697        .22560E-06** at limit **
  16  Normalizat    .57205        .20467        .97090E-05    .46708E-04
  17  Prefactor     1.1529        .48614E-01   -.46013E-06    .25361E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 6.0148
  Prefactor  = 5.55112e-11
  Prefactor  = 14.6753
  Prefactor  = 0.366967
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 11.5963
  Prefactor  = 9.4369e-10
  norm       = 16.1898
  norm       = 5.55112e-11
  norm       = 1.21395
  Prefactor  = 1.11022e-10
  norm       = 0
  Normalizat = 0.572046
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********

 FCN=   24139.38     FROM HESSE     STATUS=OK           267 CALLS     2097 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.1327        .11916E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.3415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0148        3.9936        .40936E-03   -1.5659    
   4  Prefactor     .55511E-10    9.8435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.675        21.667        .26150E-03   -1.5631    
   6  Prefactor     .36697        .83292        .56615E-02   -1.5696    
   7  Prefactor      .0000        20.761        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    6.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.596        11.237        .29384E-03   -1.5640    
  10  Prefactor     .94369E-09    151.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.190        9.2399        .24851E-03   -1.5627    
  12  norm          .55511E-10    16.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2139        .75564        .10252E-02   -1.5686    
  14  Prefactor     .11102E-09    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .81245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .57205        .22003        .16978       -1.0918    
  17  Prefactor     1.1529        .50132E-01    .35854E-01   -.87793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49992e-09
Minuit parameter uncertainties:
  1  6.91255e-05
  2  4.78068e-06
  3  3.99362
  4  4.51266e-05
  5  21.6675
  6  0.832919
  7  1.56567e-05
  8  3.44869e-05
  9  11.2368
  10  0.00075106
  11  9.23988
  12  7.1225e-05
  13  0.75564
  14  7.9872e-05
  15  1.99305e-06
  16  0.220364
  17  0.0501345
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 24139.3805462

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  1.566e-05  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  5.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 300.375 -8.316
Photon Flux Upper Limit: 5.82491946879e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00442250042201 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31685121/likelihoodResults_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.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) = 24139.4036561
delta logL = -0.02310989947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24138.9925485
delta logL = 0.387997691101

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .53596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1028E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2999        .42118E-03** at limit **
   2  Index         .65614        .78230        .13559E-04     .0000    
   3  Normalizat    .57204        .89760        .17340E-04    .19513E-03
   4  Prefactor     1.1529        1.1168        .54637E-05   -.46134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.656139
  Normalizat = 0.572043
  Prefactor  = 1.1529
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24139.38     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2999        .42118E-03   -.15167E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16316E-03    .87848        .13559E-04   -.17487E+07
   3  Normalizat    .57204        .89760        .17340E-04    161.31    
   4  Prefactor     1.1529        1.1168        .54637E-05   -157.96    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.6131e-10
Minuit parameter uncertainties:
  1  8.54935e-06
  2  0.795937
  3  0.92206
  4  1.1409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24139.3805462
delta logL = -6.91215973347e-11

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  0.000e+00  8.549e-06  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  6.561e-01  7.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
680        Scale:  2.709e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1004    Prefactor:  1.153e+00  1.141e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1005        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1006        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
990   Normalization:  5.720e-01  9.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 300.375 -8.316

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31685121/cmap_HighResolution_805075201_805680001_4FGL_J2001.5-0818_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2026-07-14 17:48:33.256031', job_id='31685121', GAL2='1.15', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1784076513.26', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='936' AND source_name='4FGL J2001.5-0818' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:48:33 PDT 2026

