/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J0729.1+5703_weekly_bin906
RA = 112.286, Dec = 57.0558
tmin = 786931201, tmax = 787536001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17373982', job_status='RUN', time_executed='2025-12-16 01:36:57.910099', time_epoch_executed='1765877817.91' WHERE source_name='4FGL J0729.1+5703' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17373982

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17373982/ft1_4FGL_J0729.1+5703_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17373982/ft1_4FGL_J0729.1+5703_weekly_bin906.fits outfile=/lscratch/kocevski/17373982/ft1_filteredMKT_4FGL_J0729.1+5703_weekly_bin906.fits ra=112.286 dec=57.0558 rad=12.0 tmin=786931201.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.92
user 5.11
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17373982/ft1_filteredMKT_4FGL_J0729.1+5703_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2189

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17373982/ltcube_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits
.....................!
real 19.14
user 18.26
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17373982/ltcube_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits outfile=/lscratch/kocevski/17373982/expmap_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17373982/ltcube_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits
.....................!
real 69.36
user 64.33
sys 4.14

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

Setting source of interest to:
4FGL J0729.1+5703 @ 112.286 57.0558

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits outfile=/lscratch/kocevski/17373982/cmap_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=112.286 yref=57.0558 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.84
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits outfile=/lscratch/kocevski/17373982/cmap_HighResolution_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=112.286 yref=57.0558 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.00
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17373982/Model_4FGL_J0729.1+5703_weekly_bin906.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits.....................!
real 87.22
user 85.06
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits', '/lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits', expMap='/lscratch/kocevski/17373982/expmap_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits', expCube='/lscratch/kocevski/17373982/ltcube_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17373982/Model_4FGL_J0729.1+5703_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0729.1+5703'

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  3.521e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17373982/ft1_filtered_4FGL_J0729.1+5703_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17373982/ft2_4FGL_J0729.1+5703_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17373982/expmap_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17373982/ltcube_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17373982/Model_4FGL_J0729.1+5703_weekly_bin906.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36168E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.7986       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.4919       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.307       1.0000          .0000       .10000E+07
     5 'norm      '    2.8324       1.0000          .0000       .10000E+07
     6 'norm      '    1.2032       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6164       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12657E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.9443       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6917       1.0000          .0000       .10000E+07
    11 'norm      '    7.5854       1.0000          .0000       .10000E+07
    12 'Prefactor '    29.018       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.464       1.0000          .0000       .10000E+07
    14 'norm      '    5.9336       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2163       1.0000          .0000       .10000E+07
    16 'norm      '    1.3257       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14919E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .12507E-06   1.0000          .0000       .10000E+07
    19 'norm      '    1.3406       1.0000          .0000       .10000E+07
    20 'norm      '    1.7715       1.0000          .0000       .10000E+07
    21 'Prefactor '    .25413E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .53659       1.0000          .0000       .10000E+07
    23 'Prefactor '    15.653       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.3932       1.0000          .0000       .10000E+07
    25 'Prefactor '    27.819       1.0000          .0000       .10000E+07
    26 'Normalizat'    .99834       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0188       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23179.10     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1347 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    4.5905        .90658E-07** at limit **
   2  Prefactor     3.7854        4.1094        .19247E-07   -.25364E-01
   3  Prefactor     6.8730        17.104       -.44400E-07   -.11035E-01
   4  Prefactor     10.267        3.1103        .10652E-07   -.30150E-01
   5  norm          2.8335        1.7831        .47382E-08    .43893E-03
   6  norm          1.1930        2.5111        .19419E-07   -.12547E-04
   7  Prefactor     8.6188        4.7966        .96796E-09   -.17951E-01
   8  Prefactor     .55511E-10    2.3341       -.49995E-07** at limit **
   9  Prefactor     5.9301        2.6507       -.90831E-08    .16280E-01
  10  Prefactor     1.7072        6.9495       -.46718E-08   -.77084E-02
  11  norm          7.5820        1.4216        .24216E-08   -.15054E-01
  12  Prefactor     29.099        3.0901       -.58814E-08    .51386E-01
  13  Prefactor     33.329        7.0295        .95450E-08   -.14626E-01
  14  norm          5.9334        .82813        .15652E-07    .29112E-01
  15  Prefactor     2.2231        3.7800        .45279E-08    .10665E-02
  16  norm          1.3260        1.0437        .33190E-07    .82990E-02
  17  Prefactor     .95979E-07    10.550       -.19781E-07** at limit **
  18  norm           .0000        .63718       -.28583E-07** at limit **
  19  norm          1.3410        1.2444        .46640E-07    .87142E-02
  20  norm          1.7718        .83281        .71732E-10    .14999E-02
  21  Prefactor      .0000        .28494        .17177E-07** at limit **
  22  Prefactor     .50500        .84163       -.87572E-10   -.45953E-02
  23  Prefactor     15.648        4.0538        .33734E-08   -.36319E-01
  24  Prefactor     5.3943        3.5917        .33406E-08    .23042E-02
  25  Prefactor     27.811        3.3639        .45011E-08   -.45639E-01
  26  Normalizat    .99825        .12951        .15779E-06    .52259E-04
  27  Prefactor     1.0188        .77765E-01   -.29459E-06   -.22290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 3.7854
  Prefactor  = 6.87302
  Prefactor  = 10.267
  norm       = 2.83349
  norm       = 1.19299
  Prefactor  = 8.61882
  Prefactor  = 5.55112e-11
  Prefactor  = 5.93007
  Prefactor  = 1.70723
  norm       = 7.58203
  Prefactor  = 29.0991
  Prefactor  = 33.3289
  norm       = 5.93343
  Prefactor  = 2.22307
  norm       = 1.326
  Prefactor  = 9.59788e-08
  norm       = 0
  norm       = 1.34096
  norm       = 1.77178
  Prefactor  = 0
  Prefactor  = 0.505004
  Prefactor  = 15.6477
  Prefactor  = 5.39433
  Prefactor  = 27.8109
  Normalizat = 0.99825
  Prefactor  = 1.01885
 **********
 **   18 **HESSE 
 **********

 FCN=   23179.10     FROM HESSE     STATUS=OK           562 CALLS     1909 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    4.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7854        4.6312        .51767E-03   -1.5669    
   3  Prefactor     6.8730        18.930        .39366E-03   -1.5656    
   4  Prefactor     10.267        14.607        .31186E-03   -1.5644    
   5  norm          2.8335        1.7893        .60399E-03   -1.5674    
   6  norm          1.1930        2.6308        .10335E-02   -1.5686    
   7  Prefactor     8.6188        6.1122        .34125E-03   -1.5649    
   8  Prefactor     .55511E-10    2.3241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.9301        10.127        .41163E-03   -1.5659    
  10  Prefactor     1.7072        10.219        .80895E-03   -1.5682    
  11  norm          7.5820        4.4608        .36388E-03   -1.5653    
  12  Prefactor     29.099        15.321        .18567E-03   -1.5600    
  13  Prefactor     33.329        18.670        .17289E-03   -1.5593    
  14  norm          5.9334        .83727        .41200E-03   -1.5659    
  15  Prefactor     2.2231        3.8216        .69055E-03   -1.5678    
  16  norm          1.3260        1.0394        .95434E-03   -1.5685    
  17  Prefactor     .95979E-07    4.5558        .12187E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .63619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3410        1.2512        .94632E-03   -1.5685    
  20  norm          1.7718        .83199        .78643E-03   -1.5681    
  21  Prefactor      .0000        .28029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .50500        6.7713        .75111E-03   -1.5694    
  23  Prefactor     15.648        4.2971        .25289E-03   -1.5629    
  24  Prefactor     5.3943        3.6048        .43248E-03   -1.5662    
  25  Prefactor     27.811        10.087        .18963E-03   -1.5602    
  26  Normalizat    .99825        .11648        .73747E-01   -.93089    
  27  Prefactor     1.0188        .68040E-01    .42258E-01   -.92104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22789e-06
Minuit parameter uncertainties:
  1  6.39675e-05
  2  4.63124
  3  18.9304
  4  14.6069
  5  1.78928
  6  2.63077
  7  6.11216
  8  2.13343e-05
  9  10.1269
  10  8.3538
  11  4.46076
  12  15.3207
  13  18.67
  14  0.837265
  15  3.8216
  16  1.0394
  17  0.00132258
  18  6.3665e-06
  19  1.25121
  20  0.831985
  21  1.5865e-06
  22  3.69841
  23  4.29711
  24  3.6048
  25  10.0866
  26  0.11651
  27  0.0680455
Done.

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

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  2.910e+01  1.532e+01  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
671   Normalization:  9.983e-01  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.91
Ra Dec: 112.286 57.056
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 6.80e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23179.0430055
delta logL = 0.0531319342263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23179.0366725
delta logL = 0.0594649509658

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23179.04     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      308 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.101        18.680        .70610E-05   -.14684E-02
   2  Index         2.3665        .42443        .85336E-02    .63758E-03
   3  Normalizat    1.0042        .12686        .32547E-03   -.83831E-06
   4  Prefactor     1.0166        .76874E-01    .19746E-03    .27636E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.1007
  Index      = 2.36646
  Normalizat = 1.00419
  Prefactor  = 1.01661
 **********
 **   18 **HESSE 
 **********

 FCN=   23179.04     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.101        18.313        .28244E-06   -1.5595    
   2  Index         2.3665        .41604        .17067E-02   -.55472    
   3  Normalizat    1.0042        .12690        .13019E-04   -.92890    
   4  Prefactor     1.0166        .76908E-01    .78985E-05   -.92178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80745e-11
Minuit parameter uncertainties:
  1  18.3127
  2  0.416703
  3  0.126941
  4  0.0769165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23179.036672
delta logL = 0.0594655103159

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  3.210e+01  1.831e+01  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.366e+00  4.167e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.004e+00  1.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.04
Ra Dec: 112.286 57.056
Photon Index (Free Index): 2.37 +/- 0.42
Photon Flux (Free Index): 4.01e-08 +/- 2.60e-08
Energy Flux (Free Index): 1.38e-05 +/- 7.77e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17373982/cmap_HighResolution_786931201_787536001_4FGL_J0729.1+5703_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.38e-05', photon_flux_error='2.37e-08', dlogl='5.95e-02', energy_flux='1.29e-05', photon_flux2='4.01e-08', job_status='DONE', time_completed='2025-12-16 01:51:20.553072', photon_index_error2='0.42', photon_index2='2.37', ts='6.91', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='7.77e-06', EG='1.00', time_epoch_completed='1765878680.55', return_code='0', job_id='17373982', GAL2='1.02', EG2='1.00', return_code2='0', energy_flux_error='6.80e-06', photon_flux_error2='2.60e-08', ts2='7.04', photon_index='2.51' WHERE bin_id='906' AND source_name='4FGL J0729.1+5703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:51:21 PST 2025

