/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 (v
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.43) and linked library (v3.41).3.41).



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


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873170', job_status='RUN', time_executed='2026-05-19 12:03:36.053140', time_epoch_executed='1779217416.05' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873170

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873170/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873170/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873170/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.82
user 4.01
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873170/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873201', job_status='RUN', time_executed='2026-05-19 12:04:40.136111', time_epoch_executed='1779217480.14' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873201

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873201/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873201/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873201/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.97
user 4.01
sys 0.33

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873201/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26873170/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 17.33
user 16.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873170/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873170/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873170/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 60.48
user 56.15
sys 3.63

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873170/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873170/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873170/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourcnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873231', job_status='RUN', time_executed='2026-05-19 12:05:42.468304', time_epoch_executed='1779217542.47' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873231

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873231/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873231/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873231/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.55
user 3.95
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873231/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873212', job_status='RUN', time_executed='2026-05-19 12:05:42.451079', time_epoch_executed='1779217542.45' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873212

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873212/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873212/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873212/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.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 5.37
user 4.57
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873212/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873226', job_status='RUN', time_executed='2026-05-19 12:05:41.595547', time_epoch_executed='1779217541.6' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873226

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873226/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873226/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873226/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.97
user 4.06
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873226/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873225', job_status='RUN', time_executed='2026-05-19 12:05:41.597183', time_epoch_executed='1779217541.6' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873225

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873225/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873225/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873225/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.92
user 4.03
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873225/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.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.06
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/26873201/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 19.46
user 18.54
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873201/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873201/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873201/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 60.48
user 56.03
sys 3.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873201/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.20
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873201/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873201/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourcDone.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873223', job_status='RUN', time_executed='2026-05-19 12:05:45.746034', time_epoch_executed='1779217545.75' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873223

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873223/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873223/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873223/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.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 5.06
user 4.19
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873223/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873246', job_status='RUN', time_executed='2026-05-19 12:06:44.322507', time_epoch_executed='1779217604.32' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873246

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873246/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873246/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873246/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.58
user 4.70
sys 3.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873246/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873249', job_status='RUN', time_executed='2026-05-19 12:06:44.322496', time_epoch_executed='1779217604.32' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873249

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873249/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873249/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873249/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.54
user 4.68
sys 3.34

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873249/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873221', job_status='RUN', time_executed='2026-05-19 12:05:43.441002', time_epoch_executed='1779217543.44' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873221

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873221/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873221/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873221/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.83
user 3.96
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873221/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
e GAL_V02
Working on...
/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 45.18
user 43.22
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873170/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873170/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873170/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873170/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873170/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873170/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873170/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873170/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873227', job_status='RUN', time_executed='2026-05-19 12:05:55.223914', time_epoch_executed='1779217555.22' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873227

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873227/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873227/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873227/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.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 5.93
user 4.85
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873227/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin928
RA = 235.579, Dec = 18.0322
tmin = 800236801, tmax = 800841601
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='26873228', job_status='RUN', time_executed='2026-05-19 12:05:56.861105', time_epoch_executed='1779217556.86' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26873228

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26873228/ft1_4FGL_J1542.3+1801_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26873228/ft1_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873228/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits ra=235.579 dec=18.0322 rad=12.0 tmin=800236801.0 tmax=800841601.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 5.61
user 4.33
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.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/26873228/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.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.11
user 0.28
sys 0.12

Number of photons that the gtmktime cut: 1765

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873170/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:14:10.022290', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218050.02', return_code='0', job_id='26873170', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:14:10 PDT 2026

 outfile=/lscratch/kocevski/26873231/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 16.53
user 15.77
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873231/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873231/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873231/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 60.05
user 55.79
sys 3.56

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873231/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873231/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873231/Model_4FGL_J1542.3+1801_weekly_bin928.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
Working on...
/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 46.20
user 44.17
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873201/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873201/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873201/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873201/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873201/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873201/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873201/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873201/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
 outfile=/lscratch/kocevski/26873212/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 19.13
user 18.16
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873212/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873212/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873212/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 69.54
user 64.35
sys 4.04

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873212/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873212/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873212/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
outfile=/lscratch/kocevski/26873225/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 18.11
user 17.24
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873225/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873225/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873225/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 60.34
user 56.04
sys 3.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873225/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.22
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873225/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873225/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourceoutfile=/lscratch/kocevski/26873226/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 17.93
user 16.97
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873226/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873226/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873226/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 60.35
user 56.09
sys 3.62

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873226/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873226/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873226/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourceDone.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873201/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:15:10.877896', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218110.88', return_code='0', job_id='26873201', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:15:11 PDT 2026

 outfile=/lscratch/kocevski/26873246/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 16.10
user 16.26
sys 3.47

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873246/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873246/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873246/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 59.63
user 56.19
sys 6.82

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873246/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.94
sys 3.39

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873246/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.97
sys 3.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873246/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26873249/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 16.20
user 16.27
sys 3.46

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873249/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873249/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873249/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 59.68
user 56.20
sys 6.89

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873249/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.93
sys 3.05

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873249/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.91
sys 3.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873249/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26873223/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 17.56
user 16.62
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873223/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873223/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873223/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 62.21
user 57.58
sys 3.71

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873223/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873223/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873223/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26873221/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 15.96
user 15.13
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873221/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873221/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873221/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 59.74
user 55.46
sys 3.49

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873221/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873221/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873221/Model_4FGL_J1542.3+1801_weekly_bin928.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
Working on...
/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 45.68
user 43.93
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873231/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873231/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873231/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873231/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873231/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873231/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873231/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873231/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
e GAL_V02
Working on...
/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 51.70
user 49.85
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873212/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873212/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873212/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873212/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873212/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873212/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873212/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873212/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
 outfile=/lscratch/kocevski/26873227/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 22.19
user 20.72
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873227/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873227/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873227/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 78.26
user 72.59
sys 4.62

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873227/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873227/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.95
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873227/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26873228/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 20.46
user 19.53
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26873228/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873228/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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/26873228/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
.....................!
real 75.16
user 69.72
sys 4.33

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
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873228/cmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.97
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits outfile=/lscratch/kocevski/26873228/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.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=235.579 yref=18.0322 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.08
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26873228/Model_4FGL_J1542.3+1801_weekly_bin928.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 sourcshell-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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873231/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:16:19.643329', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218179.64', return_code='0', job_id='26873231', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:16:20 PDT 2026

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

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 GAL_V02
Working on...
/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 47.77
user 45.55
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873226/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873226/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873226/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873226/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873226/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873226/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873226/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873226/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
 GAL_V02
Working on...
/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 47.70
user 45.46
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873225/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873225/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873225/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873225/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873225/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873225/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873225/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873225/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
e GAL_V02
Working on...
/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 45.81
user 45.03
sys 4.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873249/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873249/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873249/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873249/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873249/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873249/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873249/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873249/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
e GAL_V02
Working on...
/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 44.49
user 42.73
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873221/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873221/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873221/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873221/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873221/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873221/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873221/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873221/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
e GAL_V02
Working on...
/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 44.99
user 44.13
sys 4.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873246/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873246/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873246/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873246/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873246/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873246/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873246/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873246/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
e GAL_V02
Working on...
/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 46.29
user 44.42
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873223/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873223/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873223/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873223/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873223/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873223/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873223/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873223/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873212/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:16:56.175797', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218216.18', return_code='0', job_id='26873212', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:16:56 PDT 2026

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

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873226/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:19.801450', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218239.8', return_code='0', job_id='26873226', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:20 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873225/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:20.573180', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218240.57', return_code='0', job_id='26873225', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:21 PDT 2026

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

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873221/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:23.027424', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218243.03', return_code='0', job_id='26873221', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:23 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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873249/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:23.342565', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218243.34', return_code='0', job_id='26873249', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:23 PDT 2026

Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873246/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:23.782091', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218243.78', return_code='0', job_id='26873246', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873223/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:17:34.344063', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218254.34', return_code='0', job_id='26873223', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:17:34 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 56.19
user 54.02
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873228/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873228/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873228/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873228/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873228/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873228/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873228/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873228/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
e GAL_V02
Working on...
/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits.....................!
real 58.40
user 56.32
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits', '/lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits', expMap='/lscratch/kocevski/26873227/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', expCube='/lscratch/kocevski/26873227/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26873227/Model_4FGL_J1542.3+1801_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26873227/ft1_filtered_4FGL_J1542.3+1801_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26873227/ft2_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26873227/expmap_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26873227/ltcube_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26873227/Model_4FGL_J1542.3+1801_weekly_bin928.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) = 19623.0002386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92922E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28822E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .39411       1.0000          .0000       .10000E+07
     4 'norm      '    .66373E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53535E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87130E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.097       1.0000          .0000       .10000E+07
     8 'norm      '    .66150       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71317E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .43377E-05   1.0000          .0000       .10000E+07
    11 'norm      '    2.4461       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14992E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.300       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19622.93     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      884 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    28.393        .34733E-05** at limit **
   2  Prefactor     .12768E-08    2.7428        .52371E-06** at limit **
   3  norm          .39391        .19786       -.36034E-08   -.31256E-01
   4  norm           .0000        9.6160        .30845E-05** at limit **
   5  Prefactor      .0000        6.7993       -.15381E-05** at limit **
   6  Prefactor     .27756E-09    1.6187       -.10680E-05** at limit **
   7  Prefactor     16.117        1.1327        .32822E-06   -.26619E-01
   8  norm          .66169        .88080        .39190E-06   -.21723E-01
   9  Prefactor     .33307E-09    19.654       -.13566E-05** at limit **
  10  norm          .15543E-08    1.5780       -.77906E-06** at limit **
  11  norm          2.4468        .96710       -.31723E-06    .24434E-01
  12  Prefactor     .38858E-09    4.1531        .16211E-05** at limit **
  13  norm          47.201        1.3196        .22215E-06   -.22609E-01
  14  Prefactor     13.156        7.8793       -.66243E-05   -.25191E-02
  15  Normalizat    .90026        .16161        .22205E-04   -.57300E-03
  16  Prefactor     1.1205        .90202E-01    .41563E-06   -.67413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.27676e-09
  norm       = 0.393914
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.1169
  norm       = 0.661685
  Prefactor  = 3.33067e-10
  norm       = 1.55431e-09
  norm       = 2.44683
  Prefactor  = 3.88578e-10
  norm       = 47.2015
  Prefactor  = 13.1561
  Normalizat = 0.900262
  Prefactor  = 1.12046
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.93     FROM HESSE     STATUS=OK           233 CALLS     1117 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    28.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    2.7340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39391        .20712        .90172E-03   -1.5695    
   4  norm           .0000        9.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    1.5694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.117        14.267        .24937E-03   -1.5628    
   8  norm          .66169        .89624        .63890E-03   -1.5692    
   9  Prefactor     .33307E-09    19.574        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .15543E-08    1.5818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4468        .96764        .65383E-03   -1.5677    
  12  Prefactor     .38858E-09    4.1424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.201        14.172        .14541E-03   -1.5571    
  14  Prefactor     13.156        7.9093        .27586E-03   -1.5635    
  15  Normalizat    .90026        .13827        .80525E-01   -.96451    
  16  Prefactor     1.1205        .76450E-01    .36852E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51429e-07
Minuit parameter uncertainties:
  1  0.000125792
  2  0.000117972
  3  0.207117
  4  3.02294e-05
  5  7.79488e-06
  6  4.21016e-05
  7  14.2675
  8  0.896242
  9  0.000165742
  10  9.91446e-05
  11  0.96764
  12  7.76559e-05
  13  14.1718
  14  7.90935
  15  0.138323
  16  0.0764579
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873228/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:18:51.515352', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218331.52', return_code='0', job_id='26873228', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:18:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.612e+01  1.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.120e+00  7.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.003e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.07
Ra Dec: 235.579 18.032
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 5.84e-06

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) = 19622.3582458
delta logL = 0.57050902292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19622.3284322
delta logL = 0.600322646616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19622.33     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.871        11.741        .29050E-03    .29247E-01
   2  Index         1.6705        .43273        .28114       -.16302E-03
   3  Normalizat    .91759        .13535        .79832E-01    .68374E-04
   4  Prefactor     1.1167        .75869E-01    .36986E-01   -.22542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.871
  Index      = 1.67049
  Normalizat = 0.917589
  Prefactor  = 1.11666
 **********
 **   18 **HESSE 
 **********

 FCN=   19622.33     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.871        15.122        .11620E-04   -1.5639    
   2  Index         1.6705        .69658        .15856E-01   -.72870    
   3  Normalizat    .91759        .15985        .35338E-03   -.95845    
   4  Prefactor     1.1167        .89887E-01    .18075E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17718e-08
Minuit parameter uncertainties:
  1  15.1218
  2  0.700695
  3  0.159929
  4  0.0898994
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) = 19622.3284321
delta logL = 0.600322683298

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  1.187e+01  1.512e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  1.670e+00  7.007e-01  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.117e+00  8.990e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.176e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 235.579 18.032
Photon Index (Free Index): 1.67 +/- 0.70
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.55e-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/26873227/cmap_HighResolution_800236801_800841601_4FGL_J1542.3+1801_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='1.12e-05', photon_flux_error='2.06e-08', dlogl='6.00e-01', energy_flux='6.60e-06', photon_flux2='6.24e-09', job_status='DONE', time_completed='2026-05-19 12:19:00.326270', photon_index_error2='0.70', photon_index2='1.67', ts='4.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1779218340.33', return_code='0', job_id='26873227', GAL2='1.12', EG2='0.92', return_code2='0', energy_flux_error='5.84e-06', photon_flux_error2='1.02e-08', ts2='5.26', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 12:19:00 PDT 2026

