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

 FCN=   4004.391     FROM HESSE     STATUS=OK           242 CALLS     2496 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9480        4.1951        .14502E-04   -1.5674    
   2  Prefactor     .83267E-09    58.241        .27663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.1632        4.5131        .53177E-04   -1.5658    
   4  Prefactor     .33307E-09    29.719        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.0060        .61770E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.925        55.059        .87747E-05   -1.5621    
   7  norm           .0000        5.4796        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .46130E-06    35.873        .95701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94369E-08    136.97        .20991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    13.866        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.1994        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12268E-06    723.31        .16982E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     723.53        651.27        .90060E-05   -1.5170    
  14  norm          3.5940        6.1552        .18676E-04   -1.5670    
  15  norm          52.922        86.354        .50342E-05   -1.5562    
  16  norm          .11657E-08    44.463        .56492E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3130        .44050        .51127E-03   -.83178    
  18  Prefactor     .91400        .10523        .14795E-03   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81914e-09
Minuit parameter uncertainties:
  1  4.1951
  2  0.000444944
  3  4.51314
  4  0.000199895
  5  5.13949e-07
  6  55.061
  7  7.58037e-06
  8  0.00813583
  9  0.00227211
  10  5.16061e-05
  11  1.07113e-05
  12  0.0188419
  13  651.332
  14  6.15526
  15  86.3559
  16  0.00045731
  17  0.441771
  18  0.105255
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  5.551e-11  5.161e-05  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  4.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 3.00558169913e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0227208183838 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31106465/likelihoodResults_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4004.42574227
delta logL = -0.0346963639217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4004.39104611
delta logL = -2.00650902116e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4004.391     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.392        .42118E-03** at limit **
   2  Index         3.0058        1.2681       -.38792E-04     .0000    
   3  Normalizat    1.3130        1.0767        .32076E-06    .21793E-04
   4  Prefactor     .91400        1.2582       -.79935E-06   -.20953E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.00577
  Normalizat = 1.31303
  Prefactor  = 0.914004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4004.391     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0212        2.0624       -.38792E-04   -.41026    
   3  Normalizat    1.3130        1.0767        .32076E-06   -.83178    
   4  Prefactor     .91400        1.2582       -.79935E-06   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.84207e-12
Minuit parameter uncertainties:
  1  6.74831e-06
  2  1.28488
  3  1.09594
  4  1.30209
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) = 4004.39104591
delta logL = 1.81898940355e-10

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  0.000e+00  6.748e-06  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  3.006e+00  1.285e+00  0.000e+00  1.000e+01 (-1.000e+00)
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.302e+00  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  1.096e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 81.467 -0.871

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31106465/cmap_HighResolution_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-02', job_status='DONE', photon_flux_upper_limit='3.01e-07', time_completed='2026-07-09 03:30:41.945117', job_id='31106465', GAL2='0.91', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1783593041.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.82e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2176' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:30:42 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  5.551e-11  5.161e-05  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  4.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 3.00558169913e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0227208183838 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31106396/likelihoodResults_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4004.42574227
delta logL = -0.0346963639217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4004.39104611
delta logL = -2.00650902116e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4004.391     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.392        .42118E-03** at limit **
   2  Index         3.0058        1.2681       -.38792E-04     .0000    
   3  Normalizat    1.3130        1.0767        .32076E-06    .21793E-04
   4  Prefactor     .91400        1.2582       -.79935E-06   -.20953E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.00577
  Normalizat = 1.31303
  Prefactor  = 0.914004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4004.391     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0212        2.0624       -.38792E-04   -.41026    
   3  Normalizat    1.3130        1.0767        .32076E-06   -.83178    
   4  Prefactor     .91400        1.2582       -.79935E-06   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.84207e-12
Minuit parameter uncertainties:
  1  6.74831e-06
  2  1.28488
  3  1.09594
  4  1.30209
/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)
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) = 4004.39104591
delta logL = 1.81898940355e-10

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  0.000e+00  6.748e-06  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  3.006e+00  1.285e+00  0.000e+00  1.000e+01 (-1.000e+00)
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.302e+00  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  1.096e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 81.467 -0.871

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31106396/cmap_HighResolution_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-02', job_status='DONE', photon_flux_upper_limit='3.01e-07', time_completed='2026-07-09 03:30:47.882274', job_id='31106396', GAL2='0.91', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1783593047.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.82e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2176' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:30:48 PDT 2026


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

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


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2176
RA = 81.4666, Dec = -0.8709
tmin = 803347201, tmax = 803606401
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='31106664', job_status='RUN', time_executed='2026-07-09 03:30:54.179151', time_epoch_executed='1783593054.18' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31106664

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31106664/ft1_4FGL_J0525.8-0052_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31106664/ft1_4FGL_J0525.8-0052_daily_bin2176.fits outfile=/lscratch/kocevski/31106664/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2176.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=803347201.0 tmax=803606401.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.39
user 1.73
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.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/31106664/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.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.20
sys 0.12

Number of photons that the gtmktime cut: 342

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31106664/ltcube_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.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/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits
.....................!
real 9.62
user 8.78
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31106664/ltcube_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits outfile=/lscratch/kocevski/31106664/expmap_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.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/31106664/ltcube_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits
.....................!
real 74.26
user 68.68
sys 4.21

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 Rosette in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 147 point sources and 2 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 J0525.8-0052 @ 81.4666 -0.8709

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits outfile=/lscratch/kocevski/31106664/cmap_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.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=81.4666 yref=-0.8709 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits outfile=/lscratch/kocevski/31106664/cmap_HighResolution_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.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=81.4666 yref=-0.8709 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.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31106664/Model_4FGL_J0525.8-0052_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Monoceros
adding source Rosette
Working on...
/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits.....................!
real 39.03
user 36.96
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits', '/lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits', expMap='/lscratch/kocevski/31106664/expmap_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits', expCube='/lscratch/kocevski/31106664/ltcube_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31106664/Model_4FGL_J0525.8-0052_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0525.8-0052'

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  1.005e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31106664/ft1_filtered_4FGL_J0525.8-0052_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31106664/ft2_4FGL_J0525.8-0052_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31106664/expmap_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31106664/ltcube_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31106664/Model_4FGL_J0525.8-0052_daily_bin2176.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) = 4004.52570243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9497       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10368       1.0000          .0000       .10000E+07
     3 'norm      '    6.2007       1.0000          .0000       .10000E+07
     4 'Prefactor '    .28052E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .31647E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    20.793       1.0000          .0000       .10000E+07
     7 'norm      '    .62248E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .61319E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .28005       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85454E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .23986E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    138.72       1.0000          .0000       .10000E+07
    13 'Prefactor '    493.41       1.0000          .0000       .10000E+07
    14 'norm      '    3.6731       1.0000          .0000       .10000E+07
    15 'norm      '    63.140       1.0000          .0000       .10000E+07
    16 'norm      '    .92931E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3112       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4004.391     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2254 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9480        4.1914        .59107E-03   -.46898E-02
   2  Prefactor     .83267E-09    58.192        .13831E-02** at limit **
   3  norm          6.1632        4.5092        .40291E-03    .27387E-01
   4  Prefactor     .33307E-09    29.718        .42118E-03** at limit **
   5  norm           .0000        .99932        .42118E-03** at limit **
   6  Prefactor     18.925        54.714        .21937E-03   -.14148E-02
   7  norm           .0000        5.4771        .42118E-03** at limit **
   8  Prefactor     .46130E-06    19.718        .15115E-01** at limit **
   9  norm          .94369E-08    136.50        .10496E-02** at limit **
  10  Prefactor     .55511E-10    13.860        .42118E-03** at limit **
  11  norm           .0000        3.1992        .42118E-03** at limit **
  12  Prefactor     .12268E-06    723.30        .84910E-04** at limit **
  13  Prefactor     723.53        651.13        .45030E-04    .15774E-02
  14  norm          3.5940        6.1463        .52678E-03    .36327E-02
  15  norm          52.922        87.141        .12586E-03    .96772E-03
  16  norm          .11657E-08    44.254        .14123E-02** at limit **
  17  Normalizat    1.3130        .41267        .11528       -.20623E-03
  18  Prefactor     .91400        .98311E-01    .33480E-01   -.74733E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.948
  Prefactor  = 8.32667e-10
  norm       = 6.16315
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 18.9247
  norm       = 0
  Prefactor  = 4.61298e-07
  norm       = 9.4369e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.2268e-07
  Prefactor  = 723.525
  norm       = 3.59398
  norm       = 52.9225
  norm       = 1.16573e-09
  Normalizat = 1.31303
  Prefactor  = 0.914003
 **********
 **   18 **HESSE 
 **********

 FCN=   4004.391     FROM HESSE     STATUS=OK           242 CALLS     2496 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9480        4.1951        .14502E-04   -1.5674    
   2  Prefactor     .83267E-09    58.241        .27663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.1632        4.5131        .53177E-04   -1.5658    
   4  Prefactor     .33307E-09    29.719        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.0060        .61770E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.925        55.059        .87747E-05   -1.5621    
   7  norm           .0000        5.4796        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .46130E-06    35.873        .95701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94369E-08    136.97        .20991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    13.866        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.1994        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12268E-06    723.31        .16982E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     723.53        651.27        .90060E-05   -1.5170    
  14  norm          3.5940        6.1552        .18676E-04   -1.5670    
  15  norm          52.922        86.354        .50342E-05   -1.5562    
  16  norm          .11657E-08    44.463        .56492E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3130        .44050        .51127E-03   -.83178    
  18  Prefactor     .91400        .10523        .14795E-03   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81914e-09
Minuit parameter uncertainties:
  1  4.1951
  2  0.000444944
  3  4.51314
  4  0.000199895
  5  5.13949e-07
  6  55.061
  7  7.58037e-06
  8  0.00813583
  9  0.00227211
  10  5.16061e-05
  11  1.07113e-05
  12  0.0188419
  13  651.332
  14  6.15526
  15  86.3559
  16  0.00045731
  17  0.441771
  18  0.105255
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  5.551e-11  5.161e-05  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  2.098e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  4.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 3.00558169913e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0227208183838 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31106664/likelihoodResults_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4004.42574227
delta logL = -0.0346963639217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4004.39104611
delta logL = -2.00650902116e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4004.391     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.392        .42118E-03** at limit **
   2  Index         3.0058        1.2681       -.38792E-04     .0000    
   3  Normalizat    1.3130        1.0767        .32076E-06    .21793E-04
   4  Prefactor     .91400        1.2582       -.79935E-06   -.20953E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.00577
  Normalizat = 1.31303
  Prefactor  = 0.914004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4004.391     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0212        2.0624       -.38792E-04   -.41026    
   3  Normalizat    1.3130        1.0767        .32076E-06   -.83178    
   4  Prefactor     .91400        1.2582       -.79935E-06   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.84207e-12
Minuit parameter uncertainties:
  1  6.74831e-06
  2  1.28488
  3  1.09594
  4  1.30209
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) = 4004.39104591
delta logL = 1.81898940355e-10

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  0.000e+00  6.748e-06  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  3.006e+00  1.285e+00  0.000e+00  1.000e+01 (-1.000e+00)
231        Scale:  2.197e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.140e-01  1.302e+00  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  1.313e+00  1.096e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 81.467 -0.871

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31106664/cmap_HighResolution_803347201_803606401_4FGL_J0525.8-0052_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-02', job_status='DONE', photon_flux_upper_limit='3.01e-07', time_completed='2026-07-09 03:35:26.453734', job_id='31106664', GAL2='0.91', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1783593326.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.82e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2176' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:35:26 PDT 2026

