number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.5+3034_weekly_bin938
RA = 172.38, Dec = 30.5789
tmin = 806284801, tmax = 806889601
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='33430811', job_status='RUN', time_executed='2026-07-28 09:05:16.360539', time_epoch_executed='1785254716.36' WHERE source_name='4FGL J1129.5+3034' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33430811

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33430811/ft1_4FGL_J1129.5+3034_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33430811/ft1_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33430811/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits ra=172.38 dec=30.5789 rad=12.0 tmin=806284801.0 tmax=806889601.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.38
user 4.60
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.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/33430811/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.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.84
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" o/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).

V02
Working on...
/lscratch/kocevski/33430721/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits.....................!
real 39.49
user 37.87
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33430721/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits', '/lscratch/kocevski/33430721/ft2_4FGL_J1129.5+3034_weekly_bin938.fits', expMap='/lscratch/kocevski/33430721/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', expCube='/lscratch/kocevski/33430721/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33430721/Model_4FGL_J1129.5+3034_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33430721/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33430721/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33430721/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33430721/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33430721/Model_4FGL_J1129.5+3034_weekly_bin938.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) = 14678.2526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13366E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0558       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15405E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.098       1.0000          .0000       .10000E+07
     5 'norm      '    2.0845       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6778       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.487       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48759E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .23172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71193E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86061E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26183E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.8551       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6687       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23235       1.0000          .0000       .10000E+07
    23 'norm      '    9.0938       1.0000          .0000       .10000E+07
    24 'norm      '    5.2986       1.0000          .0000       .10000E+07
    25 'Prefactor '    .14315E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19984E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6070       1.0000          .000_V02
Working on...
/lscratch/kocevski/33430614/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits.....................!
real 43.81
user 41.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33430614/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits', '/lscratch/kocevski/33430614/ft2_4FGL_J1129.5+3034_weekly_bin938.fits', expMap='/lscratch/kocevski/33430614/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', expCube='/lscratch/kocevski/33430614/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33430614/Model_4FGL_J1129.5+3034_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33430614/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33430614/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33430614/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33430614/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33430614/Model_4FGL_J1129.5+3034_weekly_bin938.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) = 14678.2526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13366E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0558       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15405E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.098       1.0000          .0000       .10000E+07
     5 'norm      '    2.0845       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6778       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.487       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48759E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .23172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71193E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86061E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26183E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.8551       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6687       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23235       1.0000          .0000       .10000E+07
    23 'norm      '    9.0938       1.0000          .0000       .10000E+07
    24 'norm      '    5.2986       1.0000          .0000       .10000E+07
    25 'Prefactor '    .14315E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19984E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6070       1.0000          .000       .10000E+07
    28 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1560 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    7.7094        .72289E-07** at limit **
   2  Prefactor     5.0077        5.8810       -.12100E-06   -.24613E-02
   3  Prefactor     .15943E-06    2.4205        .98922E-07** at limit **
   4  Prefactor     16.249        2.5598       -.17897E-07   -.39721E-02
   5  norm          2.0844        .26576       -.31745E-08   -.54999E-02
   6  Prefactor     1.6781        1.7616        .39421E-07    .18244E-02
   7  Prefactor     19.475        6.2379        .12499E-07   -.27396E-01
   8  Prefactor     .99809E-07    2.6415        .47597E-07** at limit **
   9  norm          .39913E-07    3.6810       -.10654E-07** at limit **
  10  Prefactor     14.901        5.1148       -.22892E-07   -.11411E-02
  11  Prefactor     1.9067        5.6999        .65479E-07    .49621E-03
  12  Prefactor     .55511E-10    2.7588       -.23914E-06** at limit **
  13  Prefactor     24.683        21.656        .14472E-06   -.38715E-01
  14  Prefactor     .11172E-05    4.7308       -.18905E-07** at limit **
  15  norm          14.185        2.5256        .50401E-07    .12405E-01
  16  Prefactor     .13878E-07    3.6707       -.18336E-07** at limit **
  17  Prefactor     1.0904        3.1748       -.49056E-07    .98028E-04
  18  Prefactor     .55511E-10    13.179        .28346E-06** at limit **
  19  norm          1.8573        .72273        .35955E-07    .13348E-01
  20  Prefactor     4.6182        3.6205       -.13438E-07    .84517E-02
  21  Prefactor     .54067        .65415       -.28875E-07   -.15771E-02
  22  Prefactor     .13827E-05    25.888        .11397E-06** at limit **
  23  norm          9.0950        1.2814        .80851E-08    .48589E-02
  24  norm          5.2974        1.7819        .31817E-07    .26134E-02
  25  Prefactor     .24996E-05    3.4521       -.69004E-09** at limit **
  26  Prefactor      .0000        .31595        .32188E-07** at limit **
  27  Prefactor     3.6075        1.6319       -.24660E-07   -.17067E-02
  28  Normalizat    .94182        .14047       -.70705E-06    .23067E-03
  29  Prefactor     1.0242        .15851        .20889E-05    .21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 5.00772
  Prefactor  = 1.59428e-07
  Prefactor  = 16.2495
  norm       = 2.0844
  Prefactor  = 1.6781
  Prefactor  = 19.4752
  Prefactor  = 9.9809e-08
  norm       = 3.99125e-08
  Prefactor  = 14.9006
  Prefactor  = 1.90669
  Prefactor  = 5.55112e-11
  Prefactor  = 24.6832
  Prefactor  = 1.11716e-06
  norm       = 14.1849
  Prefactor  = 1.38778e-08
  Prefactor  = 1.09043
  Prefactor  = 5.55112e-11
  norm       = 1.85732
  Prefactor  = 4.61818
  Prefactor  = 0.540669
  Prefactor  = 1.38267e-06
  norm       = 9.09501
  norm       = 5.29736
  Prefactor  = 2.49961e-06
  Prefactor  = 0
  Prefactor  = 3.6075
  Normalizat = 0.94182
  Prefactor  = 1.02415
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.5+3034_weekly_bin938
RA = 172.38, Dec = 30.5789
tmin = 806284801, tmax = 806889601
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='33431159', job_status='RUN', time_executed='2026-07-28 09:07:15.465519', time_epoch_executed='1785254835.47' WHERE source_name='4FGL J1129.5+3034' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33431159

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33431159/ft1_4FGL_J1129.5+3034_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33431159/ft1_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431159/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits ra=172.38 dec=30.5789 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.25
user 5.24
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.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/33431159/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.08
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" o00       .10000E+07
    28 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1560 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    7.7094        .72289E-07** at limit **
   2  Prefactor     5.0077        5.8810       -.12100E-06   -.24613E-02
   3  Prefactor     .15943E-06    2.4205        .98922E-07** at limit **
   4  Prefactor     16.249        2.5598       -.17897E-07   -.39721E-02
   5  norm          2.0844        .26576       -.31745E-08   -.54999E-02
   6  Prefactor     1.6781        1.7616        .39421E-07    .18244E-02
   7  Prefactor     19.475        6.2379        .12499E-07   -.27396E-01
   8  Prefactor     .99809E-07    2.6415        .47597E-07** at limit **
   9  norm          .39913E-07    3.6810       -.10654E-07** at limit **
  10  Prefactor     14.901        5.1148       -.22892E-07   -.11411E-02
  11  Prefactor     1.9067        5.6999        .65479E-07    .49621E-03
  12  Prefactor     .55511E-10    2.7588       -.23914E-06** at limit **
  13  Prefactor     24.683        21.656        .14472E-06   -.38715E-01
  14  Prefactor     .11172E-05    4.7308       -.18905E-07** at limit **
  15  norm          14.185        2.5256        .50401E-07    .12405E-01
  16  Prefactor     .13878E-07    3.6707       -.18336E-07** at limit **
  17  Prefactor     1.0904        3.1748       -.49056E-07    .98028E-04
  18  Prefactor     .55511E-10    13.179        .28346E-06** at limit **
  19  norm          1.8573        .72273        .35955E-07    .13348E-01
  20  Prefactor     4.6182        3.6205       -.13438E-07    .84517E-02
  21  Prefactor     .54067        .65415       -.28875E-07   -.15771E-02
  22  Prefactor     .13827E-05    25.888        .11397E-06** at limit **
  23  norm          9.0950        1.2814        .80851E-08    .48589E-02
  24  norm          5.2974        1.7819        .31817E-07    .26134E-02
  25  Prefactor     .24996E-05    3.4521       -.69004E-09** at limit **
  26  Prefactor      .0000        .31595        .32188E-07** at limit **
  27  Prefactor     3.6075        1.6319       -.24660E-07   -.17067E-02
  28  Normalizat    .94182        .14047       -.70705E-06    .23067E-03
  29  Prefactor     1.0242        .15851        .20889E-05    .21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 5.00772
  Prefactor  = 1.59428e-07
  Prefactor  = 16.2495
  norm       = 2.0844
  Prefactor  = 1.6781
  Prefactor  = 19.4752
  Prefactor  = 9.9809e-08
  norm       = 3.99125e-08
  Prefactor  = 14.9006
  Prefactor  = 1.90669
  Prefactor  = 5.55112e-11
  Prefactor  = 24.6832
  Prefactor  = 1.11716e-06
  norm       = 14.1849
  Prefactor  = 1.38778e-08
  Prefactor  = 1.09043
  Prefactor  = 5.55112e-11
  norm       = 1.85732
  Prefactor  = 4.61818
  Prefactor  = 0.540669
  Prefactor  = 1.38267e-06
  norm       = 9.09501
  norm       = 5.29736
  Prefactor  = 2.49961e-06
  Prefactor  = 0
  Prefactor  = 3.6075
  Normalizat = 0.94182
  Prefactor  = 1.02415
utfile=/lscratch/kocevski/33430811/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 16.91
user 16.02
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33430811/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33430811/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33430811/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 67.48
user 62.10
sys 4.16

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

Setting source of interest to:
4FGL J1129.5+3034 @ 172.38 30.5789

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33430811/cmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.92
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33430811/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.99
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33430811/Model_4FGL_J1129.5+3034_weekly_bin938.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 **********
 **   18 **HESSE 
 **********

 FCN=   14676.67     FROM HESSE     STATUS=OK           627 CALLS     2187 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0077        6.1011        .44695E-03   -1.5663    
   3  Prefactor     .15943E-06    3.2778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.249        11.938        .24936E-03   -1.5627    
   5  norm          2.0844        .26851        .48444E-03   -1.5679    
   6  Prefactor     1.6781        1.7762        .81312E-03   -1.5682    
   7  Prefactor     19.475        10.013        .22661E-03   -1.5620    
   8  Prefactor     .99809E-07    3.2776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39913E-07    7.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.901        5.1257        .25921E-03   -1.5631    
  11  Prefactor     1.9067        5.7164        .76117E-03   -1.5680    
  12  Prefactor     .55511E-10    .69935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.683        23.429        .20260E-03   -1.5609    
  14  Prefactor     .11172E-05    9.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.185        2.5585        .26562E-03   -1.5633    
  16  Prefactor     .13878E-07    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0904        3.2212        .11151E-02   -1.5687    
  18  Prefactor     .55511E-10    13.101        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8573        .72684        .76499E-03   -1.5681    
  20  Prefactor     4.6182        10.290        .46552E-03   -1.5665    
  21  Prefactor     .54067        .67299        .74705E-03   -1.5693    
  22  Prefactor     .13827E-05    38.846        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0950        1.2833        .33211E-03   -1.5648    
  24  norm          5.2974        1.7870        .43640E-03   -1.5662    
  25  Prefactor     .24996E-05    2.0157        .63797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .31644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6075        1.6361        .53177E-03   -1.5670    
  28  Normalizat    .94182        .12371        .45431E-01   -.95006    
  29  Prefactor     1.0242        .13634        .68218E-01   -.91929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08821e-07
Minuit parameter uncertainties:
  1  0.00132942
  2  6.10112
  3  0.00144578
  4  11.9385
  5  0.268514
  6  1.77625
  7  10.0133
  8  0.00114386
  9  0.00111038
  10  5.12572
  11  5.71639
  12  9.37991e-06
  13  23.4287
  14  0.00652852
  15  2.55851
  16  0.00066096
  17  3.22119
  18  6.57555e-05
  19  0.72684
  20  10.2896
  21  0.672992
  22  0.0146576
  23  1.28328
  24  1.78697
  25  0.00448934
  26  8.0197e-07
  27  1.63614
  28  0.123749
  29  0.136385
 **********
 **   18 **HESSE 
 **********

 FCN=   14676.67     FROM HESSE     STATUS=OK           627 CALLS     2187 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0077        6.1011        .44695E-03   -1.5663    
   3  Prefactor     .15943E-06    3.2778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.249        11.938        .24936E-03   -1.5627    
   5  norm          2.0844        .26851        .48444E-03   -1.5679    
   6  Prefactor     1.6781        1.7762        .81312E-03   -1.5682    
   7  Prefactor     19.475        10.013        .22661E-03   -1.5620    
   8  Prefactor     .99809E-07    3.2776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39913E-07    7.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.901        5.1257        .25921E-03   -1.5631    
  11  Prefactor     1.9067        5.7164        .76117E-03   -1.5680    
  12  Prefactor     .55511E-10    .69935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.683        23.429        .20260E-03   -1.5609    
  14  Prefactor     .11172E-05    9.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.185        2.5585        .26562E-03   -1.5633    
  16  Prefactor     .13878E-07    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0904        3.2212        .11151E-02   -1.5687    
  18  Prefactor     .55511E-10    13.101        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8573        .72684        .76499E-03   -1.5681    
  20  Prefactor     4.6182        10.290        .46552E-03   -1.5665    
  21  Prefactor     .54067        .67299        .74705E-03   -1.5693    
  22  Prefactor     .13827E-05    38.846        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0950        1.2833        .33211E-03   -1.5648    
  24  norm          5.2974        1.7870        .43640E-03   -1.5662    
  25  Prefactor     .24996E-05    2.0157        .63797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .31644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6075        1.6361        .53177E-03   -1.5670    
  28  Normalizat    .94182        .12371        .45431E-01   -.95006    
  29  Prefactor     1.0242        .13634        .68218E-01   -.91929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08821e-07
Minuit parameter uncertainties:
  1  0.00132942
  2  6.10112
  3  0.00144578
  4  11.9385
  5  0.268514
  6  1.77625
  7  10.0133
  8  0.00114386
  9  0.00111038
  10  5.12572
  11  5.71639
  12  9.37991e-06
  13  23.4287
  14  0.00652852
  15  2.55851
  16  0.00066096
  17  3.22119
  18  6.57555e-05
  19  0.72684
  20  10.2896
  21  0.672992
  22  0.0146576
  23  1.28328
  24  1.78697
  25  0.00448934
  26  8.0197e-07
  27  1.63614
  28  0.123749
  29  0.136385
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.117e-06  6.529e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 4.15923272517e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00322607512603 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33430721/likelihoodResults_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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) = 14676.7267426
delta logL = -0.0532853280729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14675.7633838
delta logL = 0.910073466368

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      446 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4548        .42118E-03** at limit **
   2  Index         1.3661        1.0829        .53398E-07     .0000    
   3  Normalizat    .94182        1.2610        .20668E-05    .16582E-04
   4  Prefactor     1.0242        1.1659        .37354E-05   -.34036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36612
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM HESSE     STATUS=FAILED         9 CALLS      455 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4548        .42118E-03   -391.13    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5051        1.9537        .53398E-07   -8949.6    
   3  Normalizat    .94182        1.2610        .20668E-05   -447.06    
   4  Prefactor     1.0242        1.1659        .37354E-05   -52.488    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96505e-13
Minuit parameter uncertainties:
  1  6.32703e-07
  2  1.10168
  3  1.30438
  4  1.1967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14676.6734572
delta logL = 5.83931978326e-08

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.327e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.366e+00  1.102e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.304e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/33430721/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2026-07-28 09:13:21.776531', job_id='33430721', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785255201.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='938' AND source_name='4FGL J1129.5+3034' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 09:13:22 PDT 2026

utfile=/lscratch/kocevski/33431159/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 19.16
user 18.16
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33431159/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431159/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33431159/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 71.16
user 65.72
sys 4.21

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

Setting source of interest to:
4FGL J1129.5+3034 @ 172.38 30.5789

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431159/cmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.08
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431159/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.03
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33431159/Model_4FGL_J1129.5+3034_weekly_bin938.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/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits.....................!
real 44.36
user 42.02
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits', '/lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits', expMap='/lscratch/kocevski/33430811/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', expCube='/lscratch/kocevski/33430811/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33430811/Model_4FGL_J1129.5+3034_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33430811/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33430811/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33430811/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33430811/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33430811/Model_4FGL_J1129.5+3034_weekly_bin938.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) = 14678.2526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13366E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0558       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15405E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.098       1.0000          .0000       .10000E+07
     5 'norm      '    2.0845       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6778       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.487       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48759E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .23172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71193E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86061E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26183E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.8551       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6687       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23235       1.0000          .0000       .10000E+07
    23 'norm      '    9.0938       1.0000          .0000       .10000E+07
    24 'norm      '    5.2986       1.0000          .0000       .10000E+07
    25 'Prefactor '    .14315E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19984E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6070       1.0000          .00Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.117e-06  6.529e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 4.15923272517e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00322607512603 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33430614/likelihoodResults_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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) = 14676.7267426
delta logL = -0.0532853280729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14675.7633838
delta logL = 0.910073466368

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      446 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4548        .42118E-03** at limit **
   2  Index         1.3661        1.0829        .53398E-07     .0000    
   3  Normalizat    .94182        1.2610        .20668E-05    .16582E-04
   4  Prefactor     1.0242        1.1659        .37354E-05   -.34036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36612
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM HESSE     STATUS=FAILED         9 CALLS      455 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4548        .42118E-03   -391.13    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5051        1.9537        .53398E-07   -8949.6    
   3  Normalizat    .94182        1.2610        .20668E-05   -447.06    
   4  Prefactor     1.0242        1.1659        .37354E-05   -52.488    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96505e-13
Minuit parameter uncertainties:
  1  6.32703e-07
  2  1.10168
  3  1.30438
  4  1.1967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14676.6734572
delta logL = 5.83931978326e-08

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.327e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.366e+00  1.102e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.304e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/33430614/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2026-07-28 09:13:47.666660', job_id='33430614', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785255227.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='938' AND source_name='4FGL J1129.5+3034' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 09:13:48 PDT 2026

00       .10000E+07
    28 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1560 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    7.7094        .72289E-07** at limit **
   2  Prefactor     5.0077        5.8810       -.12100E-06   -.24613E-02
   3  Prefactor     .15943E-06    2.4205        .98922E-07** at limit **
   4  Prefactor     16.249        2.5598       -.17897E-07   -.39721E-02
   5  norm          2.0844        .26576       -.31745E-08   -.54999E-02
   6  Prefactor     1.6781        1.7616        .39421E-07    .18244E-02
   7  Prefactor     19.475        6.2379        .12499E-07   -.27396E-01
   8  Prefactor     .99809E-07    2.6415        .47597E-07** at limit **
   9  norm          .39913E-07    3.6810       -.10654E-07** at limit **
  10  Prefactor     14.901        5.1148       -.22892E-07   -.11411E-02
  11  Prefactor     1.9067        5.6999        .65479E-07    .49621E-03
  12  Prefactor     .55511E-10    2.7588       -.23914E-06** at limit **
  13  Prefactor     24.683        21.656        .14472E-06   -.38715E-01
  14  Prefactor     .11172E-05    4.7308       -.18905E-07** at limit **
  15  norm          14.185        2.5256        .50401E-07    .12405E-01
  16  Prefactor     .13878E-07    3.6707       -.18336E-07** at limit **
  17  Prefactor     1.0904        3.1748       -.49056E-07    .98028E-04
  18  Prefactor     .55511E-10    13.179        .28346E-06** at limit **
  19  norm          1.8573        .72273        .35955E-07    .13348E-01
  20  Prefactor     4.6182        3.6205       -.13438E-07    .84517E-02
  21  Prefactor     .54067        .65415       -.28875E-07   -.15771E-02
  22  Prefactor     .13827E-05    25.888        .11397E-06** at limit **
  23  norm          9.0950        1.2814        .80851E-08    .48589E-02
  24  norm          5.2974        1.7819        .31817E-07    .26134E-02
  25  Prefactor     .24996E-05    3.4521       -.69004E-09** at limit **
  26  Prefactor      .0000        .31595        .32188E-07** at limit **
  27  Prefactor     3.6075        1.6319       -.24660E-07   -.17067E-02
  28  Normalizat    .94182        .14047       -.70705E-06    .23067E-03
  29  Prefactor     1.0242        .15851        .20889E-05    .21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 5.00772
  Prefactor  = 1.59428e-07
  Prefactor  = 16.2495
  norm       = 2.0844
  Prefactor  = 1.6781
  Prefactor  = 19.4752
  Prefactor  = 9.9809e-08
  norm       = 3.99125e-08
  Prefactor  = 14.9006
  Prefactor  = 1.90669
  Prefactor  = 5.55112e-11
  Prefactor  = 24.6832
  Prefactor  = 1.11716e-06
  norm       = 14.1849
  Prefactor  = 1.38778e-08
  Prefactor  = 1.09043
  Prefactor  = 5.55112e-11
  norm       = 1.85732
  Prefactor  = 4.61818
  Prefactor  = 0.540669
  Prefactor  = 1.38267e-06
  norm       = 9.09501
  norm       = 5.29736
  Prefactor  = 2.49961e-06
  Prefactor  = 0
  Prefactor  = 3.6075
  Normalizat = 0.94182
  Prefactor  = 1.02415
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.5+3034_weekly_bin938
RA = 172.38, Dec = 30.5789
tmin = 806284801, tmax = 806889601
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='33431567', job_status='RUN', time_executed='2026-07-28 09:09:31.155049', time_epoch_executed='1785254971.16' WHERE source_name='4FGL J1129.5+3034' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33431567

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33431567/ft1_4FGL_J1129.5+3034_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33431567/ft1_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431567/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits ra=172.38 dec=30.5789 rad=12.0 tmin=806284801.0 tmax=806889601.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 7.24
user 6.07
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.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/33431567/ft1_filteredMKT_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.48
user 0.31
sys 0.15

Number of photons that the gtmktime cut: 1392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   14676.67     FROM HESSE     STATUS=OK           627 CALLS     2187 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0077        6.1011        .44695E-03   -1.5663    
   3  Prefactor     .15943E-06    3.2778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.249        11.938        .24936E-03   -1.5627    
   5  norm          2.0844        .26851        .48444E-03   -1.5679    
   6  Prefactor     1.6781        1.7762        .81312E-03   -1.5682    
   7  Prefactor     19.475        10.013        .22661E-03   -1.5620    
   8  Prefactor     .99809E-07    3.2776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39913E-07    7.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.901        5.1257        .25921E-03   -1.5631    
  11  Prefactor     1.9067        5.7164        .76117E-03   -1.5680    
  12  Prefactor     .55511E-10    .69935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.683        23.429        .20260E-03   -1.5609    
  14  Prefactor     .11172E-05    9.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.185        2.5585        .26562E-03   -1.5633    
  16  Prefactor     .13878E-07    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0904        3.2212        .11151E-02   -1.5687    
  18  Prefactor     .55511E-10    13.101        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8573        .72684        .76499E-03   -1.5681    
  20  Prefactor     4.6182        10.290        .46552E-03   -1.5665    
  21  Prefactor     .54067        .67299        .74705E-03   -1.5693    
  22  Prefactor     .13827E-05    38.846        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0950        1.2833        .33211E-03   -1.5648    
  24  norm          5.2974        1.7870        .43640E-03   -1.5662    
  25  Prefactor     .24996E-05    2.0157        .63797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .31644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6075        1.6361        .53177E-03   -1.5670    
  28  Normalizat    .94182        .12371        .45431E-01   -.95006    
  29  Prefactor     1.0242        .13634        .68218E-01   -.91929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08821e-07
Minuit parameter uncertainties:
  1  0.00132942
  2  6.10112
  3  0.00144578
  4  11.9385
  5  0.268514
  6  1.77625
  7  10.0133
  8  0.00114386
  9  0.00111038
  10  5.12572
  11  5.71639
  12  9.37991e-06
  13  23.4287
  14  0.00652852
  15  2.55851
  16  0.00066096
  17  3.22119
  18  6.57555e-05
  19  0.72684
  20  10.2896
  21  0.672992
  22  0.0146576
  23  1.28328
  24  1.78697
  25  0.00448934
  26  8.0197e-07
  27  1.63614
  28  0.123749
  29  0.136385
_V02
Working on...
/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits.....................!
real 48.22
user 45.88
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits', '/lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits', expMap='/lscratch/kocevski/33431159/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', expCube='/lscratch/kocevski/33431159/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33431159/Model_4FGL_J1129.5+3034_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33431159/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33431159/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33431159/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33431159/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33431159/Model_4FGL_J1129.5+3034_weekly_bin938.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) = 14678.2526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13366E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0558       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15405E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.098       1.0000          .0000       .10000E+07
     5 'norm      '    2.0845       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6778       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.487       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48759E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .23172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71193E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86061E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26183E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.8551       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6687       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23235       1.0000          .0000       .10000E+07
    23 'norm      '    9.0938       1.0000          .0000       .10000E+07
    24 'norm      '    5.2986       1.0000          .0000       .10000E+07
    25 'Prefactor '    .14315E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19984E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6070       1.0000          .0000       .10000E+07
    28 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1560 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    7.7094        .72289E-07** at limit **
   2  Prefactor     5.0077        5.8810       -.12100E-06   -.24613E-02
   3  Prefactor     .15943E-06    2.4205        .98922E-07** at limit **
   4  Prefactor     16.249        2.5598       -.17897E-07   -.39721E-02
   5  norm          2.0844        .26576       -.31745E-08   -.54999E-02
   6  Prefactor     1.6781        1.7616        .39421E-07    .18244E-02
   7  Prefactor     19.475        6.2379        .12499E-07   -.27396E-01
   8  Prefactor     .99809E-07    2.6415        .47597E-07** at limit **
   9  norm          .39913E-07    3.6810       -.10654E-07** at limit **
  10  Prefactor     14.901        5.1148       -.22892E-07   -.11411E-02
  11  Prefactor     1.9067        5.6999        .65479E-07    .49621E-03
  12  Prefactor     .55511E-10    2.7588       -.23914E-06** at limit **
  13  Prefactor     24.683        21.656        .14472E-06   -.38715E-01
  14  Prefactor     .11172E-05    4.7308       -.18905E-07** at limit **
  15  norm          14.185        2.5256        .50401E-07    .12405E-01
  16  Prefactor     .13878E-07    3.6707       -.18336E-07** at limit **
  17  Prefactor     1.0904        3.1748       -.49056E-07    .98028E-04
  18  Prefactor     .55511E-10    13.179        .28346E-06** at limit **
  19  norm          1.8573        .72273        .35955E-07    .13348E-01
  20  Prefactor     4.6182        3.6205       -.13438E-07    .84517E-02
  21  Prefactor     .54067        .65415       -.28875E-07   -.15771E-02
  22  Prefactor     .13827E-05    25.888        .11397E-06** at limit **
  23  norm          9.0950        1.2814        .80851E-08    .48589E-02
  24  norm          5.2974        1.7819        .31817E-07    .26134E-02
  25  Prefactor     .24996E-05    3.4521       -.69004E-09** at limit **
  26  Prefactor      .0000        .31595        .32188E-07** at limit **
  27  Prefactor     3.6075        1.6319       -.24660E-07   -.17067E-02
  28  Normalizat    .94182        .14047       -.70705E-06    .23067E-03
  29  Prefactor     1.0242        .15851        .20889E-05    .21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 5.00772
  Prefactor  = 1.59428e-07
  Prefactor  = 16.2495
  norm       = 2.0844
  Prefactor  = 1.6781
  Prefactor  = 19.4752
  Prefactor  = 9.9809e-08
  norm       = 3.99125e-08
  Prefactor  = 14.9006
  Prefactor  = 1.90669
  Prefactor  = 5.55112e-11
  Prefactor  = 24.6832
  Prefactor  = 1.11716e-06
  norm       = 14.1849
  Prefactor  = 1.38778e-08
  Prefactor  = 1.09043
  Prefactor  = 5.55112e-11
  norm       = 1.85732
  Prefactor  = 4.61818
  Prefactor  = 0.540669
  Prefactor  = 1.38267e-06
  norm       = 9.09501
  norm       = 5.29736
  Prefactor  = 2.49961e-06
  Prefactor  = 0
  Prefactor  = 3.6075
  Normalizat = 0.94182
  Prefactor  = 1.02415
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.117e-06  6.529e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 4.15923272517e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00322607512603 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33430811/likelihoodResults_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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) = 14676.7267426
delta logL = -0.0532853280729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14675.7633838
delta logL = 0.910073466368

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      446 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4548        .42118E-03** at limit **
   2  Index         1.3661        1.0829        .53398E-07     .0000    
   3  Normalizat    .94182        1.2610        .20668E-05    .16582E-04
   4  Prefactor     1.0242        1.1659        .37354E-05   -.34036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36612
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM HESSE     STATUS=FAILED         9 CALLS      455 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4548        .42118E-03   -391.13    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5051        1.9537        .53398E-07   -8949.6    
   3  Normalizat    .94182        1.2610        .20668E-05   -447.06    
   4  Prefactor     1.0242        1.1659        .37354E-05   -52.488    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96505e-13
Minuit parameter uncertainties:
  1  6.32703e-07
  2  1.10168
  3  1.30438
  4  1.1967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14676.6734572
delta logL = 5.83931978326e-08

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.327e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.366e+00  1.102e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.304e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/33430811/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2026-07-28 09:16:59.578407', job_id='33430811', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785255419.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='938' AND source_name='4FGL J1129.5+3034' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 09:16:59 PDT 2026

utfile=/lscratch/kocevski/33431567/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 20.11
user 18.23
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33431567/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431567/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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/33431567/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
.....................!
real 79.32
user 72.92
sys 4.65

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

Setting source of interest to:
4FGL J1129.5+3034 @ 172.38 30.5789

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431567/cmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.19
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits outfile=/lscratch/kocevski/33431567/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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.38 yref=30.5789 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.93
user 0.22
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33431567/Model_4FGL_J1129.5+3034_weekly_bin938.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 **********
 **   18 **HESSE 
 **********

 FCN=   14676.67     FROM HESSE     STATUS=OK           627 CALLS     2187 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0077        6.1011        .44695E-03   -1.5663    
   3  Prefactor     .15943E-06    3.2778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.249        11.938        .24936E-03   -1.5627    
   5  norm          2.0844        .26851        .48444E-03   -1.5679    
   6  Prefactor     1.6781        1.7762        .81312E-03   -1.5682    
   7  Prefactor     19.475        10.013        .22661E-03   -1.5620    
   8  Prefactor     .99809E-07    3.2776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39913E-07    7.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.901        5.1257        .25921E-03   -1.5631    
  11  Prefactor     1.9067        5.7164        .76117E-03   -1.5680    
  12  Prefactor     .55511E-10    .69935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.683        23.429        .20260E-03   -1.5609    
  14  Prefactor     .11172E-05    9.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.185        2.5585        .26562E-03   -1.5633    
  16  Prefactor     .13878E-07    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0904        3.2212        .11151E-02   -1.5687    
  18  Prefactor     .55511E-10    13.101        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8573        .72684        .76499E-03   -1.5681    
  20  Prefactor     4.6182        10.290        .46552E-03   -1.5665    
  21  Prefactor     .54067        .67299        .74705E-03   -1.5693    
  22  Prefactor     .13827E-05    38.846        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0950        1.2833        .33211E-03   -1.5648    
  24  norm          5.2974        1.7870        .43640E-03   -1.5662    
  25  Prefactor     .24996E-05    2.0157        .63797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .31644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6075        1.6361        .53177E-03   -1.5670    
  28  Normalizat    .94182        .12371        .45431E-01   -.95006    
  29  Prefactor     1.0242        .13634        .68218E-01   -.91929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08821e-07
Minuit parameter uncertainties:
  1  0.00132942
  2  6.10112
  3  0.00144578
  4  11.9385
  5  0.268514
  6  1.77625
  7  10.0133
  8  0.00114386
  9  0.00111038
  10  5.12572
  11  5.71639
  12  9.37991e-06
  13  23.4287
  14  0.00652852
  15  2.55851
  16  0.00066096
  17  3.22119
  18  6.57555e-05
  19  0.72684
  20  10.2896
  21  0.672992
  22  0.0146576
  23  1.28328
  24  1.78697
  25  0.00448934
  26  8.0197e-07
  27  1.63614
  28  0.123749
  29  0.136385
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.117e-06  6.529e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 4.15923272517e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00322607512603 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33431159/likelihoodResults_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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) = 14676.7267426
delta logL = -0.0532853280729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14675.7633838
delta logL = 0.910073466368

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      446 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4548        .42118E-03** at limit **
   2  Index         1.3661        1.0829        .53398E-07     .0000    
   3  Normalizat    .94182        1.2610        .20668E-05    .16582E-04
   4  Prefactor     1.0242        1.1659        .37354E-05   -.34036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36612
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM HESSE     STATUS=FAILED         9 CALLS      455 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4548        .42118E-03   -391.13    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5051        1.9537        .53398E-07   -8949.6    
   3  Normalizat    .94182        1.2610        .20668E-05   -447.06    
   4  Prefactor     1.0242        1.1659        .37354E-05   -52.488    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96505e-13
Minuit parameter uncertainties:
  1  6.32703e-07
  2  1.10168
  3  1.30438
  4  1.1967
_V02
Working on...
/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits.....................!
real 52.96
user 50.24
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits', '/lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits', expMap='/lscratch/kocevski/33431567/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', expCube='/lscratch/kocevski/33431567/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33431567/Model_4FGL_J1129.5+3034_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33431567/ft1_filtered_4FGL_J1129.5+3034_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33431567/ft2_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33431567/expmap_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33431567/ltcube_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33431567/Model_4FGL_J1129.5+3034_weekly_bin938.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) = 14678.2526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13366E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0558       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15405E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.098       1.0000          .0000       .10000E+07
     5 'norm      '    2.0845       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6778       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.487       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48759E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .23172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71193E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86061E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26183E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.8551       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6687       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54082       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23235       1.0000          .0000       .10000E+07
    23 'norm      '    9.0938       1.0000          .0000       .10000E+07
    24 'norm      '    5.2986       1.0000          .0000       .10000E+07
    25 'Prefactor '    .14315E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19984E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6070       1.0000          .00shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14676.6734572
delta logL = 5.83931978326e-08

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.327e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.366e+00  1.102e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.304e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/33431159/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2026-07-28 09:20:24.436217', job_id='33431159', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785255624.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='938' AND source_name='4FGL J1129.5+3034' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 09:20:25 PDT 2026

00       .10000E+07
    28 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1560 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    7.7094        .72289E-07** at limit **
   2  Prefactor     5.0077        5.8810       -.12100E-06   -.24613E-02
   3  Prefactor     .15943E-06    2.4205        .98922E-07** at limit **
   4  Prefactor     16.249        2.5598       -.17897E-07   -.39721E-02
   5  norm          2.0844        .26576       -.31745E-08   -.54999E-02
   6  Prefactor     1.6781        1.7616        .39421E-07    .18244E-02
   7  Prefactor     19.475        6.2379        .12499E-07   -.27396E-01
   8  Prefactor     .99809E-07    2.6415        .47597E-07** at limit **
   9  norm          .39913E-07    3.6810       -.10654E-07** at limit **
  10  Prefactor     14.901        5.1148       -.22892E-07   -.11411E-02
  11  Prefactor     1.9067        5.6999        .65479E-07    .49621E-03
  12  Prefactor     .55511E-10    2.7588       -.23914E-06** at limit **
  13  Prefactor     24.683        21.656        .14472E-06   -.38715E-01
  14  Prefactor     .11172E-05    4.7308       -.18905E-07** at limit **
  15  norm          14.185        2.5256        .50401E-07    .12405E-01
  16  Prefactor     .13878E-07    3.6707       -.18336E-07** at limit **
  17  Prefactor     1.0904        3.1748       -.49056E-07    .98028E-04
  18  Prefactor     .55511E-10    13.179        .28346E-06** at limit **
  19  norm          1.8573        .72273        .35955E-07    .13348E-01
  20  Prefactor     4.6182        3.6205       -.13438E-07    .84517E-02
  21  Prefactor     .54067        .65415       -.28875E-07   -.15771E-02
  22  Prefactor     .13827E-05    25.888        .11397E-06** at limit **
  23  norm          9.0950        1.2814        .80851E-08    .48589E-02
  24  norm          5.2974        1.7819        .31817E-07    .26134E-02
  25  Prefactor     .24996E-05    3.4521       -.69004E-09** at limit **
  26  Prefactor      .0000        .31595        .32188E-07** at limit **
  27  Prefactor     3.6075        1.6319       -.24660E-07   -.17067E-02
  28  Normalizat    .94182        .14047       -.70705E-06    .23067E-03
  29  Prefactor     1.0242        .15851        .20889E-05    .21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 5.00772
  Prefactor  = 1.59428e-07
  Prefactor  = 16.2495
  norm       = 2.0844
  Prefactor  = 1.6781
  Prefactor  = 19.4752
  Prefactor  = 9.9809e-08
  norm       = 3.99125e-08
  Prefactor  = 14.9006
  Prefactor  = 1.90669
  Prefactor  = 5.55112e-11
  Prefactor  = 24.6832
  Prefactor  = 1.11716e-06
  norm       = 14.1849
  Prefactor  = 1.38778e-08
  Prefactor  = 1.09043
  Prefactor  = 5.55112e-11
  norm       = 1.85732
  Prefactor  = 4.61818
  Prefactor  = 0.540669
  Prefactor  = 1.38267e-06
  norm       = 9.09501
  norm       = 5.29736
  Prefactor  = 2.49961e-06
  Prefactor  = 0
  Prefactor  = 3.6075
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********

 FCN=   14676.67     FROM HESSE     STATUS=OK           627 CALLS     2187 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0077        6.1011        .44695E-03   -1.5663    
   3  Prefactor     .15943E-06    3.2778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.249        11.938        .24936E-03   -1.5627    
   5  norm          2.0844        .26851        .48444E-03   -1.5679    
   6  Prefactor     1.6781        1.7762        .81312E-03   -1.5682    
   7  Prefactor     19.475        10.013        .22661E-03   -1.5620    
   8  Prefactor     .99809E-07    3.2776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39913E-07    7.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.901        5.1257        .25921E-03   -1.5631    
  11  Prefactor     1.9067        5.7164        .76117E-03   -1.5680    
  12  Prefactor     .55511E-10    .69935        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.683        23.429        .20260E-03   -1.5609    
  14  Prefactor     .11172E-05    9.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.185        2.5585        .26562E-03   -1.5633    
  16  Prefactor     .13878E-07    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0904        3.2212        .11151E-02   -1.5687    
  18  Prefactor     .55511E-10    13.101        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8573        .72684        .76499E-03   -1.5681    
  20  Prefactor     4.6182        10.290        .46552E-03   -1.5665    
  21  Prefactor     .54067        .67299        .74705E-03   -1.5693    
  22  Prefactor     .13827E-05    38.846        .11226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0950        1.2833        .33211E-03   -1.5648    
  24  norm          5.2974        1.7870        .43640E-03   -1.5662    
  25  Prefactor     .24996E-05    2.0157        .63797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .31644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6075        1.6361        .53177E-03   -1.5670    
  28  Normalizat    .94182        .12371        .45431E-01   -.95006    
  29  Prefactor     1.0242        .13634        .68218E-01   -.91929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08821e-07
Minuit parameter uncertainties:
  1  0.00132942
  2  6.10112
  3  0.00144578
  4  11.9385
  5  0.268514
  6  1.77625
  7  10.0133
  8  0.00114386
  9  0.00111038
  10  5.12572
  11  5.71639
  12  9.37991e-06
  13  23.4287
  14  0.00652852
  15  2.55851
  16  0.00066096
  17  3.22119
  18  6.57555e-05
  19  0.72684
  20  10.2896
  21  0.672992
  22  0.0146576
  23  1.28328
  24  1.78697
  25  0.00448934
  26  8.0197e-07
  27  1.63614
  28  0.123749
  29  0.136385
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.117e-06  6.529e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 4.15923272517e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00322607512603 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33431567/likelihoodResults_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.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) = 14676.7267426
delta logL = -0.0532853280729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14675.7633838
delta logL = 0.910073466368

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      446 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4548        .42118E-03** at limit **
   2  Index         1.3661        1.0829        .53398E-07     .0000    
   3  Normalizat    .94182        1.2610        .20668E-05    .16582E-04
   4  Prefactor     1.0242        1.1659        .37354E-05   -.34036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36612
  Normalizat = 0.94182
  Prefactor  = 1.02415
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14676.67     FROM HESSE     STATUS=FAILED         9 CALLS      455 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4548        .42118E-03   -391.13    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5051        1.9537        .53398E-07   -8949.6    
   3  Normalizat    .94182        1.2610        .20668E-05   -447.06    
   4  Prefactor     1.0242        1.1659        .37354E-05   -52.488    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96505e-13
Minuit parameter uncertainties:
  1  6.32703e-07
  2  1.10168
  3  1.30438
  4  1.1967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14676.6734572
delta logL = 5.83931978326e-08

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.327e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.366e+00  1.102e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.024e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.418e-01  1.304e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/33431567/cmap_HighResolution_806284801_806889601_4FGL_J1129.5+3034_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2026-07-28 09:24:01.963057', job_id='33431567', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785255841.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.84e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='938' AND source_name='4FGL J1129.5+3034' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 09:24:02 PDT 2026

