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


Performing analysis on: 4FGL_J1825.1-5231_daily_bin2177
RA = 276.295, Dec = -52.529
tmin = 803606401, tmax = 803865601
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='31692569', job_status='RUN', time_executed='2026-07-14 18:53:23.123498', time_epoch_executed='1784080403.12' WHERE source_name='4FGL J1825.1-5231' and cadence='daily' and bin_id='2177'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31692569

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31692569/ft1_4FGL_J1825.1-5231_daily_bin2177.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31692569/ft1_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692569/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits ra=276.295 dec=-52.529 rad=12.0 tmin=803606401.0 tmax=803865601.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.08
user 1.35
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.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/31692569/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.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.87
user 0.17
sys 0.12

Number of photons that the gtmktime cut: 101

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" ou/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

tfile=/lscratch/kocevski/31692569/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 7.65
user 6.99
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31692569/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692569/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692569/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 59.68
user 55.44
sys 3.43

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 FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Added 397 point sources and 10 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 J1825.1-5231 @ 276.295 -52.529

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692569/cmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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=276.295 yref=-52.529 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.83
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692569/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 number of points = 7650
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1825.1-5231_daily_bin2177
RA = 276.295, Dec = -52.529
tmin = 803606401, tmax = 803865601
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='31692749', job_status='RUN', time_executed='2026-07-14 18:54:48.414065', time_epoch_executed='1784080488.41' WHERE source_name='4FGL J1825.1-5231' and cadence='daily' and bin_id='2177'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31692749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31692749/ft1_4FGL_J1825.1-5231_daily_bin2177.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31692749/ft1_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692749/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits ra=276.295 dec=-52.529 rad=12.0 tmin=803606401.0 tmax=803865601.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.42
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.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/31692749/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.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.94
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 101

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" oubinsz=0.1 coordsys="CEL" xref=276.295 yref=-52.529 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.91
user 0.19
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31692569/Model_4FGL_J1825.1-5231_daily_bin2177.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source RX J1713.7-3946
Working on...
/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits.....................!
real 12.72
user 11.11
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits', '/lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits', expMap='/lscratch/kocevski/31692569/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', expCube='/lscratch/kocevski/31692569/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31692569/Model_4FGL_J1825.1-5231_daily_bin2177.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1825.1-5231'

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  1.759e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31692569/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits
Spacecraft file(s): /lscratch/kocevski/31692569/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure map: /lscratch/kocevski/31692569/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure cube: /lscratch/kocevski/31692569/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31692569/Model_4FGL_J1825.1-5231_daily_bin2177.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) = 986.361679271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23226E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.432       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79541E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86686       1.0000          .0000       .10000E+07
     5 'norm      '    74517.       1.0000          .0000       .10000E+07
     6 'Prefactor '    92.661       1.0000          .0000       .10000E+07
     7 'Prefactor '    31955.       1.0000          .0000       .10000E+07
     8 'norm      '    46.773       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10498E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8834       1.0000          .0000       .10000E+07
    12 'norm      '    .19506E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .40835E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.9039       1.0000          .0000       .10000E+07
    15 'norm      '    .46171       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35574E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12043E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55913       1.0000          .0000       .10000E+07
    19 'norm      '    .17672       1.0000          .0000       .10000E+07
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .16594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1451E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     2216 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    65.774       -.41381E-06** at limit **
   2  Prefactor    10000.0        6807.1       -.74163E-04** at limit **
   3  Prefactor     .55511E-10    24.745       -.66936E-07** at limit **
   4  Prefactor     .22204E-09    855.65        .10749E-05** at limit **
   5  norm          74516.        11.878        .11412E-08    2.5776    
   6  Prefactor     .65942E-02    1553.0       -.15112E-05** at limit **
   7  Prefactor     31937.        9.2351        .30022E-08    1.7393    
   8  norm          1.5931        510.54       -.73470E-06   -.14416    
   9  Prefactor     .10000E+07    650.72        .11972E-05   -.98194E-01
  10  Prefactor     .72164E-09    45.110        .88228E-06** at limit **
  11  Prefactor     .76711E-06    862.29       -.10723E-06** at limit **
  12  norm           .0000        52.296        .69222E-08** at limit **
  13  norm           .0000        11.461        .10320E-08** at limit **
  14  norm          1.9287        2.3657        .12023E-08   -.18847E-02
  15  norm          .14377E-07    176.89       -.20618E-05** at limit **
  16  Prefactor     .11102E-09    68.987        .77312E-07** at limit **
  17  Prefactor      .0000        40.599       -.35926E-07** at limit **
  18  Prefactor     .46629E-08    230.06       -.13160E-05** at limit **
  19  norm          .55511E-10    104.15        .17126E-06** at limit **
  20  Normalizat    .10000E-01    .11919       -.92474E-06** at limit **
  21  Prefactor     .15844        .61886E-01   -.23408E-05   -.12656E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  Prefactor  = 10000
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 74516.2
  Prefactor  = 0.00659425
  Prefactor  = 31937.3
  norm       = 1.59315
  Prefactor  = 999996
  Prefactor  = 7.21645e-10
  Prefactor  = 7.67109e-07
  norm       = 0
  norm       = 0
  norm       = 1.92873
  norm       = 1.43774e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  norm       = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 0.158436
 **********
 **   18 **HESSE 
 **********

 FCN=   984.4425     FROM HESSE     STATUS=OK           341 CALLS     2557 TOTAL
                     EDM=   .76E+00    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    65.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        6796.7        .26358E-02    1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    24.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    873.80        .48079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          74516.        80958.        .48534E-05   -1.0178    
   6  Prefactor     .65942E-02    1915.6        .10389E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31937.        73775.        .57762E-05   -1.2114    
   8  norm          1.5931        4371.5        .14623E-03   -1.5733    
   9  Prefactor     .10000E+07    10243.        .26768E-03    1.5668    
  10  Prefactor     .72164E-09    51.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76711E-06    874.33        .41378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        52.733        .17069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        11.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9287        2.3730        .75334E-03   -1.5680    
  15  norm          .14377E-07    180.08        .82659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    69.976        .16170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        40.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .46629E-08    233.73        .72972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    105.90        .12206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .11255        .15088       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15844        .65324E-01    .34749E-01   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.757164
Minuit parameter uncertainties:
  1  0.000351086
  2  4.93271
  3  5.48372e-05
  4  0.000833376
  5  82298.6
  6  7.11053
  7  76132
  8  167.028
  9  409.293
  10  0.000382435
  11  0.051804
  12  1.04829e-05
  13  1.06957e-06
  14  2.37296
  15  0.00321886
  16  0.000179844
  17  2.69972e-05
  18  0.00208889
  19  0.000138673
  20  2.52512e-07
  21  0.0653538
Done.

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

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  1.070e-06  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  6.535e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  2.525e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 276.295 -52.529
Photon Flux Upper Limit: 6.20369670883e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31692569/likelihoodResults_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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) = 984.44361106
delta logL = -0.00114908007049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 984.44246231
delta logL = -3.29465819959e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      294 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.6741        .42118E-03** at limit **
   2  alpha         3.0168        1.1561        .33863E-04     .0000    
   3  Normalizat    .10000E-01    .25505        .14778E-05** at limit **
   4  Prefactor     .15844        .42386        .22017E-05    .58963E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.0168
  Normalizat = 0.01
  Prefactor  = 0.158436
tfile=/lscratch/kocevski/31692749/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 7.70
user 6.92
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31692749/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692749/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692749/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 60.46
user 55.59
sys 3.41

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 FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Added 397 point sources and 10 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 J1825.1-5231 @ 276.295 -52.529

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692749/cmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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=276.295 yref=-52.529 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.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692749/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500  **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   984.4425     FROM HESSE     STATUS=FAILED         9 CALLS      303 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.6741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7569        1.1985        .33863E-04    .20822    
   3  Normalizat    .10000E-01    .25505        .14778E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15844        .42386        .22017E-05   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.27777e-14
Minuit parameter uncertainties:
  1  9.41205e-07
  2  1.20415
  3  3.68687e-08
  4  0.432453
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) = 984.44246198
delta logL = 1.9213075575e-11

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  9.412e-07  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  3.017e+00  1.204e+00  0.000e+00  5.000e+00 ( 1.000e+00)
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  4.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  3.687e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 276.295 -52.529

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/31692569/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.20e-07', time_completed='2026-07-14 18:59:33.574431', job_id='31692569', GAL2='0.16', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1784080773.57', return_code2='101', ts='0.00', return_code='0', GAL='0.16', dlogl='1.92e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2177' AND source_name='4FGL J1825.1-5231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 18:59:34 PDT 2026

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


Performing analysis on: 4FGL_J1825.1-5231_daily_bin2177
RA = 276.295, Dec = -52.529
tmin = 803606401, tmax = 803865601
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='31692871', job_status='RUN', time_executed='2026-07-14 18:56:50.255796', time_epoch_executed='1784080610.26' WHERE source_name='4FGL J1825.1-5231' and cadence='daily' and bin_id='2177'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31692871

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31692871/ft1_4FGL_J1825.1-5231_daily_bin2177.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31692871/ft1_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692871/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits ra=276.295 dec=-52.529 rad=12.0 tmin=803606401.0 tmax=803865601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.03
user 1.41
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.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/31692871/ft1_filteredMKT_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.86
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 101

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" oubinsz=0.1 coordsys="CEL" xref=276.295 yref=-52.529 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31692749/Model_4FGL_J1825.1-5231_daily_bin2177.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source RX J1713.7-3946
Working on...
/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits.....................!
real 12.63
user 11.02
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits', '/lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits', expMap='/lscratch/kocevski/31692749/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', expCube='/lscratch/kocevski/31692749/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31692749/Model_4FGL_J1825.1-5231_daily_bin2177.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1825.1-5231'

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  1.759e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31692749/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits
Spacecraft file(s): /lscratch/kocevski/31692749/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure map: /lscratch/kocevski/31692749/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure cube: /lscratch/kocevski/31692749/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31692749/Model_4FGL_J1825.1-5231_daily_bin2177.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) = 986.361679271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23226E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.432       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79541E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86686       1.0000          .0000       .10000E+07
     5 'norm      '    74517.       1.0000          .0000       .10000E+07
     6 'Prefactor '    92.661       1.0000          .0000       .10000E+07
     7 'Prefactor '    31955.       1.0000          .0000       .10000E+07
     8 'norm      '    46.773       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10498E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8834       1.0000          .0000       .10000E+07
    12 'norm      '    .19506E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .40835E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.9039       1.0000          .0000       .10000E+07
    15 'norm      '    .46171       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35574E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12043E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55913       1.0000          .0000       .10000E+07
    19 'norm      '    .17672       1.0000          .0000       .10000E+07
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .16594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1451E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     2216 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    65.774       -.41381E-06** at limit **
   2  Prefactor    10000.0        6807.1       -.74163E-04** at limit **
   3  Prefactor     .55511E-10    24.745       -.66936E-07** at limit **
   4  Prefactor     .22204E-09    855.65        .10749E-05** at limit **
   5  norm          74516.        11.878        .11412E-08    2.5776    
   6  Prefactor     .65942E-02    1553.0       -.15112E-05** at limit **
   7  Prefactor     31937.        9.2351        .30022E-08    1.7393    
   8  norm          1.5931        510.54       -.73470E-06   -.14416    
   9  Prefactor     .10000E+07    650.72        .11972E-05   -.98194E-01
  10  Prefactor     .72164E-09    45.110        .88228E-06** at limit **
  11  Prefactor     .76711E-06    862.29       -.10723E-06** at limit **
  12  norm           .0000        52.296        .69222E-08** at limit **
  13  norm           .0000        11.461        .10320E-08** at limit **
  14  norm          1.9287        2.3657        .12023E-08   -.18847E-02
  15  norm          .14377E-07    176.89       -.20618E-05** at limit **
  16  Prefactor     .11102E-09    68.987        .77312E-07** at limit **
  17  Prefactor      .0000        40.599       -.35926E-07** at limit **
  18  Prefactor     .46629E-08    230.06       -.13160E-05** at limit **
  19  norm          .55511E-10    104.15        .17126E-06** at limit **
  20  Normalizat    .10000E-01    .11919       -.92474E-06** at limit **
  21  Prefactor     .15844        .61886E-01   -.23408E-05   -.12656E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  Prefactor  = 10000
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 74516.2
  Prefactor  = 0.00659425
  Prefactor  = 31937.3
  norm       = 1.59315
  Prefactor  = 999996
  Prefactor  = 7.21645e-10
  Prefactor  = 7.67109e-07
  norm       = 0
  norm       = 0
  norm       = 1.92873
  norm       = 1.43774e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  norm       = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 0.158436
 **********
 **   18 **HESSE 
 **********

 FCN=   984.4425     FROM HESSE     STATUS=OK           341 CALLS     2557 TOTAL
                     EDM=   .76E+00    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    65.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        6796.7        .26358E-02    1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    24.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    873.80        .48079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          74516.        80958.        .48534E-05   -1.0178    
   6  Prefactor     .65942E-02    1915.6        .10389E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31937.        73775.        .57762E-05   -1.2114    
   8  norm          1.5931        4371.5        .14623E-03   -1.5733    
   9  Prefactor     .10000E+07    10243.        .26768E-03    1.5668    
  10  Prefactor     .72164E-09    51.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76711E-06    874.33        .41378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        52.733        .17069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        11.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9287        2.3730        .75334E-03   -1.5680    
  15  norm          .14377E-07    180.08        .82659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    69.976        .16170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        40.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .46629E-08    233.73        .72972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    105.90        .12206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .11255        .15088       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15844        .65324E-01    .34749E-01   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.757164
Minuit parameter uncertainties:
  1  0.000351086
  2  4.93271
  3  5.48372e-05
  4  0.000833376
  5  82298.6
  6  7.11053
  7  76132
  8  167.028
  9  409.293
  10  0.000382435
  11  0.051804
  12  1.04829e-05
  13  1.06957e-06
  14  2.37296
  15  0.00321886
  16  0.000179844
  17  2.69972e-05
  18  0.00208889
  19  0.000138673
  20  2.52512e-07
  21  0.0653538
Done.

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

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  1.070e-06  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  6.535e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  2.525e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 276.295 -52.529
Photon Flux Upper Limit: 6.20369670883e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31692749/likelihoodResults_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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) = 984.44361106
delta logL = -0.00114908007049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 984.44246231
delta logL = -3.29465819959e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      294 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.6741        .42118E-03** at limit **
   2  alpha         3.0168        1.1561        .33863E-04     .0000    
   3  Normalizat    .10000E-01    .25505        .14778E-05** at limit **
   4  Prefactor     .15844        .42386        .22017E-05    .58963E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.0168
  Normalizat = 0.01
  Prefactor  = 0.158436
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   984.4425     FROM HESSE     STATUS=FAILED         9 CALLS      303 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.6741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7569        1.1985        .33863E-04    .20822    
   3  Normalizat    .10000E-01    .25505        .14778E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15844        .42386        .22017E-05   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.27777e-14
Minuit parameter uncertainties:
  1  9.41205e-07
  2  1.20415
  3  3.68687e-08
  4  0.432453
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) = 984.44246198
delta logL = 1.9213075575e-11

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  9.412e-07  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  3.017e+00  1.204e+00  0.000e+00  5.000e+00 ( 1.000e+00)
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  4.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  3.687e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 276.295 -52.529

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/31692749/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.20e-07', time_completed='2026-07-14 19:01:13.790464', job_id='31692749', GAL2='0.16', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1784080873.79', return_code2='101', ts='0.00', return_code='0', GAL='0.16', dlogl='1.92e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2177' AND source_name='4FGL J1825.1-5231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 19:01:14 PDT 2026

tfile=/lscratch/kocevski/31692871/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 7.71
user 6.97
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31692871/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692871/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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/31692871/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
.....................!
real 59.97
user 55.58
sys 3.54

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 FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Added 397 point sources and 10 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 J1825.1-5231 @ 276.295 -52.529

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692871/cmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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=276.295 yref=-52.529 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.96
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits outfile=/lscratch/kocevski/31692871/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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=276.295 yref=-52.529 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.97
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31692871/Model_4FGL_J1825.1-5231_daily_bin2177.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source RX J1713.7-3946
Working on...
/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits.....................!
real 12.65
user 11.19
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits', '/lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits', expMap='/lscratch/kocevski/31692871/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', expCube='/lscratch/kocevski/31692871/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31692871/Model_4FGL_J1825.1-5231_daily_bin2177.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1825.1-5231'

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  1.759e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31692871/ft1_filtered_4FGL_J1825.1-5231_daily_bin2177.fits
Spacecraft file(s): /lscratch/kocevski/31692871/ft2_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure map: /lscratch/kocevski/31692871/expmap_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
Exposure cube: /lscratch/kocevski/31692871/ltcube_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31692871/Model_4FGL_J1825.1-5231_daily_bin2177.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) = 986.361679271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23226E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.432       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79541E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86686       1.0000          .0000       .10000E+07
     5 'norm      '    74517.       1.0000          .0000       .10000E+07
     6 'Prefactor '    92.661       1.0000          .0000       .10000E+07
     7 'Prefactor '    31955.       1.0000          .0000       .10000E+07
     8 'norm      '    46.773       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10498E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8834       1.0000          .0000       .10000E+07
    12 'norm      '    .19506E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .40835E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.9039       1.0000          .0000       .10000E+07
    15 'norm      '    .46171       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35574E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12043E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55913       1.0000          .0000       .10000E+07
    19 'norm      '    .17672       1.0000          .0000       .10000E+07
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .16594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1451E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     2216 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    65.774       -.41381E-06** at limit **
   2  Prefactor    10000.0        6807.1       -.74163E-04** at limit **
   3  Prefactor     .55511E-10    24.745       -.66936E-07** at limit **
   4  Prefactor     .22204E-09    855.65        .10749E-05** at limit **
   5  norm          74516.        11.878        .11412E-08    2.5776    
   6  Prefactor     .65942E-02    1553.0       -.15112E-05** at limit **
   7  Prefactor     31937.        9.2351        .30022E-08    1.7393    
   8  norm          1.5931        510.54       -.73470E-06   -.14416    
   9  Prefactor     .10000E+07    650.72        .11972E-05   -.98194E-01
  10  Prefactor     .72164E-09    45.110        .88228E-06** at limit **
  11  Prefactor     .76711E-06    862.29       -.10723E-06** at limit **
  12  norm           .0000        52.296        .69222E-08** at limit **
  13  norm           .0000        11.461        .10320E-08** at limit **
  14  norm          1.9287        2.3657        .12023E-08   -.18847E-02
  15  norm          .14377E-07    176.89       -.20618E-05** at limit **
  16  Prefactor     .11102E-09    68.987        .77312E-07** at limit **
  17  Prefactor      .0000        40.599       -.35926E-07** at limit **
  18  Prefactor     .46629E-08    230.06       -.13160E-05** at limit **
  19  norm          .55511E-10    104.15        .17126E-06** at limit **
  20  Normalizat    .10000E-01    .11919       -.92474E-06** at limit **
  21  Prefactor     .15844        .61886E-01   -.23408E-05   -.12656E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  Prefactor  = 10000
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 74516.2
  Prefactor  = 0.00659425
  Prefactor  = 31937.3
  norm       = 1.59315
  Prefactor  = 999996
  Prefactor  = 7.21645e-10
  Prefactor  = 7.67109e-07
  norm       = 0
  norm       = 0
  norm       = 1.92873
  norm       = 1.43774e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  norm       = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 0.158436
 **********
 **   18 **HESSE 
 **********

 FCN=   984.4425     FROM HESSE     STATUS=OK           341 CALLS     2557 TOTAL
                     EDM=   .76E+00    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    65.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        6796.7        .26358E-02    1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    24.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    873.80        .48079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          74516.        80958.        .48534E-05   -1.0178    
   6  Prefactor     .65942E-02    1915.6        .10389E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31937.        73775.        .57762E-05   -1.2114    
   8  norm          1.5931        4371.5        .14623E-03   -1.5733    
   9  Prefactor     .10000E+07    10243.        .26768E-03    1.5668    
  10  Prefactor     .72164E-09    51.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76711E-06    874.33        .41378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        52.733        .17069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        11.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9287        2.3730        .75334E-03   -1.5680    
  15  norm          .14377E-07    180.08        .82659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    69.976        .16170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        40.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .46629E-08    233.73        .72972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    105.90        .12206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .11255        .15088       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15844        .65324E-01    .34749E-01   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.757164
Minuit parameter uncertainties:
  1  0.000351086
  2  4.93271
  3  5.48372e-05
  4  0.000833376
  5  82298.6
  6  7.11053
  7  76132
  8  167.028
  9  409.293
  10  0.000382435
  11  0.051804
  12  1.04829e-05
  13  1.06957e-06
  14  2.37296
  15  0.00321886
  16  0.000179844
  17  2.69972e-05
  18  0.00208889
  19  0.000138673
  20  2.52512e-07
  21  0.0653538
Done.

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

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  1.070e-06  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  2.279e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  6.535e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  2.525e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 276.295 -52.529
Photon Flux Upper Limit: 6.20369670883e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31692871/likelihoodResults_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.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) = 984.44361106
delta logL = -0.00114908007049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 984.44246231
delta logL = -3.29465819959e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   984.4425     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      294 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.6741        .42118E-03** at limit **
   2  alpha         3.0168        1.1561        .33863E-04     .0000    
   3  Normalizat    .10000E-01    .25505        .14778E-05** at limit **
   4  Prefactor     .15844        .42386        .22017E-05    .58963E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.0168
  Normalizat = 0.01
  Prefactor  = 0.158436
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   984.4425     FROM HESSE     STATUS=FAILED         9 CALLS      303 TOTAL
                     EDM=   .73E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.6741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7569        1.1985        .33863E-04    .20822    
   3  Normalizat    .10000E-01    .25505        .14778E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15844        .42386        .22017E-05   -1.3184    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.27777e-14
Minuit parameter uncertainties:
  1  9.41205e-07
  2  1.20415
  3  3.68687e-08
  4  0.432453
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) = 984.44246198
delta logL = 1.9213075575e-11

Extracting fit parameters...

4FGL J1825.1-5231
   Spectrum: LogParabola
1063         norm:  0.000e+00  9.412e-07  0.000e+00  1.000e+06 ( 1.000e-12)
1064        alpha:  3.017e+00  1.204e+00  0.000e+00  5.000e+00 ( 1.000e+00)
1065         beta:  1.302e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  9.379e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1437    Prefactor:  1.584e-01  4.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1438        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1439        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1413   Normalization:  1.000e-02  3.687e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 276.295 -52.529

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/31692871/cmap_HighResolution_803606401_803865601_4FGL_J1825.1-5231_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.20e-07', time_completed='2026-07-14 19:03:01.125486', job_id='31692871', GAL2='0.16', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1784080981.13', return_code2='101', ts='0.00', return_code='0', GAL='0.16', dlogl='1.92e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2177' AND source_name='4FGL J1825.1-5231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 19:03:01 PDT 2026

