/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)
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337

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

utfile=/lscratch/kocevski/32938876/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 9.12
user 7.95
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32938876/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32938876/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32938876/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 70.84
user 65.39
sys 4.31

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/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32938876/cmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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.86
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32938876/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000./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

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)

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

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


Performing analysis on: 4FGL_J2001.5-0818_daily_bin2187
RA = 300.375, Dec = -8.3162
tmin = 806198401, tmax = 806457601
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='32939041', job_status='RUN', time_executed='2026-07-23 17:58:19.450120', time_epoch_executed='1784854699.45' WHERE source_name='4FGL J2001.5-0818' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32939041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32939041/ft1_4FGL_J2001.5-0818_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32939041/ft1_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939041/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=806198401.0 tmax=806457601.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 2.58
user 1.70
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.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/32939041/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.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.98
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938465/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938465/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:02:46.912740', job_id='32938465', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784854966.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:02:47 PDT 2026

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.17
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32938680/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938680/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32938680/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938680/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 68.31
user 66.30
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32938680/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32938680/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32938680/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32938680/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32938680/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938680/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32938680/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32938680/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32938680/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32938680/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor 'Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938482/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938482/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:03:19.848882', job_id='32938482', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784854999.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:03:20 PDT 2026

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


Performing analysis on: 4FGL_J2001.5-0818_daily_bin2187
RA = 300.375, Dec = -8.3162
tmin = 806198401, tmax = 806457601
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='32939159', job_status='RUN', time_executed='2026-07-23 17:59:21.112715', time_epoch_executed='1784854761.11' WHERE source_name='4FGL J2001.5-0818' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32939159

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32939159/ft1_4FGL_J2001.5-0818_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32939159/ft1_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939159/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=806198401.0 tmax=806457601.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 2.34
user 1.69
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.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/32939159/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.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.88
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
utfile=/lscratch/kocevski/32939041/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 7.59
user 6.76
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32939041/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939041/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939041/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 60.18
user 55.79
sys 3.37

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/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939041/cmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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.86
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939041/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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=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.23
user 0.21
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32938636/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938636/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32938636/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938636/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 91.48
user 88.22
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32938636/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32938636/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32938636/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32938636/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32938636/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938636/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32938636/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32938636/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32938636/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32938636/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
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.92
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32938711/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938711/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32938711/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938711/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 74.83
user 73.05
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32938711/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32938711/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32938711/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32938711/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32938711/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938711/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32938711/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32938711/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32938711/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32938711/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor 'utfile=/lscratch/kocevski/32939159/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 7.78
user 6.93
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32939159/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939159/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939159/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 59.98
user 55.52
sys 3.64

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/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939159/cmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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.93
user 0.20
sys 0.12

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

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938680/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938680/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:04:44.437494', job_id='32938680', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855084.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:04:45 PDT 2026

    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2001.5-0818_daily_bin2187
RA = 300.375, Dec = -8.3162
tmin = 806198401, tmax = 806457601
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='32939289', job_status='RUN', time_executed='2026-07-23 18:02:12.742527', time_epoch_executed='1784854932.74' WHERE source_name='4FGL J2001.5-0818' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32939289

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32939289/ft1_4FGL_J2001.5-0818_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32939289/ft1_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939289/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=806198401.0 tmax=806457601.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 2.30
user 1.69
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.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/32939289/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.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.82
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" onumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2001.5-0818_daily_bin2187
RA = 300.375, Dec = -8.3162
tmin = 806198401, tmax = 806457601
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='32939334', job_status='RUN', time_executed='2026-07-23 18:02:35.095459', time_epoch_executed='1784854955.1' WHERE source_name='4FGL J2001.5-0818' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32939334

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32939334/ft1_4FGL_J2001.5-0818_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32939334/ft1_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939334/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits ra=300.375 dec=-8.3162 rad=12.0 tmin=806198401.0 tmax=806457601.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 2.60
user 1.98
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.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/32939334/ft1_filteredMKT_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.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.73
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" ou0 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.84
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32938889/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938889/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32938889/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938889/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 76.05
user 74.34
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32938889/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32938889/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32938889/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32938889/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32938889/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938889/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32938889/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32938889/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32938889/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32938889/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938636/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
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.01
user 0.24
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32938876/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 80.68
user 78.32
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32938876/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32938876/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32938876/Model_4FGL_J2001.5-0818_daily_bin2187.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/32938876/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32938876/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32938876/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32938876/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32938876/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor ' **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938636/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:06:20.918976', job_id='32938636', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855180.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:06:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938711/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938711/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:06:29.810472', job_id='32938711', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855189.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:06:30 PDT 2026

    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
utfile=/lscratch/kocevski/32939289/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 7.43
user 6.77
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32939289/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939289/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939289/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 59.62
user 55.44
sys 3.40

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/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939289/cmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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.85
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939289/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000. **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
tfile=/lscratch/kocevski/32939334/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 8.76
user 8.01
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32939334/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939334/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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/32939334/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
.....................!
real 71.17
user 66.09
sys 4.21

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/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939334/cmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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.87
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits outfile=/lscratch/kocevski/32939334/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.00 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.86
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32939041/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 68.15
user 66.37
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32939041/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32939041/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32939041/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939041/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32939041/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32939041/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32939041/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32939041/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938889/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938889/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:07:47.314844', job_id='32938889', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855267.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:07:47 PDT 2026

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.90
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32939159/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 68.28
user 66.13
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32939159/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32939159/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32939159/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939159/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32939159/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32939159/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32939159/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32939159/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor 'Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32938876/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32938876/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:08:13.178586', job_id='32938876', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855293.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:08:13 PDT 2026

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

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32939041/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32939041/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:08:44.966636', job_id='32939041', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855324.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:08:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32939159/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32939159/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:09:36.338679', job_id='32939159', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855376.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:09:36 PDT 2026

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.82
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32939289/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 68.97
user 67.29
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32939289/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32939289/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32939289/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939289/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32939289/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32939289/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32939289/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32939289/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
 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.92
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32939334/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits.....................!
real 80.77
user 78.59
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits', '/lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits', expMap='/lscratch/kocevski/32939334/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', expCube='/lscratch/kocevski/32939334/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32939334/Model_4FGL_J2001.5-0818_daily_bin2187.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/32939334/ft1_filtered_4FGL_J2001.5-0818_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32939334/ft2_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32939334/expmap_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32939334/ltcube_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32939334/Model_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6346326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51025E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56580E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .11524E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.058       1.0000          .0000       .10000E+07
    10 'Prefactor ' Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32939289/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32939289/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:11:30.564612', job_id='32939289', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855490.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:11:30 PDT 2026

   .12127E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .11426E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .74724       1.0000          .0000       .10000E+07
    14 'Prefactor '    .45480E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.1456       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99034       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=   10979.63     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1296 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8655       -.11675E-06** at limit **
   2  Prefactor     .11774E-04    10.729        .66747E-07** at limit **
   3  Prefactor     .55511E-10    7.0651       -.38164E-06** at limit **
   4  Prefactor     .88723E-06    22.882       -.74589E-07** at limit **
   5  Prefactor     .13147E-05    12.151       -.24600E-07** at limit **
   6  Prefactor     .41039        1.9213        .12549E-06    .15911E-02
   7  Prefactor     .27756E-09    25.617        .49584E-06** at limit **
   8  norm          .43959E-06    17.567        .12622E-06** at limit **
   9  Prefactor     25.527        15.335       -.79077E-07    .14784    
  10  Prefactor     .46228E-05    33.820       -.40641E-06** at limit **
  11  norm          6.1728        1.0122        .16650E-08    .17389E-02
  12  norm          .17208E-08    10.961        .21761E-06** at limit **
  13  norm          .74656        1.1809       -.64468E-07   -.26874E-02
  14  Prefactor     .57121E-07    12.945        .24203E-06** at limit **
  15  norm          1.1443        1.9815        .78121E-07    .15805E-02
  16  Normalizat    1.0266        .29444        .32082E-05    .45565E-04
  17  Prefactor     .99064        .68925E-01   -.49465E-06    .84684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.1774e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 8.87235e-07
  Prefactor  = 1.31467e-06
  Prefactor  = 0.41039
  Prefactor  = 2.77556e-10
  norm       = 4.39593e-07
  Prefactor  = 25.5265
  Prefactor  = 4.6228e-06
  norm       = 6.17276
  norm       = 1.72085e-09
  norm       = 0.746559
  Prefactor  = 5.7121e-08
  norm       = 1.14431
  Normalizat = 1.02656
  Prefactor  = 0.990644
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.63     FROM HESSE     STATUS=OK           263 CALLS     1559 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11774E-04    12.674        .11535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88723E-06    29.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13147E-05    103.02        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41039        1.9058        .88329E-03   -1.5695    
   7  Prefactor     .27756E-09    25.602        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43959E-06    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.527        36.966        .19594E-03   -1.5607    
  10  Prefactor     .46228E-05    38.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1728        14.648        .40277E-03   -1.5658    
  12  norm          .17208E-08    10.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74656        1.2003        .56953E-03   -1.5691    
  14  Prefactor     .57121E-07    12.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        2.5768        .44076E-02   -1.5687    
  16  Normalizat    1.0266        .28058        .12649       -.92146    
  17  Prefactor     .99064        .64129E-01    .30524E-01   -.93042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39988e-06
Minuit parameter uncertainties:
  1  9.72287e-06
  2  0.0244319
  3  4.02225e-05
  4  0.0102989
  5  0.0232754
  6  1.76876
  7  0.000167108
  8  0.005644
  9  36.9661
  10  0.0265985
  11  14.6482
  12  0.000273047
  13  1.20031
  14  0.00172247
  15  2.57679
  16  0.280989
  17  0.0641337
Done.

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

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  2.776e-10  1.671e-04  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:  9.906e-01  6.413e-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:  1.027e+00  2.810e-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: 9.92486751784e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00753533692976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32939334/likelihoodResults_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.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) = 10979.6460095
delta logL = -0.0186651533513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6255909
delta logL = 0.00175346965261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40451E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99425       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.

 FCN=   10979.62     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19407        .64375        .50291E-02** at limit **
   2  Index         3.6022        .67846E-01    .50000        .10483E-04
   3  Normalizat    1.0171        .68506E-02    .12702        .35029E-03
   4  Prefactor     .99142        .16284E-02    .30513E-01   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.194071
  Index      = 3.60215
  Normalizat = 1.01709
  Prefactor  = 0.991421
 **********
 **   18 **HESSE 
 **********

 FCN=   10979.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19407        705.94        .16174E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6022        6.5054        .15643E-02   -.28335    
   3  Normalizat    1.0171        .26408        .56362E-03   -.92460    
   4  Prefactor     .99142        .47696E-01    .13484E-03   -.93016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03599e-08
Minuit parameter uncertainties:
  1  23.4123
  2  33.9855
  3  0.264418
  4  0.0476977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10979.6215004
delta logL = 0.00584397464809

Extracting fit parameters...

4FGL J2001.5-0818
   Spectrum: PowerLaw
678    Prefactor:  1.941e-01  2.341e+01  0.000e+00  1.000e+06 ( 1.000e-14)
679        Index:  3.602e+00  3.399e+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:  9.914e-01  4.770e-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:  1.017e+00  2.644e-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/32939334/cmap_HighResolution_806198401_806457601_4FGL_J2001.5-0818_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2026-07-23 18:13:16.977629', job_id='32939334', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1784855596.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.84e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2187' AND source_name='4FGL J2001.5-0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 18:13:17 PDT 2026

