/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_J1106.0+2813_weekly_bin906
RA = 166.502, Dec = 28.2254
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='17378437', job_status='RUN', time_executed='2025-12-16 02:15:07.034635', time_epoch_executed='1765880107.03' WHERE source_name='4FGL J1106.0+2813' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17378437

Creating custom pfile directory:
/lscratch/kocevski/17378437/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/17378437/ft1_4FGL_J1106.0+2813_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/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17378437/ft1_4FGL_J1106.0+2813_weekly_bin906.fits outfile=/lscratch/kocevski/17378437/ft1_filteredMKT_4FGL_J1106.0+2813_weekly_bin906.fits ra=166.502 dec=28.2254 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 5.48
user 4.76
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_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/17378437/ft1_filteredMKT_4FGL_J1106.0+2813_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_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 0.98
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1478

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17378437/ltcube_786931201_787536001_4FGL_J1106.0+2813_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/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits
.....................!
real 18.25
user 17.35
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17378437/ltcube_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits outfile=/lscratch/kocevski/17378437/expmap_786931201_787536001_4FGL_J1106.0+2813_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/17378437/ltcube_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits
.....................!
real 67.56
user 63.15
sys 3.43

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

Setting source of interest to:
4FGL J1106.0+2813 @ 166.502 28.2254

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits outfile=/lscratch/kocevski/17378437/cmap_786931201_787536001_4FGL_J1106.0+2813_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=166.502 yref=28.2254 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.74
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits outfile=/lscratch/kocevski/17378437/cmap_HighResolution_786931201_787536001_4FGL_J1106.0+2813_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=166.502 yref=28.2254 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.76
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17378437/Model_4FGL_J1106.0+2813_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/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits.....................!
real 49.03
user 47.42
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits', '/lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits', expMap='/lscratch/kocevski/17378437/expmap_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits', expCube='/lscratch/kocevski/17378437/ltcube_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17378437/Model_4FGL_J1106.0+2813_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.0+2813'

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.558e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17378437/ft1_filtered_4FGL_J1106.0+2813_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17378437/ft2_4FGL_J1106.0+2813_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17378437/expmap_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17378437/ltcube_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17378437/Model_4FGL_J1106.0+2813_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) = 16456.7618968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75769E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.773       1.0000          .0000       .10000E+07
     3 'Prefactor '    27.267       1.0000          .0000       .10000E+07
     4 'Prefactor '    .33085E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6088       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.432       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.1987       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6201       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83873       1.0000          .0000       .10000E+07
    10 'norm      '    1.1290       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9129       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.981       1.0000          .0000       .10000E+07
    13 'Prefactor '    .74148E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .57326E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.046       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.7519       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.3669       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.843       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.586       1.0000          .0000       .10000E+07
    20 'norm      '    6.1010       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.7702       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4418       1.0000          .0000       .10000E+07
    23 'Prefactor '    4.2760       1.0000          .0000       .10000E+07
    24 'Prefactor '    .78754       1.0000          .0000       .10000E+07
    25 'norm      '    14.009       1.0000          .0000       .10000E+07
    26 'Normalizat'    .83039       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16456.61     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1833 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25591E-07    10.155        .26201E-06** at limit **
   2  Prefactor     13.725        9.0068       -.39376E-06    .40524E-01
   3  Prefactor     27.277        6.0847        .45998E-06    .10551E-01
   4  Prefactor     .16653E-09    1.9504       -.89498E-07** at limit **
   5  Prefactor     4.6098        5.4439       -.14069E-05   -.87356E-02
   6  Prefactor     10.442        1.0307       -.51174E-07    .82702E-02
   7  Prefactor     4.1784        4.9579        .12671E-05    .81125E-02
   8  Prefactor     2.6384        1.1826        .23836E-06    .72299E-02
   9  Prefactor     .74356        1.1642       -.45094E-06    .10519E-01
  10  norm          1.1285        .19220       -.40814E-07   -.23603E-01
  11  Prefactor     2.9008        1.7370       -.10924E-07    .14596E-01
  12  Prefactor     26.077        6.0376        .47876E-06    .19609E-01
  13  Prefactor     .16720E-06    12.337       -.42586E-06** at limit **
  14  norm          .11102E-09    2.5330        .26131E-06** at limit **
  15  Prefactor     10.039        4.6645        .37055E-06   -.11022E-02
  16  Prefactor     5.7548        5.3942       -.11236E-05   -.76136E-02
  17  Prefactor     1.3541        1.5485       -.69028E-08   -.64676E-02
  18  Prefactor     21.150        2.6755        .62093E-07   -.35426E-02
  19  Prefactor     11.745        7.0102        .11475E-05   -.23569E-01
  20  norm          6.0964        1.9792       -.74528E-07   -.78157E-02
  21  Prefactor     2.6795        3.5852       -.20342E-06    .86396E-03
  22  Prefactor     1.4588        3.5721       -.96494E-07    .15784E-02
  23  Prefactor     4.2721        2.5715        .19620E-06   -.38577E-01
  24  Prefactor     .78628        .81743       -.37973E-07   -.34620E-02
  25  norm          14.002        1.7362       -.54565E-07    .46260E-02
  26  Normalizat    .83064        .12958        .64566E-06   -.26356E-03
  27  Prefactor     1.0512        .14098       -.24489E-07    .69288E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55906e-08
  Prefactor  = 13.7247
  Prefactor  = 27.2773
  Prefactor  = 1.66533e-10
  Prefactor  = 4.60984
  Prefactor  = 10.4415
  Prefactor  = 4.17839
  Prefactor  = 2.63836
  Prefactor  = 0.743561
  norm       = 1.12852
  Prefactor  = 2.90077
  Prefactor  = 26.077
  Prefactor  = 1.672e-07
  norm       = 1.11022e-10
  Prefactor  = 10.0393
  Prefactor  = 5.75482
  Prefactor  = 1.35412
  Prefactor  = 21.1503
  Prefactor  = 11.7449
  norm       = 6.09635
  Prefactor  = 2.67953
  Prefactor  = 1.45878
  Prefactor  = 4.27212
  Prefactor  = 0.786278
  norm       = 14.0024
  Normalizat = 0.83064
  Prefactor  = 1.05123
 **********
 **   18 **HESSE 
 **********

 FCN=   16456.61     FROM HESSE     STATUS=OK           560 CALLS     2393 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25591E-07    10.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.725        17.926        .26033E-03   -1.5634    
   3  Prefactor     27.277        6.1299        .19154E-03   -1.5604    
   4  Prefactor     .16653E-09    1.8971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6098        6.2990        .46860E-03   -1.5665    
   6  Prefactor     10.442        9.5546        .30996E-03   -1.5643    
   7  Prefactor     4.1784        5.1094        .49158E-03   -1.5667    
   8  Prefactor     2.6384        5.5568        .62983E-03   -1.5675    
   9  Prefactor     .74356        22.504        .50092E-03   -1.5691    
  10  norm          1.1285        .19389        .50587E-03   -1.5687    
  11  Prefactor     2.9008        1.8205        .59503E-03   -1.5674    
  12  Prefactor     26.077        9.7136        .19623E-03   -1.5606    
  13  Prefactor     .16720E-06    16.092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    2.5336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.039        4.6781        .31590E-03   -1.5645    
  16  Prefactor     5.7548        5.4489        .41856E-03   -1.5660    
  17  Prefactor     1.3541        1.6534        .93276E-03   -1.5685    
  18  Prefactor     21.150        18.634        .21910E-03   -1.5616    
  19  Prefactor     11.745        9.6079        .29406E-03   -1.5639    
  20  norm          6.0964        2.0162        .40623E-03   -1.5659    
  21  Prefactor     2.6795        7.6074        .61122E-03   -1.5675    
  22  Prefactor     1.4588        3.6764        .89795E-03   -1.5684    
  23  Prefactor     4.2721        8.8297        .48698E-03   -1.5667    
  24  Prefactor     .78628        .83256        .53869E-03   -1.5690    
  25  norm          14.002        1.7469        .26734E-03   -1.5633    
  26  Normalizat    .83064        .11510        .44006E-01   -.98942    
  27  Prefactor     1.0512        .12137        .63164E-01   -.91041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04541e-07
Minuit parameter uncertainties:
  1  0.0010397
  2  17.9263
  3  6.12987
  4  3.62135e-05
  5  6.29896
  6  9.55466
  7  5.10941
  8  5.55683
  9  8.18124
  10  0.193893
  11  1.82055
  12  9.71358
  13  0.00328066
  14  3.11077e-05
  15  4.67811
  16  5.44892
  17  1.65337
  18  18.634
  19  9.60792
  20  2.01621
  21  7.60744
  22  3.67643
  23  8.82971
  24  0.832564
  25  1.74694
  26  0.115134
  27  0.121398
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  2.901e+00  1.821e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.051e+00  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  8.306e-01  1.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.66
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 2.15e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 7.29e-06

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) = 16456.3672112
delta logL = 0.245194451345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16456.348487
delta logL = 0.263918719287

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16456.35     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      252 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8951        14.137        .75531E-03    .13046E-01
   2  Index         2.9108        2.8988        .14637        .30909E-03
   3  Normalizat    .80369        .37648E-01    .62954E-01    .51799E-04
   4  Prefactor     1.0733        .37333E-01    .62611E-01    .22630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89507
  Index      = 2.91075
  Normalizat = 0.803693
  Prefactor  = 1.07327
 **********
 **   18 **HESSE 
 **********

 FCN=   16456.35     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8951        3.2377        .90991E-05   -1.5680    
   2  Index         2.9108        1.2835        .83513E-02   -.43108    
   3  Normalizat    .80369        .13791        .27847E-03   -.99932    
   4  Prefactor     1.0733        .15105        .27691E-03   -.90325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72093e-10
Minuit parameter uncertainties:
  1  3.23766
  2  1.30119
  3  0.137975
  4  0.151107
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) = 16456.3484869
delta logL = 0.263918784145

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.895e+00  3.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.911e+00  1.301e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.073e+00  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  8.037e-01  1.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.22
Ra Dec: 166.502 28.225
Photon Index (Free Index): 2.91 +/- 1.30
Photon Flux (Free Index): 5.08e-08 +/- 3.72e-08
Energy Flux (Free Index): 1.06e-05 +/- 6.35e-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/17378437/cmap_HighResolution_786931201_787536001_4FGL_J1106.0+2813_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.06e-05', photon_flux_error='2.15e-08', dlogl='2.64e-01', energy_flux='1.16e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2025-12-16 02:26:47.351225', photon_index_error2='1.30', photon_index2='2.91', ts='4.66', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='6.35e-06', EG='0.83', time_epoch_completed='1765880807.35', return_code='0', job_id='17378437', GAL2='1.07', EG2='0.80', return_code2='0', energy_flux_error='7.29e-06', photon_flux_error2='3.72e-08', ts2='5.22', photon_index='2.37' WHERE bin_id='906' AND source_name='4FGL J1106.0+2813' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:26:47 PST 2025

