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

 FCN=   10125.76     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      411 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35941E-03    .12349        .36578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4194        1.0807        .50000       -.54232    
   3  Normalizat    .77799        .11636E-02    .75675E-04   -1.0089    
   4  Prefactor     1.0307        .53225E-03    .30188E-04   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.73014e-10
Minuit parameter uncertainties:
  1  0.0133244
  2  1.09252
  3  0.00116363
  4  0.000532252
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) = 10125.7598794
delta logL = 8.87512942427e-06

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  3.594e-04  1.332e-02  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.419e+00  1.093e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  5.323e-04  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.164e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 47.111 4.118

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/33166491/cmap_HighResolution_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2026-07-26 03:27:37.006789', job_id='33166491', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1785061657.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.88e-06', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='2188' AND source_name='4FGL J0308.4+0407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:27:37 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)
Done.

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

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  6.106e-10  8.619e-05  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  1.973e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  7.282e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 47.111 4.118
Photon Flux Upper Limit: 5.29172300241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00395991911312 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33166361/likelihoodResults_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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) = 10125.7605779
delta logL = -0.000689590298862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10125.0075898
delta logL = 0.75229852998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83830E-02   1.0000          .0000       .10000E+07
     2 'Index     '    4.6099       1.0000          .0000       10.000    
     3 'Normalizat'    .72108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10125.76     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      372 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35941E-03    .15328        .32907E-02** at limit **
   2  Index         2.4194        1.0943        .50000       -.12008E-02
   3  Normalizat    .77799        .11786E-02    .37837E-03   -.85369E-03
   4  Prefactor     1.0307        .53912E-03    .15094E-03   -.17012E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000359412
  Index      = 2.4194
  Normalizat = 0.777994
  Prefactor  = 1.03067
 **********
 **   18 **HESSE 
 **********

 FCN=   10125.76     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      411 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35941E-03    .12349        .36578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4194        1.0807        .50000       -.54232    
   3  Normalizat    .77799        .11636E-02    .75675E-04   -1.0089    
   4  Prefactor     1.0307        .53225E-03    .30188E-04   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.73014e-10
Minuit parameter uncertainties:
  1  0.0133244
  2  1.09252
  3  0.00116363
  4  0.000532252

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

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) = 10125.7598794
delta logL = 8.87512942427e-06

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  3.594e-04  1.332e-02  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.419e+00  1.093e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  5.323e-04  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.164e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 47.111 4.118

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/33166361/cmap_HighResolution_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2026-07-26 03:27:46.515955', job_id='33166361', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1785061666.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.88e-06', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='2188' AND source_name='4FGL J0308.4+0407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:27:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  6.106e-10  8.619e-05  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  1.973e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  7.282e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 47.111 4.118
Photon Flux Upper Limit: 5.29172300241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00395991911312 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33166496/likelihoodResults_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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) = 10125.7605779
delta logL = -0.000689590298862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10125.0075898
delta logL = 0.75229852998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83830E-02   1.0000          .0000       .10000E+07
     2 'Index     '    4.6099       1.0000          .0000       10.000    
     3 'Normalizat'    .72108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10125.76     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      372 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35941E-03    .15328        .32907E-02** at limit **
   2  Index         2.4194        1.0943        .50000       -.12008E-02
   3  Normalizat    .77799        .11786E-02    .37837E-03   -.85369E-03
   4  Prefactor     1.0307        .53912E-03    .15094E-03   -.17012E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000359412
  Index      = 2.4194
  Normalizat = 0.777994
  Prefactor  = 1.03067
 **********
 **   18 **HESSE 
 **********

 FCN=   10125.76     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      411 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35941E-03    .12349        .36578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4194        1.0807        .50000       -.54232    
   3  Normalizat    .77799        .11636E-02    .75675E-04   -1.0089    
   4  Prefactor     1.0307        .53225E-03    .30188E-04   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.73014e-10
Minuit parameter uncertainties:
  1  0.0133244
  2  1.09252
  3  0.00116363
  4  0.000532252
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) = 10125.7598794
delta logL = 8.87512942427e-06

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  3.594e-04  1.332e-02  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.419e+00  1.093e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  5.323e-04  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.164e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 47.111 4.118

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/33166496/cmap_HighResolution_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2026-07-26 03:28:26.030956', job_id='33166496', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1785061706.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.88e-06', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='2188' AND source_name='4FGL J0308.4+0407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:28:26 PDT 2026

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


Performing analysis on: 4FGL_J0308.4+0407_daily_bin2188
RA = 47.1105, Dec = 4.1177
tmin = 806457601, tmax = 806716801
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='33166835', job_status='RUN', time_executed='2026-07-26 03:27:46.006557', time_epoch_executed='1785061666.01' WHERE source_name='4FGL J0308.4+0407' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33166835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33166835/ft1_4FGL_J0308.4+0407_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33166835/ft1_4FGL_J0308.4+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33166835/ft1_filteredMKT_4FGL_J0308.4+0407_daily_bin2188.fits ra=47.1105 dec=4.1177 rad=12.0 tmin=806457601.0 tmax=806716801.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 3.03
user 2.42
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.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/33166835/ft1_filteredMKT_4FGL_J0308.4+0407_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.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.68
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 935

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33166835/ltcube_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits
.....................!
real 7.71
user 7.10
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33166835/ltcube_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33166835/expmap_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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/33166835/ltcube_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits
.....................!
real 64.02
user 59.73
sys 3.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J0308.4+0407 @ 47.1105 4.1177

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33166835/cmap_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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=47.1105 yref=4.1177 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.68
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33166835/cmap_HighResolution_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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=47.1105 yref=4.1177 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.65
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33166835/Model_4FGL_J0308.4+0407_daily_bin2188.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/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits.....................!
real 44.80
user 43.41
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits', '/lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33166835/expmap_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33166835/ltcube_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33166835/Model_4FGL_J0308.4+0407_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0308.4+0407'

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  1.323e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  1.973e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33166835/ft1_filtered_4FGL_J0308.4+0407_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33166835/ft2_4FGL_J0308.4+0407_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33166835/expmap_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33166835/ltcube_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33166835/Model_4FGL_J0308.4+0407_daily_bin2188.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) = 10125.8655803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.846       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21751E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1685       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41825E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    22.263       1.0000          .0000       .10000E+07
     6 'norm      '    6.1639       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8369       1.0000          .0000       .10000E+07
     8 'Prefactor '    .90483E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    31.515       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65551E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .21243E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .26858E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47614E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.8956       1.0000          .0000       .10000E+07
    15 'Prefactor '    .85500E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .58618       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12897E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .15065E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .76684       1.0000          .0000       .10000E+07
    20 'Normalizat'    .77623       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0311       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10125.76     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1607 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.041        12.437       -.11076E-05    .18705E-01
   2  Prefactor     .28572E-06    56.266       -.99314E-06** at limit **
   3  Prefactor     6.9549        10.490        .55702E-06   -.49596E-01
   4  Prefactor     .98810E-08    30.352        .11993E-05** at limit **
   5  Prefactor     21.792        7.2275       -.23962E-06   -.74287E-01
   6  norm          6.1515        1.2885        .74979E-07    .37376E-02
   7  Prefactor     7.6830        11.074        .12902E-05    .85682E-01
   8  Prefactor     .47740E-08    13.853       -.50007E-07** at limit **
   9  Prefactor     32.068        17.362       -.16841E-05    .11290    
  10  Prefactor     .69944E-08    2.2458       -.28814E-06** at limit **
  11  norm          .10547E-08    4.0572        .13033E-06** at limit **
  12  norm          .54956E-08    2.4213        .28903E-06** at limit **
  13  Prefactor     .61062E-09    3.1912       -.87567E-07** at limit **
  14  norm          4.9067        5.9686        .15158E-05    .48601E-01
  15  Prefactor     .99920E-09    4.8636       -.21142E-06** at limit **
  16  Prefactor     .58678        1.1073        .71692E-06    .13868E-01
  17  Prefactor     .74940E-08    1.8985        .70467E-06** at limit **
  18  norm          .24980E-08    1.7172       -.73103E-06** at limit **
  19  norm          .76588        .84146        .93625E-08   -.87188E-05
  20  Normalizat    .77800        .17763       -.44880E-05   -.54376E-04
  21  Prefactor     1.0307        .78605E-01    .57785E-08    .17698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.0407
  Prefactor  = 2.85716e-07
  Prefactor  = 6.95492
  Prefactor  = 9.88098e-09
  Prefactor  = 21.7923
  norm       = 6.15146
  Prefactor  = 7.68297
  Prefactor  = 4.77396e-09
  Prefactor  = 32.0683
  Prefactor  = 6.99441e-09
  norm       = 1.05471e-09
  norm       = 5.4956e-09
  Prefactor  = 6.10623e-10
  norm       = 4.9067
  Prefactor  = 9.99201e-10
  Prefactor  = 0.586784
  Prefactor  = 7.49401e-09
  norm       = 2.498e-09
  norm       = 0.765877
  Normalizat = 0.778001
  Prefactor  = 1.03067
 **********
 **   18 **HESSE 
 **********

 FCN=   10125.76     FROM HESSE     STATUS=OK           355 CALLS     1962 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.041        26.763        .17723E-03   -1.5595    
   2  Prefactor     .28572E-06    56.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9549        15.048        .37441E-03   -1.5655    
   4  Prefactor     .98810E-08    30.256        .15882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.792        16.361        .21200E-03   -1.5615    
   6  norm          6.1515        11.421        .40413E-03   -1.5658    
   7  Prefactor     7.6830        12.459        .35795E-03   -1.5653    
   8  Prefactor     .47740E-08    13.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.068        32.372        .17816E-03   -1.5595    
  10  Prefactor     .69944E-08    2.3928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10547E-08    4.0596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .54956E-08    2.4634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    3.1846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9067        7.5648        .45436E-03   -1.5664    
  15  Prefactor     .99920E-09    4.8715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .58678        9.2194        .70475E-03   -1.5693    
  17  Prefactor     .74940E-08    2.7194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .24980E-08    2.7134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .76588        .85241        .55440E-03   -1.5690    
  20  Normalizat    .77800        .16701        .85434E-01   -1.0089    
  21  Prefactor     1.0307        .72814E-01    .41176E-01   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.81166e-07
Minuit parameter uncertainties:
  1  26.7632
  2  0.00804862
  3  15.0478
  4  0.00109295
  5  16.3606
  6  11.4209
  7  12.4587
  8  0.000515546
  9  32.3722
  10  0.000258909
  11  0.000131113
  12  0.000232615
  13  8.61853e-05
  14  7.56477
  15  0.000140689
  16  4.6518
  17  0.000285996
  18  0.000163801
  19  0.852409
  20  0.167115
  21  0.0728212
Done.

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

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  6.106e-10  8.619e-05  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  1.973e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  7.282e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 47.111 4.118
Photon Flux Upper Limit: 5.29172300241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00395991911312 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33166835/likelihoodResults_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.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) = 10125.7605779
delta logL = -0.000689590298862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10125.0075898
delta logL = 0.75229852998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83830E-02   1.0000          .0000       .10000E+07
     2 'Index     '    4.6099       1.0000          .0000       10.000    
     3 'Normalizat'    .72108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10125.76     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      372 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35941E-03    .15328        .32907E-02** at limit **
   2  Index         2.4194        1.0943        .50000       -.12008E-02
   3  Normalizat    .77799        .11786E-02    .37837E-03   -.85369E-03
   4  Prefactor     1.0307        .53912E-03    .15094E-03   -.17012E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000359412
  Index      = 2.4194
  Normalizat = 0.777994
  Prefactor  = 1.03067
 **********
 **   18 **HESSE 
 **********

 FCN=   10125.76     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      411 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35941E-03    .12349        .36578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4194        1.0807        .50000       -.54232    
   3  Normalizat    .77799        .11636E-02    .75675E-04   -1.0089    
   4  Prefactor     1.0307        .53225E-03    .30188E-04   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.73014e-10
Minuit parameter uncertainties:
  1  0.0133244
  2  1.09252
  3  0.00116363
  4  0.000532252
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) = 10125.7598794
delta logL = 8.87512942427e-06

Extracting fit parameters...

4FGL J0308.4+0407
   Spectrum: PowerLaw
290    Prefactor:  3.594e-04  1.332e-02  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.419e+00  1.093e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.031e+00  5.323e-04  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.780e-01  1.164e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 47.111 4.118

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/33166835/cmap_HighResolution_806457601_806716801_4FGL_J0308.4+0407_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2026-07-26 03:33:49.892326', job_id='33166835', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1785062029.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.88e-06', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='2188' AND source_name='4FGL J0308.4+0407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:33:50 PDT 2026

