/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 = 17524
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0710.4+5908_weekly_bin907
RA = 107.623, Dec = 59.1352
tmin = 787536001, tmax = 788140801
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='17771988', job_status='RUN', time_executed='2025-12-23 01:10:09.726487', time_epoch_executed='1766481009.73' WHERE source_name='4FGL J0710.4+5908' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17771988

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17771988/ft1_4FGL_J0710.4+5908_weekly_bin907.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17771988/ft1_4FGL_J0710.4+5908_weekly_bin907.fits outfile=/lscratch/kocevski/17771988/ft1_filteredMKT_4FGL_J0710.4+5908_weekly_bin907.fits ra=107.623 dec=59.1352 rad=12.0 tmin=787536001.0 tmax=788140801.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.19
user 3.77
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.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/17771988/ft1_filteredMKT_4FGL_J0710.4+5908_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2157

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17771988/ltcube_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.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/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits
.....................!
real 16.76
user 15.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17771988/ltcube_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits outfile=/lscratch/kocevski/17771988/expmap_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.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/17771988/ltcube_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits
.....................!
real 62.23
user 57.72
sys 3.66

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
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Added 204 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0710.4+5908 @ 107.623 59.1352

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits outfile=/lscratch/kocevski/17771988/cmap_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.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=107.623 yref=59.1352 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.88
user 0.20
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits outfile=/lscratch/kocevski/17771988/cmap_HighResolution_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.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=107.623 yref=59.1352 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.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17771988/Model_4FGL_J0710.4+5908_weekly_bin907.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 G150.3+4.5
adding source GAL_V02
Working on...
/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits.....................!
real 84.32
user 82.40
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits', '/lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits', expMap='/lscratch/kocevski/17771988/expmap_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits', expCube='/lscratch/kocevski/17771988/ltcube_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17771988/Model_4FGL_J0710.4+5908_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0710.4+5908'

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  2.350e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
267        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17771988/ft1_filtered_4FGL_J0710.4+5908_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17771988/ft2_4FGL_J0710.4+5908_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17771988/expmap_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17771988/ltcube_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17771988/Model_4FGL_J0710.4+5908_weekly_bin907.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) = 23008.5011059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9464       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3399       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15710E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22552E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9360       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.447       1.0000          .0000       .10000E+07
     7 'norm      '    2.9012       1.0000          .0000       .10000E+07
     8 'norm      '    1.1605       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9616       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9637       1.0000          .0000       .10000E+07
    11 'Prefactor '    24.876       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7813       1.0000          .0000       .10000E+07
    13 'Prefactor '    19.091       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.192       1.0000          .0000       .10000E+07
    15 'norm      '    5.8081       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14506E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.4843       1.0000          .0000       .10000E+07
    18 'norm      '    .18631       1.0000          .0000       .10000E+07
    19 'norm      '    .24759E-05   1.0000          .0000       .10000E+07
    20 'norm      '    2.5745       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14309       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23857       1.0000          .0000       .10000E+07
    23 'Prefactor '    23.529       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0042       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23008.45     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     2088 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9465        1.0287       -.15075E-09    .18620E-02
   2  Prefactor     1.9777        18.205        .19390E-07    .70739E-02
   3  Prefactor     .61062E-09    3.5894       -.22483E-06** at limit **
   4  Prefactor      .0000        1.7600        .18889E-07** at limit **
   5  Prefactor     3.9278        1.0527       -.76311E-08    .15620E-01
   6  Prefactor     18.620        5.1289       -.95529E-08    .61994E-01
   7  norm          2.8963        2.4693       -.30289E-07    .37759E-03
   8  norm          1.1626        1.6310       -.10451E-06   -.31850E-03
   9  Prefactor     4.9693        4.8592        .12293E-06    .98626E-02
  10  Prefactor     2.9275        3.4886        .93538E-07    .20023E-03
  11  Prefactor     24.881        1.1670       -.10305E-08    .30874E-01
  12  Prefactor     6.7404        1.8451        .24933E-08   -.14291E-01
  13  Prefactor     19.252        4.1621       -.45358E-08    .13113E-01
  14  Prefactor     11.198        5.2255       -.20850E-08   -.77883E-01
  15  norm          5.8064        .83784        .20546E-08   -.49633E-02
  16  Prefactor     .88818E-09    4.5533       -.43644E-06** at limit **
  17  Prefactor     6.4538        3.6598        .25203E-07   -.65123E-01
  18  norm          .18754        1.3779        .15765E-06** at limit **
  19  norm           .0000        1.1718        .73195E-07** at limit **
  20  norm          2.5751        1.0950        .14108E-06    .35503E-02
  21  Prefactor     .14292        .38661        .12279E-06** at limit **
  22  Prefactor     .24047        .75717        .29889E-07** at limit **
  23  Prefactor     23.448        5.0391        .39440E-07    .10389E-01
  24  Normalizat    1.0047        .12716        .15317E-05   -.69781E-04
  25  Prefactor     .92792        .66867E-01   -.20671E-05   -.21779E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94654
  Prefactor  = 1.97766
  Prefactor  = 6.10623e-10
  Prefactor  = 0
  Prefactor  = 3.9278
  Prefactor  = 18.6197
  norm       = 2.89632
  norm       = 1.16255
  Prefactor  = 4.96925
  Prefactor  = 2.9275
  Prefactor  = 24.8808
  Prefactor  = 6.74044
  Prefactor  = 19.2521
  Prefactor  = 11.1977
  norm       = 5.80639
  Prefactor  = 8.88178e-10
  Prefactor  = 6.45385
  norm       = 0.187538
  norm       = 0
  norm       = 2.57512
  Prefactor  = 0.142921
  Prefactor  = 0.240471
  Prefactor  = 23.4476
  Normalizat = 1.00468
  Prefactor  = 0.927921
 **********
 **   18 **HESSE 
 **********

 FCN=   23008.45     FROM HESSE     STATUS=OK           503 CALLS     2591 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9465        12.773        .33486E-03   -1.5648    
   2  Prefactor     1.9777        28.953        .67000E-03   -1.5680    
   3  Prefactor     .61062E-09    3.5895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9278        12.108        .50824E-03   -1.5668    
   6  Prefactor     18.620        15.025        .23292E-03   -1.5622    
   7  norm          2.8963        2.5063        .59631E-03   -1.5674    
   8  norm          1.1626        1.6867        .10693E-02   -1.5686    
   9  Prefactor     4.9693        4.8868        .45126E-03   -1.5663    
  10  Prefactor     2.9275        3.5367        .58958E-03   -1.5674    
  11  Prefactor     24.881        10.709        .20054E-03   -1.5608    
  12  Prefactor     6.7404        10.503        .38507E-03   -1.5656    
  13  Prefactor     19.252        15.561        .22895E-03   -1.5620    
  14  Prefactor     11.198        17.936        .29922E-03   -1.5641    
  15  norm          5.8064        .84470        .41650E-03   -1.5660    
  16  Prefactor     .88818E-09    4.5538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4538        14.030        .39389E-03   -1.5657    
  18  norm          .18754        .54358        .48612E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.1646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5751        1.0969        .63585E-03   -1.5676    
  21  Prefactor     .14292        .38054        .28750E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .24047        2.1630        .11126E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.448        5.3452        .20621E-03   -1.5611    
  24  Normalizat    1.0047        .11662        .73900E-01   -.92874    
  25  Prefactor     .92792        .58663E-01    .45360E-01   -.95172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99463e-07
Minuit parameter uncertainties:
  1  12.7729
  2  15.134
  3  9.20085e-05
  4  7.39681e-06
  5  12.1081
  6  15.0248
  7  2.50632
  8  1.68665
  9  4.88675
  10  3.53666
  11  10.7086
  12  10.5032
  13  15.5607
  14  17.9362
  15  0.844703
  16  0.000127146
  17  14.0296
  18  0.543577
  19  3.29463e-06
  20  1.09691
  21  0.380535
  22  1.44242
  23  5.34518
  24  0.11665
  25  0.0586672
Done.

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

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  4.969e+00  4.887e+00  0.000e+00  1.000e+06 ( 1.000e-14)
267        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
660    Prefactor:  9.279e-01  5.867e-02  0.000e+00  1.000e+01 ( 1.000e+00)
661        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
662        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.005e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 107.623 59.135
Photon Index (Fixed Index): 1.69 +/- 0.00
Photon Flux (Fixed Index): 5.22e-09 +/- 5.13e-09
Energy Flux (Fixed Index): 8.83e-06 +/- 8.69e-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) = 23008.4120063
delta logL = 0.0389280575109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23008.4062029
delta logL = 0.0447313878649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5546       1.0000          .0000       .10000E+07
     2 'Index     '    1.4871       1.0000          .0000       10.000    
     3 'Normalizat'    1.0060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92783       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+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=   23008.41     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      235 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5551        5.7274        .17042E-04   -.36557E-03
   2  Index         1.4871        .68245        .12757E-01   -.47072E-04
   3  Normalizat    1.0060        .12138        .32680E-03    .26383E-03
   4  Prefactor     .92783        .66254E-01    .18381E-03    .44018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55507
  Index      = 1.48707
  Normalizat = 1.00597
  Prefactor  = 0.927831
 **********
 **   18 **HESSE 
 **********

 FCN=   23008.41     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5551        5.6696        .68167E-06   -1.5661    
   2  Index         1.4871        .67620        .51028E-03   -.77902    
   3  Normalizat    1.0060        .12144        .13072E-04   -.92831    
   4  Prefactor     .92783        .66294E-01    .36762E-04   -.95175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55866e-10
Minuit parameter uncertainties:
  1  5.66958
  2  0.680338
  3  0.121474
  4  0.0662994
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) = 23008.4062029
delta logL = 0.0447313916156

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  5.555e+00  5.670e+00  0.000e+00  1.000e+06 ( 1.000e-14)
267        Index:  1.487e+00  6.803e-01  0.000e+00  1.000e+01 (-1.000e+00)
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
660    Prefactor:  9.278e-01  6.630e-02  0.000e+00  1.000e+01 ( 1.000e+00)
661        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
662        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.006e+00  1.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.18
Ra Dec: 107.623 59.135
Photon Index (Free Index): 1.49 +/- 0.68
Photon Flux (Free Index): 3.66e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.21e-05 +/- 1.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17771988/cmap_HighResolution_787536001_788140801_4FGL_J0710.4+5908_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.22e-09', energy_flux2='1.21e-05', photon_flux_error='5.13e-09', dlogl='4.47e-02', energy_flux='8.83e-06', photon_flux2='3.66e-09', job_status='DONE', time_completed='2025-12-23 01:29:50.828748', photon_index_error2='0.68', photon_index2='1.49', ts='5.09', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.76e-05', EG='1.00', time_epoch_completed='1766482190.83', return_code='0', job_id='17771988', GAL2='0.93', EG2='1.01', return_code2='0', energy_flux_error='8.69e-06', photon_flux_error2='5.78e-09', ts2='5.18', photon_index='1.69' WHERE bin_id='907' AND source_name='4FGL J0710.4+5908' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 01:29:50 PST 2025

