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


Performing analysis on: 4FGL_J0017.5-0514_weekly_bin946
RA = 4.3949, Dec = -5.2347
tmin = 811123201, tmax = 811728001
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='38775662', job_status='RUN', time_executed='2026-09-22 00:16:31.811216', time_epoch_executed='1790061391.81' WHERE source_name='4FGL J0017.5-0514' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38775662

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38775662/ft1_4FGL_J0017.5-0514_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38775662/ft1_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775662/ft1_filteredMKT_4FGL_J0017.5-0514_weekly_bin946.fits ra=4.3949 dec=-5.2347 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.60
user 4.15
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.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/38775662/ft1_filteredMKT_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.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.50
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 146

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" ou/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 = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
tfile=/lscratch/kocevski/38775658/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 17.68
user 17.20
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38775658/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775658/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775658/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 63.36
user 59.21
sys 3.68

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
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0017.5-0514 @ 4.3949 -5.2347

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775658/cmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.58
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775658/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.45
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38775658/Model_4FGL_J0017.5-0514_weekly_bin946.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 GAL_Done.


Performing analysis on: 4FGL_J0017.5-0514_weekly_bin946
RA = 4.3949, Dec = -5.2347
tmin = 811123201, tmax = 811728001
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='38775682', job_status='RUN', time_executed='2026-09-22 00:17:36.111619', time_epoch_executed='1790061456.11' WHERE source_name='4FGL J0017.5-0514' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38775682

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38775682/ft1_4FGL_J0017.5-0514_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38775682/ft1_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775682/ft1_filteredMKT_4FGL_J0017.5-0514_weekly_bin946.fits ra=4.3949 dec=-5.2347 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.62
user 4.20
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.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/38775682/ft1_filteredMKT_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.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.58
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 146

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" ouV02
Working on...
/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits.....................!
real 10.97
user 9.85
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits', '/lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits', expMap='/lscratch/kocevski/38775658/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', expCube='/lscratch/kocevski/38775658/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38775658/Model_4FGL_J0017.5-0514_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0017.5-0514'

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.149e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38775658/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38775658/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38775658/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38775658/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38775658/Model_4FGL_J0017.5-0514_weekly_bin946.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) = 1696.1578061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28459E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10735E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22927E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .69453E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    77.586       1.0000          .0000       .10000E+07
     6 'norm      '    .13480E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.9571       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.8430       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32989E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .82798       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12162E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .51796E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.9505       1.0000          .0000       .10000E+07
    14 'norm      '    .15940E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16637E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35914E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    58.000       1.0000          .0000       .10000E+07
    18 'norm      '    .60481E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .50614E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.7956       1.0000          .0000       .10000E+07
    21 'Normalizat'    .49511       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1696.132     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1763 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    12.733       -.21329E-06** at limit **
   2  Prefactor     .16653E-09    10.218        .12347E-06** at limit **
   3  Prefactor     .11102E-09    8.3792       -.20422E-06** at limit **
   4  norm           .0000        6.0935       -.30688E-06** at limit **
   5  Prefactor     78.895        18.054        .76659E-06   -.13339    
   6  norm          .32196E-08    25.627       -.19805E-05** at limit **
   7  norm          5.9145        5.3868        .10267E-06    .41318E-03
   8  Prefactor     9.8647        11.319       -.19162E-05   -.20341E-01
   9  Prefactor      .0000        31.740        .31440E-07** at limit **
  10  norm          .77220        1.6186       -.40446E-06    .78734E-02
  11  Prefactor      .0000        1.6734        .17723E-07** at limit **
  12  Prefactor      .0000        3.6826        .46263E-07** at limit **
  13  norm          1.9495        4.7515       -.17848E-06    .33155E-03
  14  norm          .23811E-04    28.105       -.49073E-05** at limit **
  15  Prefactor     .45269E-06    55.226       -.40086E-05** at limit **
  16  Prefactor      .0000        32.254       -.88784E-07** at limit **
  17  Prefactor     59.028        61.123       -.26907E-06   -.39510E-01
  18  norm          .40642E-04    66.748       -.47444E-05** at limit **
  19  Prefactor      .0000        3.8019        .43496E-07** at limit **
  20  Prefactor     9.7336        11.196       -.47855E-06   -.43635E-02
  21  Normalizat    .49309        .30610       -.87326E-05    .21755E-04
  22  Prefactor     .86169        .27178        .68769E-05    .74039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 78.8948
  norm       = 3.21965e-09
  norm       = 5.91445
  Prefactor  = 9.86466
  Prefactor  = 0
  norm       = 0.772197
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.94949
  norm       = 2.38107e-05
  Prefactor  = 4.52693e-07
  Prefactor  = 0
  Prefactor  = 59.0277
  norm       = 4.0642e-05
  Prefactor  = 0
  Prefactor  = 9.73359
  Normalizat = 0.493089
  Prefactor  = 0.861691
 **********
 **   18 **HESSE 
 **********

 FCN=   1696.132     FROM HESSE     STATUS=OK           380 CALLS     2143 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    12.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    10.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    8.3592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.0369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     78.895        41.925        .11354E-03   -1.5530    
   6  norm          .32196E-08    25.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9145        5.3897        .41118E-03   -1.5659    
   8  Prefactor     9.8647        11.360        .31915E-03   -1.5645    
   9  Prefactor      .0000        31.731        .16297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .77220        83.965        .50873E-03   -1.5690    
  11  Prefactor      .0000        1.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9495        4.7879        .74278E-03   -1.5680    
  14  norm          .23811E-04    95.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .45269E-06    56.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        32.215        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     59.028        65.045        .13131E-03   -1.5554    
  18  norm          .40642E-04    100.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.7993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7336        11.181        .31993E-03   -1.5646    
  21  Normalizat    .49309        .27462        .65029E-01   -1.1274    
  22  Prefactor     .86169        .23808        .44507E-01   -.97493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22514e-06
Minuit parameter uncertainties:
  1  0.000122353
  2  8.58946e-05
  3  6.77878e-05
  4  2.17452e-05
  5  41.9252
  6  0.000571664
  7  5.38965
  8  11.3603
  9  2.29256e-05
  10  16.1046
  11  2.08477e-06
  12  8.98965e-07
  13  4.78792
  14  0.0953334
  15  0.0101402
  16  3.64977e-05
  17  65.0458
  18  0.128044
  19  4.61914e-06
  20  11.1808
  21  0.275379
  22  0.23837
tfile=/lscratch/kocevski/38775662/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 20.16
user 19.34
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38775662/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775662/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775662/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 73.29
user 68.22
sys 4.12

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
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0017.5-0514 @ 4.3949 -5.2347

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775662/cmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.58
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775662/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.59
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38775662/Model_4FGL_J0017.5-0514_weekly_bin946.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 GAL_Done.

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

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  3.220e-09  5.717e-04  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.617e-01  2.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.931e-01  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 4.395 -5.235
Photon Flux Upper Limit: 2.32175154107e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.45721199808e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38775658/likelihoodResults_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1696.15836771
delta logL = -0.0263674126816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1695.9424311
delta logL = 0.189569193731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28479       1.0000          .0000       .10000E+07
     2 'alpha     '    4.4886       1.0000          .0000       5.0000    
     3 'Normalizat'    .43596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1695.942     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28287        17.027        .81555E-03   -.92797E-02
   2  alpha         4.4929        3.0910        .50000       -.98812E-05
   3  Normalizat    .43611        .68886E-01    .68699E-01   -.40968E-04
   4  Prefactor     .88996        .61414E-01    .44881E-01   -.84768E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282869
  alpha      = 4.49291
  Normalizat = 0.436109
  Prefactor  = 0.889963
 **********
 **   18 **HESSE 
 **********

 FCN=   1695.942     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      252 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28287        41.487        .36797E-05   -1.5697    
   2  alpha         4.4929        4.7443        .30668E-01    .92258    
   3  Normalizat    .43611        .28809        .30416E-03   -1.1547    
   4  Prefactor     .88996        .25230        .19264E-03   -.96493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72787e-10
Minuit parameter uncertainties:
  1  6.85145
  2  13.3366
  3  0.289077
  4  0.252635
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) = 1695.94242856
delta logL = 0.189571732406

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.829e-01  6.851e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  4.493e+00  1.334e+01  0.000e+00  5.000e+00 ( 1.000e+00)
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.900e-01  2.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.361e-01  2.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 4.395 -5.235

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38775658/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', job_status='DONE', photon_flux_upper_limit='2.32e-07', time_completed='2026-09-22 00:19:16.860352', job_id='38775658', GAL2='0.89', fit_tolerance='1e-08', EG2='0.44', EG='0.49', time_epoch_completed='1790061556.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.90e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='946' AND source_name='4FGL J0017.5-0514' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 00:19:16 PDT 2026

V02
Working on...
/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits.....................!
real 13.94
user 12.42
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits', '/lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits', expMap='/lscratch/kocevski/38775662/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', expCube='/lscratch/kocevski/38775662/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38775662/Model_4FGL_J0017.5-0514_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0017.5-0514'

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.149e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38775662/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38775662/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38775662/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38775662/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38775662/Model_4FGL_J0017.5-0514_weekly_bin946.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) = 1696.1578061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28459E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10735E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22927E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .69453E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    77.586       1.0000          .0000       .10000E+07
     6 'norm      '    .13480E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.9571       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.8430       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32989E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .82798       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12162E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .51796E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.9505       1.0000          .0000       .10000E+07
    14 'norm      '    .15940E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16637E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35914E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    58.000       1.0000          .0000       .10000E+07
    18 'norm      '    .60481E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .50614E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.7956       1.0000          .0000       .10000E+07
    21 'Normalizat'    .49511       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1696.132     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1763 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    12.733       -.21329E-06** at limit **
   2  Prefactor     .16653E-09    10.218        .12347E-06** at limit **
   3  Prefactor     .11102E-09    8.3792       -.20422E-06** at limit **
   4  norm           .0000        6.0935       -.30688E-06** at limit **
   5  Prefactor     78.895        18.054        .76659E-06   -.13339    
   6  norm          .32196E-08    25.627       -.19805E-05** at limit **
   7  norm          5.9145        5.3868        .10267E-06    .41318E-03
   8  Prefactor     9.8647        11.319       -.19162E-05   -.20341E-01
   9  Prefactor      .0000        31.740        .31440E-07** at limit **
  10  norm          .77220        1.6186       -.40446E-06    .78734E-02
  11  Prefactor      .0000        1.6734        .17723E-07** at limit **
  12  Prefactor      .0000        3.6826        .46263E-07** at limit **
  13  norm          1.9495        4.7515       -.17848E-06    .33155E-03
  14  norm          .23811E-04    28.105       -.49073E-05** at limit **
  15  Prefactor     .45269E-06    55.226       -.40086E-05** at limit **
  16  Prefactor      .0000        32.254       -.88784E-07** at limit **
  17  Prefactor     59.028        61.123       -.26907E-06   -.39510E-01
  18  norm          .40642E-04    66.748       -.47444E-05** at limit **
  19  Prefactor      .0000        3.8019        .43496E-07** at limit **
  20  Prefactor     9.7336        11.196       -.47855E-06   -.43635E-02
  21  Normalizat    .49309        .30610       -.87326E-05    .21755E-04
  22  Prefactor     .86169        .27178        .68769E-05    .74039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 78.8948
  norm       = 3.21965e-09
  norm       = 5.91445
  Prefactor  = 9.86466
  Prefactor  = 0
  norm       = 0.772197
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.94949
  norm       = 2.38107e-05
  Prefactor  = 4.52693e-07
  Prefactor  = 0
  Prefactor  = 59.0277
  norm       = 4.0642e-05
  Prefactor  = 0
  Prefactor  = 9.73359
  Normalizat = 0.493089
  Prefactor  = 0.861691
 **********
 **   18 **HESSE 
 **********

 FCN=   1696.132     FROM HESSE     STATUS=OK           380 CALLS     2143 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    12.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    10.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    8.3592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.0369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     78.895        41.925        .11354E-03   -1.5530    
   6  norm          .32196E-08    25.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9145        5.3897        .41118E-03   -1.5659    
   8  Prefactor     9.8647        11.360        .31915E-03   -1.5645    
   9  Prefactor      .0000        31.731        .16297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .77220        83.965        .50873E-03   -1.5690    
  11  Prefactor      .0000        1.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9495        4.7879        .74278E-03   -1.5680    
  14  norm          .23811E-04    95.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .45269E-06    56.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        32.215        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     59.028        65.045        .13131E-03   -1.5554    
  18  norm          .40642E-04    100.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.7993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7336        11.181        .31993E-03   -1.5646    
  21  Normalizat    .49309        .27462        .65029E-01   -1.1274    
  22  Prefactor     .86169        .23808        .44507E-01   -.97493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22514e-06
Minuit parameter uncertainties:
  1  0.000122353
  2  8.58946e-05
  3  6.77878e-05
  4  2.17452e-05
  5  41.9252
  6  0.000571664
  7  5.38965
  8  11.3603
  9  2.29256e-05
  10  16.1046
  11  2.08477e-06
  12  8.98965e-07
  13  4.78792
  14  0.0953334
  15  0.0101402
  16  3.64977e-05
  17  65.0458
  18  0.128044
  19  4.61914e-06
  20  11.1808
  21  0.275379
  22  0.23837
Done.

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

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  3.220e-09  5.717e-04  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.617e-01  2.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.931e-01  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 4.395 -5.235
Photon Flux Upper Limit: 2.32175154107e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.45721199808e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38775662/likelihoodResults_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1696.15836771
delta logL = -0.0263674126816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1695.9424311
delta logL = 0.189569193731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28479       1.0000          .0000       .10000E+07
     2 'alpha     '    4.4886       1.0000          .0000       5.0000    
     3 'Normalizat'    .43596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1695.942     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28287        17.027        .81555E-03   -.92797E-02
   2  alpha         4.4929        3.0910        .50000       -.98812E-05
   3  Normalizat    .43611        .68886E-01    .68699E-01   -.40968E-04
   4  Prefactor     .88996        .61414E-01    .44881E-01   -.84768E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282869
  alpha      = 4.49291
  Normalizat = 0.436109
  Prefactor  = 0.889963
 **********
 **   18 **HESSE 
 **********

 FCN=   1695.942     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      252 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28287        41.487        .36797E-05   -1.5697    
   2  alpha         4.4929        4.7443        .30668E-01    .92258    
   3  Normalizat    .43611        .28809        .30416E-03   -1.1547    
   4  Prefactor     .88996        .25230        .19264E-03   -.96493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72787e-10
Minuit parameter uncertainties:
  1  6.85145
  2  13.3366
  3  0.289077
  4  0.252635
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) = 1695.94242856
delta logL = 0.189571732406

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.829e-01  6.851e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  4.493e+00  1.334e+01  0.000e+00  5.000e+00 ( 1.000e+00)
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.900e-01  2.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.361e-01  2.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 4.395 -5.235

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38775662/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', job_status='DONE', photon_flux_upper_limit='2.32e-07', time_completed='2026-09-22 00:20:03.079469', job_id='38775662', GAL2='0.89', fit_tolerance='1e-08', EG2='0.44', EG='0.49', time_epoch_completed='1790061603.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.90e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='946' AND source_name='4FGL J0017.5-0514' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 00:20:03 PDT 2026

tfile=/lscratch/kocevski/38775682/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 19.93
user 19.29
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38775682/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775682/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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/38775682/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
.....................!
real 70.88
user 66.15
sys 4.07

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
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0017.5-0514 @ 4.3949 -5.2347

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775682/cmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.51
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits outfile=/lscratch/kocevski/38775682/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.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=4.3949 yref=-5.2347 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.59
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38775682/Model_4FGL_J0017.5-0514_weekly_bin946.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 GAL_V02
Working on...
/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits.....................!
real 12.14
user 10.75
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits', '/lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits', expMap='/lscratch/kocevski/38775682/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', expCube='/lscratch/kocevski/38775682/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38775682/Model_4FGL_J0017.5-0514_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0017.5-0514'

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.149e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38775682/ft1_filtered_4FGL_J0017.5-0514_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38775682/ft2_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38775682/expmap_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38775682/ltcube_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38775682/Model_4FGL_J0017.5-0514_weekly_bin946.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) = 1696.1578061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28459E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10735E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22927E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .69453E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    77.586       1.0000          .0000       .10000E+07
     6 'norm      '    .13480E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.9571       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.8430       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32989E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .82798       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12162E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .51796E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.9505       1.0000          .0000       .10000E+07
    14 'norm      '    .15940E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16637E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35914E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    58.000       1.0000          .0000       .10000E+07
    18 'norm      '    .60481E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .50614E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.7956       1.0000          .0000       .10000E+07
    21 'Normalizat'    .49511       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1696.132     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1763 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    12.733       -.21329E-06** at limit **
   2  Prefactor     .16653E-09    10.218        .12347E-06** at limit **
   3  Prefactor     .11102E-09    8.3792       -.20422E-06** at limit **
   4  norm           .0000        6.0935       -.30688E-06** at limit **
   5  Prefactor     78.895        18.054        .76659E-06   -.13339    
   6  norm          .32196E-08    25.627       -.19805E-05** at limit **
   7  norm          5.9145        5.3868        .10267E-06    .41318E-03
   8  Prefactor     9.8647        11.319       -.19162E-05   -.20341E-01
   9  Prefactor      .0000        31.740        .31440E-07** at limit **
  10  norm          .77220        1.6186       -.40446E-06    .78734E-02
  11  Prefactor      .0000        1.6734        .17723E-07** at limit **
  12  Prefactor      .0000        3.6826        .46263E-07** at limit **
  13  norm          1.9495        4.7515       -.17848E-06    .33155E-03
  14  norm          .23811E-04    28.105       -.49073E-05** at limit **
  15  Prefactor     .45269E-06    55.226       -.40086E-05** at limit **
  16  Prefactor      .0000        32.254       -.88784E-07** at limit **
  17  Prefactor     59.028        61.123       -.26907E-06   -.39510E-01
  18  norm          .40642E-04    66.748       -.47444E-05** at limit **
  19  Prefactor      .0000        3.8019        .43496E-07** at limit **
  20  Prefactor     9.7336        11.196       -.47855E-06   -.43635E-02
  21  Normalizat    .49309        .30610       -.87326E-05    .21755E-04
  22  Prefactor     .86169        .27178        .68769E-05    .74039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 78.8948
  norm       = 3.21965e-09
  norm       = 5.91445
  Prefactor  = 9.86466
  Prefactor  = 0
  norm       = 0.772197
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.94949
  norm       = 2.38107e-05
  Prefactor  = 4.52693e-07
  Prefactor  = 0
  Prefactor  = 59.0277
  norm       = 4.0642e-05
  Prefactor  = 0
  Prefactor  = 9.73359
  Normalizat = 0.493089
  Prefactor  = 0.861691
 **********
 **   18 **HESSE 
 **********

 FCN=   1696.132     FROM HESSE     STATUS=OK           380 CALLS     2143 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    12.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    10.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    8.3592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.0369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     78.895        41.925        .11354E-03   -1.5530    
   6  norm          .32196E-08    25.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9145        5.3897        .41118E-03   -1.5659    
   8  Prefactor     9.8647        11.360        .31915E-03   -1.5645    
   9  Prefactor      .0000        31.731        .16297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .77220        83.965        .50873E-03   -1.5690    
  11  Prefactor      .0000        1.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9495        4.7879        .74278E-03   -1.5680    
  14  norm          .23811E-04    95.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .45269E-06    56.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        32.215        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     59.028        65.045        .13131E-03   -1.5554    
  18  norm          .40642E-04    100.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.7993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7336        11.181        .31993E-03   -1.5646    
  21  Normalizat    .49309        .27462        .65029E-01   -1.1274    
  22  Prefactor     .86169        .23808        .44507E-01   -.97493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22514e-06
Minuit parameter uncertainties:
  1  0.000122353
  2  8.58946e-05
  3  6.77878e-05
  4  2.17452e-05
  5  41.9252
  6  0.000571664
  7  5.38965
  8  11.3603
  9  2.29256e-05
  10  16.1046
  11  2.08477e-06
  12  8.98965e-07
  13  4.78792
  14  0.0953334
  15  0.0101402
  16  3.64977e-05
  17  65.0458
  18  0.128044
  19  4.61914e-06
  20  11.1808
  21  0.275379
  22  0.23837
Done.

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

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  3.220e-09  5.717e-04  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  2.594e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.617e-01  2.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.931e-01  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 4.395 -5.235
Photon Flux Upper Limit: 2.32175154107e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.45721199808e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38775682/likelihoodResults_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1696.15836771
delta logL = -0.0263674126816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1695.9424311
delta logL = 0.189569193731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28479       1.0000          .0000       .10000E+07
     2 'alpha     '    4.4886       1.0000          .0000       5.0000    
     3 'Normalizat'    .43596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1695.942     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28287        17.027        .81555E-03   -.92797E-02
   2  alpha         4.4929        3.0910        .50000       -.98812E-05
   3  Normalizat    .43611        .68886E-01    .68699E-01   -.40968E-04
   4  Prefactor     .88996        .61414E-01    .44881E-01   -.84768E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282869
  alpha      = 4.49291
  Normalizat = 0.436109
  Prefactor  = 0.889963
 **********
 **   18 **HESSE 
 **********

 FCN=   1695.942     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      252 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28287        41.487        .36797E-05   -1.5697    
   2  alpha         4.4929        4.7443        .30668E-01    .92258    
   3  Normalizat    .43611        .28809        .30416E-03   -1.1547    
   4  Prefactor     .88996        .25230        .19264E-03   -.96493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72787e-10
Minuit parameter uncertainties:
  1  6.85145
  2  13.3366
  3  0.289077
  4  0.252635
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) = 1695.94242856
delta logL = 0.189571732406

Extracting fit parameters...

4FGL J0017.5-0514
   Spectrum: LogParabola
72          norm:  2.829e-01  6.851e+00  0.000e+00  1.000e+06 ( 1.000e-12)
73         alpha:  4.493e+00  1.334e+01  0.000e+00  5.000e+00 ( 1.000e+00)
74          beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  8.308e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.900e-01  2.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
549   Normalization:  4.361e-01  2.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 4.395 -5.235

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38775682/cmap_HighResolution_811123201_811728001_4FGL_J0017.5-0514_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', job_status='DONE', photon_flux_upper_limit='2.32e-07', time_completed='2026-09-22 00:21:04.207340', job_id='38775682', GAL2='0.89', fit_tolerance='1e-08', EG2='0.44', EG='0.49', time_epoch_completed='1790061664.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.90e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='946' AND source_name='4FGL J0017.5-0514' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 00:21:04 PDT 2026

