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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
/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)
_V02
Working on...
/lscratch/kocevski/31159418/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits.....................!
real 22.67
user 20.12
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31159418/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits', '/lscratch/kocevski/31159418/ft2_4FGL_J0734.0+5021_daily_bin2176.fits', expMap='/lscratch/kocevski/31159418/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', expCube='/lscratch/kocevski/31159418/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31159418/Model_4FGL_J0734.0+5021_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31159418/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31159418/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31159418/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31159418/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31159418/Model_4FGL_J0734.0+5021_daily_bin2176.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) = 4099.64968582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    298.27       1.0000          .0000       .10000E+07
     2 'norm      '    .23797E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11589E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.725       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24966E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .30743E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .71859E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75992E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .71198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25678E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    15 'norm      '    .10664E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18487E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.106       1.0000          .0000       .10000E+07
    19 'norm      '    .90465E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.2083       1.0000          .0000       .10000E+07
    21 'Prefactor '    .97657E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.7738       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13479E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95068       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253

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


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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
_V02
Working on...
/lscratch/kocevski/31159408/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits.....................!
real 22.62
user 20.52
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31159408/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits', '/lscratch/kocevski/31159408/ft2_4FGL_J0734.0+5021_daily_bin2176.fits', expMap='/lscratch/kocevski/31159408/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', expCube='/lscratch/kocevski/31159408/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31159408/Model_4FGL_J0734.0+5021_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31159408/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31159408/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31159408/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31159408/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31159408/Model_4FGL_J0734.0+5021_daily_bin2176.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) = 4099.64968582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    298.27       1.0000          .0000       .10000E+07
     2 'norm      '    .23797E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11589E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.725       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24966E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .30743E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .71859E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75992E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .71198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25678E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    15 'norm      '    .10664E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18487E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.106       1.0000          .0000       .10000E+07
    19 'norm      '    .90465E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.2083       1.0000          .0000       .10000E+07
    21 'Prefactor '    .97657E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.7738       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13479E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95068       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
 **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159417/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
 **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159417/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:54:23.417934', job_id='31159417', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641263.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:54:23 PDT 2026

Done.


Performing analysis on: 4FGL_J0734.0+5021_daily_bin2176
RA = 113.524, Dec = 50.3572
tmin = 803347201, tmax = 803606401
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='31159780', job_status='RUN', time_executed='2026-07-09 16:53:03.156637', time_epoch_executed='1783641183.16' WHERE source_name='4FGL J0734.0+5021' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31159780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31159780/ft1_4FGL_J0734.0+5021_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31159780/ft1_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159780/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin2176.fits ra=113.524 dec=50.3572 rad=12.0 tmin=803347201.0 tmax=803606401.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.91
user 1.43
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.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/31159780/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.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.65
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 383

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159418/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
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) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159418/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:54:42.889632', job_id='31159418', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641282.89', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:54:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159408/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
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) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159408/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:54:52.559984', job_id='31159408', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641292.56', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:54:52 PDT 2026

V02
Working on...
/lscratch/kocevski/31159477/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits.....................!
real 22.02
user 19.58
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31159477/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits', '/lscratch/kocevski/31159477/ft2_4FGL_J0734.0+5021_daily_bin2176.fits', expMap='/lscratch/kocevski/31159477/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', expCube='/lscratch/kocevski/31159477/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31159477/Model_4FGL_J0734.0+5021_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31159477/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31159477/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31159477/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31159477/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31159477/Model_4FGL_J0734.0+5021_daily_bin2176.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) = 4099.64968582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    298.27       1.0000          .0000       .10000E+07
     2 'norm      '    .23797E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11589E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.725       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24966E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .30743E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .71859E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75992E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .71198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25678E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    15 'norm      '    .10664E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18487E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.106       1.0000          .0000       .10000E+07
    19 'norm      '    .90465E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.2083       1.0000          .0000       .10000E+07
    21 'Prefactor '    .97657E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.7738       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13479E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95068       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0734.0+5021_daily_bin2176
RA = 113.524, Dec = 50.3572
tmin = 803347201, tmax = 803606401
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='31159962', job_status='RUN', time_executed='2026-07-09 16:54:00.251905', time_epoch_executed='1783641240.25' WHERE source_name='4FGL J0734.0+5021' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31159962

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31159962/ft1_4FGL_J0734.0+5021_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31159962/ft1_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159962/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin2176.fits ra=113.524 dec=50.3572 rad=12.0 tmin=803347201.0 tmax=803606401.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.13
user 1.70
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.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/31159962/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.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.59
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 383

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159477/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
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) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159477/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:55:52.252556', job_id='31159477', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641352.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:55:52 PDT 2026

tfile=/lscratch/kocevski/31159780/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
.....................!
real 9.06
user 8.47
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31159780/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159780/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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/31159780/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
.....................!
real 69.18
user 64.49
sys 3.92

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

Setting source of interest to:
4FGL J0734.0+5021 @ 113.524 50.3572

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159780/cmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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=113.524 yref=50.3572 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.70
user 0.24
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159780/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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=113.524 yref=50.3572 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.90
user 0.22
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31159780/Model_4FGL_J0734.0+5021_daily_bin2176.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 GALtfile=/lscratch/kocevski/31159962/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
.....................!
real 9.33
user 8.80
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31159962/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159962/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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/31159962/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
.....................!
real 73.32
user 68.34
sys 4.39

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

Setting source of interest to:
4FGL J0734.0+5021 @ 113.524 50.3572

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159962/cmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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=113.524 yref=50.3572 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.62
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits outfile=/lscratch/kocevski/31159962/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.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=113.524 yref=50.3572 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.69
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31159962/Model_4FGL_J0734.0+5021_daily_bin2176.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/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits.....................!
real 22.23
user 20.38
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits', '/lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits', expMap='/lscratch/kocevski/31159780/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', expCube='/lscratch/kocevski/31159780/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31159780/Model_4FGL_J0734.0+5021_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31159780/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31159780/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31159780/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31159780/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31159780/Model_4FGL_J0734.0+5021_daily_bin2176.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) = 4099.64968582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    298.27       1.0000          .0000       .10000E+07
     2 'norm      '    .23797E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11589E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.725       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24966E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .30743E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .71859E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75992E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .71198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25678E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    15 'norm      '    .10664E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18487E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.106       1.0000          .0000       .10000E+07
    19 'norm      '    .90465E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.2083       1.0000          .0000       .10000E+07
    21 'Prefactor '    .97657E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.7738       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13479E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95068       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
 **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159780/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
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) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159780/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:58:11.580964', job_id='31159780', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641491.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:58:11 PDT 2026

_V02
Working on...
/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits.....................!
real 22.27
user 20.69
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits', '/lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits', expMap='/lscratch/kocevski/31159962/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', expCube='/lscratch/kocevski/31159962/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31159962/Model_4FGL_J0734.0+5021_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31159962/ft1_filtered_4FGL_J0734.0+5021_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31159962/ft2_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31159962/expmap_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31159962/ltcube_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31159962/Model_4FGL_J0734.0+5021_daily_bin2176.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) = 4099.64968582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    298.27       1.0000          .0000       .10000E+07
     2 'norm      '    .23797E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11589E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.725       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24966E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .30743E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .71859E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75992E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .71198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25678E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    15 'norm      '    .10664E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18487E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.106       1.0000          .0000       .10000E+07
    19 'norm      '    .90465E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.2083       1.0000          .0000       .10000E+07
    21 'Prefactor '    .97657E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.7738       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13479E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95068       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     298.29        1.0897        .37763E-07   -.58339E-01
   2  norm          .21966E-06    2.9096       -.20229E-05** at limit **
   3  norm          .31225E-06    2.5101        .10182E-05** at limit **
   4  norm          .27756E-09    4.6905        .15612E-05** at limit **
   5  Prefactor     .60563E-07    10.467        .45022E-05** at limit **
   6  Prefactor     .94535E-07    5.4372        .66097E-05** at limit **
   7  Prefactor     48.021        3.7641        .38629E-06   -.44079E-01
   8  Prefactor      .0000        32.203        .14088E-05** at limit **
   9  norm          .72831E-07    2.1985       -.46511E-06** at limit **
  10  Prefactor     .21816E-07    15.813       -.55509E-05** at limit **
  11  Prefactor     .14433E-08    41.752       -.29890E-05** at limit **
  12  norm          .71336        1.0437       -.28062E-06   -.10799E-02
  13  Prefactor     .44409E-09    26.172        .41879E-05** at limit **
  14  Prefactor     14.520        1.1944        .12149E-06    .37993E-03
  15  norm           .0000        1.7781        .93839E-07** at limit **
  16  Prefactor     .80880E-07    2.2952       -.15154E-05** at limit **
  17  Prefactor     .85210E-07    63.761       -.62581E-05** at limit **
  18  Prefactor     34.105        1.0410       -.38028E-08   -.36687E-06
  19  norm          .33307E-09    2.8607        .71777E-07** at limit **
  20  norm          3.2098        2.0844       -.38905E-07    .37723E-02
  21  Prefactor     .19873E-07    5.4851       -.23922E-05** at limit **
  22  norm          1.7740        .73108        .51705E-07    .14761E-01
  23  Prefactor      .0000        2.9951        .27459E-08** at limit **
  24  Prefactor     5.4953        5.2627       -.16747E-06    .95887E-03
  25  Normalizat    .95043        .26272        .12526E-04   -.39360E-05
  26  Prefactor     .95420        .18558        .18854E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 298.294
  norm       = 2.19658e-07
  norm       = 3.1225e-07
  norm       = 2.77556e-10
  Prefactor  = 6.05627e-08
  Prefactor  = 9.45355e-08
  Prefactor  = 48.0208
  Prefactor  = 0
  norm       = 7.28306e-08
  Prefactor  = 2.18159e-08
  Prefactor  = 1.44329e-09
  norm       = 0.713356
  Prefactor  = 4.44089e-10
  Prefactor  = 14.5199
  norm       = 0
  Prefactor  = 8.08797e-08
  Prefactor  = 8.52096e-08
  Prefactor  = 34.1046
  norm       = 3.33067e-10
  norm       = 3.20983
  Prefactor  = 1.9873e-08
  norm       = 1.77399
  Prefactor  = 0
  Prefactor  = 5.49534
  Normalizat = 0.950428
  Prefactor  = 0.954199
 **********
 **   18 **HESSE 
 **********

 FCN=   4099.648     FROM HESSE     STATUS=OK           498 CALLS     2704 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     298.29        207.84        .57911E-04   -1.5363    
   2  norm          .21966E-06    8.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31225E-06    7.6146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    4.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60563E-07    10.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94535E-07    6.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.021        40.631        .14476E-03   -1.5569    
   8  Prefactor      .0000        31.988        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72831E-07    7.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21816E-07    15.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    41.557        .14625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .71336        1.0571        .59741E-03   -1.5691    
  13  Prefactor     .44409E-09    26.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.520        17.331        .26252E-03   -1.5632    
  15  norm           .0000        1.7756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80880E-07    8.3315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85210E-07    64.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.105        10.807        .17125E-03   -1.5591    
  19  norm          .33307E-09    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2098        2.0873        .56538E-03   -1.5672    
  21  Prefactor     .19873E-07    5.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7740        .73526        .77281E-03   -1.5681    
  23  Prefactor      .0000        2.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.4953        5.2635        .42861E-03   -1.5661    
  25  Normalizat    .95043        .23534        .66936E-01   -.94710    
  26  Prefactor     .95420        .16245        .45691E-01   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59845e-07
Minuit parameter uncertainties:
  1  207.842
  2  0.00269981
  3  0.00308397
  4  7.36266e-05
  5  0.00162794
  6  0.0015391
  7  40.6307
  8  4.19031e-05
  9  0.00151145
  10  0.00118153
  11  0.00048646
  12  1.05711
  13  0.000210218
  14  17.3312
  15  3.53917e-06
  16  0.00164162
  17  0.00468032
  18  10.8074
  19  6.16695e-05
  20  2.08728
  21  0.000669809
  22  0.735257
  23  1.3141e-05
  24  5.26354
  25  0.235596
  26  0.16253
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.443e-09  4.865e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.45938777847e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0113300284985 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31159962/likelihoodResults_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4099.65989841
delta logL = -0.0115212264654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4099.25357719
delta logL = 0.394799991813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4099.648     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      361 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.055        .18848E-05** at limit **
   2  Index         1.3169        .15762       -.56083E-05     .0000    
   3  Normalizat    .95042        .26308       -.88523E-05   -.18469E-04
   4  Prefactor     .95420        .18568        .10410E-04   -.88228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31695
  Normalizat = 0.950425
  Prefactor  = 0.954201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4099.648     FROM HESSE     STATUS=FAILED        11 CALLS      372 TOTAL
                     EDM=   .85E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13482        1.4415       -.56083E-05   -233.31    
   3  Normalizat    .95042        1.2557       -.88523E-05   -51.213    
   4  Prefactor     .95420        1.3078        .10410E-04   -51.208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.50652e-13
Minuit parameter uncertainties:
  1  2.88622e-06
  2  1.27659
  3  1.29817
  4  1.35542
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) = 4099.64837718
delta logL = 7.91260390542e-11

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.886e-06  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.317e+00  1.277e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.542e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.504e-01  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/31159962/cmap_HighResolution_803347201_803606401_4FGL_J0734.0+5021_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2026-07-09 16:59:18.183048', job_id='31159962', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1783641558.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2176' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 16:59:18 PDT 2026

