 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
/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)
vski/31136832/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136832/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136832/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 34.95
user 32.98
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136832/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136832/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136832/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136832/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136832/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136832/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136832/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136832/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136832/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136832/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 *******evski/31136834/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136834/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136834/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 36.70
user 34.80
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136834/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136834/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136834/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136834/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136834/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136834/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136834/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136834/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136834/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136834/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ******
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

***
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
vski/31136825/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136825/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136825/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 37.33
user 34.71
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136825/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136825/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136825/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136825/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136825/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136825/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136825/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136825/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136825/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136825/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ***********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
vski/31136830/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136830/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136830/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 37.25
user 34.62
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136830/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136830/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136830/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136830/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136830/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136830/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136830/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136830/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136830/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136830/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
***
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
tfile=/lscratch/kocevski/31136911/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 8.85
user 8.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31136911/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136911/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31136911/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 67.50
user 62.82
sys 3.91

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.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 185 point sources and 2 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 J0638.7+5658 @ 99.6895 56.9785

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136911/cmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 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.67
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136911/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 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.65
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocetfile=/lscratch/kocevski/31136909/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 8.64
user 8.09
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31136909/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136909/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31136909/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 67.61
user 63.02
sys 3.94

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.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 185 point sources and 2 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 J0638.7+5658 @ 99.6895 56.9785

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136909/cmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31136909/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 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.72
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/koce **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
vski/31136857/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136857/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136857/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 37.13
user 34.88
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136857/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136857/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136857/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136857/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136857/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136857/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136857/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136857/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136857/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136857/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ******* **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136749/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
***
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136749/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:03.102371', job_id='31136749', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620543.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:03 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136832/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136832/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:29.411999', job_id='31136832', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620569.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136834/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136834/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:34.345421', job_id='31136834', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620574.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136825/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136825/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:37.858388', job_id='31136825', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620577.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:37 PDT 2026

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

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136830/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
Done.


Performing analysis on: 4FGL_J0638.7+5658_daily_bin2178
RA = 99.6895, Dec = 56.9785
tmin = 803865601, tmax = 804124801
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='31137015', job_status='RUN', time_executed='2026-07-09 11:08:44.839542', time_epoch_executed='1783620524.84' WHERE source_name='4FGL J0638.7+5658' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31137015

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31137015/ft1_4FGL_J0638.7+5658_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31137015/ft1_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31137015/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin2178.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=803865601.0 tmax=804124801.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 1.92
user 1.45
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.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/31137015/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.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.75
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" oushell-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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136830/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:41.956601', job_id='31136830', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620581.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136857/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136857/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:09:48.464114', job_id='31136857', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620588.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:09:48 PDT 2026

vski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136909/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 34.96
user 33.11
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136909/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136909/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136909/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136909/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136909/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136909/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136909/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136909/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 *******vski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31136911/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 35.42
user 33.30
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31136911/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31136911/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31136911/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31136911/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31136911/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31136911/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31136911/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31136911/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
***
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
tfile=/lscratch/kocevski/31137015/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 9.01
user 8.46
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31137015/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31137015/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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/31137015/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
.....................!
real 68.11
user 63.50
sys 3.82

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.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 185 point sources and 2 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 J0638.7+5658 @ 99.6895 56.9785

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31137015/cmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 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.77
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits scfile=/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits outfile=/lscratch/kocevski/31137015/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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=99.6895 yref=56.9785 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/koceDone.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136909/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31136911/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136909/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:11:34.297075', job_id='31136909', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620694.3', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:11:34 PDT 2026

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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31136911/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:11:35.592295', job_id='31136911', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620695.59', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:11:35 PDT 2026

vski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31137015/Model_4FGL_J0638.7+5658_daily_bin2178.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
adding source HB 9
Working on...
/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits.....................!
real 35.10
user 33.20
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits', '/lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits', expMap='/lscratch/kocevski/31137015/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', expCube='/lscratch/kocevski/31137015/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31137015/Model_4FGL_J0638.7+5658_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0638.7+5658'

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31137015/ft1_filtered_4FGL_J0638.7+5658_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31137015/ft2_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31137015/expmap_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31137015/ltcube_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31137015/Model_4FGL_J0638.7+5658_daily_bin2178.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) = 5992.3445516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.33       1.0000          .0000       .10000E+07
     2 'norm      '    .20412E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39867E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55236E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79844E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.333       1.0000          .0000       .10000E+07
     8 'norm      '    .29427E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8111       1.0000          .0000       .10000E+07
    10 'norm      '    .25828E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.800       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9532       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    148.89       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64254E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.1370       1.0000          .0000       .10000E+07
    18 'norm      '    .12235E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .52558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1500 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.33        1.1176       -.57562E-07    .24168E-01
   2  norm          .27756E-09    4.7111        .15008E-05** at limit **
   3  Prefactor     .55511E-10    25.121        .11242E-04** at limit **
   4  Prefactor     .55511E-10    24.794       -.39397E-05** at limit **
   5  Prefactor     .16653E-09    8.2222        .10070E-05** at limit **
   6  Prefactor     .11470E-05    25.800        .26858E-05** at limit **
   7  Prefactor     27.342        1.0082       -.31765E-07    .14628E-02
   8  norm           .0000        2.1595        .12689E-05** at limit **
   9  norm          4.8023        10.176       -.46697E-05    .19632E-01
  10  norm           .0000        2.2808        .13034E-07** at limit **
  11  Prefactor     11.289        1.1555       -.51100E-07    .61664E-03
  12  Prefactor     13.801        9.6332        .27034E-05    .33082E-01
  13  Prefactor     9.9295        1.7440        .67332E-06    .83098E-02
  14  Prefactor     19.213        10.541        .27275E-05   -.65971E-02
  15  Prefactor     149.56        6.7959       -.89541E-07    .93264E-01
  16  Prefactor     .33568E-06    105.60        .94443E-06** at limit **
  17  norm          1.1352        .97653       -.99067E-07    .27241E-02
  18  norm           .0000        2.1392        .10732E-05** at limit **
  19  Normalizat    .52502        .27748        .27509E-04    .28417E-04
  20  Prefactor     1.4674        .14779       -.11582E-04    .76635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.325
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.14703e-06
  Prefactor  = 27.3415
  norm       = 0
  norm       = 4.80228
  norm       = 0
  Prefactor  = 11.2888
  Prefactor  = 13.8009
  Prefactor  = 9.92951
  Prefactor  = 19.2127
  Prefactor  = 149.558
  Prefactor  = 3.35676e-07
  norm       = 1.13519
  norm       = 0
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.336     FROM HESSE     STATUS=OK           327 CALLS     1827 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.33        137.73        .87601E-04   -1.5480    
   2  norm          .27756E-09    4.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    27.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.2281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11470E-05    54.533        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.342        24.594        .19131E-03   -1.5603    
   8  norm           .0000        2.1568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8023        11.592        .45842E-03   -1.5664    
  10  norm           .0000        2.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.289        11.216        .29796E-03   -1.5641    
  12  Prefactor     13.801        10.728        .26937E-03   -1.5634    
  13  Prefactor     9.9295        21.311        .31737E-03   -1.5645    
  14  Prefactor     19.213        25.827        .22731E-03   -1.5620    
  15  Prefactor     149.56        45.903        .81960E-04   -1.5463    
  16  Prefactor     .33568E-06    107.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1352        .98783        .10917E-02   -1.5687    
  18  norm           .0000        2.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .52502        .29112        .11684       -1.1127    
  20  Prefactor     1.4674        .14847        .30194E-01   -.78458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67961e-07
Minuit parameter uncertainties:
  1  137.732
  2  6.88328e-05
  3  8.30986e-05
  4  8.25397e-05
  5  7.51968e-05
  6  0.0158178
  7  24.5941
  8  1.29767e-05
  9  11.5921
  10  8.31488e-06
  11  11.216
  12  10.7278
  13  21.3107
  14  25.8271
  15  45.9031
  16  0.0120099
  17  0.987828
  18  9.75825e-06
  19  0.291965
  20  0.148517
Done.

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

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  1.147e-06  1.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.562e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 99.689 56.978
Photon Flux Upper Limit: 1.18424472388e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00924683098668 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31137015/likelihoodResults_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.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): 102
logL (Free Index) = 5992.34467146
delta logL = -0.00884669005154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5992.24495402
delta logL = 0.0908707523031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74863E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.3650       1.0000          .0000       10.000    
     3 'Normalizat'    .49091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5992.336     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.975        .77491E-05** at limit **
   2  Index         1.8119        .50850        .30342E-04     .0000    
   3  Normalizat    .52501        .27139        .35513E-05    .63264E-04
   4  Prefactor     1.4674        .14702       -.16781E-05    .26566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.81186
  Normalizat = 0.525015
  Prefactor  = 1.46737
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5992.336     FROM HESSE     STATUS=FAILED        11 CALLS      318 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0979        2.1580        .30342E-04   -65.282    
   3  Normalizat    .52501        .84852        .35513E-05   -2.0289    
   4  Prefactor     1.4674        1.0481       -.16781E-05   -2.3570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.11259e-11
Minuit parameter uncertainties:
  1  2.10347e-05
  2  1.0951
  3  0.870908
  4  1.06402
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) = 5992.33582476
delta logL = 1.03582351585e-08

Extracting fit parameters...

4FGL J0638.7+5658
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  2.103e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.812e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.467e+00  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  5.250e-01  8.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 99.689 56.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/31137015/cmap_HighResolution_803865601_804124801_4FGL_J0638.7+5658_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2026-07-09 11:13:38.837511', job_id='31137015', GAL2='1.47', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1783620818.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='1.04e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2178' AND source_name='4FGL J0638.7+5658' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 11:13:39 PDT 2026

