/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
number of points = 17485
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

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

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

Done.


Performing analysis on: 4FGL_J1436.9+5638_weekly_bin932
RA = 219.229, Dec = 56.649
tmin = 802656001, tmax = 803260801
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='31154296', job_status='RUN', time_executed='2026-07-09 15:18:12.447773', time_epoch_executed='1783635492.45' WHERE source_name='4FGL J1436.9+5638' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31154296

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31154296/ft1_4FGL_J1436.9+5638_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31154296/ft1_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154296/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits ra=219.229 dec=56.649 rad=12.0 tmin=802656001.0 tmax=803260801.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.87
user 3.88
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.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/31154296/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.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.83
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2386

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" o/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1436.9+5638_weekly_bin932
RA = 219.229, Dec = 56.649
tmin = 802656001, tmax = 803260801
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='31154297', job_status='RUN', time_executed='2026-07-09 15:18:14.566938', time_epoch_executed='1783635494.57' WHERE source_name='4FGL J1436.9+5638' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31154297

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31154297/ft1_4FGL_J1436.9+5638_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31154297/ft1_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154297/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits ra=219.229 dec=56.649 rad=12.0 tmin=802656001.0 tmax=803260801.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.10
user 4.21
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.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/31154297/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2386

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31154131/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 19.80
user 18.67
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154131/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154131/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154131/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 72.28
user 67.09
sys 4.28

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154131/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154131/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154131/Model_4FGL_J1436.9+5638_weekly_bin932.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/31154113/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 24.25
user 22.86
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154113/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154113/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154113/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 80.73
user 74.66
sys 4.64

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154113/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.96
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154113/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.72
user 0.28
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154113/Model_4FGL_J1436.9+5638_weekly_bin932.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/31154256/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 23.34
user 21.51
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154256/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154256/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154256/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 77.40
user 71.25
sys 4.03

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154256/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.49
user 0.27
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154256/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.47
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154256/Model_4FGL_J1436.9+5638_weekly_bin932.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/31154285/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 20.20
user 19.17
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154285/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154285/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154285/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 73.31
user 68.04
sys 4.27

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154285/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.95
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154285/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154285/Model_4FGL_J1436.9+5638_weekly_bin932.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 = 17485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1436.9+5638_weekly_bin932
RA = 219.229, Dec = 56.649
tmin = 802656001, tmax = 803260801
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='31154489', job_status='RUN', time_executed='2026-07-09 15:21:19.115123', time_epoch_executed='1783635679.12' WHERE source_name='4FGL J1436.9+5638' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31154489

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31154489/ft1_4FGL_J1436.9+5638_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31154489/ft1_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154489/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits ra=219.229 dec=56.649 rad=12.0 tmin=802656001.0 tmax=803260801.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.09
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.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/31154489/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2386

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31154296/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 18.73
user 17.88
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154296/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154296/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154296/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 66.62
user 61.84
sys 3.89

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154296/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.08
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154296/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154296/Model_4FGL_J1436.9+5638_weekly_bin932.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/31154297/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 20.05
user 19.06
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154297/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154297/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154297/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 70.76
user 65.52
sys 4.14

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154297/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154297/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154297/Model_4FGL_J1436.9+5638_weekly_bin932.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 = 17485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1436.9+5638_weekly_bin932
RA = 219.229, Dec = 56.649
tmin = 802656001, tmax = 803260801
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='31154628', job_status='RUN', time_executed='2026-07-09 15:23:19.010748', time_epoch_executed='1783635799.01' WHERE source_name='4FGL J1436.9+5638' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31154628

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31154628/ft1_4FGL_J1436.9+5638_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31154628/ft1_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154628/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits ra=219.229 dec=56.649 rad=12.0 tmin=802656001.0 tmax=803260801.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.91
user 4.12
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.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/31154628/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2386

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31154489/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 19.81
user 18.86
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154489/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154489/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154489/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 69.41
user 64.37
sys 4.09

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154489/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154489/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.24
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154489/Model_4FGL_J1436.9+5638_weekly_bin932.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/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 69.81
user 67.62
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154131/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154131/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154131/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154131/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154131/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154131/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154131/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154131/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********utfile=/lscratch/kocevski/31154628/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 19.46
user 18.46
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154628/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154628/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154628/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 70.01
user 65.11
sys 4.14

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154628/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 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.87
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154628/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154628/Model_4FGL_J1436.9+5638_weekly_bin932.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
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
_V02
Working on...
/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 79.96
user 77.27
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154113/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154113/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154113/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154113/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154113/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154113/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154113/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154113/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********number of points = 17485
number of fields = 31
RA_SUN column already exists. File will not be modified.
_V02
Working on...
/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 70.02
user 68.12
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154285/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154285/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154285/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154285/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154285/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154285/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154285/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154285/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********Done.


Performing analysis on: 4FGL_J1436.9+5638_weekly_bin932
RA = 219.229, Dec = 56.649
tmin = 802656001, tmax = 803260801
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='31154795', job_status='RUN', time_executed='2026-07-09 15:26:20.876297', time_epoch_executed='1783635980.88' WHERE source_name='4FGL J1436.9+5638' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31154795

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31154795/ft1_4FGL_J1436.9+5638_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31154795/ft1_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154795/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits ra=219.229 dec=56.649 rad=12.0 tmin=802656001.0 tmax=803260801.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.44
user 4.35
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.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/31154795/ft1_filteredMKT_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2386

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 76.04
user 73.06
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154256/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154256/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154256/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154256/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154256/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154256/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154256/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154256/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********_V02
Working on...
/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 69.13
user 66.68
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154296/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154296/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154296/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154296/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154296/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154296/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154296/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154296/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
_V02
Working on...
/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 68.62
user 66.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154297/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154297/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154297/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154297/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154297/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154297/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154297/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154297/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
 **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
 **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
 **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
 **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
_V02
Working on...
/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 68.35
user 66.11
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154489/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154489/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154489/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154489/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154489/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154489/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154489/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154489/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********utfile=/lscratch/kocevski/31154795/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 20.54
user 19.25
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31154795/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154795/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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/31154795/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
.....................!
real 74.01
user 68.62
sys 4.26

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

Setting source of interest to:
4FGL J1436.9+5638 @ 219.229 56.649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154795/cmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits outfile=/lscratch/kocevski/31154795/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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=219.229 yref=56.649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.50
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31154795/Model_4FGL_J1436.9+5638_weekly_bin932.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=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154131/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154131/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:37:46.134085', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636666.13', return_code='0', job_id='31154131', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:37:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154285/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
 **********
 **   18 **HESSE 
 **********

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154285/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:38:43.541203', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636723.54', return_code='0', job_id='31154285', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:38:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154296/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
_V02
Working on...
/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 68.69
user 66.76
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154628/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154628/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154628/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154628/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154628/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154628/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154628/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154628/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154296/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:39:06.175891', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636746.18', return_code='0', job_id='31154296', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:39:06 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154256/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154113/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154256/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:39:24.380938', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636764.38', return_code='0', job_id='31154256', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:39:25 PDT 2026

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

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154113/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:39:25.670137', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636765.67', return_code='0', job_id='31154113', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:39:26 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154297/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154297/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:39:48.189946', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636788.19', return_code='0', job_id='31154297', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:39:48 PDT 2026

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

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154489/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154489/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:41:27.210684', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783636887.21', return_code='0', job_id='31154489', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:41:27 PDT 2026

_V02
Working on...
/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits.....................!
real 72.53
user 70.09
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits', '/lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits', expMap='/lscratch/kocevski/31154795/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', expCube='/lscratch/kocevski/31154795/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31154795/Model_4FGL_J1436.9+5638_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1436.9+5638'

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.188e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31154795/ft1_filtered_4FGL_J1436.9+5638_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31154795/ft2_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31154795/expmap_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31154795/ltcube_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31154795/Model_4FGL_J1436.9+5638_weekly_bin932.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) = 25817.6056901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5067       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8966       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3645       1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    38.330       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33806E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0954       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2899       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.622       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.544       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7913       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98872       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.525       1.0000          .0000       .10000E+07
    21 'norm      '    2.2881       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.9181       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0891       1.0000          .0000       .10000E+07
    24 'norm      '    .58583E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96102       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25817.50     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1774 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5062        1.7111        .46463E-07   -.76298E-03
   2  Prefactor     5.9199        1.5057       -.10537E-08    .69223E-02
   3  Prefactor     1.3650        1.5687       -.21511E-07    .37312E-03
   4  norm          1.5202        1.3681        .42435E-07   -.94089E-03
   5  Prefactor     .55067E-07    39.564       -.31968E-06** at limit **
   6  Prefactor     .33862E-08    10.564        .14703E-06** at limit **
   7  Prefactor     38.321        1.9884       -.81316E-08   -.32703E-01
   8  Prefactor      .0000        .73055        .17908E-06** at limit **
   9  Prefactor     .55511E-10    9.2553       -.14615E-06** at limit **
  10  Prefactor     2.0925        1.2468        .84927E-08   -.14809E-02
  11  Prefactor     8.3046        8.5901        .61258E-07    .35604E-01
  12  Prefactor     25.943        3.8651       -.61190E-08    .55947E-01
  13  Prefactor     14.619        7.2648        .52441E-07   -.43701E-01
  14  Prefactor     3.9399        3.7774        .90491E-07   -.10780E-02
  15  Prefactor     .28977E-07    15.540        .11072E-06** at limit **
  16  norm          1.7911        .65631       -.10097E-07   -.68996E-03
  17  Prefactor     1.0103        3.9009        .19119E-06   -.21402E-02
  18  Prefactor     1.5643        1.5079       -.37815E-07    .81682E-04
  19  Prefactor      .0000        1.7682       -.50277E-07** at limit **
  20  Prefactor     11.715        8.9549        .72858E-07    .61354E-02
  21  norm          2.2896        1.0308       -.24229E-07    .83607E-03
  22  Prefactor     5.6611        3.8623       -.49660E-07    .37280E-01
  23  Prefactor     2.0897        1.8787        .13020E-07   -.44250E-03
  24  norm           .0000        .99871        .68186E-07** at limit **
  25  Normalizat    .96091        .88923E-01   -.39841E-07    .34111E-04
  26  Prefactor     .97770        .10346       -.61885E-06    .27254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50621
  Prefactor  = 5.91988
  Prefactor  = 1.36498
  norm       = 1.5202
  Prefactor  = 5.50671e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 38.3213
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.09249
  Prefactor  = 8.3046
  Prefactor  = 25.9433
  Prefactor  = 14.6192
  Prefactor  = 3.93988
  Prefactor  = 2.89768e-08
  norm       = 1.79105
  Prefactor  = 1.01029
  Prefactor  = 1.56433
  Prefactor  = 0
  Prefactor  = 11.7146
  norm       = 2.28963
  Prefactor  = 5.66107
  Prefactor  = 2.08967
  norm       = 0
  Normalizat = 0.96091
  Prefactor  = 0.977701
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154628/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154628/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:44:07.567647', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783637047.57', return_code='0', job_id='31154628', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:44:08 PDT 2026

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

 FCN=   25817.50     FROM HESSE     STATUS=OK           514 CALLS     2288 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5062        1.7190        .64514E-03   -1.5676    
   2  Prefactor     5.9199        16.153        .41331E-03   -1.5659    
   3  Prefactor     1.3650        1.5825        .93398E-03   -1.5685    
   4  norm          1.5202        1.3891        .86696E-03   -1.5683    
   5  Prefactor     .55067E-07    39.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33862E-08    10.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.321        16.687        .16154E-03   -1.5584    
   8  Prefactor      .0000        .72821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0925        1.3067        .71277E-03   -1.5679    
  11  Prefactor     8.3046        11.169        .34795E-03   -1.5650    
  12  Prefactor     25.943        21.394        .19760E-03   -1.5606    
  13  Prefactor     14.619        12.205        .26237E-03   -1.5631    
  14  Prefactor     3.9399        3.8337        .50598E-03   -1.5668    
  15  Prefactor     .28977E-07    15.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7911        .66325        .78118E-03   -1.5681    
  17  Prefactor     1.0103        3.9353        .43366E-03   -1.5688    
  18  Prefactor     1.5643        1.5027        .85023E-03   -1.5683    
  19  Prefactor      .0000        1.7584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.715        8.9781        .29484E-03   -1.5640    
  21  norm          2.2896        1.0485        .67838E-04   -1.5678    
  22  Prefactor     5.6611        40.882        .41255E-03   -1.5660    
  23  Prefactor     2.0897        1.8773        .71398E-03   -1.5679    
  24  norm           .0000        1.0019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96091        .75689E-01    .45677E-01   -.94352    
  26  Prefactor     .97770        .87005E-01    .45989E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69572e-07
Minuit parameter uncertainties:
  1  1.71896
  2  16.1533
  3  1.58247
  4  1.38911
  5  0.00294159
  6  0.000380989
  7  16.6866
  8  3.01438e-06
  9  5.11364e-05
  10  1.30666
  11  11.1695
  12  21.394
  13  12.205
  14  3.83374
  15  0.0013585
  16  0.663249
  17  3.93528
  18  1.50271
  19  3.07234e-08
  20  8.97815
  21  1.04848
  22  30.4263
  23  1.87729
  24  1.17932e-07
  25  0.0756973
  26  0.0870178
Done.

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

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  1.462e+01  1.220e+01  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  1.896e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.777e-01  8.702e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.609e-01  7.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.12e-09 +/- 6.78e-09
Energy Flux (Fixed Index): 7.37e-06 +/- 6.16e-06

TS (Fixed Index): 2.86
Ra Dec: 219.229 56.649
Photon Flux Upper Limit: 2.38391979513e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00177197733071 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31154795/likelihoodResults_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.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) = 25816.9899374
delta logL = 0.51297784342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792744
delta logL = 0.523640846459

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25816.98     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      307 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9406        12.704        .13403E-04    .28874E-02
   2  Index         2.4071        .65280        .81581E-02    .20235E-03
   3  Normalizat    .95103        .88133E-01    .21628E-03   -.10828E-03
   4  Prefactor     .98294        .10342        .25137E-03   -.90816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94059
  Index      = 2.40707
  Normalizat = 0.951033
  Prefactor  = 0.982937
 **********
 **   18 **HESSE 
 **********

 FCN=   25816.98     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9406        9.7809        .53610E-06   -1.5648    
   2  Index         2.4071        .50316        .32632E-03   -.54520    
   3  Normalizat    .95103        .87813E-01    .86511E-05   -.94689    
   4  Prefactor     .98294        .10326        .10055E-04   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2886e-11
Minuit parameter uncertainties:
  1  9.78093
  2  0.50433
  3  0.0878266
  4  0.103277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25816.9792739
delta logL = 0.523641338787

Extracting fit parameters...

4FGL J1436.9+5638
   Spectrum: PowerLaw
357    Prefactor:  8.941e+00  9.781e+00  0.000e+00  1.000e+06 ( 1.000e-14)
358        Index:  2.407e+00  5.043e-01  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  2.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.829e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.510e-01  8.783e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 219.229 56.649
Photon Index (Free Index): 2.41 +/- 0.50
Photon Flux (Free Index): 1.69e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.50e-06 +/- 3.86e-06

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/31154795/cmap_HighResolution_802656001_803260801_4FGL_J1436.9+5638_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-03', comment='SUCCESS', photon_flux='8.12e-09', energy_flux2='5.50e-06', photon_flux_error='6.78e-09', dlogl='5.24e-01', energy_flux='7.37e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2026-07-09 15:47:54.832775', photon_index_error2='0.50', photon_index2='2.41', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='3.86e-06', EG='0.96', time_epoch_completed='1783637274.83', return_code='0', job_id='31154795', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='1.33e-08', ts2='3.91', photon_index='1.90' WHERE bin_id='932' AND source_name='4FGL J1436.9+5638' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 15:47:55 PDT 2026

