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


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859216', job_status='RUN', time_executed='2026-07-23 04:35:35.699713', time_epoch_executed='1784806535.7' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859216

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859216/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859216/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859216/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.52
user 1.94
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32859216/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 1.18
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859319', job_status='RUN', time_executed='2026-07-23 04:35:45.355505', time_epoch_executed='1784806545.36' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859319

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859319/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859319/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859319/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.77
user 1.69
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32859319/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 1.07
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" o/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)
utfile=/lscratch/kocevski/32859154/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 7.89
user 6.87
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859154/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859154/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859154/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 60.02
user 55.45
sys 3.44

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/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859154/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.34
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859154/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.15
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32859163/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.04
user 6.89
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859163/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859163/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859163/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 60.23
user 55.60
sys 3.48

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/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859163/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.37
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859163/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.37
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/ls
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859178', job_status='RUN', time_executed='2026-07-23 04:35:38.122521', time_epoch_executed='1784806538.12' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859178

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859178/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859178/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859178/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.57
user 2.14
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32859178/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 1.28
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32859319/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.16
user 6.75
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859319/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859319/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859319/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 60.48
user 55.50
sys 3.29

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/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859319/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.35
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859319/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.73
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lstfile=/lscratch/kocevski/32859216/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 9.20
user 7.90
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859216/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859216/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859216/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 68.20
user 62.79
sys 3.94

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/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859216/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.58
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859216/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.56
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859320', job_status='RUN', time_executed='2026-07-23 04:35:48.560265', time_epoch_executed='1784806548.56' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859320

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859320/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859320/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859320/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.74
user 2.22
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32859320/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 2.03
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32859178/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 9.71
user 8.43
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859178/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859178/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859178/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 73.26
user 67.23
sys 4.26

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/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859178/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.95
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859178/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.73
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lsnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859381', job_status='RUN', time_executed='2026-07-23 04:36:44.995433', time_epoch_executed='1784806605.0' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859381

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859381/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859381/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859381/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.15
user 1.74
sys 0.17

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

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

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859363', job_status='RUN', time_executed='2026-07-23 04:36:45.859613', time_epoch_executed='1784806605.86' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859363

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859363/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859363/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859363/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.00
user 1.81
sys 0.16

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

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

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" onumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859377', job_status='RUN', time_executed='2026-07-23 04:36:46.280893', time_epoch_executed='1784806606.28' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859377

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859377/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859377/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859377/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.28
user 1.86
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32859377/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 2.02
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" otfile=/lscratch/kocevski/32859381/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.26
user 7.01
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859381/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859381/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859381/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 62.27
user 56.38
sys 3.51

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source 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/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859381/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.67
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859381/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.20
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscutfile=/lscratch/kocevski/32859363/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.85
user 7.30
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859363/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859363/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859363/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 66.42
user 60.80
sys 3.83

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/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859363/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.10
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859363/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.72
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32859320/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 30.05
user 27.90
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859320/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859320/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859320/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 73.29
user 66.37
sys 4.72

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/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859320/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.70
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859320/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.25
user 0.35
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/cratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859154/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 108.90
user 106.97
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859154/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859154/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859154/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859154/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859154/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859154/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859154/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859154/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
cratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859163/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 108.59
user 106.49
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859163/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859163/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859163/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859163/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859163/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859163/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859163/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859163/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
utfile=/lscratch/kocevski/32859377/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 9.26
user 7.56
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859377/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859377/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859377/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 67.14
user 61.67
sys 3.88

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/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859377/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.74
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859377/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.66
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/ls **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
cratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859319/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 110.45
user 108.01
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859319/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859319/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859319/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859319/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859319/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859319/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859319/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859319/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859163/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
ratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859216/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 123.44
user 119.77
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859216/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859216/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859216/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859216/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859216/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859216/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859216/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859216/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859154/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859163/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:45:05.941022', job_id='32859163', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807105.94', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:45:07 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859154/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:45:07.323803', job_id='32859154', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807107.32', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:45:08 PDT 2026

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

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859319/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859319/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:45:40.348289', job_id='32859319', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807140.35', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:45:42 PDT 2026

cratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859178/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 127.15
user 124.15
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859178/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859178/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859178/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859178/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859178/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859178/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859178/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859178/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859216/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859623', job_status='RUN', time_executed='2026-07-23 04:38:03.217433', time_epoch_executed='1784806683.22' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859623

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859623/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859623/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859623/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.19
user 1.68
sys 0.19

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

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

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" oshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859216/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:46:24.603850', job_id='32859216', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807184.6', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:46:25 PDT 2026

ratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859381/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 110.78
user 107.77
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859381/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859381/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859381/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859381/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859381/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859381/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859381/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859381/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859178/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859178/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:47:14.778140', job_id='32859178', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807234.78', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:47:15 PDT 2026

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

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
cratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859363/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 119.57
user 116.65
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859363/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859363/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859363/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859363/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859363/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859363/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859363/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859363/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
cratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859377/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 118.74
user 115.97
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859377/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859377/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859377/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859377/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859377/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859377/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859377/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859377/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
utfile=/lscratch/kocevski/32859623/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.37
user 6.78
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859623/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859623/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859623/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 60.86
user 55.47
sys 3.46

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/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859623/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.07
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859623/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.59
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/ls **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32859697', job_status='RUN', time_executed='2026-07-23 04:39:04.232732', time_epoch_executed='1784806744.23' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32859697

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32859697/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32859697/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859697/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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.16
user 1.81
sys 0.16

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

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

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859381/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859381/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:48:19.563902', job_id='32859381', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807299.56', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:48:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859363/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859377/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859320/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 138.96
user 131.99
sys 4.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859320/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859320/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859320/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859320/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859320/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859320/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859320/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859320/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859363/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:48:57.392519', job_id='32859363', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807337.39', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:48:59 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859377/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:49:01.163497', job_id='32859377', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807341.16', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:49:02 PDT 2026

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

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
utfile=/lscratch/kocevski/32859697/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 8.81
user 7.07
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32859697/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859697/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32859697/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 63.59
user 58.24
sys 3.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859697/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 1.80
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32859697/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.59
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lsnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0525.8-0052_daily_bin2187
RA = 81.4666, Dec = -0.8709
tmin = 806198401, tmax = 806457601
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='32860437', job_status='RUN', time_executed='2026-07-23 04:40:18.487609', time_epoch_executed='1784806818.49' WHERE source_name='4FGL J0525.8-0052' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32860437

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32860437/ft1_4FGL_J0525.8-0052_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32860437/ft1_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32860437/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits ra=81.4666 dec=-0.8709 rad=12.0 tmin=806198401.0 tmax=806457601.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 4.02
user 1.94
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.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/32860437/ft1_filteredMKT_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.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 1.84
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859320/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859320/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:50:59.523182', job_id='32859320', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807459.52', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:51:02 PDT 2026

cratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859623/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 110.21
user 106.75
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859623/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859623/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859623/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859623/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859623/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859623/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859623/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859623/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
utfile=/lscratch/kocevski/32860437/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 10.17
user 8.20
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32860437/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32860437/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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/32860437/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
.....................!
real 70.73
user 64.08
sys 4.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32860437/cmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.07
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits scfile=/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits outfile=/lscratch/kocevski/32860437/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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 2.18
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits evtable="EVENTS" scfile=/lDone.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859623/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859623/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:52:34.160008', job_id='32859623', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807554.16', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:52:35 PDT 2026

cratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32859697/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 114.01
user 110.92
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32859697/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32859697/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32859697/Model_4FGL_J0525.8-0052_daily_bin2187.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/32859697/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32859697/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32859697/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32859697/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32859697/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32859697/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32859697/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:54:39.253790', job_id='32859697', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807679.25', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:54:40 PDT 2026

scratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32860437/Model_4FGL_J0525.8-0052_daily_bin2187.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/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits.....................!
real 118.72
user 115.26
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits', '/lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits', expMap='/lscratch/kocevski/32860437/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', expCube='/lscratch/kocevski/32860437/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32860437/Model_4FGL_J0525.8-0052_daily_bin2187.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/32860437/ft1_filtered_4FGL_J0525.8-0052_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32860437/ft2_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32860437/expmap_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32860437/ltcube_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32860437/Model_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2892847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2640       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4703       1.0000          .0000       .10000E+07
     3 'norm      '    2.2831       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1095       1.0000          .0000       .10000E+07
     5 'norm      '    .87704       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7571       1.0000          .0000       .10000E+07
     7 'norm      '    1.8421       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4579       1.0000          .0000       .10000E+07
     9 'norm      '    24.074       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62236       1.0000          .0000       .10000E+07
    11 'norm      '    .54983       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77476       1.0000          .0000       .10000E+07
    14 'norm      '    6.2612       1.0000          .0000       .10000E+07
    15 'norm      '    10.687       1.0000          .0000       .10000E+07
    16 'norm      '    .34306E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1350 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        1.8584        .29782E-07    .22745E-02
   2  Prefactor     3.0172        35.740        .17044E-06   -.19263E-01
   3  norm          2.2791        1.6013        .18378E-07    .31701E-02
   4  Prefactor     7.7555        28.093       -.33542E-06   -.40187E-02
   5  norm          .87253        .67092        .57918E-08   -.58721E-02
   6  Prefactor     2.2556        24.444       -.19250E-06   -.13217E-02
   7  norm          1.8298        4.0678       -.95079E-08   -.16092E-02
   8  Prefactor     1.4557        2.2373        .42379E-07    .26572E-02
   9  norm          22.568        30.125        .18180E-06    .36205E-01
  10  Prefactor     .68666        5.7852        .62920E-07    .82487E-03
  11  norm          .54434        .93901        .22009E-07   -.53120E-04
  12  Prefactor     36.253        15.478       -.10366E-06    .18448    
  13  Prefactor     .17721E-03    522.77        .14806E-05** at limit **
  14  norm          6.2614        3.1484        .97198E-08    .10378E-02
  15  norm          10.438        19.275        .10948E-06   -.25524E-02
  16  norm          .28311E-08    15.968       -.44388E-07** at limit **
  17  Normalizat    1.1725        .22166       -.10272E-05   -.12159E-03
  18  Prefactor     .93969        .51460E-01   -.65801E-07   -.34581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26202
  Prefactor  = 3.01721
  norm       = 2.27911
  Prefactor  = 7.75554
  norm       = 0.872534
  Prefactor  = 2.25564
  norm       = 1.82977
  Prefactor  = 1.45574
  norm       = 22.5675
  Prefactor  = 0.686661
  norm       = 0.544335
  Prefactor  = 36.2531
  Prefactor  = 0.000177213
  norm       = 6.26144
  norm       = 10.4385
  norm       = 2.83107e-09
  Normalizat = 1.17252
  Prefactor  = 0.939694
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK           304 CALLS     1654 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        1.8758        .99085E-03   -1.5685    
   2  Prefactor     3.0172        39.586        .54259E-03   -1.5673    
   3  norm          2.2791        1.6048        .67920E-03   -1.5678    
   4  Prefactor     7.7555        28.784        .37598E-03   -1.5652    
   5  norm          .87253        .69351        .47360E-03   -1.5689    
   6  Prefactor     2.2556        24.979        .79034E-03   -1.5678    
   7  norm          1.8298        4.2379        .76819E-03   -1.5681    
   8  Prefactor     1.4557        2.2766        .89111E-03   -1.5684    
   9  norm          22.568        31.213        .20386E-03   -1.5613    
  10  Prefactor     .68666        5.6972        .67249E-03   -1.5691    
  11  norm          .54434        .98850        .73847E-03   -1.5693    
  12  Prefactor     36.253        36.076        .16811E-03   -1.5588    
  13  Prefactor     .17721E-03    61.756        .10999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2614        3.1445        .40093E-03   -1.5658    
  15  norm          10.438        19.323        .30623E-03   -1.5643    
  16  norm          .28311E-08    15.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1725        .21068        .11524       -.87456    
  18  Prefactor     .93969        .48178E-01    .31183E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19478e-06
Minuit parameter uncertainties:
  1  1.87579
  2  21.8578
  3  1.60482
  4  28.7841
  5  0.69351
  6  15.0124
  7  4.2379
  8  2.27663
  9  31.213
  10  3.95579
  11  0.988499
  12  36.0763
  13  0.209229
  14  3.1445
  15  19.3236
  16  0.000425188
  17  0.210827
  18  0.0481798
Done.

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

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  6.867e-01  3.956e+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

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  9.397e-01  4.818e-02  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.173e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 81.467 -0.871
Photon Flux Upper Limit: 6.9768788011e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00527420020464 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32860437/likelihoodResults_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.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) = 16143.2468631
delta logL = 0.00385340727189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452158
delta logL = 0.00550069347264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97496       1.0000          .0000       .10000E+07
     2 'Index     '    1.9072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93958       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16143.25     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97302        7.0202        .17151E-04   -.40342E-02
   2  Index         1.9073        1.6481        .75334E-02   -.15197E-03
   3  Normalizat    1.1729        .19720        .51103E-03   -.85583E-03
   4  Prefactor     .93959        .48648E-01    .13780E-03   -.33859E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973025
  Index      = 1.90733
  Normalizat = 1.17294
  Prefactor  = 0.939588
 **********
 **   18 **HESSE 
 **********

 FCN=   16143.25     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97302        6.6985        .68603E-06   -1.5688    
   2  Index         1.9073        1.6126        .30133E-03   -.66688    
   3  Normalizat    1.1729        .19724        .20441E-04   -.87443    
   4  Prefactor     .93959        .48657E-01    .27560E-04   -.94771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07493e-09
Minuit parameter uncertainties:
  1  5.10601
  2  1.66175
  3  0.197362
  4  0.0486593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16143.2452157
delta logL = 0.00550079677305

Extracting fit parameters...

4FGL J0525.8-0052
   Spectrum: PowerLaw
229    Prefactor:  9.730e-01  5.106e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        Index:  1.907e+00  1.662e+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.396e-01  4.866e-02  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.173e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32860437/cmap_HighResolution_806198401_806457601_4FGL_J0525.8-0052_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2026-07-23 04:57:14.600786', job_id='32860437', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784807834.6', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.50e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='2187' AND source_name='4FGL J0525.8-0052' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:57:15 PDT 2026

