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

 FCN=   16088.86     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    .79635        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2680        3.6784        .50000        .31225    
   3  Normalizat    .91704        .12763        .25801E-03   -.95864    
   4  Prefactor     1.0398        .16175        .30779E-03   -.91415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00714e-09
Minuit parameter uncertainties:
  1  6.60145e-05
  2  2.38135
  3  0.127672
  4  0.161827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16088.8618204
delta logL = -1.01135810837e-09

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.388e-09  6.601e-05  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  3.268e+00  2.381e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 197.129 35.792

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/39468734/cmap_HighResolution_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.79e-08', time_completed='2026-09-29 15:06:14.169913', job_id='39468734', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790719574.17', return_code2='0', ts='0.00', return_code='0', GAL='1.04', dlogl='-1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='947' AND source_name='4FGL J1308.5+3547' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:06:14 PDT 2026

/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).

Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  0.000e+00  9.669e-07  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 1.7929088452e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39469098/likelihoodResults_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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) = 16088.8621282
delta logL = -0.000307794691253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16088.8618281
delta logL = -7.68992686062e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14566E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0737       1.0000          .0000       5.0000    
     3 'Normalizat'    .91654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16088.86     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      248 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13878E-08    .80593        .42118E-03** at limit **
   2  alpha         3.2680        3.6895        .50000       -.13642E-09
   3  Normalizat    .91704        .10733        .45113E-01    .81226E-03
   4  Prefactor     1.0398        .13611        .69573E-01    .70647E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38778e-09
  alpha      = 3.26801
  Normalizat = 0.917036
  Prefactor  = 1.03979
 **********
 **   18 **HESSE 
 **********

 FCN=   16088.86     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    .79635        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2680        3.6784        .50000        .31225    
   3  Normalizat    .91704        .12763        .25801E-03   -.95864    
   4  Prefactor     1.0398        .16175        .30779E-03   -.91415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00714e-09
Minuit parameter uncertainties:
  1  6.60145e-05
  2  2.38135
  3  0.127672
  4  0.161827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16088.8618204
delta logL = -1.01135810837e-09

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.388e-09  6.601e-05  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  3.268e+00  2.381e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 197.129 35.792

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/39469098/cmap_HighResolution_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.79e-08', time_completed='2026-09-29 15:06:38.677812', job_id='39469098', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790719598.68', return_code2='0', ts='0.00', return_code='0', GAL='1.04', dlogl='-1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='947' AND source_name='4FGL J1308.5+3547' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:06:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  0.000e+00  9.669e-07  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 1.7929088452e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39469119/likelihoodResults_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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) = 16088.8621282
delta logL = -0.000307794691253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16088.8618281
delta logL = -7.68992686062e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14566E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0737       1.0000          .0000       5.0000    
     3 'Normalizat'    .91654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16088.86     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      248 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13878E-08    .80593        .42118E-03** at limit **
   2  alpha         3.2680        3.6895        .50000       -.13642E-09
   3  Normalizat    .91704        .10733        .45113E-01    .81226E-03
   4  Prefactor     1.0398        .13611        .69573E-01    .70647E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38778e-09
  alpha      = 3.26801
  Normalizat = 0.917036
  Prefactor  = 1.03979
 **********
 **   18 **HESSE 
 **********

 FCN=   16088.86     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    .79635        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2680        3.6784        .50000        .31225    
   3  Normalizat    .91704        .12763        .25801E-03   -.95864    
   4  Prefactor     1.0398        .16175        .30779E-03   -.91415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00714e-09
Minuit parameter uncertainties:
  1  6.60145e-05
  2  2.38135
  3  0.127672
  4  0.161827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16088.8618204
delta logL = -1.01135810837e-09

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.388e-09  6.601e-05  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  3.268e+00  2.381e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 197.129 35.792

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/39469119/cmap_HighResolution_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.79e-08', time_completed='2026-09-29 15:07:03.371553', job_id='39469119', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790719623.37', return_code2='0', ts='0.00', return_code='0', GAL='1.04', dlogl='-1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='947' AND source_name='4FGL J1308.5+3547' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:07:03 PDT 2026

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


Performing analysis on: 4FGL_J1308.5+3547_weekly_bin947
RA = 197.129, Dec = 35.7918
tmin = 811728001, tmax = 812332801
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='39469648', job_status='RUN', time_executed='2026-09-29 15:06:24.152920', time_epoch_executed='1790719584.15' WHERE source_name='4FGL J1308.5+3547' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39469648

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39469648/ft1_4FGL_J1308.5+3547_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39469648/ft1_4FGL_J1308.5+3547_weekly_bin947.fits outfile=/lscratch/kocevski/39469648/ft1_filteredMKT_4FGL_J1308.5+3547_weekly_bin947.fits ra=197.129 dec=35.7918 rad=12.0 tmin=811728001.0 tmax=812332801.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 6.27
user 5.73
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.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/39469648/ft1_filteredMKT_4FGL_J1308.5+3547_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.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.56
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1529

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39469648/ltcube_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits
.....................!
real 18.48
user 17.92
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39469648/ltcube_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits outfile=/lscratch/kocevski/39469648/expmap_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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/39469648/ltcube_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits
.....................!
real 71.92
user 67.08
sys 4.23

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

Setting source of interest to:
4FGL J1308.5+3547 @ 197.129 35.7918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits outfile=/lscratch/kocevski/39469648/cmap_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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=197.129 yref=35.7918 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.64
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits outfile=/lscratch/kocevski/39469648/cmap_HighResolution_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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=197.129 yref=35.7918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39469648/Model_4FGL_J1308.5+3547_weekly_bin947.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/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits.....................!
real 48.30
user 46.41
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits', '/lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits', expMap='/lscratch/kocevski/39469648/expmap_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits', expCube='/lscratch/kocevski/39469648/ltcube_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39469648/Model_4FGL_J1308.5+3547_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1308.5+3547'

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.918e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39469648/ft1_filtered_4FGL_J1308.5+3547_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39469648/ft2_4FGL_J1308.5+3547_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39469648/expmap_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39469648/ltcube_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39469648/Model_4FGL_J1308.5+3547_weekly_bin947.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) = 16088.9038538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5539       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.2786       1.0000          .0000       .10000E+07
     3 'Prefactor '    .64393E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54381E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2792       1.0000          .0000       .10000E+07
     6 'norm      '    11.014       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7793       1.0000          .0000       .10000E+07
     8 'norm      '    8.2018       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9386       1.0000          .0000       .10000E+07
    10 'norm      '    .11990E-07   1.0000          .0000       .10000E+07
    11 'norm      '    18.012       1.0000          .0000       .10000E+07
    12 'norm      '    63.935       1.0000          .0000       .10000E+07
    13 'norm      '    24.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28431E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5970       1.0000          .0000       .10000E+07
    16 'Prefactor '    .71114E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.115       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.087       1.0000          .0000       .10000E+07
    19 'norm      '    2.7830       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.7120       1.0000          .0000       .10000E+07
    21 'norm      '    20.541       1.0000          .0000       .10000E+07
    22 'Normalizat'    .91674       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0400       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16088.86     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1427 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5716        3.4534        .17999E-08    .30165E-05
   2  Prefactor     1.2785        1.1090       -.15683E-08    .47343E-03
   3  Prefactor     .27756E-09    2.9639        .36004E-07** at limit **
   4  Prefactor      .0000        4.0740       -.34917E-07** at limit **
   5  Prefactor     4.2863        2.9482       -.63226E-07    .23635E-03
   6  norm          11.035        4.1487       -.32064E-07   -.10594E-02
   7  Prefactor     1.2515        52.094       -.71001E-06    .13680E-02
   8  norm          8.2081        2.8018        .24739E-08   -.97787E-03
   9  Prefactor     4.9440        5.6937        .60434E-06    .16585E-01
  10  norm           .0000        .76419       -.19273E-07** at limit **
  11  norm          18.020        1.1662        .35074E-07   -.10025E-01
  12  norm          64.035        6.4072        .47232E-07    .59555E-01
  13  norm          24.888        9.4482        .31015E-06   -.21058E-01
  14  Prefactor      .0000        1.9763        .39678E-07** at limit **
  15  Prefactor     2.6225        5.1132       -.40275E-06   -.50533E-02
  16  Prefactor     .48112E-06    6.1804        .10902E-05** at limit **
  17  Prefactor     16.146        2.1576       -.10667E-06    .13800E-01
  18  Prefactor     9.9870        8.8119        .22304E-06    .17714E-01
  19  norm          2.7829        .99789       -.31933E-08    .52341E-02
  20  Prefactor     2.7127        2.0159        .35902E-07    .34252E-02
  21  norm          20.536        1.0792       -.15461E-07    .49522E-02
  22  Normalizat    .91704        .13038       -.75116E-06    .14764E-03
  23  Prefactor     1.0398        .16288        .45534E-06    .14367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57161
  Prefactor  = 1.27848
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 4.28628
  norm       = 11.0346
  Prefactor  = 1.25147
  norm       = 8.20814
  Prefactor  = 4.94405
  norm       = 0
  norm       = 18.0205
  norm       = 64.0346
  norm       = 24.8878
  Prefactor  = 0
  Prefactor  = 2.62246
  Prefactor  = 4.81115e-07
  Prefactor  = 16.1458
  Prefactor  = 9.98699
  norm       = 2.78295
  Prefactor  = 2.71271
  norm       = 20.5362
  Normalizat = 0.917035
  Prefactor  = 1.03979
 **********
 **   18 **HESSE 
 **********

 FCN=   16088.86     FROM HESSE     STATUS=OK           424 CALLS     1851 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5716        3.4553        .53590E-03   -1.5670    
   2  Prefactor     1.2785        1.1088        .98171E-04   -1.5685    
   3  Prefactor     .27756E-09    2.9686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.0806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2863        2.9624        .48680E-03   -1.5667    
   6  norm          11.035        4.2637        .30164E-03   -1.5642    
   7  Prefactor     1.2515        56.423        .78434E-03   -1.5686    
   8  norm          8.2081        2.8023        .34983E-03   -1.5651    
   9  Prefactor     4.9440        5.9515        .45233E-03   -1.5663    
  10  norm           .0000        .76476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.020        8.3614        .23572E-03   -1.5623    
  12  norm          64.035        7.8481        .12507E-03   -1.5548    
  13  norm          24.888        12.821        .20007E-03   -1.5608    
  14  Prefactor      .0000        1.9583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6225        5.2037        .63285E-03   -1.5676    
  16  Prefactor     .48112E-06    39.372        .14782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.146        9.8627        .24923E-03   -1.5628    
  18  Prefactor     9.9870        12.525        .31525E-03   -1.5645    
  19  norm          2.7829        1.0010        .60970E-03   -1.5675    
  20  Prefactor     2.7127        2.0227        .61822E-03   -1.5675    
  21  norm          20.536        9.0388        .22071E-03   -1.5617    
  22  Normalizat    .91704        .11080        .45115E-01   -.95864    
  23  Prefactor     1.0398        .13705        .69573E-01   -.91415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33305e-07
Minuit parameter uncertainties:
  1  3.45525
  2  1.10876
  3  5.84028e-05
  4  1.61411e-05
  5  2.9624
  6  4.26374
  7  16.8063
  8  2.80233
  9  5.95148
  10  9.66946e-07
  11  8.36141
  12  7.84809
  13  12.8212
  14  9.83494e-06
  15  5.20366
  16  0.00870448
  17  9.86268
  18  12.5254
  19  1.00104
  20  2.02274
  21  9.03883
  22  0.110831
  23  0.1371
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  0.000e+00  9.669e-07  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 1.7929088452e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39469648/likelihoodResults_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.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) = 16088.8621282
delta logL = -0.000307794691253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16088.8618281
delta logL = -7.68992686062e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14566E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0737       1.0000          .0000       5.0000    
     3 'Normalizat'    .91654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16088.86     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      248 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13878E-08    .80593        .42118E-03** at limit **
   2  alpha         3.2680        3.6895        .50000       -.13642E-09
   3  Normalizat    .91704        .10733        .45113E-01    .81226E-03
   4  Prefactor     1.0398        .13611        .69573E-01    .70647E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38778e-09
  alpha      = 3.26801
  Normalizat = 0.917036
  Prefactor  = 1.03979
 **********
 **   18 **HESSE 
 **********

 FCN=   16088.86     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    .79635        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2680        3.6784        .50000        .31225    
   3  Normalizat    .91704        .12763        .25801E-03   -.95864    
   4  Prefactor     1.0398        .16175        .30779E-03   -.91415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00714e-09
Minuit parameter uncertainties:
  1  6.60145e-05
  2  2.38135
  3  0.127672
  4  0.161827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16088.8618204
delta logL = -1.01135810837e-09

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.388e-09  6.601e-05  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  3.268e+00  2.381e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.040e+00  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.170e-01  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 197.129 35.792

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/39469648/cmap_HighResolution_811728001_812332801_4FGL_J1308.5+3547_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.79e-08', time_completed='2026-09-29 15:15:23.219637', job_id='39469648', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790720123.22', return_code2='0', ts='0.00', return_code='0', GAL='1.04', dlogl='-1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='947' AND source_name='4FGL J1308.5+3547' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:15:23 PDT 2026

