********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
/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).

number of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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.


Performing analysis on: 4FGL_J0505.6+6405_daily_bin2174
RA = 76.4244, Dec = 64.0877
tmin = 802828801, tmax = 803088001
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='31096210', job_status='RUN', time_executed='2026-07-09 01:14:39.461683', time_epoch_executed='1783584879.46' WHERE source_name='4FGL J0505.6+6405' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31096210

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31096210/ft1_4FGL_J0505.6+6405_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31096210/ft1_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096210/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits ra=76.4244 dec=64.0877 rad=12.0 tmin=802828801.0 tmax=803088001.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.20
user 1.52
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.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/31096210/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.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.81
user 0.18
sys 0.15

Number of photons that the gtmktime cut: 1468

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" o
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
.41).

This is gtbin version HEAD
real 0.77
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31095916/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31095916/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31095916/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31095916/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 98.27
user 95.42
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31095916/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31095916/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31095916/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31095916/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31095916/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31095916/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31095916/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31095916/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31095916/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31095916/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
number of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0505.6+6405_daily_bin2174
RA = 76.4244, Dec = 64.0877
tmin = 802828801, tmax = 803088001
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='31096255', job_status='RUN', time_executed='2026-07-09 01:15:40.886120', time_epoch_executed='1783584940.89' WHERE source_name='4FGL J0505.6+6405' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31096255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31096255/ft1_4FGL_J0505.6+6405_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31096255/ft1_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096255/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits ra=76.4244 dec=64.0877 rad=12.0 tmin=802828801.0 tmax=803088001.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.19
user 1.54
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.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/31096255/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.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.75
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1468

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31095832/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31095832/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:17:47.061547', job_id='31095832', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585067.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:17:47 PDT 2026

.41).

This is gtbin version HEAD
real 0.80
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31095991/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31095991/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31095991/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31095991/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 88.17
user 86.08
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31095991/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31095991/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31095991/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31095991/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31095991/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31095991/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31095991/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31095991/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31095991/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31095991/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 ***utfile=/lscratch/kocevski/31096210/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 9.39
user 8.52
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31096210/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096210/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096210/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 67.94
user 63.09
sys 4.00

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 179 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0505.6+6405 @ 76.4244 64.0877

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096210/cmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096210/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 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*******
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
number of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0505.6+6405_daily_bin2174
RA = 76.4244, Dec = 64.0877
tmin = 802828801, tmax = 803088001
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='31096397', job_status='RUN', time_executed='2026-07-09 01:16:38.933274', time_epoch_executed='1783584998.93' WHERE source_name='4FGL J0505.6+6405' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31096397

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31096397/ft1_4FGL_J0505.6+6405_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31096397/ft1_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096397/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits ra=76.4244 dec=64.0877 rad=12.0 tmin=802828801.0 tmax=803088001.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.48
user 1.39
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.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/31096397/ft1_filteredMKT_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.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.76
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1468

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31095916/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31095916/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:18:22.380223', job_id='31095916', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585102.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:18:22 PDT 2026

utfile=/lscratch/kocevski/31096255/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 8.93
user 8.24
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31096255/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096255/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096255/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 70.08
user 65.24
sys 4.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 179 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0505.6+6405 @ 76.4244 64.0877

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096255/cmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 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.89
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096255/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 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 (v3Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31095991/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31095991/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:19:18.615088', job_id='31095991', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585158.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:19:18 PDT 2026

utfile=/lscratch/kocevski/31096397/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 8.25
user 7.54
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31096397/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096397/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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/31096397/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
.....................!
real 61.67
user 57.36
sys 3.51

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 179 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0505.6+6405 @ 76.4244 64.0877

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096397/cmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits outfile=/lscratch/kocevski/31096397/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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=76.4244 yref=64.0877 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31096148/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096148/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31096148/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31096148/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 103.86
user 101.72
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31096148/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31096148/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31096148/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31096148/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31096148/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31096148/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31096148/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31096148/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31096148/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31096148/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
.41).

This is gtbin version HEAD
real 0.82
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31096210/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 94.06
user 91.47
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31096210/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31096210/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31096210/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31096210/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31096210/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31096210/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31096210/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31096210/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31096148/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31096148/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:21:43.627315', job_id='31096148', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585303.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:21:43 PDT 2026

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

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
.41).

This is gtbin version HEAD
real 0.83
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31096255/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 98.47
user 96.00
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31096255/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31096255/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31096255/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31096255/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31096255/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31096255/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31096255/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31096255/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
.41).

This is gtbin version HEAD
real 0.80
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31096397/Model_4FGL_J0505.6+6405_daily_bin2174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits.....................!
real 87.22
user 85.17
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits', '/lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits', expMap='/lscratch/kocevski/31096397/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', expCube='/lscratch/kocevski/31096397/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31096397/Model_4FGL_J0505.6+6405_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0505.6+6405'

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  5.624e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31096397/ft1_filtered_4FGL_J0505.6+6405_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31096397/ft2_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31096397/expmap_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31096397/ltcube_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31096397/Model_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1268655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25941E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30751E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70282E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.079       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10357E-01   1.0000          .0000       .10000E+07
     7 'norm      '    17.602       1.0000          .0000       .10000E+07
     8 'norm      '    .37898E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1985       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28487E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.549       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39790E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0059       1.0000          .0000       10.000    
 *** **********
 **   18 **HESSE 
 **********

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
*******
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1159 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88263E-08    16.108        .25797E-05** at limit **
   2  Prefactor      .0000        2.6123       -.14794E-06** at limit **
   3  Prefactor      .0000        1.9027       -.23791E-06** at limit **
   4  Prefactor     .55511E-10    8.5898       -.15479E-05** at limit **
   5  Prefactor     70.056        2.8373       -.43416E-06    .24937E-01
   6  Prefactor     .46591E-06    298.10        .16693E-04** at limit **
   7  norm          17.600        9.6451       -.25051E-05    .30871E-01
   8  norm          .77716E-09    11.596       -.21147E-05** at limit **
   9  Prefactor     13.846        9.7551        .36111E-05    .89604E-01
  10  Prefactor     36.155        30.753       -.77925E-05    .14056    
  11  Prefactor     9.1956        9.6331       -.41117E-05   -.31307E-01
  12  Prefactor     .14932E-07    13.639        .20202E-05** at limit **
  13  Prefactor     27.525        16.087        .35961E-05    .19767    
  14  Prefactor     .55511E-10    26.594        .13812E-05** at limit **
  15  Normalizat    1.1351        .25110        .35656E-04   -.57885E-04
  16  Prefactor     1.0059        .47734E-01   -.21359E-05    .14573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 70.0564
  Prefactor  = 4.65905e-07
  norm       = 17.6004
  norm       = 7.77156e-10
  Prefactor  = 13.8457
  Prefactor  = 36.1552
  Prefactor  = 9.19556
  Prefactor  = 1.49325e-08
  Prefactor  = 27.5245
  Prefactor  = 5.55112e-11
  Normalizat = 1.13511
  Prefactor  = 1.00591
Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31096210/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31096210/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:22:54.883230', job_id='31096210', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585374.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:22:55 PDT 2026

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

 FCN=   14582.13     FROM HESSE     STATUS=OK           233 CALLS     1392 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88263E-08    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.056        45.384        .11946E-03   -1.5541    
   6  Prefactor     .46591E-06    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.600        14.350        .23845E-03   -1.5624    
   8  norm          .77716E-09    11.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.846        13.110        .26878E-03   -1.5634    
  10  Prefactor     36.155        43.003        .16670E-03   -1.5588    
  11  Prefactor     9.1956        30.381        .33021E-03   -1.5647    
  12  Prefactor     .14932E-07    13.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.525        25.388        .19056E-03   -1.5603    
  14  Prefactor     .55511E-10    26.593        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1351        .25764        .14333       -.88633    
  16  Prefactor     1.0059        .47327E-01    .28813E-01   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13579e-06
Minuit parameter uncertainties:
  1  0.000755254
  2  7.57822e-06
  3  2.18985e-06
  4  3.40019e-05
  5  45.3847
  6  0.0234367
  7  14.3497
  8  0.000191604
  9  13.1101
  10  43.0032
  11  30.3811
  12  0.000903039
  13  25.3882
  14  6.32095e-05
  15  0.25793
  16  0.0473291
Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31096255/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31096255/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:23:51.004232', job_id='31096255', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585431.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:23:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  7.772e-10  1.916e-04  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  2.328e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  4.733e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 76.424 64.088
Photon Flux Upper Limit: 6.57532269191e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68829652778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31096397/likelihoodResults_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.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) = 14582.1259916
delta logL = -9.63796082942e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14582.1259819
delta logL = -1.06065272121e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14582.13     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.2983        .42118E-03** at limit **
   2  alpha         3.1453        1.4675        .38648E-04     .0000    
   3  Normalizat    1.1351        1.1338       -.99881E-07    .13242E-04
   4  Prefactor     1.0059        1.2814        .10643E-05    .21811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.14529
  Normalizat = 1.13511
  Prefactor  = 1.00591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14582.13     FROM HESSE     STATUS=FAILED         7 CALLS      257 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8841        1.4675        .38648E-04    .26107    
   3  Normalizat    1.1351        1.1338       -.99881E-07   -.88632    
   4  Prefactor     1.0059        1.2814        .10643E-05   -.92533    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.75191e-13
Minuit parameter uncertainties:
  1  4.67427e-06
  2  1.5772
  3  1.15973
  4  1.32372
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) = 14582.1259819
delta logL = 5.45696821064e-11

Extracting fit parameters...

4FGL J0505.6+6405
   Spectrum: LogParabola
291         norm:  0.000e+00  4.674e-06  0.000e+00  1.000e+06 ( 1.000e-13)
292        alpha:  3.145e+00  1.577e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.641e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.144e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.006e+00  1.324e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.135e+00  1.160e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 76.424 64.088

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/31096397/cmap_HighResolution_802828801_803088001_4FGL_J0505.6+6405_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2026-07-09 01:24:04.958148', job_id='31096397', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1783585444.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2174' AND source_name='4FGL J0505.6+6405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 01:24:05 PDT 2026

