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


Performing analysis on: 4FGL_J1153.4+4931_weekly_bin927
RA = 178.35, Dec = 49.5169
tmin = 799632001, tmax = 800236801
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='26506289', job_status='RUN', time_executed='2026-05-12 01:57:54.107522', time_epoch_executed='1778576274.11' WHERE source_name='4FGL J1153.4+4931' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26506289

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26506289/ft1_4FGL_J1153.4+4931_weekly_bin927.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26506289/ft1_4FGL_J1153.4+4931_weekly_bin927.fits outfile=/lscratch/kocevski/26506289/ft1_filteredMKT_4FGL_J1153.4+4931_weekly_bin927.fits ra=178.35 dec=49.5169 rad=12.0 tmin=799632001.0 tmax=800236801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.54
user 4.62
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.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/26506289/ft1_filteredMKT_4FGL_J1153.4+4931_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.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.35
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 2417

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26506289/ltcube_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.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/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits
.....................!
real 36.82
user 35.37
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26506289/ltcube_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits outfile=/lscratch/kocevski/26506289/expmap_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.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/26506289/ltcube_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits
.....................!
real 77.89
user 72.03
sys 4.18

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

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits outfile=/lscratch/kocevski/26506289/cmap_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.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=178.35 yref=49.5169 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.44
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits outfile=/lscratch/kocevski/26506289/cmap_HighResolution_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.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=178.35 yref=49.5169 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.74
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26506289/Model_4FGL_J1153.4+4931_weekly_bin927.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/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits.....................!
real 83.92
user 80.09
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits', '/lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits', expMap='/lscratch/kocevski/26506289/expmap_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits', expCube='/lscratch/kocevski/26506289/ltcube_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26506289/Model_4FGL_J1153.4+4931_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.4+4931'

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26506289/ft1_filtered_4FGL_J1153.4+4931_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26506289/ft2_4FGL_J1153.4+4931_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26506289/expmap_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26506289/ltcube_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26506289/Model_4FGL_J1153.4+4931_weekly_bin927.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) = 26187.0596153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.963       1.0000          .0000       .10000E+07
     3 'norm      '    .88131       1.0000          .0000       .10000E+07
     4 'Prefactor '    46.026       1.0000          .0000       .10000E+07
     5 'Prefactor '    .89838E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .34932E-04   1.0000          .0000       .10000E+07
     7 'norm      '    13.940       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42584       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.827       1.0000          .0000       .10000E+07
    10 'norm      '    16.501       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5345       1.0000          .0000       .10000E+07
    12 'norm      '    .54788       1.0000          .0000       .10000E+07
    13 'norm      '    2.6316       1.0000          .0000       .10000E+07
    14 'norm      '    8.5653       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13914E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .69919       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.942       1.0000          .0000       .10000E+07
    19 'Prefactor '    .30605       1.0000          .0000       .10000E+07
    20 'norm      '    .12840       1.0000          .0000       .10000E+07
    21 'norm      '    .12859E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.5709       1.0000          .0000       .10000E+07
    23 'Prefactor '    .35475       1.0000          .0000       .10000E+07
    24 'norm      '    4.0743       1.0000          .0000       .10000E+07
    25 'Prefactor '    .16897E-05   1.0000          .0000       .10000E+07
    26 'norm      '    2.0388       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1586       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26187.00     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2577 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.082        5.6541       -.14053E-05    .15346E-01
   2  Prefactor     15.496        36.374        .31632E-05   -.75273E-03
   3  norm          .88175        .74982        .19762E-06    .12729E-02
   4  Prefactor     46.548        17.124       -.21823E-05    .67089E-01
   5  Prefactor     .55511E-10    2.5183       -.52516E-06** at limit **
   6  Prefactor     .55511E-10    8.3963        .11927E-05** at limit **
   7  norm          13.934        1.8977       -.25675E-06    .18480E-01
   8  Prefactor     .42452        1.6987       -.28735E-06   -.24876E-02
   9  Prefactor     20.871        11.359        .19793E-05    .25063E-02
  10  norm          16.488        2.9062        .10669E-06   -.44944E-01
  11  Prefactor     8.9780        19.841       -.61957E-05   -.25647E-01
  12  norm          .56167        1.9704       -.21970E-05   -.16424E-01
  13  norm          2.6291        .61489        .11834E-06   -.57340E-01
  14  norm          8.5652        4.0454        .89611E-07   -.91504E-02
  15  Prefactor     1.3701        1.2240       -.24030E-06    .80727E-02
  16  Prefactor     .11102E-08    17.643        .11549E-05** at limit **
  17  norm          .69201        2.1159       -.16987E-06   -.13297E-02
  18  Prefactor     15.959        8.1469        .91488E-06   -.13831E-01
  19  Prefactor     .34161        7.4530        .54085E-06   -.19564E-02
  20  norm          .13038        .55032        .15652E-06** at limit **
  21  norm           .0000        .95482       -.58870E-07** at limit **
  22  Prefactor     9.5844        7.9596        .48905E-06    .30846E-02
  23  Prefactor     .36191        2.8847        .65974E-07    .23386E-03
  24  norm          4.0752        1.4543       -.42006E-07    .94792E-02
  25  Prefactor     .22204E-09    2.8954       -.14989E-06** at limit **
  26  norm          2.0403        .86533        .35350E-07   -.94290E-02
  27  Normalizat    1.1579        .97676E-01   -.73684E-05    .10380E-04
  28  Prefactor     .91183        .11650        .62574E-05   -.21521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0816
  Prefactor  = 15.4963
  norm       = 0.881755
  Prefactor  = 46.5484
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 13.9341
  Prefactor  = 0.42452
  Prefactor  = 20.8707
  norm       = 16.4876
  Prefactor  = 8.97801
  norm       = 0.561667
  norm       = 2.62906
  norm       = 8.5652
  Prefactor  = 1.37008
  Prefactor  = 1.11022e-09
  norm       = 0.692009
  Prefactor  = 15.9595
  Prefactor  = 0.341608
  norm       = 0.130382
  norm       = 0
  Prefactor  = 9.58439
  Prefactor  = 0.361913
  norm       = 4.07523
  Prefactor  = 2.22045e-10
  norm       = 2.04029
  Normalizat = 1.15791
  Prefactor  = 0.911827
 **********
 **   18 **HESSE 
 **********

 FCN=   26187.00     FROM HESSE     STATUS=OK           603 CALLS     3180 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.082        37.874        .28639E-03   -1.5638    
   2  Prefactor     15.496        36.742        .26779E-03   -1.5629    
   3  norm          .88175        .76464        .47061E-03   -1.5689    
   4  Prefactor     46.548        27.733        .14741E-03   -1.5572    
   5  Prefactor     .55511E-10    2.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    8.3871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.934        12.761        .26801E-03   -1.5633    
   8  Prefactor     .42452        1.7393        .86552E-03   -1.5695    
   9  Prefactor     20.871        11.594        .21919E-03   -1.5617    
  10  norm          16.488        2.9309        .24629E-03   -1.5627    
  11  Prefactor     8.9780        24.622        .34290E-03   -1.5648    
  12  norm          .56167        9.8148        .74032E-03   -1.5693    
  13  norm          2.6291        .63211        .62834E-03   -1.5676    
  14  norm          8.5652        4.0403        .34228E-03   -1.5649    
  15  Prefactor     1.3701        1.2637        .93273E-03   -1.5685    
  16  Prefactor     .11102E-08    17.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .69201        2.2673        .60774E-03   -1.5691    
  18  Prefactor     15.959        8.8348        .25058E-03   -1.5628    
  19  Prefactor     .34161        1.9155        .64395E-02   -1.5696    
  20  norm          .13038        .39087        .29829E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .95488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.5844        7.9758        .32368E-03   -1.5646    
  23  Prefactor     .36191        1.2634        .52661E-02   -1.5696    
  24  norm          4.0752        1.4832        .49925E-03   -1.5668    
  25  Prefactor     .22204E-09    2.8924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.0403        .86697        .72400E-03   -1.5679    
  27  Normalizat    1.1579        .85240E-01    .35996E-01   -.87914    
  28  Prefactor     .91183        .10068        .69189E-01   -.95729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7256e-05
Minuit parameter uncertainties:
  1  37.8744
  2  36.7429
  3  0.764639
  4  27.7326
  5  1.90392e-05
  6  4.79817e-05
  7  12.7615
  8  1.71858
  9  11.5935
  10  2.93088
  11  24.6225
  12  4.69582
  13  0.632106
  14  4.04028
  15  1.26372
  16  0.000280577
  17  2.26729
  18  8.83482
  19  1.61784
  20  0.390869
  21  7.56483e-07
  22  7.97577
  23  1.26341
  24  1.48315
  25  5.34004e-05
  26  0.866974
  27  0.0852498
  28  0.100705
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.370e+00  1.264e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  9.118e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.158e+00  8.525e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 178.350 49.517
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.34e-08 +/- 1.24e-08
Energy Flux (Fixed Index): 4.33e-06 +/- 3.99e-06

TS (Fixed Index): 2.14
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 3.91265580458e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00302580832181 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26506289/likelihoodResults_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.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) = 26187.0017394
delta logL = 0.000557180537726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26187.0016962
delta logL = 0.000600311090238

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26187.00     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3801        24.694        .92624E-03    .24697E-01
   2  Index         2.3915        3.3968        .25032        .12714E-03
   3  Normalizat    1.1582        .23450E-01    .36008E-01   -.21325E-04
   4  Prefactor     .91161        .27860E-01    .69196E-01    .10609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38007
  Index      = 2.39149
  Normalizat = 1.15821
  Prefactor  = 0.911613
 **********
 **   18 **HESSE 
 **********

 FCN=   26187.00     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3801        1.2532        .16048E-04   -1.5684    
   2  Index         2.3915        .59809        .14864E-01   -.54885    
   3  Normalizat    1.1582        .93431E-01    .22144E-03   -.87904    
   4  Prefactor     .91161        .11595        .30612E-03   -.95736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21317e-09
Minuit parameter uncertainties:
  1  1.25317
  2  0.600065
  3  0.0934443
  4  0.11598
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) = 26187.0016962
delta logL = 0.00060031794419

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.380e+00  1.253e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.391e+00  6.001e-01  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  9.116e-01  1.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.158e+00  9.344e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 178.350 49.517
Photon Index (Free Index): 2.39 +/- 0.60
Photon Flux (Free Index): 1.32e-08 +/- 1.33e-08
Energy Flux (Free Index): 4.36e-06 +/- 3.97e-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/26506289/cmap_HighResolution_799632001_800236801_4FGL_J1153.4+4931_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-03', comment='SUCCESS', photon_flux='1.34e-08', energy_flux2='4.36e-06', photon_flux_error='1.24e-08', dlogl='6.00e-04', energy_flux='4.33e-06', photon_flux2='1.32e-08', job_status='DONE', time_completed='2026-05-12 02:20:43.458138', photon_index_error2='0.60', photon_index2='2.39', ts='2.14', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='3.97e-06', EG='1.16', time_epoch_completed='1778577643.46', return_code='0', job_id='26506289', GAL2='0.91', EG2='1.16', return_code2='0', energy_flux_error='3.99e-06', photon_flux_error2='1.33e-08', ts2='2.14', photon_index='2.41' WHERE bin_id='927' AND source_name='4FGL J1153.4+4931' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 02:20:43 PDT 2026

