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


Performing analysis on: 4FGL_J1154.0+6018_daily_bin2114
RA = 178.519, Dec = 60.3107
tmin = 787276801, 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='17372035', job_status='RUN', time_executed='2025-12-16 00:54:54.060814', time_epoch_executed='1765875294.06' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17372035

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17372035/ft1_4FGL_J1154.0+6018_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17372035/ft1_4FGL_J1154.0+6018_daily_bin2114.fits outfile=/lscratch/kocevski/17372035/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin2114.fits ra=178.519 dec=60.3107 rad=12.0 tmin=787276801.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 2.57
user 1.67
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.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/17372035/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.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.85
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 669

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17372035/ltcube_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.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/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits
.....................!
real 7.58
user 6.71
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17372035/ltcube_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits outfile=/lscratch/kocevski/17372035/expmap_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.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/17372035/ltcube_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits
.....................!
real 60.00
user 55.60
sys 3.54

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

Setting source of interest to:
4FGL J1154.0+6018 @ 178.519 60.3107

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits outfile=/lscratch/kocevski/17372035/cmap_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.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.519 yref=60.3107 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.96
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits outfile=/lscratch/kocevski/17372035/cmap_HighResolution_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.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.519 yref=60.3107 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.83
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17372035/Model_4FGL_J1154.0+6018_daily_bin2114.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/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits.....................!
real 23.69
user 22.54
sys 0.55

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits', '/lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits', expMap='/lscratch/kocevski/17372035/expmap_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits', expCube='/lscratch/kocevski/17372035/ltcube_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17372035/Model_4FGL_J1154.0+6018_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.0+6018'

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.841e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17372035/ft1_filtered_4FGL_J1154.0+6018_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17372035/ft2_4FGL_J1154.0+6018_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17372035/expmap_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17372035/ltcube_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17372035/Model_4FGL_J1154.0+6018_daily_bin2114.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) = 7242.18786316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.860       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20858E-04   1.0000          .0000       .10000E+07
     3 'norm      '    3.2102       1.0000          .0000       .10000E+07
     4 'norm      '    1.8194       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32410E-01   1.0000          .0000       .10000E+07
     6 'norm      '    8.1876       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47149E-01   1.0000          .0000       .10000E+07
     8 'norm      '    1.5822       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40587E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    35.826       1.0000          .0000       .10000E+07
    11 'norm      '    22.341       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2118       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11198E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    34.310       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.1107       1.0000          .0000       .10000E+07
    16 'norm      '    .36072E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8222       1.0000          .0000       .10000E+07
    18 'norm      '    6.5990       1.0000          .0000       .10000E+07
    19 'Prefactor '    34.252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71046E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .14445E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .29642       1.0000          .0000       .10000E+07
    23 'Prefactor '    10.973       1.0000          .0000       .10000E+07
    24 'norm      '    6.5763       1.0000          .0000       .10000E+07
    25 'norm      '    .86203E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .20686E-02   1.0000          .0000       .10000E+07
    27 'norm      '    2.7664       1.0000          .0000       .10000E+07
    28 'norm      '    .73260       1.0000          .0000       .10000E+07
    29 'Prefactor '    .30572E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    5.1795       1.0000          .0000       .10000E+07
    31 'Prefactor '    .16223E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0420       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .79639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7242.114     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     3283 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.725        2.7179        .51088E-06    .53480E-01
   2  Prefactor     .14100E-07    25.125        .83583E-05** at limit **
   3  norm          3.2091        1.8594       -.15199E-06    .10426E-02
   4  norm          1.8178        1.3350       -.41861E-07    .88549E-03
   5  Prefactor     .39246E-07    35.977       -.11877E-04** at limit **
   6  norm          8.1897        2.8670        .61976E-06    .82422E-02
   7  Prefactor     .62822E-06    2.3349        .19618E-05** at limit **
   8  norm          1.5778        1.7431        .84696E-06   -.31955E-02
   9  Prefactor     .14988E-08    65.794        .38187E-06** at limit **
  10  Prefactor     35.925        1.7539       -.23610E-06    .84792E-02
  11  norm          22.583        2.6142       -.52641E-06    .37250E-01
  12  Prefactor     1.1640        6.8815        .17976E-05    .59639E-03
  13  Prefactor      .0000        8.7117        .78507E-06** at limit **
  14  Prefactor     34.303        1.3182        .14319E-06    .13091E-03
  15  Prefactor     4.1112        2.8706       -.32412E-06    .47839E-02
  16  norm           .0000        2.7972        .51823E-06** at limit **
  17  Prefactor     1.8186        3.4100       -.27032E-06    .17636E-02
  18  norm          6.5763        4.3180       -.39781E-06    .49459E-02
  19  Prefactor     34.208        1.1318        .35118E-07   -.61123E-02
  20  Prefactor     .55511E-10    3.1009       -.99180E-06** at limit **
  21  Prefactor     .64171E-07    8.4322       -.37593E-05** at limit **
  22  norm          .29605        1.8271        .19930E-06    .39863E-02
  23  Prefactor     10.752        2.9045        .59153E-06    .35983E-01
  24  norm          6.5631        4.5952       -.31200E-06   -.11768E-02
  25  norm          .11102E-09    2.4127        .55997E-07** at limit **
  26  Prefactor      .0000        4.3561        .17227E-06** at limit **
  27  norm          2.7689        1.5316        .87488E-07    .12784E-01
  28  norm          .73352        1.9198        .16976E-06    .63043E-02
  29  Prefactor     .12212E-08    10.373       -.42731E-05** at limit **
  30  Prefactor     5.1843        6.7487       -.19945E-05   -.23423E-02
  31  Prefactor     .23870E-07    14.811        .56682E-06** at limit **
  32  Normalizat    1.0424        .17135        .18650E-04   -.15298E-03
  33  Prefactor     .79649        .20619       -.16303E-04    .24124E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 13.7245
  Prefactor  = 1.40998e-08
  norm       = 3.20909
  norm       = 1.81779
  Prefactor  = 3.92464e-08
  norm       = 8.18975
  Prefactor  = 6.2822e-07
  norm       = 1.57783
  Prefactor  = 1.4988e-09
  Prefactor  = 35.9249
  norm       = 22.5829
  Prefactor  = 1.16401
  Prefactor  = 0
  Prefactor  = 34.303
  Prefactor  = 4.11121
  norm       = 0
  Prefactor  = 1.81864
  norm       = 6.57628
  Prefactor  = 34.2081
  Prefactor  = 5.55112e-11
  Prefactor  = 6.41709e-08
  norm       = 0.296054
  Prefactor  = 10.7517
  norm       = 6.56314
  norm       = 1.11022e-10
  Prefactor  = 0
  norm       = 2.76888
  norm       = 0.733516
  Prefactor  = 1.22125e-09
  Prefactor  = 5.1843
  Prefactor  = 2.38698e-08
  Normalizat = 1.04236
  Prefactor  = 0.796489
 **********
 **   18 **HESSE 
 **********

 FCN=   7242.114     FROM HESSE     STATUS=OK           767 CALLS     4050 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.725        15.989        .26879E-03   -1.5634    
   2  Prefactor     .14100E-07    25.466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2091        1.8690        .56520E-03   -1.5672    
   4  norm          1.8178        1.3352        .77391E-03   -1.5681    
   5  Prefactor     .39246E-07    37.444        .16326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.1897        2.8726        .35014E-03   -1.5651    
   7  Prefactor     .62822E-06    40.324        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5778        1.8616        .84391E-03   -1.5683    
   9  Prefactor     .14988E-08    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     35.925        26.185        .16709E-03   -1.5588    
  11  norm          22.583        30.873        .21163E-03   -1.5613    
  12  Prefactor     1.1640        7.0307        .10270E-02   -1.5686    
  13  Prefactor      .0000        8.7353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.303        23.079        .17074E-03   -1.5591    
  15  Prefactor     4.1112        2.8792        .49697E-03   -1.5667    
  16  norm           .0000        2.8082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.8186        4.1971        .77318E-03   -1.5681    
  18  norm          6.5763        4.3332        .39041E-03   -1.5657    
  19  Prefactor     34.208        35.167        .17089E-03   -1.5591    
  20  Prefactor     .55511E-10    3.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .64171E-07    19.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .29605        1.8074        .10263E-02   -1.5697    
  23  Prefactor     10.752        16.807        .30220E-03   -1.5642    
  24  norm          6.5631        4.6019        .39109E-03   -1.5657    
  25  norm          .11102E-09    2.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        4.3229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7689        1.5271        .61166E-03   -1.5675    
  28  norm          .73352        1.9290        .58100E-03   -1.5691    
  29  Prefactor     .12212E-08    18.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     5.1843        6.7805        .44148E-03   -1.5662    
  31  Prefactor     .23870E-07    15.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0424        .15118        .41124E-01   -.91624    
  33  Prefactor     .79649        .17917        .68605E-01   -.99858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22445e-07
Minuit parameter uncertainties:
  1  15.9891
  2  0.00119921
  3  1.86901
  4  1.33522
  5  0.00242527
  6  2.87262
  7  0.0100663
  8  1.86157
  9  0.000631613
  10  26.185
  11  30.8731
  12  5.72149
  13  1.80506e-05
  14  23.0787
  15  2.8792
  16  1.37002e-05
  17  4.19707
  18  4.33322
  19  35.1675
  20  2.6069e-05
  21  0.00223841
  22  1.46301
  23  16.8069
  24  4.60187
  25  3.27335e-05
  26  3.96906e-07
  27  1.52707
  28  1.92898
  29  0.000305675
  30  6.78054
  31  0.00120457
  32  0.15124
  33  0.179301
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  6.576e+00  4.333e+00  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  7.965e-01  1.793e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.042e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 178.519 60.311
Photon Index (Fixed Index): 2.75 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 7.34e-06

TS (Fixed Index): 3.52
Ra Dec: 178.519 60.311
Photon Flux Upper Limit: 1.01668862785e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.61886867958e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17372035/likelihoodResults_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.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) = 7242.11394291
delta logL = 4.69585302199e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7242.11393939
delta logL = 8.21635785542e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5632       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7574       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7242.114     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      253 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5627        5.7433        .13659E-04    .14210E-01
   2  alpha         2.7573        .79738        .16084E-01    .11544E-03
   3  Normalizat    1.0422        .16841        .21654E-03   -.15028E-03
   4  Prefactor     .79659        .20693        .30352E-03   -.31905E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.56265
  alpha      = 2.75728
  Normalizat = 1.04225
  Prefactor  = 0.796588
 **********
 **   18 **HESSE 
 **********

 FCN=   7242.114     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5627        5.4497        .54636E-06   -1.5657    
   2  alpha         2.7573        .75725        .64337E-03    .10309    
   3  Normalizat    1.0422        .16832        .43309E-04   -.91628    
   4  Prefactor     .79659        .20687        .12141E-04   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08219e-09
Minuit parameter uncertainties:
  1  5.44973
  2  0.769466
  3  0.168411
  4  0.207073
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) = 7242.11393915
delta logL = 8.46171042213e-06

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  6.563e+00  5.450e+00  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  2.757e+00  7.695e-01  0.000e+00  5.000e+00 ( 1.000e+00)
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  7.966e-01  2.071e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.042e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.49
Ra Dec: 178.519 60.311
Photon Index (Free Index): 2.76 +/- 0.77
Photon Flux (Free Index): 4.33e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.11e-05 +/- 7.31e-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/17372035/cmap_HighResolution_787276801_787536001_4FGL_J1154.0+6018_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='1.11e-05', photon_flux_error='2.85e-08', dlogl='8.46e-06', energy_flux='1.11e-05', photon_flux2='4.33e-08', job_status='DONE', time_completed='2025-12-16 01:03:42.185521', photon_index_error2='0.77', photon_index2='2.76', ts='3.52', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='7.31e-06', EG='1.04', time_epoch_completed='1765875822.19', return_code='0', job_id='17372035', GAL2='0.80', EG2='1.04', return_code2='0', energy_flux_error='7.34e-06', photon_flux_error2='3.35e-08', ts2='3.49', photon_index='2.75' WHERE bin_id='2114' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:03:42 PST 2025

