/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
/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).


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

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


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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861052', job_status='RUN', time_executed='2026-07-23 04:42:38.835260', time_epoch_executed='1784806958.84' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861052

Creating custom pfile directory:
/lscratch/kocevski/32861052/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/32861052/ft1_4FGL_J0542.9-0913_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/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861052/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861052/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.42
user 1.73
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_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/32861052/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_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.91
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861055', job_status='RUN', time_executed='2026-07-23 04:42:38.476444', time_epoch_executed='1784806958.48' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861055

Creating custom pfile directory:
/lscratch/kocevski/32861055/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/32861055/ft1_4FGL_J0542.9-0913_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/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861055/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861055/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.74
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_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/32861055/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_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.11
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32861052/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.31
user 6.96
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861052/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861052/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861052/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 61.79
user 56.68
sys 3.55

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861052/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.03
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861052/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861156', job_status='RUN', time_executed='2026-07-23 04:43:46.146521', time_epoch_executed='1784807026.15' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861156

Creating custom pfile directory:
/lscratch/kocevski/32861156/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/32861156/ft1_4FGL_J0542.9-0913_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/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861156/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861156/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.17
user 1.69
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_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/32861156/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_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.30
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" onumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
utfile=/lscratch/kocevski/32861055/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.83
user 7.01
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861055/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861055/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861055/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 62.17
user 56.53
sys 3.60

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861055/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.32
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861055/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.45
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861064', job_status='RUN', time_executed='2026-07-23 04:43:45.165902', time_epoch_executed='1784807025.17' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861064

Creating custom pfile directory:
/lscratch/kocevski/32861064/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/32861064/ft1_4FGL_J0542.9-0913_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/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861064/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861064/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.26
user 1.87
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_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/32861064/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_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.93
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" oDone.


Performing analysis on: 4FGL_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861065', job_status='RUN', time_executed='2026-07-23 04:43:45.270814', time_epoch_executed='1784807025.27' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861065

Creating custom pfile directory:
/lscratch/kocevski/32861065/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/32861065/ft1_4FGL_J0542.9-0913_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/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861065/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861065/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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 1.86
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_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/32861065/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_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.57
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861110', job_status='RUN', time_executed='2026-07-23 04:43:47.181832', time_epoch_executed='1784807027.18' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861110

Creating custom pfile directory:
/lscratch/kocevski/32861110/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/32861110/ft1_4FGL_J0542.9-0913_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/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861110/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861110/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.04
user 1.69
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_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/32861110/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_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.40
user 0.15
sys 0.13

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861056', job_status='RUN', time_executed='2026-07-23 04:42:45.015363', time_epoch_executed='1784806965.02' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861056

Creating custom pfile directory:
/lscratch/kocevski/32861056/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/32861056/ft1_4FGL_J0542.9-0913_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/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861056/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861056/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.86
user 2.16
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_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/32861056/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_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.68
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861167', job_status='RUN', time_executed='2026-07-23 04:43:50.275345', time_epoch_executed='1784807030.28' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861167

Creating custom pfile directory:
/lscratch/kocevski/32861167/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/32861167/ft1_4FGL_J0542.9-0913_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/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861167/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861167/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.69
user 1.78
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_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/32861167/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_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.82
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861061', job_status='RUN', time_executed='2026-07-23 04:43:49.965462', time_epoch_executed='1784807029.97' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861061

Creating custom pfile directory:
/lscratch/kocevski/32861061/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/32861061/ft1_4FGL_J0542.9-0913_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/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861061/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861061/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.10
user 1.76
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_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/32861061/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_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.86
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32861156/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.39
user 6.69
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861156/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861156/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861156/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 60.72
user 55.50
sys 3.57

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861156/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.43
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861156/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.57
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32861064/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 9.17
user 7.48
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861064/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861064/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861064/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 65.54
user 60.28
sys 3.75

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861064/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.29
user 0.19
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861064/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32861065/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 9.26
user 7.43
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861065/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861065/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861065/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 66.01
user 60.54
sys 3.74

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861065/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.87
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861065/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.63
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32861110/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.15
user 6.72
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861110/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861110/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861110/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 60.14
user 55.56
sys 3.22

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861110/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.90
user 0.18
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861110/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.16
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32861056/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 9.63
user 8.04
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861056/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861056/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861056/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 78.92
user 71.89
sys 4.81

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861056/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.21
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861056/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.21
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861546', job_status='RUN', time_executed='2026-07-23 04:45:48.383504', time_epoch_executed='1784807148.38' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861546

Creating custom pfile directory:
/lscratch/kocevski/32861546/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/32861546/ft1_4FGL_J0542.9-0913_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/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861546/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861546/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.71
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_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/32861546/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_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.77
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32861167/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.88
user 7.12
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861167/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861167/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861167/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 63.21
user 57.84
sys 3.55

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861167/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.33
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861167/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.60
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_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_J0542.9-0913_daily_bin2187
RA = 85.7409, Dec = -9.2208
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='32861531', job_status='RUN', time_executed='2026-07-23 04:45:49.346273', time_epoch_executed='1784807149.35' WHERE source_name='4FGL J0542.9-0913' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32861531

Creating custom pfile directory:
/lscratch/kocevski/32861531/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/32861531/ft1_4FGL_J0542.9-0913_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/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32861531/ft1_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861531/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits ra=85.7409 dec=-9.2208 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.51
user 1.82
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_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/32861531/ft1_filteredMKT_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_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.82
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 1553

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" ocratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861052/Model_4FGL_J0542.9-0913_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/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 102.68
user 100.14
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861052/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861052/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861052/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861052/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861052/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861052/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861052/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861052/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
utfile=/lscratch/kocevski/32861061/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.50
user 6.93
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861061/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861061/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861061/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 63.32
user 57.85
sys 3.50

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861061/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.91
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861061/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.94
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/ls **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
cratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861055/Model_4FGL_J0542.9-0913_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/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 103.72
user 100.64
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861055/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861055/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861055/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861055/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861055/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861055/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861055/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861055/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861052/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:57:04.490417', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807824.49', return_code='0', job_id='32861052', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:57:06 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861055/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:57:18.047665', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807838.05', return_code='0', job_id='32861055', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:57:19 PDT 2026

utfile=/lscratch/kocevski/32861546/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.50
user 6.82
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861546/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861546/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861546/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 60.36
user 55.55
sys 3.47

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861546/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.50
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861546/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.45
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lsutfile=/lscratch/kocevski/32861531/ltcube_806198401_806457601_4FGL_J0542.9-0913_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/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 8.68
user 7.25
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32861531/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861531/expmap_806198401_806457601_4FGL_J0542.9-0913_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/32861531/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
.....................!
real 66.48
user 60.98
sys 3.78

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 143 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 J0542.9-0913 @ 85.7409 -9.2208

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861531/cmap_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.62
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits scfile=/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits outfile=/lscratch/kocevski/32861531/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_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=85.7409 yref=-9.2208 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.65
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861156/Model_4FGL_J0542.9-0913_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/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 103.54
user 100.62
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861156/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861156/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861156/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861156/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861156/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861156/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861156/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861156/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
cratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861110/Model_4FGL_J0542.9-0913_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/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 102.41
user 99.56
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861110/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861110/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861110/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861110/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861110/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861110/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861110/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861110/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
cratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861064/Model_4FGL_J0542.9-0913_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/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 111.50
user 108.46
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861064/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861064/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861064/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861064/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861064/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861064/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861064/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861064/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
cratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861065/Model_4FGL_J0542.9-0913_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/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 111.65
user 108.51
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861065/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861065/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861065/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861065/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861065/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861065/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861065/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861065/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861156/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:58:36.199379', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807916.2', return_code='0', job_id='32861156', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:58:37 PDT 2026

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

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861110/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:58:48.954791', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807928.95', return_code='0', job_id='32861110', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:58:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861064/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:59:00.065825', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807940.07', return_code='0', job_id='32861064', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:59:01 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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861065/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:59:01.599471', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807941.6', return_code='0', job_id='32861065', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:59:02 PDT 2026

cratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861167/Model_4FGL_J0542.9-0913_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/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 110.02
user 107.16
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861167/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861167/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861167/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861167/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861167/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861167/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861167/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861167/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
cratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861061/Model_4FGL_J0542.9-0913_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/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 106.31
user 103.17
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861061/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861061/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861061/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861061/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861061/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861061/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861061/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861061/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
cratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861056/Model_4FGL_J0542.9-0913_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/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 134.67
user 131.06
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861056/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861056/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861056/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861056/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861056/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861056/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861056/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861056/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861167/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:59:49.794124', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807989.79', return_code='0', job_id='32861167', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:59:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861061/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 04:59:57.111694', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784807997.11', return_code='0', job_id='32861061', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 04:59:58 PDT 2026

cratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861546/Model_4FGL_J0542.9-0913_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/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 102.81
user 100.01
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861546/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861546/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861546/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861546/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861546/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861546/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861546/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861546/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15844.1792799  norm       = 6.51626
ters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852

  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861056/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 05:00:15.824146', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784808015.82', return_code='0', job_id='32861056', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 05:00:17 PDT 2026

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

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861546/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 05:00:41.908102', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784808041.91', return_code='0', job_id='32861546', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 05:00:42 PDT 2026

cratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32861531/Model_4FGL_J0542.9-0913_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/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits.....................!
real 116.84
user 113.77
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits', '/lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits', expMap='/lscratch/kocevski/32861531/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', expCube='/lscratch/kocevski/32861531/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32861531/Model_4FGL_J0542.9-0913_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0542.9-0913'

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  1.754e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32861531/ft1_filtered_4FGL_J0542.9-0913_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32861531/ft2_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32861531/expmap_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32861531/ltcube_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32861531/Model_4FGL_J0542.9-0913_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) = 15844.9707919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47398       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25097       1.0000          .0000       .10000E+07
     3 'norm      '    22.538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .59241       1.0000          .0000       .10000E+07
     5 'norm      '    6.5804       1.0000          .0000       .10000E+07
     6 'norm      '    .89267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36954E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.2905       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2986       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10999E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10941       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15844.18     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      666 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89663E-04    312.60        .89346E-05** at limit **
   2  Prefactor     .75495E-08    104.14       -.21069E-05** at limit **
   3  norm          22.934        11.307       -.68930E-06    .19551    
   4  Prefactor     .59976        6.4807       -.46205E-07   -.16499E-02
   5  norm          6.5811        3.2057       -.22269E-07    .17625E-02
   6  norm          .27756E-09    6.0341       -.33876E-05** at limit **
   7  Prefactor     .11102E-09    3.2767       -.60722E-06** at limit **
   8  norm          6.5163        7.9444        .45332E-07    .49517E-02
   9  Prefactor     3.2861        5.8503        .27929E-07    .17758E-02
  10  Prefactor     .14988E-08    8.7254        .10545E-05** at limit **
  11  Prefactor     .64226E-07    32.173        .59157E-05** at limit **
  12  Normalizat    1.0585        .18245        .78596E-05   -.17192E-03
  13  Prefactor     .96182        .47782E-01   -.57483E-05   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96631e-05
  Prefactor  = 7.54952e-09
  norm       = 22.9342
  Prefactor  = 0.599762
  norm       = 6.58108
  norm       = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 6.51626
  Prefactor  = 3.28609
  Prefactor  = 1.4988e-09
  Prefactor  = 6.42264e-08
  Normalizat = 1.05852
  Prefactor  = 0.96182
 **********
 **   18 **HESSE 
 **********

 FCN=   15844.18     FROM HESSE     STATUS=OK           185 CALLS      851 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89663E-04    8.9271        .12384E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .75495E-08    100.03        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.934        30.871        .21070E-03   -1.5612    
   4  Prefactor     .59976        6.3732        .69911E-03   -1.5692    
   5  norm          6.5811        3.2023        .39097E-03   -1.5657    
   6  norm          .27756E-09    6.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5163        7.9682        .39998E-03   -1.5657    
   9  Prefactor     3.2861        5.8699        .55720E-03   -1.5672    
  10  Prefactor     .14988E-08    8.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64226E-07    7.7678        .13683E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0585        .17757        .11206       -.91095    
  13  Prefactor     .96182        .45438E-01    .29951E-01   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76537e-06
Minuit parameter uncertainties:
  1  0.0565838
  2  0.00173494
  3  30.8709
  4  3.91021
  5  3.20229
  6  8.22517e-05
  7  4.013e-05
  8  7.96822
  9  5.86993
  10  0.000230018
  11  0.00141267
  12  0.177669
  13  0.0454395
Done.

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

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  6.581e+00  3.202e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.618e-01  4.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.059e+00  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 85.741 -9.221
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 1.88e-05

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) = 15843.7833232
delta logL = 0.395956683004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15843.7806969
delta logL = 0.398583016537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2299       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   15843.78     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2304        4.9523        .13186E-04    .93462E-03
   2  alpha         2.1906        .45755        .16062E-01    .34364E-03
   3  Normalizat    1.0762        .18152        .49382E-03   -.88773E-04
   4  Prefactor     .96128        .47268E-01    .13239E-03   -.99268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.23045
  alpha      = 2.19058
  Normalizat = 1.0762
  Prefactor  = 0.961283
 **********
 **   18 **HESSE 
 **********

 FCN=   15843.78     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2304        4.8603        .52743E-06   -1.5647    
   2  alpha         2.1906        .44887        .32124E-02   -.12408    
   3  Normalizat    1.0762        .18147        .19753E-04   -.90520    
   4  Prefactor     .96128        .47291E-01    .52957E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57334e-11
Minuit parameter uncertainties:
  1  4.86027
  2  0.45136
  3  0.181578
  4  0.0472934
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) = 15843.7806942
delta logL = 0.398585661695

Extracting fit parameters...

4FGL J0542.9-0913
   Spectrum: LogParabola
236         norm:  9.230e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        alpha:  2.191e+00  4.514e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.600e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.105e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  9.613e-01  4.729e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 85.741 -9.221
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 9.44e-08 +/- 6.17e-08
Energy Flux (Free Index): 4.46e-05 +/- 2.28e-05

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/32861531/cmap_HighResolution_806198401_806457601_4FGL_J0542.9-0913_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.46e-05', photon_flux_error='6.12e-08', dlogl='3.99e-01', energy_flux='3.87e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2026-07-23 05:01:39.068355', photon_index_error2='0.45', photon_index2='2.19', ts='5.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.06', time_epoch_completed='1784808099.07', return_code='0', job_id='32861531', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.17e-08', ts2='6.68', photon_index='2.60' WHERE bin_id='2187' AND source_name='4FGL J0542.9-0913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 05:01:39 PDT 2026

