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

 FCN=   5894.683     FROM HESSE     STATUS=OK           255 CALLS     1464 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.164        6.9501        .31293E-03   -1.5644    
   2  Prefactor     10.438        14.094        .31036E-03   -1.5643    
   3  norm          .49960E-09    3.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.701        39.510        .15295E-03   -1.5573    
   5  Prefactor     7.7931        12.210        .35797E-03   -1.5652    
   6  Prefactor     .54806E-06    30.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.313        10.020        .31208E-03   -1.5644    
   8  norm          .13262E-05    41.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19984E-07    11.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.099        17.640        .28877E-03   -1.5638    
  11  Prefactor     .78271E-08    10.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    1.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .97589        .97753        .42827E-03   -1.5688    
  14  Prefactor     .38858E-09    6.8939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.732        20.485        .17633E-03   -1.5594    
  16  Normalizat    1.0670        .17704        .39367E-01   -.90818    
  17  Prefactor     .78518        .13553        .43514E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79042e-07
Minuit parameter uncertainties:
  1  6.9501
  2  14.0941
  3  8.5635e-05
  4  39.5099
  5  12.2101
  6  0.00812633
  7  10.0197
  8  0.0147862
  9  0.000960929
  10  17.6398
  11  0.000570865
  12  3.512e-05
  13  0.977531
  14  0.000101695
  15  20.4852
  16  0.177136
  17  0.135592
/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) = 5894.68334865

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.998e-08  9.609e-04  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 4.7888614303e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362398309699 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28067259/likelihoodResults_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.72482396
delta logL = -0.0414753155846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5894.6833494
delta logL = -7.53355379857e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52889E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .49901       1.0000          .0000       10.000    
     3 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0132        .42118E-03** at limit **
   2  Index         2.7294        1.7207       -.70390E-04     .0000    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.23410E-03
   4  Prefactor     .78518        1.1341        .13753E-04   -.35597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.72939
  Normalizat = 1.06701
  Prefactor  = 0.785181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5894.683     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84366        2.0620       -.70390E-04   -.47139    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.90818    
   4  Prefactor     .78518        1.1341        .13753E-04   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.23151e-11
Minuit parameter uncertainties:
  1  2.21294e-05
  2  1.76666
  3  1.21474
  4  1.17072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5894.68334865
delta logL = 8.1581674749e-10

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  2.213e-05  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.729e+00  1.767e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.171e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.215e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.156 28.357

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/28067259/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-06-08 06:17:26.536662', job_id='28067259', GAL2='0.79', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1780924646.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.16e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='2172' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 06:17:26 PDT 2026

_V02
Working on...
/lscratch/kocevski/28067407/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits.....................!
real 29.04
user 27.29
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28067407/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits', '/lscratch/kocevski/28067407/ft2_4FGL_J0812.6+2821_daily_bin2172.fits', expMap='/lscratch/kocevski/28067407/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', expCube='/lscratch/kocevski/28067407/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28067407/Model_4FGL_J0812.6+2821_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0812.6+2821'

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28067407/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28067407/ft2_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28067407/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28067407/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28067407/Model_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.76737473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.236       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.406       1.0000          .0000       .10000E+07
     3 'norm      '    .91307E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    42.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8358       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91818E-02   1.0000          .0000       .10000E+07
     7 'norm      '    10.292       1.0000          .0000       .10000E+07
     8 'norm      '    .50305E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37026E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.013       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55573E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21516E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .97356       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53213E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.173       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0702       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1209 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.164        6.9342       -.68054E-06   -.71680E-03
   2  Prefactor     10.438        1.4531        .16831E-06    .15461E-01
   3  norm          .49960E-09    3.8504        .43600E-05** at limit **
   4  Prefactor     45.701        39.085        .16786E-05   -.29598E-01
   5  Prefactor     7.7931        12.156       -.71895E-06    .17418E-03
   6  Prefactor     .54806E-06    29.321       -.67271E-06** at limit **
   7  norm          10.313        10.003       -.26455E-06    .14159E-02
   8  norm          .13262E-05    39.270        .13188E-04** at limit **
   9  Prefactor     .19984E-07    11.501        .13508E-05** at limit **
  10  Prefactor     12.099        1.1708        .61131E-08   -.15796E-01
  11  Prefactor     .78271E-08    10.373       -.11253E-05** at limit **
  12  Prefactor     .16653E-09    1.8232        .22090E-05** at limit **
  13  norm          .97589        .97271       -.27024E-06    .80007E-02
  14  Prefactor     .38858E-09    6.9073        .58012E-07** at limit **
  15  Prefactor     32.732        7.2627        .10435E-05    .21427    
  16  Normalizat    1.0670        .20157        .65521E-04   -.87190E-04
  17  Prefactor     .78518        .15516       -.54818E-04   -.12093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.164
  Prefactor  = 10.4383
  norm       = 4.996e-10
  Prefactor  = 45.7013
  Prefactor  = 7.7931
  Prefactor  = 5.48062e-07
  norm       = 10.3132
  norm       = 1.32622e-06
  Prefactor  = 1.9984e-08
  Prefactor  = 12.0987
  Prefactor  = 7.82707e-09
  Prefactor  = 1.66533e-10
  norm       = 0.975891
  Prefactor  = 3.88578e-10
  Prefactor  = 32.7324
  Normalizat = 1.06701
  Prefactor  = 0.785182
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.683     FROM HESSE     STATUS=OK           255 CALLS     1464 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.164        6.9501        .31293E-03   -1.5644    
   2  Prefactor     10.438        14.094        .31036E-03   -1.5643    
   3  norm          .49960E-09    3.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.701        39.510        .15295E-03   -1.5573    
   5  Prefactor     7.7931        12.210        .35797E-03   -1.5652    
   6  Prefactor     .54806E-06    30.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.313        10.020        .31208E-03   -1.5644    
   8  norm          .13262E-05    41.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19984E-07    11.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.099        17.640        .28877E-03   -1.5638    
  11  Prefactor     .78271E-08    10.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    1.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .97589        .97753        .42827E-03   -1.5688    
  14  Prefactor     .38858E-09    6.8939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.732        20.485        .17633E-03   -1.5594    
  16  Normalizat    1.0670        .17704        .39367E-01   -.90818    
  17  Prefactor     .78518        .13553        .43514E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79042e-07
Minuit parameter uncertainties:
  1  6.9501
  2  14.0941
  3  8.5635e-05
  4  39.5099
  5  12.2101
  6  0.00812633
  7  10.0197
  8  0.0147862
  9  0.000960929
  10  17.6398
  11  0.000570865
  12  3.512e-05
  13  0.977531
  14  0.000101695
  15  20.4852
  16  0.177136
  17  0.135592
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0812.6+2821_daily_bin2172
RA = 123.156, Dec = 28.3574
tmin = 802310401, tmax = 802569601
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='28067550', job_status='RUN', time_executed='2026-06-08 06:16:20.642280', time_epoch_executed='1780924580.64' WHERE source_name='4FGL J0812.6+2821' and cadence='daily' and bin_id='2172'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28067550

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28067550/ft1_4FGL_J0812.6+2821_daily_bin2172.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28067550/ft1_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067550/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin2172.fits ra=123.156 dec=28.3574 rad=12.0 tmin=802310401.0 tmax=802569601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.51
user 1.80
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.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/28067550/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" outfile="/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.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.83
user 0.17
sys 0.12

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.998e-08  9.609e-04  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 4.7888614303e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362398309699 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28067407/likelihoodResults_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.72482396
delta logL = -0.0414753155846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5894.6833494
delta logL = -7.53355379857e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52889E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .49901       1.0000          .0000       10.000    
     3 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0132        .42118E-03** at limit **
   2  Index         2.7294        1.7207       -.70390E-04     .0000    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.23410E-03
   4  Prefactor     .78518        1.1341        .13753E-04   -.35597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.72939
  Normalizat = 1.06701
  Prefactor  = 0.785181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5894.683     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84366        2.0620       -.70390E-04   -.47139    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.90818    
   4  Prefactor     .78518        1.1341        .13753E-04   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.23151e-11
Minuit parameter uncertainties:
  1  2.21294e-05
  2  1.76666
  3  1.21474
  4  1.17072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5894.68334865
delta logL = 8.1581674749e-10

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  2.213e-05  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.729e+00  1.767e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.171e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.215e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.156 28.357

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/28067407/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-06-08 06:18:11.446468', job_id='28067407', GAL2='0.79', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1780924691.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.16e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='2172' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 06:18:11 PDT 2026

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


Performing analysis on: 4FGL_J0812.6+2821_daily_bin2172
RA = 123.156, Dec = 28.3574
tmin = 802310401, tmax = 802569601
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='28067579', job_status='RUN', time_executed='2026-06-08 06:17:21.924230', time_epoch_executed='1780924641.92' WHERE source_name='4FGL J0812.6+2821' and cadence='daily' and bin_id='2172'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28067579

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28067579/ft1_4FGL_J0812.6+2821_daily_bin2172.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28067579/ft1_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067579/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin2172.fits ra=123.156 dec=28.3574 rad=12.0 tmin=802310401.0 tmax=802569601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.77
user 2.13
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.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/28067579/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" outfile="/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.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.86
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28067550/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits
.....................!
real 7.41
user 6.61
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28067550/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067550/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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/28067550/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
.....................!
real 59.83
user 55.72
sys 3.32

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

Setting source of interest to:
4FGL J0812.6+2821 @ 123.156 28.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067550/cmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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=123.156 yref=28.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.18
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067550/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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=123.156 yref=28.3574 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.81
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28067550/Model_4FGL_J0812.6+2821_daily_bin2172.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/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits.....................!
real 21.34
user 19.71
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits', '/lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits', expMap='/lscratch/kocevski/28067550/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', expCube='/lscratch/kocevski/28067550/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28067550/Model_4FGL_J0812.6+2821_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0812.6+2821'

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28067550/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28067550/ft2_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28067550/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28067550/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28067550/Model_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.76737473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.236       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.406       1.0000          .0000       .10000E+07
     3 'norm      '    .91307E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    42.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8358       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91818E-02   1.0000          .0000       .10000E+07
     7 'norm      '    10.292       1.0000          .0000       .10000E+07
     8 'norm      '    .50305E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37026E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.013       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55573E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21516E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .97356       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53213E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.173       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0702       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1209 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.164        6.9342       -.68054E-06   -.71680E-03
   2  Prefactor     10.438        1.4531        .16831E-06    .15461E-01
   3  norm          .49960E-09    3.8504        .43600E-05** at limit **
   4  Prefactor     45.701        39.085        .16786E-05   -.29598E-01
   5  Prefactor     7.7931        12.156       -.71895E-06    .17418E-03
   6  Prefactor     .54806E-06    29.321       -.67271E-06** at limit **
   7  norm          10.313        10.003       -.26455E-06    .14159E-02
   8  norm          .13262E-05    39.270        .13188E-04** at limit **
   9  Prefactor     .19984E-07    11.501        .13508E-05** at limit **
  10  Prefactor     12.099        1.1708        .61131E-08   -.15796E-01
  11  Prefactor     .78271E-08    10.373       -.11253E-05** at limit **
  12  Prefactor     .16653E-09    1.8232        .22090E-05** at limit **
  13  norm          .97589        .97271       -.27024E-06    .80007E-02
  14  Prefactor     .38858E-09    6.9073        .58012E-07** at limit **
  15  Prefactor     32.732        7.2627        .10435E-05    .21427    
  16  Normalizat    1.0670        .20157        .65521E-04   -.87190E-04
  17  Prefactor     .78518        .15516       -.54818E-04   -.12093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.164
  Prefactor  = 10.4383
  norm       = 4.996e-10
  Prefactor  = 45.7013
  Prefactor  = 7.7931
  Prefactor  = 5.48062e-07
  norm       = 10.3132
  norm       = 1.32622e-06
  Prefactor  = 1.9984e-08
  Prefactor  = 12.0987
  Prefactor  = 7.82707e-09
  Prefactor  = 1.66533e-10
  norm       = 0.975891
  Prefactor  = 3.88578e-10
  Prefactor  = 32.7324
  Normalizat = 1.06701
  Prefactor  = 0.785182
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.683     FROM HESSE     STATUS=OK           255 CALLS     1464 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.164        6.9501        .31293E-03   -1.5644    
   2  Prefactor     10.438        14.094        .31036E-03   -1.5643    
   3  norm          .49960E-09    3.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.701        39.510        .15295E-03   -1.5573    
   5  Prefactor     7.7931        12.210        .35797E-03   -1.5652    
   6  Prefactor     .54806E-06    30.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.313        10.020        .31208E-03   -1.5644    
   8  norm          .13262E-05    41.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19984E-07    11.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.099        17.640        .28877E-03   -1.5638    
  11  Prefactor     .78271E-08    10.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    1.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .97589        .97753        .42827E-03   -1.5688    
  14  Prefactor     .38858E-09    6.8939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.732        20.485        .17633E-03   -1.5594    
  16  Normalizat    1.0670        .17704        .39367E-01   -.90818    
  17  Prefactor     .78518        .13553        .43514E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79042e-07
Minuit parameter uncertainties:
  1  6.9501
  2  14.0941
  3  8.5635e-05
  4  39.5099
  5  12.2101
  6  0.00812633
  7  10.0197
  8  0.0147862
  9  0.000960929
  10  17.6398
  11  0.000570865
  12  3.512e-05
  13  0.977531
  14  0.000101695
  15  20.4852
  16  0.177136
  17  0.135592
tfile=/lscratch/kocevski/28067579/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits
.....................!
real 8.76
user 8.01
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28067579/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067579/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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/28067579/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
.....................!
real 71.37
user 66.31
sys 4.14

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

Setting source of interest to:
4FGL J0812.6+2821 @ 123.156 28.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067579/cmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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=123.156 yref=28.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.09
user 0.20
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits outfile=/lscratch/kocevski/28067579/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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=123.156 yref=28.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28067579/Model_4FGL_J0812.6+2821_daily_bin2172.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 GALDone.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.998e-08  9.609e-04  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 4.7888614303e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362398309699 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28067550/likelihoodResults_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.72482396
delta logL = -0.0414753155846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5894.6833494
delta logL = -7.53355379857e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52889E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .49901       1.0000          .0000       10.000    
     3 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0132        .42118E-03** at limit **
   2  Index         2.7294        1.7207       -.70390E-04     .0000    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.23410E-03
   4  Prefactor     .78518        1.1341        .13753E-04   -.35597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.72939
  Normalizat = 1.06701
  Prefactor  = 0.785181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5894.683     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84366        2.0620       -.70390E-04   -.47139    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.90818    
   4  Prefactor     .78518        1.1341        .13753E-04   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.23151e-11
Minuit parameter uncertainties:
  1  2.21294e-05
  2  1.76666
  3  1.21474
  4  1.17072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5894.68334865
delta logL = 8.1581674749e-10

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  2.213e-05  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.729e+00  1.767e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.171e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.215e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.156 28.357

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/28067550/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-06-08 06:20:55.602140', job_id='28067550', GAL2='0.79', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1780924855.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.16e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='2172' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 06:20:55 PDT 2026

_V02
Working on...
/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits.....................!
real 25.02
user 23.21
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits', '/lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits', expMap='/lscratch/kocevski/28067579/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', expCube='/lscratch/kocevski/28067579/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28067579/Model_4FGL_J0812.6+2821_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0812.6+2821'

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28067579/ft1_filtered_4FGL_J0812.6+2821_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28067579/ft2_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28067579/expmap_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28067579/ltcube_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28067579/Model_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.76737473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.236       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.406       1.0000          .0000       .10000E+07
     3 'norm      '    .91307E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    42.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8358       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91818E-02   1.0000          .0000       .10000E+07
     7 'norm      '    10.292       1.0000          .0000       .10000E+07
     8 'norm      '    .50305E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37026E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.013       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55573E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21516E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .97356       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53213E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.173       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0702       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1209 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.164        6.9342       -.68054E-06   -.71680E-03
   2  Prefactor     10.438        1.4531        .16831E-06    .15461E-01
   3  norm          .49960E-09    3.8504        .43600E-05** at limit **
   4  Prefactor     45.701        39.085        .16786E-05   -.29598E-01
   5  Prefactor     7.7931        12.156       -.71895E-06    .17418E-03
   6  Prefactor     .54806E-06    29.321       -.67271E-06** at limit **
   7  norm          10.313        10.003       -.26455E-06    .14159E-02
   8  norm          .13262E-05    39.270        .13188E-04** at limit **
   9  Prefactor     .19984E-07    11.501        .13508E-05** at limit **
  10  Prefactor     12.099        1.1708        .61131E-08   -.15796E-01
  11  Prefactor     .78271E-08    10.373       -.11253E-05** at limit **
  12  Prefactor     .16653E-09    1.8232        .22090E-05** at limit **
  13  norm          .97589        .97271       -.27024E-06    .80007E-02
  14  Prefactor     .38858E-09    6.9073        .58012E-07** at limit **
  15  Prefactor     32.732        7.2627        .10435E-05    .21427    
  16  Normalizat    1.0670        .20157        .65521E-04   -.87190E-04
  17  Prefactor     .78518        .15516       -.54818E-04   -.12093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.164
  Prefactor  = 10.4383
  norm       = 4.996e-10
  Prefactor  = 45.7013
  Prefactor  = 7.7931
  Prefactor  = 5.48062e-07
  norm       = 10.3132
  norm       = 1.32622e-06
  Prefactor  = 1.9984e-08
  Prefactor  = 12.0987
  Prefactor  = 7.82707e-09
  Prefactor  = 1.66533e-10
  norm       = 0.975891
  Prefactor  = 3.88578e-10
  Prefactor  = 32.7324
  Normalizat = 1.06701
  Prefactor  = 0.785182
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.683     FROM HESSE     STATUS=OK           255 CALLS     1464 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.164        6.9501        .31293E-03   -1.5644    
   2  Prefactor     10.438        14.094        .31036E-03   -1.5643    
   3  norm          .49960E-09    3.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.701        39.510        .15295E-03   -1.5573    
   5  Prefactor     7.7931        12.210        .35797E-03   -1.5652    
   6  Prefactor     .54806E-06    30.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.313        10.020        .31208E-03   -1.5644    
   8  norm          .13262E-05    41.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19984E-07    11.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.099        17.640        .28877E-03   -1.5638    
  11  Prefactor     .78271E-08    10.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    1.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .97589        .97753        .42827E-03   -1.5688    
  14  Prefactor     .38858E-09    6.8939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.732        20.485        .17633E-03   -1.5594    
  16  Normalizat    1.0670        .17704        .39367E-01   -.90818    
  17  Prefactor     .78518        .13553        .43514E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79042e-07
Minuit parameter uncertainties:
  1  6.9501
  2  14.0941
  3  8.5635e-05
  4  39.5099
  5  12.2101
  6  0.00812633
  7  10.0197
  8  0.0147862
  9  0.000960929
  10  17.6398
  11  0.000570865
  12  3.512e-05
  13  0.977531
  14  0.000101695
  15  20.4852
  16  0.177136
  17  0.135592
Done.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.998e-08  9.609e-04  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 4.7888614303e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362398309699 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28067579/likelihoodResults_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.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) = 5894.72482396
delta logL = -0.0414753155846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5894.6833494
delta logL = -7.53355379857e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52889E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .49901       1.0000          .0000       10.000    
     3 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5894.683     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0132        .42118E-03** at limit **
   2  Index         2.7294        1.7207       -.70390E-04     .0000    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.23410E-03
   4  Prefactor     .78518        1.1341        .13753E-04   -.35597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.72939
  Normalizat = 1.06701
  Prefactor  = 0.785181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5894.683     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84366        2.0620       -.70390E-04   -.47139    
   3  Normalizat    1.0670        1.1833       -.12742E-05   -.90818    
   4  Prefactor     .78518        1.1341        .13753E-04   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.23151e-11
Minuit parameter uncertainties:
  1  2.21294e-05
  2  1.76666
  3  1.21474
  4  1.17072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5894.68334865
delta logL = 8.1581674749e-10

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  0.000e+00  2.213e-05  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.729e+00  1.767e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.852e-01  1.171e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.067e+00  1.215e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.156 28.357

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/28067579/cmap_HighResolution_802310401_802569601_4FGL_J0812.6+2821_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-06-08 06:22:21.021350', job_id='28067579', GAL2='0.79', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1780924941.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.16e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='2172' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 06:22:21 PDT 2026

