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

 FCN=   12348.79     FROM HESSE     STATUS=OK           308 CALLS     1467 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4900        4.3011        .39372E-03   -1.5657    
   3  norm          .55511E-10    51.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    102.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        62.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        15.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    16.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1147        236.55        .67739E-03   -1.5679    
   9  Prefactor     4.9739        5.4530        .45024E-03   -1.5663    
  10  norm          .76317        .74049        .55717E-03   -1.5690    
  11  norm          68.072        48.263        .12123E-03   -1.5543    
  12  Prefactor     9.4638        6.0455        .32553E-03   -1.5646    
  13  norm          7.0019        5.1742        .37887E-03   -1.5655    
  14  Prefactor     2.0297        3.1113        .72582E-03   -1.5679    
  15  Prefactor      .0000        4.2052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6577        5.3144        .52781E-03   -1.5670    
  17  norm          4.2118        30.417        .49091E-03   -1.5667    
  18  Normalizat    .81034        .19655        .97900E-01   -.99686    
  19  Prefactor     1.1525        .85845E-01    .35865E-01   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30654e-07
Minuit parameter uncertainties:
  1  2.34064e-05
  2  4.30107
  3  9.82588e-05
  4  0.000170603
  5  4.18816e-05
  6  9.92924e-06
  7  8.40131e-05
  8  44.7333
  9  5.45296
  10  0.740493
  11  48.2631
  12  6.04549
  13  5.17418
  14  3.11126
  15  1.84797e-05
  16  5.31439
  17  22.6373
  18  0.19672
  19  0.0858554
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=OK           308 CALLS     1467 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4900        4.3011        .39372E-03   -1.5657    
   3  norm          .55511E-10    51.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    102.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        62.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        15.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    16.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1147        236.55        .67739E-03   -1.5679    
   9  Prefactor     4.9739        5.4530        .45024E-03   -1.5663    
  10  norm          .76317        .74049        .55717E-03   -1.5690    
  11  norm          68.072        48.263        .12123E-03   -1.5543    
  12  Prefactor     9.4638        6.0455        .32553E-03   -1.5646    
  13  norm          7.0019        5.1742        .37887E-03   -1.5655    
  14  Prefactor     2.0297        3.1113        .72582E-03   -1.5679    
  15  Prefactor      .0000        4.2052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6577        5.3144        .52781E-03   -1.5670    
  17  norm          4.2118        30.417        .49091E-03   -1.5667    
  18  Normalizat    .81034        .19655        .97900E-01   -.99686    
  19  Prefactor     1.1525        .85845E-01    .35865E-01   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30654e-07
Minuit parameter uncertainties:
  1  2.34064e-05
  2  4.30107
  3  9.82588e-05
  4  0.000170603
  5  4.18816e-05
  6  9.92924e-06
  7  8.40131e-05
  8  44.7333
  9  5.45296
  10  0.740493
  11  48.2631
  12  6.04549
  13  5.17418
  14  3.11126
  15  1.84797e-05
  16  5.31439
  17  22.6373
  18  0.19672
  19  0.0858554
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

L_V02
Working on...
/lscratch/kocevski/31605549/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits.....................!
real 42.65
user 40.97
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31605549/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits', '/lscratch/kocevski/31605549/ft2_4FGL_J1751.6+2921_daily_bin2178.fits', expMap='/lscratch/kocevski/31605549/expmap_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits', expCube='/lscratch/kocevski/31605549/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31605549/Model_4FGL_J1751.6+2921_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31605549/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31605549/ft2_4FGL_J1751.6+2921_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31605549/expmap_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31605549/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31605549/Model_4FGL_J1751.6+2921_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) = 12348.9186708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17153E-07   1.0000          .0000       .10000E+07
     2 'norm      '    6.4896       1.0000          .0000       .10000E+07
     3 'norm      '    .17103E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26357E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25626E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49127E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.2940       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9837       1.0000          .0000       .10000E+07
    10 'norm      '    .76322       1.0000          .0000       .10000E+07
    11 'norm      '    68.052       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.4630       1.0000          .0000       .10000E+07
    13 'norm      '    7.0026       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0299       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31475E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6593       1.0000          .0000       .10000E+07
    17 'norm      '    4.2098       1.0000          .0000       .10000E+07
    18 'Normalizat'    .81034       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1525       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1159 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.610       -.13929E-05** at limit **
   2  norm          6.4900        4.2958       -.50867E-06   -.47391E-02
   3  norm          .55511E-10    51.716       -.88573E-05** at limit **
   4  Prefactor     .55511E-10    102.63        .18643E-04** at limit **
   5  Prefactor      .0000        62.734        .16928E-04** at limit **
   6  Prefactor      .0000        15.766       -.27961E-06** at limit **
   7  Prefactor     .11102E-09    16.438       -.82645E-06** at limit **
   8  Prefactor     2.1147        1.3260       -.62409E-07   -.37780E-03
   9  Prefactor     4.9739        5.4476       -.32705E-06    .14922E-03
  10  norm          .76317        .74967       -.81787E-07   -.51367E-04
  11  norm          68.072        2.3724       -.15683E-06   -.46964E-02
  12  Prefactor     9.4638        5.9944       -.35305E-06   -.19808E-02
  13  norm          7.0019        5.1732        .67550E-06   -.56667E-03
  14  Prefactor     2.0297        3.0941        .42882E-06    .99235E-03
  15  Prefactor      .0000        4.1782       -.32304E-06** at limit **
  16  Prefactor     3.6577        5.2924        .94164E-06   -.18471E-02
  17  norm          4.2118        1.1705       -.23615E-06   -.61349E-02
  18  Normalizat    .81034        .21875        .38673E-04   -.19652E-03
  19  Prefactor     1.1525        .96486E-01   -.10540E-04   -.42379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 6.49005
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.11465
  Prefactor  = 4.97392
  norm       = 0.763168
  norm       = 68.0721
  Prefactor  = 9.46377
  norm       = 7.00189
  Prefactor  = 2.02969
  Prefactor  = 0
  Prefactor  = 3.65767
  norm       = 4.21182
  Normalizat = 0.810337
  Prefactor  = 1.15252
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.110e-10  8.401e-05  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  8.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 6.38631411342e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00500326759478 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31605518/likelihoodResults_803865601_804124801_4FGL_J1751.6+2921_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) = 12348.8171848
delta logL = -0.0295118159102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.7876731
delta logL = -6.27533154329e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .96061        .42118E-03** at limit **
   2  Index         2.1476        8.9234        .50000        .16371E-09
   3  Normalizat    .81034        .78113E-03    .97900E-01    .67759E-04
   4  Prefactor     1.1525        .34740E-03    .35864E-01    .83048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 2.1476
  Normalizat = 0.810337
  Prefactor  = 1.15252
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.110e-10  8.401e-05  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  8.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 6.38631411342e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00500326759478 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31605490/likelihoodResults_803865601_804124801_4FGL_J1751.6+2921_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) = 12348.8171848
delta logL = -0.0295118159102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.7876731
delta logL = -6.27533154329e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .96061        .42118E-03** at limit **
   2  Index         2.1476        8.9234        .50000        .16371E-09
   3  Normalizat    .81034        .78113E-03    .97900E-01    .67759E-04
   4  Prefactor     1.1525        .34740E-03    .35864E-01    .83048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 2.1476
  Normalizat = 0.810337
  Prefactor  = 1.15252
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=OK           308 CALLS     1467 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4900        4.3011        .39372E-03   -1.5657    
   3  norm          .55511E-10    51.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    102.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        62.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        15.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    16.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1147        236.55        .67739E-03   -1.5679    
   9  Prefactor     4.9739        5.4530        .45024E-03   -1.5663    
  10  norm          .76317        .74049        .55717E-03   -1.5690    
  11  norm          68.072        48.263        .12123E-03   -1.5543    
  12  Prefactor     9.4638        6.0455        .32553E-03   -1.5646    
  13  norm          7.0019        5.1742        .37887E-03   -1.5655    
  14  Prefactor     2.0297        3.1113        .72582E-03   -1.5679    
  15  Prefactor      .0000        4.2052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6577        5.3144        .52781E-03   -1.5670    
  17  norm          4.2118        30.417        .49091E-03   -1.5667    
  18  Normalizat    .81034        .19655        .97900E-01   -.99686    
  19  Prefactor     1.1525        .85845E-01    .35865E-01   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30654e-07
Minuit parameter uncertainties:
  1  2.34064e-05
  2  4.30107
  3  9.82588e-05
  4  0.000170603
  5  4.18816e-05
  6  9.92924e-06
  7  8.40131e-05
  8  44.7333
  9  5.45296
  10  0.740493
  11  48.2631
  12  6.04549
  13  5.17418
  14  3.11126
  15  1.84797e-05
  16  5.31439
  17  22.6373
  18  0.19672
  19  0.0858554
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    4.8409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1476        5.0431        .50000       -.60709    
   3  Normalizat    .81034        .17468E-02    .43381E-03   -.99686    
   4  Prefactor     1.1525        .77933E-03    .16385E-03   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00397e-11
Minuit parameter uncertainties:
  1  0.000189809
  2  15146
  3  0.00174683
  4  0.00077933
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    4.8409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1476        5.0431        .50000       -.60709    
   3  Normalizat    .81034        .17468E-02    .43381E-03   -.99686    
   4  Prefactor     1.1525        .77933E-03    .16385E-03   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00397e-11
Minuit parameter uncertainties:
  1  0.000189809
  2  15146
  3  0.00174683
  4  0.00077933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.787673
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.887e-09  1.898e-04  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.148e+00  1.515e+04  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  7.793e-04  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.747e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31605518/cmap_HighResolution_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2026-07-13 22:38:50.254760', job_id='31605518', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1784007530.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.46e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2178' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 22:38:50 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.787673
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.887e-09  1.898e-04  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.148e+00  1.515e+04  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  7.793e-04  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.747e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31605490/cmap_HighResolution_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2026-07-13 22:38:51.825861', job_id='31605490', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1784007531.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.46e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2178' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 22:38:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.110e-10  8.401e-05  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  8.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 6.38631411342e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00500326759478 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31605549/likelihoodResults_803865601_804124801_4FGL_J1751.6+2921_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) = 12348.8171848
delta logL = -0.0295118159102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.7876731
delta logL = -6.27533154329e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .96061        .42118E-03** at limit **
   2  Index         2.1476        8.9234        .50000        .16371E-09
   3  Normalizat    .81034        .78113E-03    .97900E-01    .67759E-04
   4  Prefactor     1.1525        .34740E-03    .35864E-01    .83048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 2.1476
  Normalizat = 0.810337
  Prefactor  = 1.15252
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    4.8409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1476        5.0431        .50000       -.60709    
   3  Normalizat    .81034        .17468E-02    .43381E-03   -.99686    
   4  Prefactor     1.1525        .77933E-03    .16385E-03   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00397e-11
Minuit parameter uncertainties:
  1  0.000189809
  2  15146
  3  0.00174683
  4  0.00077933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.787673
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.887e-09  1.898e-04  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.148e+00  1.515e+04  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  7.793e-04  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.747e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31605549/cmap_HighResolution_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2026-07-13 22:39:44.094124', job_id='31605549', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1784007584.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.46e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2178' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 22:39:44 PDT 2026

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


Performing analysis on: 4FGL_J1751.6+2921_daily_bin2178
RA = 267.904, Dec = 29.3582
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='31606114', job_status='RUN', time_executed='2026-07-13 22:38:07.359373', time_epoch_executed='1784007487.36' WHERE source_name='4FGL J1751.6+2921' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31606114

Creating custom pfile directory:
/lscratch/kocevski/31606114/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/31606114/ft1_4FGL_J1751.6+2921_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/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31606114/ft1_4FGL_J1751.6+2921_daily_bin2178.fits outfile=/lscratch/kocevski/31606114/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin2178.fits ra=267.904 dec=29.3582 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 2.39
user 1.54
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_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/31606114/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_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 1.03
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1124

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31606114/ltcube_803865601_804124801_4FGL_J1751.6+2921_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/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits
.....................!
real 10.33
user 8.81
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31606114/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits outfile=/lscratch/kocevski/31606114/expmap_803865601_804124801_4FGL_J1751.6+2921_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/31606114/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits
.....................!
real 74.77
user 68.57
sys 4.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1751.6+2921 @ 267.904 29.3582

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits outfile=/lscratch/kocevski/31606114/cmap_803865601_804124801_4FGL_J1751.6+2921_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=267.904 yref=29.3582 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.96
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits outfile=/lscratch/kocevski/31606114/cmap_HighResolution_803865601_804124801_4FGL_J1751.6+2921_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=267.904 yref=29.3582 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.85
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31606114/Model_4FGL_J1751.6+2921_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 GAL_V02
Working on...
/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits.....................!
real 43.85
user 41.43
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits', '/lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits', expMap='/lscratch/kocevski/31606114/expmap_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits', expCube='/lscratch/kocevski/31606114/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31606114/Model_4FGL_J1751.6+2921_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31606114/ft1_filtered_4FGL_J1751.6+2921_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31606114/ft2_4FGL_J1751.6+2921_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31606114/expmap_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31606114/ltcube_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31606114/Model_4FGL_J1751.6+2921_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) = 12348.9186708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17153E-07   1.0000          .0000       .10000E+07
     2 'norm      '    6.4896       1.0000          .0000       .10000E+07
     3 'norm      '    .17103E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26357E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25626E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49127E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.2940       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9837       1.0000          .0000       .10000E+07
    10 'norm      '    .76322       1.0000          .0000       .10000E+07
    11 'norm      '    68.052       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.4630       1.0000          .0000       .10000E+07
    13 'norm      '    7.0026       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0299       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31475E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6593       1.0000          .0000       .10000E+07
    17 'norm      '    4.2098       1.0000          .0000       .10000E+07
    18 'Normalizat'    .81034       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1525       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1159 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.610       -.13929E-05** at limit **
   2  norm          6.4900        4.2958       -.50867E-06   -.47391E-02
   3  norm          .55511E-10    51.716       -.88573E-05** at limit **
   4  Prefactor     .55511E-10    102.63        .18643E-04** at limit **
   5  Prefactor      .0000        62.734        .16928E-04** at limit **
   6  Prefactor      .0000        15.766       -.27961E-06** at limit **
   7  Prefactor     .11102E-09    16.438       -.82645E-06** at limit **
   8  Prefactor     2.1147        1.3260       -.62409E-07   -.37780E-03
   9  Prefactor     4.9739        5.4476       -.32705E-06    .14922E-03
  10  norm          .76317        .74967       -.81787E-07   -.51367E-04
  11  norm          68.072        2.3724       -.15683E-06   -.46964E-02
  12  Prefactor     9.4638        5.9944       -.35305E-06   -.19808E-02
  13  norm          7.0019        5.1732        .67550E-06   -.56667E-03
  14  Prefactor     2.0297        3.0941        .42882E-06    .99235E-03
  15  Prefactor      .0000        4.1782       -.32304E-06** at limit **
  16  Prefactor     3.6577        5.2924        .94164E-06   -.18471E-02
  17  norm          4.2118        1.1705       -.23615E-06   -.61349E-02
  18  Normalizat    .81034        .21875        .38673E-04   -.19652E-03
  19  Prefactor     1.1525        .96486E-01   -.10540E-04   -.42379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 6.49005
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.11465
  Prefactor  = 4.97392
  norm       = 0.763168
  norm       = 68.0721
  Prefactor  = 9.46377
  norm       = 7.00189
  Prefactor  = 2.02969
  Prefactor  = 0
  Prefactor  = 3.65767
  norm       = 4.21182
  Normalizat = 0.810337
  Prefactor  = 1.15252
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=OK           308 CALLS     1467 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4900        4.3011        .39372E-03   -1.5657    
   3  norm          .55511E-10    51.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    102.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        62.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        15.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    16.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1147        236.55        .67739E-03   -1.5679    
   9  Prefactor     4.9739        5.4530        .45024E-03   -1.5663    
  10  norm          .76317        .74049        .55717E-03   -1.5690    
  11  norm          68.072        48.263        .12123E-03   -1.5543    
  12  Prefactor     9.4638        6.0455        .32553E-03   -1.5646    
  13  norm          7.0019        5.1742        .37887E-03   -1.5655    
  14  Prefactor     2.0297        3.1113        .72582E-03   -1.5679    
  15  Prefactor      .0000        4.2052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6577        5.3144        .52781E-03   -1.5670    
  17  norm          4.2118        30.417        .49091E-03   -1.5667    
  18  Normalizat    .81034        .19655        .97900E-01   -.99686    
  19  Prefactor     1.1525        .85845E-01    .35865E-01   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30654e-07
Minuit parameter uncertainties:
  1  2.34064e-05
  2  4.30107
  3  9.82588e-05
  4  0.000170603
  5  4.18816e-05
  6  9.92924e-06
  7  8.40131e-05
  8  44.7333
  9  5.45296
  10  0.740493
  11  48.2631
  12  6.04549
  13  5.17418
  14  3.11126
  15  1.84797e-05
  16  5.31439
  17  22.6373
  18  0.19672
  19  0.0858554
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.110e-10  8.401e-05  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  8.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 6.38631411342e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00500326759478 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31606114/likelihoodResults_803865601_804124801_4FGL_J1751.6+2921_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) = 12348.8171848
delta logL = -0.0295118159102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.7876731
delta logL = -6.27533154329e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12348.79     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .96061        .42118E-03** at limit **
   2  Index         2.1476        8.9234        .50000        .16371E-09
   3  Normalizat    .81034        .78113E-03    .97900E-01    .67759E-04
   4  Prefactor     1.1525        .34740E-03    .35864E-01    .83048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 2.1476
  Normalizat = 0.810337
  Prefactor  = 1.15252
 **********
 **   18 **HESSE 
 **********

 FCN=   12348.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    4.8409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1476        5.0431        .50000       -.60709    
   3  Normalizat    .81034        .17468E-02    .43381E-03   -.99686    
   4  Prefactor     1.1525        .77933E-03    .16385E-03   -.87805    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00397e-11
Minuit parameter uncertainties:
  1  0.000189809
  2  15146
  3  0.00174683
  4  0.00077933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12348.787673
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.887e-09  1.898e-04  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.148e+00  1.515e+04  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.153e+00  7.793e-04  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  8.103e-01  1.747e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31606114/cmap_HighResolution_803865601_804124801_4FGL_J1751.6+2921_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2026-07-13 22:45:49.501287', job_id='31606114', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1784007949.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.46e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2178' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 22:45:50 PDT 2026

