/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_J1129.1+3703_weekly_bin906
RA = 172.296, Dec = 37.0644
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='17378472', job_status='RUN', time_executed='2025-12-16 02:15:35.113072', time_epoch_executed='1765880135.11' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17378472

Creating custom pfile directory:
/lscratch/kocevski/17378472/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/17378472/ft1_4FGL_J1129.1+3703_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/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17378472/ft1_4FGL_J1129.1+3703_weekly_bin906.fits outfile=/lscratch/kocevski/17378472/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin906.fits ra=172.296 dec=37.0644 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.32
user 4.48
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_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/17378472/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_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.72
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1583

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17378472/ltcube_786931201_787536001_4FGL_J1129.1+3703_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/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits
.....................!
real 16.64
user 15.87
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17378472/ltcube_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits outfile=/lscratch/kocevski/17378472/expmap_786931201_787536001_4FGL_J1129.1+3703_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/17378472/ltcube_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits
.....................!
real 61.58
user 57.44
sys 3.42

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits outfile=/lscratch/kocevski/17378472/cmap_786931201_787536001_4FGL_J1129.1+3703_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=172.296 yref=37.0644 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.71
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits outfile=/lscratch/kocevski/17378472/cmap_HighResolution_786931201_787536001_4FGL_J1129.1+3703_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=172.296 yref=37.0644 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.81
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17378472/Model_4FGL_J1129.1+3703_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/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits.....................!
real 46.30
user 44.76
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits', '/lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits', expMap='/lscratch/kocevski/17378472/expmap_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits', expCube='/lscratch/kocevski/17378472/ltcube_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17378472/Model_4FGL_J1129.1+3703_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17378472/ft1_filtered_4FGL_J1129.1+3703_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17378472/ft2_4FGL_J1129.1+3703_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17378472/expmap_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17378472/ltcube_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17378472/Model_4FGL_J1129.1+3703_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) = 17364.7868475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.403       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71890       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4536       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26222E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4724       1.0000          .0000       .10000E+07
     6 'norm      '    1.1101       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5238       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.138       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10303E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .49650E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1799       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.359       1.0000          .0000       .10000E+07
    14 'norm      '    6.0251       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4150       1.0000          .0000       .10000E+07
    16 'Prefactor '    .75324       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16907       1.0000          .0000       .10000E+07
    18 'norm      '    3.0940       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2773       1.0000          .0000       .10000E+07
    20 'norm      '    6.2404       1.0000          .0000       .10000E+07
    21 'Prefactor '    .88214E-03   1.0000          .0000       .10000E+07
    22 'norm      '    13.596       1.0000          .0000       .10000E+07
    23 'Prefactor '    .22032E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    .96439       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0101       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17364.63     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1678 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.702        7.1241       -.84473E-06    .66773E-03
   2  Prefactor     .71726        2.1790        .61770E-07   -.12485E-02
   3  Prefactor     9.4514        1.6756        .11141E-06    .38995E-01
   4  Prefactor     .32752E-08    15.101       -.40075E-06** at limit **
   5  Prefactor     1.5002        4.7046       -.16479E-06   -.20439E-02
   6  norm          1.1101        .19121        .16063E-08    .29093E-01
   7  Prefactor     2.5228        1.6950        .73844E-07   -.41934E-03
   8  Prefactor     24.076        8.6663        .52685E-07   -.62696E-01
   9  Prefactor     .55178E-06    12.206       -.13699E-05** at limit **
  10  norm          .16653E-09    2.3178        .81437E-07** at limit **
  11  Prefactor     1.1894        1.5228       -.92813E-07   -.13235E-02
  12  Prefactor     20.982        1.3160       -.10123E-07   -.14538E-03
  13  Prefactor     10.391        3.1082        .79958E-07   -.11778E-02
  14  norm          6.0290        1.8741       -.14954E-06   -.48954E-02
  15  Prefactor     1.4364        6.8054        .17049E-06    .15418E-02
  16  Prefactor     .72171        4.1682       -.23933E-07   -.41995E-02
  17  Prefactor     .31642E-05    352.00       -.77249E-05** at limit **
  18  norm          3.0964        .76113       -.20829E-06   -.56308E-02
  19  Prefactor     4.2777        5.0957       -.95855E-06   -.88530E-01
  20  norm          6.2453        4.7057        .68671E-07    .15553E-02
  21  Prefactor     .31802E-06    9.2579        .14596E-05** at limit **
  22  norm          13.595        1.4119        .92112E-08    .19510E-01
  23  Prefactor     .11102E-09    3.3749        .16243E-06** at limit **
  24  Normalizat    .96460        .12490       -.26858E-05    .10330E-03
  25  Prefactor     1.0099        .14459        .14683E-05    .16944E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7019
  Prefactor  = 0.717255
  Prefactor  = 9.4514
  Prefactor  = 3.27516e-09
  Prefactor  = 1.50016
  norm       = 1.11006
  Prefactor  = 2.52277
  Prefactor  = 24.0756
  Prefactor  = 5.51781e-07
  norm       = 1.66533e-10
  Prefactor  = 1.18936
  Prefactor  = 20.982
  Prefactor  = 10.3912
  norm       = 6.02902
  Prefactor  = 1.43641
  Prefactor  = 0.721715
  Prefactor  = 3.16425e-06
  norm       = 3.09639
  Prefactor  = 4.27772
  norm       = 6.24529
  Prefactor  = 3.18023e-07
  norm       = 13.595
  Prefactor  = 1.11022e-10
  Normalizat = 0.964598
  Prefactor  = 1.00991
 **********
 **   18 **HESSE 
 **********

 FCN=   17364.63     FROM HESSE     STATUS=OK           495 CALLS     2173 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.702        15.738        .31040E-03   -1.5643    
   2  Prefactor     .71726        2.1957        .59187E-03   -1.5691    
   3  Prefactor     9.4514        8.8695        .32570E-03   -1.5646    
   4  Prefactor     .32752E-08    15.238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5002        4.7887        .88508E-03   -1.5683    
   6  norm          1.1101        .19108        .51604E-03   -1.5687    
   7  Prefactor     2.5228        1.7175        .64276E-03   -1.5676    
   8  Prefactor     24.076        9.3670        .20359E-03   -1.5610    
   9  Prefactor     .55178E-06    14.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16653E-09    2.3166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1894        1.6345        .10523E-02   -1.5686    
  12  Prefactor     20.982        18.555        .21720E-03   -1.5616    
  13  Prefactor     10.391        9.1798        .31106E-03   -1.5643    
  14  norm          6.0290        1.9333        .40882E-03   -1.5659    
  15  Prefactor     1.4364        8.9635        .90984E-03   -1.5684    
  16  Prefactor     .72171        4.3626        .56488E-03   -1.5691    
  17  Prefactor     .31642E-05    13.342        .14990E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.0964        .80865        .57630E-03   -1.5673    
  19  Prefactor     4.2777        9.2396        .48691E-03   -1.5667    
  20  norm          6.2453        4.7088        .40161E-03   -1.5658    
  21  Prefactor     .31802E-06    11.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          13.595        1.4139        .27139E-03   -1.5634    
  23  Prefactor     .11102E-09    3.3460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96460        .10783        .45719E-01   -.94226    
  25  Prefactor     1.0099        .12376        .67879E-01   -.92400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11353e-06
Minuit parameter uncertainties:
  1  15.7385
  2  2.19574
  3  8.86949
  4  0.000448015
  5  4.78871
  6  0.191083
  7  1.71753
  8  9.367
  9  0.00571139
  10  3.97651e-05
  11  1.63449
  12  18.5546
  13  9.17984
  14  1.93327
  15  7.17646
  16  3.54882
  17  0.0129952
  18  0.808648
  19  9.23967
  20  4.70878
  21  0.00387093
  22  1.41386
  23  3.54425e-05
  24  0.10785
  25  0.12379
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  2.098e+01  1.855e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  1.010e+00  1.238e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  9.646e-01  1.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.59
Ra Dec: 172.296 37.064
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 1.55e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 7.36e-06 +/- 6.51e-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) = 17364.0532181
delta logL = 0.581280298193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17364.03768
delta logL = 0.596818420938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.212       1.0000          .0000       .10000E+07
     2 'Index     '    1.4789       1.0000          .0000       10.000    
     3 'Normalizat'    .97097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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=   17364.04     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      252 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.226        24.648        .79680E-05   -.87891E-04
   2  Index         1.4790        .62280        .16085E-01   -.17854E-03
   3  Normalizat    .97097        .12071        .25810E-03   -.75056E-04
   4  Prefactor     1.0085        .14364        .30060E-03    .12496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.226
  Index      = 1.47901
  Normalizat = 0.97097
  Prefactor  = 1.0085
 **********
 **   18 **HESSE 
 **********

 FCN=   17364.04     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.226        25.066        .15936E-05   -1.5608    
   2  Index         1.4790        .63362        .32170E-02   -.78129    
   3  Normalizat    .97097        .12081        .10324E-04   -.94009    
   4  Prefactor     1.0085        .14378        .12024E-04   -.92447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71944e-11
Minuit parameter uncertainties:
  1  25.0658
  2  0.637031
  3  0.120849
  4  0.143833
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) = 17364.0376798
delta logL = 0.596818609065

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  2.523e+01  2.507e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  1.479e+00  6.370e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  1.009e+00  1.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  9.710e-01  1.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.77
Ra Dec: 172.296 37.064
Photon Index (Free Index): 1.48 +/- 0.64
Photon Flux (Free Index): 5.08e-09 +/- 7.71e-09
Energy Flux (Free Index): 1.73e-05 +/- 2.25e-05

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/17378472/cmap_HighResolution_786931201_787536001_4FGL_J1129.1+3703_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.55e-08', energy_flux2='1.73e-05', photon_flux_error='1.37e-08', dlogl='5.97e-01', energy_flux='7.36e-06', photon_flux2='5.08e-09', job_status='DONE', time_completed='2025-12-16 02:27:33.283761', photon_index_error2='0.64', photon_index2='1.48', ts='4.59', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.25e-05', EG='0.96', time_epoch_completed='1765880853.28', return_code='0', job_id='17378472', GAL2='1.01', EG2='0.97', return_code2='0', energy_flux_error='6.51e-06', photon_flux_error2='7.71e-09', ts2='5.77', photon_index='2.17' WHERE bin_id='906' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:27:33 PST 2025

