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


Performing analysis on: 4FGL_J2136.2+0032_weekly_bin946
RA = 324.062, Dec = 0.5488
tmin = 811123201, tmax = 811728001
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='38829660', job_status='RUN', time_executed='2026-09-22 17:54:58.209283', time_epoch_executed='1790124898.21' WHERE source_name='4FGL J2136.2+0032' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38829660

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38829660/ft1_4FGL_J2136.2+0032_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38829660/ft1_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829660/ft1_filteredMKT_4FGL_J2136.2+0032_weekly_bin946.fits ra=324.062 dec=0.5488 rad=12.0 tmin=811123201.0 tmax=811728001.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.84
user 4.35
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.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/38829660/ft1_filteredMKT_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.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.62
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 681

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" ou/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J2136.2+0032_weekly_bin946
RA = 324.062, Dec = 0.5488
tmin = 811123201, tmax = 811728001
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='38829805', job_status='RUN', time_executed='2026-09-22 17:56:06.199285', time_epoch_executed='1790124966.2' WHERE source_name='4FGL J2136.2+0032' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38829805

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38829805/ft1_4FGL_J2136.2+0032_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38829805/ft1_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829805/ft1_filteredMKT_4FGL_J2136.2+0032_weekly_bin946.fits ra=324.062 dec=0.5488 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.58
user 4.09
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.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/38829805/ft1_filteredMKT_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.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.56
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 681

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" outtfile=/lscratch/kocevski/38829478/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 20.14
user 19.58
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38829478/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829478/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829478/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 74.00
user 69.03
sys 4.35

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

Setting source of interest to:
4FGL J2136.2+0032 @ 324.062 0.5488

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829478/cmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829478/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 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.70
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38829478/Model_4FGL_J2136.2+0032_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_tfile=/lscratch/kocevski/38829660/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 20.71
user 20.07
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38829660/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829660/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829660/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 76.17
user 70.94
sys 4.44

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

Setting source of interest to:
4FGL J2136.2+0032 @ 324.062 0.5488

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829660/cmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829660/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38829660/Model_4FGL_J2136.2+0032_weekly_bin946.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/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits.....................!
real 36.09
user 33.77
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits', '/lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits', expMap='/lscratch/kocevski/38829478/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', expCube='/lscratch/kocevski/38829478/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38829478/Model_4FGL_J2136.2+0032_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2136.2+0032'

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  8.984e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38829478/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38829478/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38829478/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38829478/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38829478/Model_4FGL_J2136.2+0032_weekly_bin946.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) = 8062.10645718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60755E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.3202       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15604E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    45.014       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.581       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33490E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8680       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18325E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    31.698       1.0000          .0000       .10000E+07
    11 'Prefactor '    34.473       1.0000          .0000       .10000E+07
    12 'norm      '    2.5579       1.0000          .0000       .10000E+07
    13 'norm      '    .11580E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16570E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3627       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9133       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.162       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.5065       1.0000          .0000       .10000E+07
    19 'Normalizat'    .56017       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.905     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1528 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    2.4343        .18297E-05** at limit **
   2  Prefactor     7.6947        16.004       -.25848E-05    .16758E-01
   3  Prefactor     .72164E-09    9.5925       -.45997E-05** at limit **
   4  Prefactor     48.418        51.012        .50663E-06    .36024E-01
   5  Prefactor     14.278        14.096       -.50182E-06    .38617E-01
   6  Prefactor     .13323E-08    51.972        .14472E-04** at limit **
   7  Prefactor     5.5600        5.5560       -.15172E-06    .22361E-02
   8  Prefactor     1.9473        6.1741       -.41614E-05    .37764E-03
   9  Prefactor      .0000        1.8251        .99625E-07** at limit **
  10  Prefactor     31.851        6.9188       -.17817E-05    .10675    
  11  Prefactor     35.237        17.654        .19803E-05   -.11069    
  12  norm          2.5651        2.0196        .39841E-06   -.48881E-02
  13  norm          .35361E-07    24.181       -.46163E-05** at limit **
  14  Prefactor      .0000        3.0067        .39785E-06** at limit **
  15  Prefactor     6.7233        14.348        .85861E-05    .60741E-01
  16  Prefactor     9.3796        10.649       -.45586E-05   -.25031E-01
  17  Prefactor     29.239        11.023       -.31142E-05   -.40346E-01
  18  Prefactor     6.2503        19.694       -.86758E-05    .33224E-01
  19  Normalizat    .55774        .26143        .70672E-06   -.23579E-03
  20  Prefactor     .97373        .12028        .16392E-04   -.21920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 7.69467
  Prefactor  = 7.21645e-10
  Prefactor  = 48.4181
  Prefactor  = 14.2783
  Prefactor  = 1.33227e-09
  Prefactor  = 5.55996
  Prefactor  = 1.94729
  Prefactor  = 0
  Prefactor  = 31.8507
  Prefactor  = 35.2374
  norm       = 2.56512
  norm       = 3.53606e-08
  Prefactor  = 0
  Prefactor  = 6.72327
  Prefactor  = 9.37963
  Prefactor  = 29.2389
  Prefactor  = 6.25031
  Normalizat = 0.557743
  Prefactor  = 0.973733
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.905     FROM HESSE     STATUS=OK           337 CALLS     1865 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    2.4332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6947        16.806        .37048E-03   -1.5652    
   3  Prefactor     .72164E-09    9.5909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.418        53.055        .14906E-03   -1.5569    
   5  Prefactor     14.278        17.004        .26204E-03   -1.5632    
   6  Prefactor     .13323E-08    55.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5600        5.5836        .42526E-03   -1.5661    
   8  Prefactor     1.9473        6.2108        .76185E-03   -1.5680    
   9  Prefactor      .0000        1.8124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.851        41.221        .17764E-03   -1.5595    
  11  Prefactor     35.237        54.528        .17034E-03   -1.5589    
  12  norm          2.5651        2.0469        .63808E-03   -1.5676    
  13  norm          .35361E-07    24.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.9914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7233        20.014        .39768E-03   -1.5656    
  16  Prefactor     9.3796        34.998        .31801E-03   -1.5647    
  17  Prefactor     29.239        34.959        .18521E-03   -1.5600    
  18  Prefactor     6.2503        33.196        .36581E-03   -1.5658    
  19  Normalizat    .55774        .24438        .98117E-01   -1.0981    
  20  Prefactor     .97373        .10343        .45937E-01   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49175e-06
Minuit parameter uncertainties:
  1  4.33313e-05
  2  16.8059
  3  0.000164421
  4  53.0555
  5  17.0036
  6  0.000545637
  7  5.58362
  8  6.21078
  9  7.34687e-06
  10  41.221
  11  54.5289
  12  2.04692
  13  0.00184978
  14  7.5595e-06
  15  20.0147
  16  34.9988
  17  34.9588
  18  28.8089
  19  0.24485
  20  0.103448
file=/lscratch/kocevski/38829805/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 19.38
user 18.77
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38829805/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829805/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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/38829805/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
.....................!
real 72.67
user 67.74
sys 4.05

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

Setting source of interest to:
4FGL J2136.2+0032 @ 324.062 0.5488

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829805/cmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits outfile=/lscratch/kocevski/38829805/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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=324.062 yref=0.5488 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38829805/Model_4FGL_J2136.2+0032_weekly_bin946.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_VDone.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.185e+01  4.122e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.737e-01  1.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.577e-01  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 324.062 0.549
Photon Flux Upper Limit: 1.85831329524e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0147731386414 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38829478/likelihoodResults_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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) = 8061.85079404
delta logL = 0.0545448133598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8061.84824519
delta logL = 0.0570936569202

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.848     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.583        40.259       -.32720E-05   -.34532E-02
   2  Index         3.2317        1.1487        .39868E-04   -.19346E-04
   3  Normalizat    .54293        .22859        .99940E-05   -.91696E-04
   4  Prefactor     .97898        .10416       -.11744E-05    .15287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5831
  Index      = 3.23167
  Normalizat = 0.54293
  Prefactor  = 0.978982
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.848     FROM HESSE     STATUS=OK            27 CALLS      258 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.583        39.149        .72319E-05   -1.5597    
   2  Index         3.2317        1.0997        .43249E-02   -.36149    
   3  Normalizat    .54293        .26439        .44048E-03   -1.1047    
   4  Prefactor     .97898        .12154        .15698E-03   -.93433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49499e-10
Minuit parameter uncertainties:
  1  39.1491
  2  1.11005
  3  0.265009
  4  0.121572
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) = 8061.84823858
delta logL = 0.0571002689776

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.058e+01  3.915e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  3.232e+00  1.110e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.790e-01  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.429e-01  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 324.062 0.549

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/38829478/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2026-09-22 17:59:18.966168', job_id='38829478', GAL2='0.98', fit_tolerance='1e-08', EG2='0.54', EG='0.56', time_epoch_completed='1790125158.97', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.71e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='946' AND source_name='4FGL J2136.2+0032' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 17:59:19 PDT 2026

V02
Working on...
/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits.....................!
real 36.84
user 34.57
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits', '/lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits', expMap='/lscratch/kocevski/38829660/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', expCube='/lscratch/kocevski/38829660/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38829660/Model_4FGL_J2136.2+0032_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2136.2+0032'

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  8.984e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38829660/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38829660/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38829660/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38829660/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38829660/Model_4FGL_J2136.2+0032_weekly_bin946.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) = 8062.10645718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60755E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.3202       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15604E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    45.014       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.581       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33490E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8680       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18325E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    31.698       1.0000          .0000       .10000E+07
    11 'Prefactor '    34.473       1.0000          .0000       .10000E+07
    12 'norm      '    2.5579       1.0000          .0000       .10000E+07
    13 'norm      '    .11580E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16570E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3627       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9133       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.162       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.5065       1.0000          .0000       .10000E+07
    19 'Normalizat'    .56017       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.905     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1528 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    2.4343        .18297E-05** at limit **
   2  Prefactor     7.6947        16.004       -.25848E-05    .16758E-01
   3  Prefactor     .72164E-09    9.5925       -.45997E-05** at limit **
   4  Prefactor     48.418        51.012        .50663E-06    .36024E-01
   5  Prefactor     14.278        14.096       -.50182E-06    .38617E-01
   6  Prefactor     .13323E-08    51.972        .14472E-04** at limit **
   7  Prefactor     5.5600        5.5560       -.15172E-06    .22361E-02
   8  Prefactor     1.9473        6.1741       -.41614E-05    .37764E-03
   9  Prefactor      .0000        1.8251        .99625E-07** at limit **
  10  Prefactor     31.851        6.9188       -.17817E-05    .10675    
  11  Prefactor     35.237        17.654        .19803E-05   -.11069    
  12  norm          2.5651        2.0196        .39841E-06   -.48881E-02
  13  norm          .35361E-07    24.181       -.46163E-05** at limit **
  14  Prefactor      .0000        3.0067        .39785E-06** at limit **
  15  Prefactor     6.7233        14.348        .85861E-05    .60741E-01
  16  Prefactor     9.3796        10.649       -.45586E-05   -.25031E-01
  17  Prefactor     29.239        11.023       -.31142E-05   -.40346E-01
  18  Prefactor     6.2503        19.694       -.86758E-05    .33224E-01
  19  Normalizat    .55774        .26143        .70672E-06   -.23579E-03
  20  Prefactor     .97373        .12028        .16392E-04   -.21920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 7.69467
  Prefactor  = 7.21645e-10
  Prefactor  = 48.4181
  Prefactor  = 14.2783
  Prefactor  = 1.33227e-09
  Prefactor  = 5.55996
  Prefactor  = 1.94729
  Prefactor  = 0
  Prefactor  = 31.8507
  Prefactor  = 35.2374
  norm       = 2.56512
  norm       = 3.53606e-08
  Prefactor  = 0
  Prefactor  = 6.72327
  Prefactor  = 9.37963
  Prefactor  = 29.2389
  Prefactor  = 6.25031
  Normalizat = 0.557743
  Prefactor  = 0.973733
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.905     FROM HESSE     STATUS=OK           337 CALLS     1865 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    2.4332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6947        16.806        .37048E-03   -1.5652    
   3  Prefactor     .72164E-09    9.5909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.418        53.055        .14906E-03   -1.5569    
   5  Prefactor     14.278        17.004        .26204E-03   -1.5632    
   6  Prefactor     .13323E-08    55.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5600        5.5836        .42526E-03   -1.5661    
   8  Prefactor     1.9473        6.2108        .76185E-03   -1.5680    
   9  Prefactor      .0000        1.8124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.851        41.221        .17764E-03   -1.5595    
  11  Prefactor     35.237        54.528        .17034E-03   -1.5589    
  12  norm          2.5651        2.0469        .63808E-03   -1.5676    
  13  norm          .35361E-07    24.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.9914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7233        20.014        .39768E-03   -1.5656    
  16  Prefactor     9.3796        34.998        .31801E-03   -1.5647    
  17  Prefactor     29.239        34.959        .18521E-03   -1.5600    
  18  Prefactor     6.2503        33.196        .36581E-03   -1.5658    
  19  Normalizat    .55774        .24438        .98117E-01   -1.0981    
  20  Prefactor     .97373        .10343        .45937E-01   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49175e-06
Minuit parameter uncertainties:
  1  4.33313e-05
  2  16.8059
  3  0.000164421
  4  53.0555
  5  17.0036
  6  0.000545637
  7  5.58362
  8  6.21078
  9  7.34687e-06
  10  41.221
  11  54.5289
  12  2.04692
  13  0.00184978
  14  7.5595e-06
  15  20.0147
  16  34.9988
  17  34.9588
  18  28.8089
  19  0.24485
  20  0.103448
Done.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.185e+01  4.122e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.737e-01  1.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.577e-01  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 324.062 0.549
Photon Flux Upper Limit: 1.85831329524e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0147731386414 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38829660/likelihoodResults_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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) = 8061.85079404
delta logL = 0.0545448133598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8061.84824519
delta logL = 0.0570936569202

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.848     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.583        40.259       -.32720E-05   -.34532E-02
   2  Index         3.2317        1.1487        .39868E-04   -.19346E-04
   3  Normalizat    .54293        .22859        .99940E-05   -.91696E-04
   4  Prefactor     .97898        .10416       -.11744E-05    .15287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5831
  Index      = 3.23167
  Normalizat = 0.54293
  Prefactor  = 0.978982
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.848     FROM HESSE     STATUS=OK            27 CALLS      258 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.583        39.149        .72319E-05   -1.5597    
   2  Index         3.2317        1.0997        .43249E-02   -.36149    
   3  Normalizat    .54293        .26439        .44048E-03   -1.1047    
   4  Prefactor     .97898        .12154        .15698E-03   -.93433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49499e-10
Minuit parameter uncertainties:
  1  39.1491
  2  1.11005
  3  0.265009
  4  0.121572
02
Working on...
/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits.....................!
real 34.30
user 32.48
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits', '/lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits', expMap='/lscratch/kocevski/38829805/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', expCube='/lscratch/kocevski/38829805/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38829805/Model_4FGL_J2136.2+0032_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2136.2+0032'

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  8.984e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38829805/ft1_filtered_4FGL_J2136.2+0032_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38829805/ft2_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38829805/expmap_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38829805/ltcube_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38829805/Model_4FGL_J2136.2+0032_weekly_bin946.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) = 8062.10645718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60755E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.3202       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15604E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    45.014       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.581       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33490E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8680       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18325E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    31.698       1.0000          .0000       .10000E+07
    11 'Prefactor '    34.473       1.0000          .0000       .10000E+07
    12 'norm      '    2.5579       1.0000          .0000       .10000E+07
    13 'norm      '    .11580E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16570E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3627       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9133       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.162       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.5065       1.0000          .0000       .10000E+07
    19 'Normalizat'    .56017       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.905     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1528 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    2.4343        .18297E-05** at limit **
   2  Prefactor     7.6947        16.004       -.25848E-05    .16758E-01
   3  Prefactor     .72164E-09    9.5925       -.45997E-05** at limit **
   4  Prefactor     48.418        51.012        .50663E-06    .36024E-01
   5  Prefactor     14.278        14.096       -.50182E-06    .38617E-01
   6  Prefactor     .13323E-08    51.972        .14472E-04** at limit **
   7  Prefactor     5.5600        5.5560       -.15172E-06    .22361E-02
   8  Prefactor     1.9473        6.1741       -.41614E-05    .37764E-03
   9  Prefactor      .0000        1.8251        .99625E-07** at limit **
  10  Prefactor     31.851        6.9188       -.17817E-05    .10675    
  11  Prefactor     35.237        17.654        .19803E-05   -.11069    
  12  norm          2.5651        2.0196        .39841E-06   -.48881E-02
  13  norm          .35361E-07    24.181       -.46163E-05** at limit **
  14  Prefactor      .0000        3.0067        .39785E-06** at limit **
  15  Prefactor     6.7233        14.348        .85861E-05    .60741E-01
  16  Prefactor     9.3796        10.649       -.45586E-05   -.25031E-01
  17  Prefactor     29.239        11.023       -.31142E-05   -.40346E-01
  18  Prefactor     6.2503        19.694       -.86758E-05    .33224E-01
  19  Normalizat    .55774        .26143        .70672E-06   -.23579E-03
  20  Prefactor     .97373        .12028        .16392E-04   -.21920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 7.69467
  Prefactor  = 7.21645e-10
  Prefactor  = 48.4181
  Prefactor  = 14.2783
  Prefactor  = 1.33227e-09
  Prefactor  = 5.55996
  Prefactor  = 1.94729
  Prefactor  = 0
  Prefactor  = 31.8507
  Prefactor  = 35.2374
  norm       = 2.56512
  norm       = 3.53606e-08
  Prefactor  = 0
  Prefactor  = 6.72327
  Prefactor  = 9.37963
  Prefactor  = 29.2389
  Prefactor  = 6.25031
  Normalizat = 0.557743
  Prefactor  = 0.973733
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) = 8061.84823858
delta logL = 0.0571002689776

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.058e+01  3.915e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  3.232e+00  1.110e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.790e-01  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.429e-01  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 324.062 0.549

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/38829660/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2026-09-22 18:00:35.528009', job_id='38829660', GAL2='0.98', fit_tolerance='1e-08', EG2='0.54', EG='0.56', time_epoch_completed='1790125235.53', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.71e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='946' AND source_name='4FGL J2136.2+0032' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 18:00:35 PDT 2026

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

 FCN=   8061.905     FROM HESSE     STATUS=OK           337 CALLS     1865 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    2.4332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6947        16.806        .37048E-03   -1.5652    
   3  Prefactor     .72164E-09    9.5909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.418        53.055        .14906E-03   -1.5569    
   5  Prefactor     14.278        17.004        .26204E-03   -1.5632    
   6  Prefactor     .13323E-08    55.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5600        5.5836        .42526E-03   -1.5661    
   8  Prefactor     1.9473        6.2108        .76185E-03   -1.5680    
   9  Prefactor      .0000        1.8124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.851        41.221        .17764E-03   -1.5595    
  11  Prefactor     35.237        54.528        .17034E-03   -1.5589    
  12  norm          2.5651        2.0469        .63808E-03   -1.5676    
  13  norm          .35361E-07    24.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.9914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7233        20.014        .39768E-03   -1.5656    
  16  Prefactor     9.3796        34.998        .31801E-03   -1.5647    
  17  Prefactor     29.239        34.959        .18521E-03   -1.5600    
  18  Prefactor     6.2503        33.196        .36581E-03   -1.5658    
  19  Normalizat    .55774        .24438        .98117E-01   -1.0981    
  20  Prefactor     .97373        .10343        .45937E-01   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49175e-06
Minuit parameter uncertainties:
  1  4.33313e-05
  2  16.8059
  3  0.000164421
  4  53.0555
  5  17.0036
  6  0.000545637
  7  5.58362
  8  6.21078
  9  7.34687e-06
  10  41.221
  11  54.5289
  12  2.04692
  13  0.00184978
  14  7.5595e-06
  15  20.0147
  16  34.9988
  17  34.9588
  18  28.8089
  19  0.24485
  20  0.103448
Done.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.185e+01  4.122e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.737e-01  1.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.577e-01  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 324.062 0.549
Photon Flux Upper Limit: 1.85831329524e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0147731386414 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38829805/likelihoodResults_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.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) = 8061.85079404
delta logL = 0.0545448133598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8061.84824519
delta logL = 0.0570936569202

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.848     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.583        40.259       -.32720E-05   -.34532E-02
   2  Index         3.2317        1.1487        .39868E-04   -.19346E-04
   3  Normalizat    .54293        .22859        .99940E-05   -.91696E-04
   4  Prefactor     .97898        .10416       -.11744E-05    .15287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5831
  Index      = 3.23167
  Normalizat = 0.54293
  Prefactor  = 0.978982
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.848     FROM HESSE     STATUS=OK            27 CALLS      258 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.583        39.149        .72319E-05   -1.5597    
   2  Index         3.2317        1.0997        .43249E-02   -.36149    
   3  Normalizat    .54293        .26439        .44048E-03   -1.1047    
   4  Prefactor     .97898        .12154        .15698E-03   -.93433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49499e-10
Minuit parameter uncertainties:
  1  39.1491
  2  1.11005
  3  0.265009
  4  0.121572
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) = 8061.84823858
delta logL = 0.0571002689776

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  3.058e+01  3.915e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  3.232e+00  1.110e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.790e-01  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.429e-01  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 324.062 0.549

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/38829805/cmap_HighResolution_811123201_811728001_4FGL_J2136.2+0032_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2026-09-22 18:01:24.396180', job_id='38829805', GAL2='0.98', fit_tolerance='1e-08', EG2='0.54', EG='0.56', time_epoch_completed='1790125284.4', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.71e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='946' AND source_name='4FGL J2136.2+0032' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 18:01:24 PDT 2026

