/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_J1150.6+4154_daily_bin2114
RA = 177.656, Dec = 41.9096
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='17371984', job_status='RUN', time_executed='2025-12-16 00:54:45.548978', time_epoch_executed='1765875285.55' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17371984

Creating custom pfile directory:
/lscratch/kocevski/17371984/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/17371984/ft1_4FGL_J1150.6+4154_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/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17371984/ft1_4FGL_J1150.6+4154_daily_bin2114.fits outfile=/lscratch/kocevski/17371984/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin2114.fits ra=177.656 dec=41.9096 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.77
user 1.98
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_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/17371984/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_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.87
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 720

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17371984/ltcube_787276801_787536001_4FGL_J1150.6+4154_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/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits
.....................!
real 9.37
user 8.14
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17371984/ltcube_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits outfile=/lscratch/kocevski/17371984/expmap_787276801_787536001_4FGL_J1150.6+4154_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/17371984/ltcube_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits
.....................!
real 73.73
user 68.09
sys 4.34

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits outfile=/lscratch/kocevski/17371984/cmap_787276801_787536001_4FGL_J1150.6+4154_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=177.656 yref=41.9096 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits outfile=/lscratch/kocevski/17371984/cmap_HighResolution_787276801_787536001_4FGL_J1150.6+4154_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=177.656 yref=41.9096 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.00
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17371984/Model_4FGL_J1150.6+4154_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/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits....................!
real 31.07
user 27.97
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits', '/lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits', expMap='/lscratch/kocevski/17371984/expmap_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits', expCube='/lscratch/kocevski/17371984/ltcube_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17371984/Model_4FGL_J1150.6+4154_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17371984/ft1_filtered_4FGL_J1150.6+4154_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17371984/ft2_4FGL_J1150.6+4154_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17371984/expmap_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17371984/ltcube_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17371984/Model_4FGL_J1150.6+4154_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) = 7866.38841869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81224E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .99951       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.432       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12998E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46316E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .35672E-03   1.0000          .0000       .10000E+07
     7 'norm      '    14.820       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6356       1.0000          .0000       .10000E+07
     9 'Prefactor '    33.852       1.0000          .0000       .10000E+07
    10 'norm      '    .40346E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21708E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29007       1.0000          .0000       .10000E+07
    13 'norm      '    3.5465       1.0000          .0000       .10000E+07
    14 'norm      '    4.9795       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20983E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24708E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    25.930       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71860E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .27439E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.4435       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2135       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0508       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7866.363     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1706 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94650E-05    26.776       -.40004E-06** at limit **
   2  norm          .99921        .27587        .22316E-09   -.93701E-03
   3  Prefactor     30.548        12.886       -.51180E-07    .17058    
   4  Prefactor     .49960E-09    4.7855        .32586E-07** at limit **
   5  Prefactor     .40603E-05    19.976       -.30583E-06** at limit **
   6  norm          .99920E-09    5.8450       -.69824E-07** at limit **
   7  norm          14.886        1.0487        .38504E-08   -.12478E-02
   8  Prefactor     3.6390        2.7028        .13844E-07    .23747E-02
   9  Prefactor     33.681        1.0729        .76632E-09    .14170E-02
  10  norm          .16653E-09    1.6971       -.40266E-07** at limit **
  11  Prefactor     .94369E-09    7.5401       -.56919E-07** at limit **
  12  Prefactor     .12662E-05    12.852        .28208E-06** at limit **
  13  norm          3.5514        1.2781        .70755E-08    .84834E-02
  14  norm          4.9814        6.1640        .64739E-07    .32023E-02
  15  Prefactor     .10629E-05    13.676        .46715E-06** at limit **
  16  Prefactor     .34709E-05    45.551        .85263E-07** at limit **
  17  Prefactor     25.987        5.2386       -.16666E-07    .14999E-01
  18  Prefactor     .21659E-05    15.355        .34754E-06** at limit **
  19  norm          .16653E-09    1.8075       -.80752E-08** at limit **
  20  Prefactor     9.4362        1.6824       -.13470E-07   -.10827E-01
  21  Normalizat    1.2134        .18990        .33654E-06    .20506E-03
  22  Prefactor     1.0508        .22616        .11707E-06    .15427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.46498e-06
  norm       = 0.999208
  Prefactor  = 30.5476
  Prefactor  = 4.996e-10
  Prefactor  = 4.06025e-06
  norm       = 9.99201e-10
  norm       = 14.8859
  Prefactor  = 3.63901
  Prefactor  = 33.6811
  norm       = 1.66533e-10
  Prefactor  = 9.4369e-10
  Prefactor  = 1.26621e-06
  norm       = 3.55144
  norm       = 4.9814
  Prefactor  = 1.06287e-06
  Prefactor  = 3.47089e-06
  Prefactor  = 25.9868
  Prefactor  = 2.16588e-06
  norm       = 1.66533e-10
  Prefactor  = 9.4362
  Normalizat = 1.21344
  Prefactor  = 1.05075
 **********
 **   18 **HESSE 
 **********

 FCN=   7866.363     FROM HESSE     STATUS=OK           392 CALLS     2098 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94650E-05    37.530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .99921        .27659        .43748E-03   -1.5688    
   3  Prefactor     30.548        15.266        .18130E-03   -1.5597    
   4  Prefactor     .49960E-09    4.8047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .40603E-05    24.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99920E-09    5.8746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.886        25.417        .25991E-03   -1.5631    
   8  Prefactor     3.6390        2.8583        .52959E-03   -1.5670    
   9  Prefactor     33.681        32.749        .17189E-03   -1.5592    
  10  norm          .16653E-09    1.6813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94369E-09    7.4852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12662E-05    104.12        .10352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5514        1.2847        .53647E-03   -1.5670    
  14  norm          4.9814        6.1697        .45044E-03   -1.5663    
  15  Prefactor     .10629E-05    2.7050        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34709E-05    49.435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.987        20.793        .19642E-03   -1.5606    
  18  Prefactor     .21659E-05    20.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .16653E-09    1.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4362        17.611        .32587E-03   -1.5647    
  21  Normalizat    1.2134        .16265        .55145E-01   -.86189    
  22  Prefactor     1.0508        .19078        .70316E-01   -.91056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35554e-07
Minuit parameter uncertainties:
  1  0.037695
  2  0.276588
  3  15.2658
  4  9.84359e-05
  5  0.0199838
  6  0.000152695
  7  25.4169
  8  2.85825
  9  32.7487
  10  3.40457e-05
  11  0.000166854
  12  0.0229648
  13  1.2847
  14  6.16972
  15  0.00339117
  16  0.0261982
  17  20.7926
  18  0.0132852
  19  3.37327e-05
  20  17.6114
  21  0.162718
  22  0.190908
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  4.981e+00  6.170e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.051e+00  1.909e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.213e+00  1.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 6.34e-09 +/- 7.85e-09
Energy Flux (Fixed Index): 1.12e-05 +/- 1.39e-05

TS (Fixed Index): 1.47
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.21075931798e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68636622803e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17371984/likelihoodResults_787276801_787536001_4FGL_J1150.6+4154_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) = 7866.22445389
delta logL = 0.139017225618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7866.21895053
delta logL = 0.14452058213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3443       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1342       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0506       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+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=   7866.219     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      247 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3442        6.1484        .19321E-04    .27066E-02
   2  alpha         2.1353        1.0266        .20931E-01    .19712E-04
   3  Normalizat    1.2099        .18822        .24411E-03   -.83317E-04
   4  Prefactor     1.0506        .22584        .31105E-03   -.84247E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34422
  alpha      = 2.13529
  Normalizat = 1.20986
  Prefactor  = 1.05062
 **********
 **   18 **HESSE 
 **********

 FCN=   7866.219     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3442        5.8925        .77285E-06   -1.5666    
   2  alpha         2.1353        .98624        .83723E-03   -.14641    
   3  Normalizat    1.2099        .18827        .97645E-05   -.86299    
   4  Prefactor     1.0506        .22601        .12442E-04   -.91061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0752e-11
Minuit parameter uncertainties:
  1  5.89251
  2  1.01444
  3  0.18838
  4  0.226217
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) = 7866.21894978
delta logL = 0.144521338877

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  4.344e+00  5.893e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  2.135e+00  1.014e+00  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.051e+00  2.262e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.210e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 177.656 41.910
Photon Index (Free Index): 2.14 +/- 1.01
Photon Flux (Free Index): 1.24e-08 +/- 2.02e-08
Energy Flux (Free Index): 7.30e-06 +/- 9.36e-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/17371984/cmap_HighResolution_787276801_787536001_4FGL_J1150.6+4154_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-05', comment='SUCCESS', photon_flux='6.34e-09', energy_flux2='7.30e-06', photon_flux_error='7.85e-09', dlogl='1.45e-01', energy_flux='1.12e-05', photon_flux2='1.24e-08', job_status='DONE', time_completed='2025-12-16 01:02:50.632684', photon_index_error2='1.01', photon_index2='2.14', ts='1.47', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='3.21e-08', energy_flux_error2='9.36e-06', EG='1.21', time_epoch_completed='1765875770.63', return_code='0', job_id='17371984', GAL2='1.05', EG2='1.21', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='2.02e-08', ts2='1.76', photon_index='1.62' WHERE bin_id='2114' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:02:50 PST 2025

