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


Performing analysis on: 4FGL_J1136.4+6736_weekly_bin906
RA = 174.118, Dec = 67.6127
tmin = 786931201, tmax = 787536001
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='17378494', job_status='RUN', time_executed='2025-12-16 02:15:59.336829', time_epoch_executed='1765880159.34' WHERE source_name='4FGL J1136.4+6736' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17378494

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17378494/ft1_4FGL_J1136.4+6736_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17378494/ft1_4FGL_J1136.4+6736_weekly_bin906.fits outfile=/lscratch/kocevski/17378494/ft1_filteredMKT_4FGL_J1136.4+6736_weekly_bin906.fits ra=174.118 dec=67.6127 rad=12.0 tmin=786931201.0 tmax=787536001.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 6.67
user 5.47
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.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/17378494/ft1_filteredMKT_4FGL_J1136.4+6736_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.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.28
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1843

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17378494/ltcube_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.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/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits
.....................!
real 21.95
user 19.85
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17378494/ltcube_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits outfile=/lscratch/kocevski/17378494/expmap_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.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/17378494/ltcube_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits
.....................!
real 76.82
user 70.43
sys 4.39

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

Setting source of interest to:
4FGL J1136.4+6736 @ 174.118 67.6127

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits outfile=/lscratch/kocevski/17378494/cmap_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.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=174.118 yref=67.6127 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits outfile=/lscratch/kocevski/17378494/cmap_HighResolution_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.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=174.118 yref=67.6127 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.07
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17378494/Model_4FGL_J1136.4+6736_weekly_bin906.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/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits.....................!
real 84.54
user 81.75
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits', '/lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits', expMap='/lscratch/kocevski/17378494/expmap_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits', expCube='/lscratch/kocevski/17378494/ltcube_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17378494/Model_4FGL_J1136.4+6736_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1136.4+6736'

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  3.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
390        Index:  1.747e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17378494/ft1_filtered_4FGL_J1136.4+6736_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17378494/ft2_4FGL_J1136.4+6736_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17378494/expmap_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17378494/ltcube_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17378494/Model_4FGL_J1136.4+6736_weekly_bin906.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) = 19767.6858374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9518       1.0000          .0000       .10000E+07
     2 'norm      '    1.8318       1.0000          .0000       .10000E+07
     3 'norm      '    8.5401       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14651E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    148.35       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48691E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .55803       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11293       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15876E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .60410       1.0000          .0000       .10000E+07
    11 'norm      '    7.7872       1.0000          .0000       .10000E+07
    12 'norm      '    3.0970       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.5396       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24919E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6239       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.176       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.1519       1.0000          .0000       .10000E+07
    18 'norm      '    .59841E-07   1.0000          .0000       .10000E+07
    19 'norm      '    1.0850       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.0483       1.0000          .0000       .10000E+07
    21 'Prefactor '    .75495E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .23141E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6173       1.0000          .0000       .10000E+07
    24 'norm      '    2.1475       1.0000          .0000       .10000E+07
    25 'Prefactor '    .29944E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    10.501       1.0000          .0000       .10000E+07
    27 'Prefactor '    3.5517       1.0000          .0000       .10000E+07
    28 'Prefactor '    .22597E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    .93485       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19758.45     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     2319 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9928        7.6967        .47008E-07   -.35106E-03
   2  norm          1.8315        .46140        .18702E-08   -.21174E-02
   3  norm          8.6192        7.2618        .39438E-08    .16389E-03
   4  Prefactor     .27756E-09    5.7690        .58932E-07** at limit **
   5  Prefactor     148.35        24.551        .33813E-07    .12853E-02
   6  Prefactor      .0000        3.8081       -.63939E-08** at limit **
   7  norm          .55773        .71238        .27784E-07   -.62202E-03
   8  Prefactor     .55511E-10    22.375        .10961E-07** at limit **
   9  Prefactor      .0000        .63220        .45820E-09** at limit **
  10  norm          .60433        .36448        .63369E-08   -.13606E-02
  11  norm          7.7876        1.7677        .19837E-08   -.19032E-02
  12  norm          3.0863        1.9518        .61905E-08   -.87047E-03
  13  Prefactor     6.7358        14.021        .25830E-07   -.15047E-03
  14  Prefactor      .0000        2.0584       -.19393E-08** at limit **
  15  Prefactor     6.7031        7.5806       -.68011E-08    .12630E-03
  16  Prefactor     18.207        11.780        .12323E-07    .40730E-03
  17  Prefactor     2.1524        1.5038       -.11744E-09   -.68823E-04
  18  norm           .0000        1.6319       -.25429E-08** at limit **
  19  norm          1.0818        2.6162        .20680E-06   -.18853E-02
  20  Prefactor     2.0484        3.4878       -.47451E-07   -.47988E-02
  21  Prefactor     .44409E-09    5.4519       -.45605E-07** at limit **
  22  Prefactor      .0000        11.217       -.15310E-08** at limit **
  23  Prefactor     3.5837        10.871        .61053E-07    .14950E-03
  24  norm          2.1486        2.1381        .29480E-07   -.73293E-03
  25  Prefactor      .0000        7.2605       -.10016E-07** at limit **
  26  Prefactor     10.599        17.117        .15102E-07   -.30243E-03
  27  Prefactor     3.4830        13.162        .15854E-06    .14129E-02
  28  Prefactor     .55511E-10    11.703        .10239E-06** at limit **
  29  Normalizat    .93461        .94252E-01   -.66280E-06   -.21411E-03
  30  Prefactor     1.0587        .98091E-01   -.53650E-07   -.24005E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.9928
  norm       = 1.83152
  norm       = 8.61923
  Prefactor  = 2.77556e-10
  Prefactor  = 148.347
  Prefactor  = 0
  norm       = 0.557726
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.604328
  norm       = 7.78758
  norm       = 3.08633
  Prefactor  = 6.73578
  Prefactor  = 0
  Prefactor  = 6.70308
  Prefactor  = 18.2069
  Prefactor  = 2.15241
  norm       = 0
  norm       = 1.08179
  Prefactor  = 2.04835
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 3.58365
  norm       = 2.14856
  Prefactor  = 0
  Prefactor  = 10.5995
  Prefactor  = 3.48297
  Prefactor  = 5.55112e-11
  Normalizat = 0.934613
  Prefactor  = 1.05873
 **********
 **   18 **HESSE 
 **********

 FCN=   19758.45     FROM HESSE     STATUS=OK           594 CALLS     2913 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9928        7.7058        .20287E-04   -1.5668    
   2  norm          1.8315        .45961        .45836E-05   -1.5681    
   3  norm          8.6192        7.2611        .13711E-04   -1.5649    
   4  Prefactor     .27756E-09    5.8141        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     148.35        24.490        .32843E-05   -1.5464    
   6  Prefactor      .0000        3.8173        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55773        .69842        .13046E-04   -1.5693    
   8  Prefactor     .55511E-10    22.390        .27188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .63281        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .60433        .35527        .59220E-05   -1.5692    
  11  norm          7.7876        1.7508        .79201E-05   -1.5652    
  12  norm          3.0863        1.9379        .14069E-04   -1.5673    
  13  Prefactor     6.7358        13.985        .15688E-04   -1.5656    
  14  Prefactor      .0000        2.0670        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7031        7.5784        .15587E-04   -1.5656    
  16  Prefactor     18.207        11.782        .93859E-05   -1.5623    
  17  Prefactor     2.1524        1.5056        .13997E-04   -1.5679    
  18  norm           .0000        1.6328        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0818        2.6006        .30179E-04   -1.5687    
  20  Prefactor     2.0484        3.3753        .28883E-04   -1.5679    
  21  Prefactor     .44409E-09    5.5311        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        11.262        .33676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.5837        10.870        .21239E-04   -1.5670    
  24  norm          2.1486        2.1277        .19774E-04   -1.5679    
  25  Prefactor      .0000        7.2667        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.599        17.117        .12358E-04   -1.5643    
  27  Prefactor     3.4830        13.237        .21443E-04   -1.5671    
  28  Prefactor     .55511E-10    11.709        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .93461        .10799        .25081E-03   -.95254    
  30  Prefactor     1.0587        .11301        .25538E-03   -.90797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83238e-10
Minuit parameter uncertainties:
  1  7.70586
  2  0.459614
  3  7.26115
  4  8.29941e-05
  5  24.4904
  6  3.2693e-06
  7  0.698417
  8  5.7653e-05
  9  5.52389e-07
  10  0.355268
  11  1.75077
  12  1.93788
  13  13.985
  14  9.98841e-07
  15  7.57843
  16  11.7816
  17  1.50558
  18  1.47744e-06
  19  2.60057
  20  3.37529
  21  9.71031e-05
  22  7.99963e-06
  23  10.8702
  24  2.12765
  25  2.50234e-05
  26  17.1171
  27  13.2367
  28  4.46334e-05
  29  0.108011
  30  0.113035
Done.

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

Extracting fit parameters...

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  1.821e+01  1.178e+01  0.000e+00  1.000e+06 ( 1.000e-14)
390        Index:  1.747e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  1.059e+00  1.130e-01  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  9.346e-01  1.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 174.118 67.613
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.41e-08 +/- 9.11e-09
Energy Flux (Fixed Index): 1.98e-05 +/- 1.28e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19758.0277788
delta logL = 0.420638534888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19758.0200846
delta logL = 0.428332708398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.650       1.0000          .0000       .10000E+07
     2 'Index     '    2.1636       1.0000          .0000       10.000    
     3 'Normalizat'    .91988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0659       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+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=   19758.02     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      314 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.644        13.756        .11730E-04    .50397E-04
   2  Index         2.1637        .57126        .63172E-02    .74836E-04
   3  Normalizat    .91989        .10467        .25256E-03    .18005E-06
   4  Prefactor     1.0658        .11091        .25460E-03   -.53585E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6437
  Index      = 2.1637
  Normalizat = 0.919891
  Prefactor  = 1.06584
 **********
 **   18 **HESSE 
 **********

 FCN=   19758.02     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.644        11.040        .46921E-06   -1.5640    
   2  Index         2.1637        .45848        .25269E-03   -.60317    
   3  Normalizat    .91989        .10389        .10102E-04   -.95765    
   4  Prefactor     1.0658        .11061        .10184E-04   -.90566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35669e-14
Minuit parameter uncertainties:
  1  11.0405
  2  0.459434
  3  0.10391
  4  0.110637
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) = 19758.0200844
delta logL = 0.428332937605

Extracting fit parameters...

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  1.164e+01  1.104e+01  0.000e+00  1.000e+06 ( 1.000e-14)
390        Index:  2.164e+00  4.594e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  1.066e+00  1.106e-01  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  9.199e-01  1.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.06
Ra Dec: 174.118 67.613
Photon Index (Free Index): 2.16 +/- 0.46
Photon Flux (Free Index): 2.66e-08 +/- 1.99e-08
Energy Flux (Free Index): 1.28e-05 +/- 8.64e-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/17378494/cmap_HighResolution_786931201_787536001_4FGL_J1136.4+6736_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-08', energy_flux2='1.28e-05', photon_flux_error='9.11e-09', dlogl='4.28e-01', energy_flux='1.98e-05', photon_flux2='2.66e-08', job_status='DONE', time_completed='2025-12-16 02:35:31.838402', photon_index_error2='0.46', photon_index2='2.16', ts='5.20', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='8.64e-06', EG='0.93', time_epoch_completed='1765881331.84', return_code='0', job_id='17378494', GAL2='1.07', EG2='0.92', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='1.99e-08', ts2='6.06', photon_index='1.75' WHERE bin_id='906' AND source_name='4FGL J1136.4+6736' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:35:32 PST 2025

