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


Performing analysis on: 4FGL_J1249.8+3707_weekly_bin929
RA = 192.46, Dec = 37.1306
tmin = 800841601, tmax = 801446401
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='27243048', job_status='RUN', time_executed='2026-05-26 09:35:59.539125', time_epoch_executed='1779813359.54' WHERE source_name='4FGL J1249.8+3707' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27243048

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27243048/ft1_4FGL_J1249.8+3707_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27243048/ft1_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243048/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits ra=192.46 dec=37.1306 rad=12.0 tmin=800841601.0 tmax=801446401.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.56
user 3.83
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.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/27243048/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.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.52
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1352

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" o/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/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.


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

3.41).

utfile=/lscratch/kocevski/27243016/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 18.17
user 17.51
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243016/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243016/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243016/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 68.66
user 63.97
sys 3.99

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243016/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.65
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243016/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.60
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243016/Model_4FGL_J1249.8+3707_weekly_bin929.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 GALutfile=/lscratch/kocevski/27243027/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 16.05
user 15.53
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243027/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243027/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243027/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 59.80
user 55.60
sys 3.55

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243027/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.72
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243027/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.55
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243027/Model_4FGL_J1249.8+3707_weekly_bin929.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 GALnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.8+3707_weekly_bin929
RA = 192.46, Dec = 37.1306
tmin = 800841601, tmax = 801446401
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='27243061', job_status='RUN', time_executed='2026-05-26 09:36:33.536786', time_epoch_executed='1779813393.54' WHERE source_name='4FGL J1249.8+3707' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27243061

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27243061/ft1_4FGL_J1249.8+3707_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27243061/ft1_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243061/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits ra=192.46 dec=37.1306 rad=12.0 tmin=800841601.0 tmax=801446401.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.63
user 3.86
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.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/27243061/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.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.55
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1352

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" otfile=/lscratch/kocevski/27243035/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 16.61
user 16.11
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243035/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243035/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243035/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 59.70
user 55.57
sys 3.48

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243035/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.63
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243035/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.58
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243035/Model_4FGL_J1249.8+3707_weekly_bin929.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_tfile=/lscratch/kocevski/27243036/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 16.61
user 16.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243036/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243036/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243036/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 59.79
user 55.64
sys 3.58

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243036/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.53
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243036/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.53
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243036/Model_4FGL_J1249.8+3707_weekly_bin929.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_tfile=/lscratch/kocevski/27243039/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 16.23
user 15.60
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243039/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243039/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243039/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 60.58
user 55.87
sys 3.83

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243039/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.53
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243039/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.54
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243039/Model_4FGL_J1249.8+3707_weekly_bin929.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_number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.8+3707_weekly_bin929
RA = 192.46, Dec = 37.1306
tmin = 800841601, tmax = 801446401
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='27243074', job_status='RUN', time_executed='2026-05-26 09:36:57.167170', time_epoch_executed='1779813417.17' WHERE source_name='4FGL J1249.8+3707' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27243074

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27243074/ft1_4FGL_J1249.8+3707_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27243074/ft1_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243074/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits ra=192.46 dec=37.1306 rad=12.0 tmin=800841601.0 tmax=801446401.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.22
user 4.66
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.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/27243074/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.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.55
user 0.22
sys 0.10

Number of photons that the gtmktime cut: 1352

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.8+3707_weekly_bin929
RA = 192.46, Dec = 37.1306
tmin = 800841601, tmax = 801446401
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='27243072', job_status='RUN', time_executed='2026-05-26 09:36:57.167191', time_epoch_executed='1779813417.17' WHERE source_name='4FGL J1249.8+3707' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27243072

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27243072/ft1_4FGL_J1249.8+3707_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27243072/ft1_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243072/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits ra=192.46 dec=37.1306 rad=12.0 tmin=800841601.0 tmax=801446401.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.95
user 4.50
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.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/27243072/ft1_filteredMKT_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.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.64
user 0.25
sys 0.14

Number of photons that the gtmktime cut: 1352

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27243048/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 16.19
user 15.61
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243048/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243048/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243048/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 60.72
user 56.30
sys 3.74

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243048/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.64
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243048/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.53
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243048/Model_4FGL_J1249.8+3707_weekly_bin929.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 GALutfile=/lscratch/kocevski/27243061/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 15.74
user 15.20
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243061/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243061/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243061/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 62.15
user 57.87
sys 3.61

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243061/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.58
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243061/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.58
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243061/Model_4FGL_J1249.8+3707_weekly_bin929.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/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 41.95
user 40.41
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243016/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243016/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243016/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243016/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243016/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243016/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243016/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243016/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
_V02
Working on...
/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 37.35
user 35.74
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243027/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243027/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243027/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243027/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243027/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243027/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243027/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243027/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
V02
Working on...
/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 37.31
user 35.65
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243039/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243039/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243039/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243039/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243039/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243039/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243039/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243039/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
V02
Working on...
/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 37.08
user 35.49
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243035/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243035/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243035/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243035/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243035/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243035/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243035/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243035/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
V02
Working on...
/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 37.00
user 35.46
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243036/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243036/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243036/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243036/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243036/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243036/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243036/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243036/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
utfile=/lscratch/kocevski/27243074/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 18.23
user 17.50
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243074/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243074/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243074/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 69.07
user 64.26
sys 4.00

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243074/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.66
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243074/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.57
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243074/Model_4FGL_J1249.8+3707_weekly_bin929.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 GALutfile=/lscratch/kocevski/27243072/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 18.86
user 18.16
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27243072/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243072/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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/27243072/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
.....................!
real 69.16
user 64.35
sys 4.07

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243072/cmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.67
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits outfile=/lscratch/kocevski/27243072/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.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=192.46 yref=37.1306 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.61
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27243072/Model_4FGL_J1249.8+3707_weekly_bin929.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 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
_V02
Working on...
/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 38.83
user 36.94
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243048/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243048/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243048/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243048/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243048/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243048/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243048/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243048/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243016/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
Done.

MINUIT  3  1.3203
 (Fixed Index): 0
logL (Fixed Index) = 14837.5096687

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243027/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  4  1.13312
= 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243016/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:41:23.512221', job_id='27243016', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813683.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:41: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): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243027/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:41:24.081883', job_id='27243027', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813684.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:41:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243039/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243039/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:41:41.643993', job_id='27243039', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813701.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:41:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243036/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243035/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
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): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243036/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:41:45.252816', job_id='27243036', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813705.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:41:45 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243035/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:41:45.284421', job_id='27243035', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813705.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:41:45 PDT 2026

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

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
_V02
Working on...
/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 39.66
user 38.11
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243061/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243061/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243061/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243061/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243061/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243061/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243061/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243061/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
_V02
Working on...
/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 43.73
user 42.05
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243074/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243074/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243074/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243074/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243074/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243074/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243074/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243074/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243048/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243048/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:42:52.275679', job_id='27243048', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813772.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:42:52 PDT 2026

_V02
Working on...
/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits.....................!
real 43.53
user 41.88
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits', '/lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits', expMap='/lscratch/kocevski/27243072/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', expCube='/lscratch/kocevski/27243072/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27243072/Model_4FGL_J1249.8+3707_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27243072/ft1_filtered_4FGL_J1249.8+3707_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27243072/ft2_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27243072/expmap_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27243072/ltcube_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27243072/Model_4FGL_J1249.8+3707_weekly_bin929.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) = 14837.550869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64660E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.1653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0478       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2200       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78995E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30714E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0248       1.0000          .0000       .10000E+07
    10 'norm      '    23.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35793E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
    13 'norm      '    1.8583       1.0000          .0000       .10000E+07
    14 'norm      '    5.0456       1.0000          .0000       .10000E+07
    15 'norm      '    8.8130       1.0000          .0000       .10000E+07
    16 'norm      '    .97744E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52954       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7510       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9195       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67565       1.0000          .0000       .10000E+07
    21 'Normalizat'    .94227       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1394 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    11.785       -.46291E-05** at limit **
   2  norm          1.1667        1.1514       -.54442E-06   -.30392E-02
   3  Prefactor     .11102E-09    1.4188       -.65521E-06** at limit **
   4  Prefactor     3.0477        1.4240       -.23693E-06    .59922E-02
   5  Prefactor     3.2213        1.5494       -.18066E-06    .53687E-04
   6  Prefactor      .0000        3.3718       -.13247E-05** at limit **
   7  Prefactor     .16653E-09    2.4519        .71383E-06** at limit **
   8  Prefactor     .22204E-08    4.5585       -.11805E-05** at limit **
   9  Prefactor     3.0081        2.6450        .28753E-06   -.30354E-02
  10  norm          23.589        4.5794        .40696E-06    .43504E-02
  11  Prefactor     .16098E-08    12.872        .81257E-05** at limit **
  12  Prefactor     7.3620        7.1084        .13102E-05    .11894E-03
  13  norm          1.8593        1.9575        .34734E-06   -.19069E-02
  14  norm          5.0765        5.0531        .37596E-06   -.54206E-03
  15  norm          8.8327        2.7939        .11100E-05    .47704E-02
  16  norm          .47740E-08    5.0739        .16196E-05** at limit **
  17  Prefactor     .50619        2.0812       -.14839E-05    .82543E-02
  18  Prefactor     8.7126        3.2947       -.52333E-06   -.56856E-01
  19  Prefactor     4.4965        79.061        .11692E-04   -.23089E-02
  20  Prefactor     .67819        .59969       -.33072E-06   -.20244E-01
  21  Normalizat    .94217        .13140        .53076E-05   -.60279E-04
  22  Prefactor     1.1798        .16415       -.10048E-04   -.11257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  norm       = 1.16669
  Prefactor  = 1.11022e-10
  Prefactor  = 3.04775
  Prefactor  = 3.22128
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 3.00806
  norm       = 23.5887
  Prefactor  = 1.60982e-09
  Prefactor  = 7.36205
  norm       = 1.85928
  norm       = 5.07646
  norm       = 8.83274
  norm       = 4.77396e-09
  Prefactor  = 0.506192
  Prefactor  = 8.71255
  Prefactor  = 4.49651
  Prefactor  = 0.678192
  Normalizat = 0.942172
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
 **********
 **   18 **HESSE 
 **********

 FCN=   14837.51     FROM HESSE     STATUS=OK           390 CALLS     1784 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1667        1.1512        .10650E-03   -1.5686    
   3  Prefactor     .11102E-09    1.4171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        1.4261        .58091E-03   -1.5673    
   5  Prefactor     3.2213        1.5537        .56430E-03   -1.5672    
   6  Prefactor      .0000        3.3637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    2.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    4.6539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0081        2.6519        .58324E-03   -1.5673    
  10  norm          23.589        4.5813        .20595E-03   -1.5611    
  11  Prefactor     .16098E-08    12.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3620        7.1193        .36947E-03   -1.5654    
  13  norm          1.8593        1.9734        .76420E-03   -1.5681    
  14  norm          5.0765        5.0477        .44742E-03   -1.5663    
  15  norm          8.8327        2.8503        .33740E-03   -1.5649    
  16  norm          .47740E-08    5.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50619        3.3510        .75792E-03   -1.5694    
  18  Prefactor     8.7126        11.627        .33860E-03   -1.5649    
  19  Prefactor     4.4965        82.015        .50934E-03   -1.5666    
  20  Prefactor     .67819        7.8040        .62708E-03   -1.5691    
  21  Normalizat    .94217        .11069        .45439E-01   -.94994    
  22  Prefactor     1.1798        .13814        .64432E-01   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24303e-07
Minuit parameter uncertainties:
  1  0.00019558
  2  1.15124
  3  2.64046e-05
  4  1.42609
  5  1.55374
  6  1.57235e-05
  7  3.8225e-05
  8  0.000203154
  9  2.65189
  10  4.58125
  11  0.000286069
  12  7.11928
  13  1.97341
  14  5.04774
  15  2.85035
  16  0.000312674
  17  2.60481
  18  11.6274
  19  38.4079
  20  4.60114
  21  0.110712
  22  0.138178
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243061/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243061/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:43:39.460542', job_id='27243061', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813819.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:43:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243074/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243074/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:44:22.971692', job_id='27243074', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813862.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:44:23 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.220e-09  2.032e-04  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 1.88701367086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138781559702 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27243072/likelihoodResults_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14837.6134757
delta logL = -0.103807025174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14837.5096693
delta logL = -5.54651705897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36010E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .62486       1.0000          .0000       10.000    
     3 'Normalizat'    .94209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14837.51     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      206 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1384        .42118E-03** at limit **
   2  Index         1.5353        1.4499        .53499E-07     .0000    
   3  Normalizat    .94217        1.2753       -.20325E-04    .17688E-04
   4  Prefactor     1.1798        1.1100        .24116E-04    .27779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.53532
  Normalizat = 0.942171
  Prefactor  = 1.17976
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14837.51     FROM HESSE     STATUS=FAILED         9 CALLS      215 TOTAL
                     EDM=   .72E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21634        1.6116        .53499E-07   -.76555    
   3  Normalizat    .94217        1.2753       -.20325E-04   -.94994    
   4  Prefactor     1.1798        1.1100        .24116E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.20583e-13
Minuit parameter uncertainties:
  1  7.86281e-06
  2  1.49218
  3  1.3203
  4  1.13312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14837.5096687
delta logL = 2.43744580075e-10

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  7.863e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.535e+00  1.492e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.180e+00  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.422e-01  1.320e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/27243072/cmap_HighResolution_800841601_801446401_4FGL_J1249.8+3707_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.89e-08', time_completed='2026-05-26 09:44:35.124889', job_id='27243072', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1779813875.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.44e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='929' AND source_name='4FGL J1249.8+3707' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 09:44:35 PDT 2026

