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

 FCN=   8125.035     FROM HESSE     STATUS=OK           862 CALLS     4534 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5008        4.2681        .42843E-03   -1.5661    
   2  Prefactor     61.857        83.932        .12634E-03   -1.5551    
   3  Prefactor     .44409E-09    22.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58943E-01    3.5454        .10407E-01   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    18.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        7.6139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28290        3.8037        .55829E-02   -1.5697    
   8  Prefactor     .11102E-09    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0012        8.4705        .50461E-03   -1.5668    
  10  Prefactor     17.995        12.889        .23569E-03   -1.5623    
  11  Prefactor      .0000        9.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2488        .82718        .68475E-03   -1.5678    
  13  Prefactor     .55511E-10    4.4692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.318        14.899        .21663E-03   -1.5616    
  15  Prefactor     1.0189        12.154        .44091E-03   -1.5688    
  16  Prefactor      .0000        3.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9139        3.8384        .45324E-03   -1.5664    
  18  Prefactor      .0000        36.577        .17353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44729        4.0960        .84885E-02   -1.5695    
  20  Prefactor      .0000        4.5100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    28.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.482        77.215        .14226E-03   -1.5570    
  23  norm          1.1378        1.0342        .20542E-02   -1.5687    
  24  Prefactor     .55511E-10    6.5023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.8115        2.9952        .51670E-03   -1.5669    
  26  Prefactor     12.684        20.031        .27994E-03   -1.5637    
  27  Prefactor     .49960E-09    41.124        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.1164        6.1494        .44343E-03   -1.5663    
  29  norm          .21537        4.4606        .62081E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        3.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .55511E-10    10.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .84732E-06    760.01        .59362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          2.7673        2.5060        .61216E-03   -1.5675    
  34  Normalizat    .96374        .19381        .67528E-01   -.94255    
  35  Prefactor     .97525        .13817        .45958E-01   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68848e-08
Minuit parameter uncertainties:
  1  4.2681
  2  83.9335
  3  0.000198279
  4  0.914273
  5  0.000168311
  6  2.0779e-05
  7  2.07468
  8  7.07471e-05
  9  8.47057
  10  12.8887
  11  2.14014e-05
  12  0.82718
  13  2.26279e-05
  14  14.8995
  15  7.03829
  16  7.50233e-06
  17  3.83842
  18  6.16542e-05
  19  2.70711
  20  6.52776e-06
  21  0.000191897
  22  77.2166
  23  1.03416
  24  4.19733e-05
  25  2.99523
  26  20.0313
  27  0.000290227
  28  6.14939
  29  1.96029
  30  1.80065e-06
  31  3.59402e-05
  32  0.0507593
  33  2.50604
  34  0.193952
  35  0.13822
/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/32466609/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits.....................!
real 26.55
user 24.80
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32466609/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits', '/lscratch/kocevski/32466609/ft2_4FGL_J1722.6+6104_daily_bin2186.fits', expMap='/lscratch/kocevski/32466609/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', expCube='/lscratch/kocevski/32466609/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32466609/Model_4FGL_J1722.6+6104_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1722.6+6104'

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.901e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32466609/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32466609/ft2_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32466609/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32466609/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32466609/Model_4FGL_J1722.6+6104_daily_bin2186.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) = 8125.05053844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4941       1.0000          .0000       .10000E+07
     2 'Prefactor '    62.653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40224E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .11875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60989E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .12381E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32916       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11486E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.9909       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.017       1.0000          .0000       .10000E+07
    11 'Prefactor '    .86296E-05   1.0000          .0000       .10000E+07
    12 'norm      '    2.2499       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36169E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.322       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0092       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23250E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9193       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15500E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .44098       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26208E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .28944E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    49.423       1.0000          .0000       .10000E+07
    23 'norm      '    1.1381       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11003E-02   1.0000          .0000       .10000E+07
    25 'norm      '    3.8124       1.0000          .0000       .10000E+07
    26 'Prefactor '    12.780       1.0000          .0000       .10000E+07
    27 'Prefactor '    .30969E-01   1.0000          .00
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.019e+00  7.038e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.752e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.637e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 260.662 61.073
Photon Flux Upper Limit: 1.08661949575e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00862301357037 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32466501/likelihoodResults_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.99792823
delta logL = 1.03703262102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.80636517
delta logL = 1.228595683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      403 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.033        .42118E-03** at limit **
   2  Index         2.1720        1.3897       -.59042E-05     .0000    
   3  Normalizat    .97065        1.2720        .78207E-05    .43658E-04
   4  Prefactor     .97304        1.2146       -.19575E-04    .23524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.17197
  Normalizat = 0.970653
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5448        2.2074       -.59042E-05   -21.390    
   3  Normalizat    .97065        1.2720        .78207E-05   -.94020    
   4  Prefactor     .97304        1.2146       -.19575E-04   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.44618e-12
Minuit parameter uncertainties:
  1  5.42687e-06
  2  1.41749
  3  1.31533
  4  1.25145
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) = 8125.04595117
delta logL = -0.0109903166549

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  0.000e+00  5.427e-06  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.172e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.730e-01  1.251e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.707e-01  1.315e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 260.662 61.073

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32466501/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-07-20 14:24:18.619520', job_id='32466501', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1784582658.62', return_code2='101', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.84' WHERE bin_id='2186' AND source_name='4FGL J1722.6+6104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 14:24:18 PDT 2026

00       .10000E+07
    28 'Prefactor '    5.1348       1.0000          .0000       .10000E+07
    29 'norm      '    .22192       1.0000          .0000       .10000E+07
    30 'Prefactor '    .43556E-05   1.0000          .0000       .10000E+07
    31 'Prefactor '    .67892E-03   1.0000          .0000       .10000E+07
    32 'Prefactor '    .71671       1.0000          .0000       .10000E+07
    33 'norm      '    2.7622       1.0000          .0000       .10000E+07
    34 'Normalizat'    .96238       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .97536       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8125.035     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     3672 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5008        4.1573       -.53685E-07    .75742E-03
   2  Prefactor     61.857        23.561        .18995E-06   -.13850E-01
   3  Prefactor     .44409E-09    22.088       -.43981E-06** at limit **
   4  norm          .58943E-01    272.13       -.18105E-04** at limit **
   5  Prefactor     .38858E-09    18.674        .31365E-06** at limit **
   6  norm           .0000        7.6174       -.34776E-06** at limit **
   7  Prefactor     .28290        17.377        .10083E-05   -.17885E-03
   8  Prefactor     .11102E-09    8.7123       -.79398E-06** at limit **
   9  norm          4.0012        8.4485        .96631E-06   -.79151E-03
  10  Prefactor     17.995        3.8462        .14745E-06    .23313E-01
  11  Prefactor      .0000        9.4199        .10277E-06** at limit **
  12  norm          2.2488        .80410        .40195E-07    .29054E-02
  13  Prefactor     .55511E-10    4.4784       -.15475E-06** at limit **
  14  Prefactor     21.318        3.5535       -.87770E-07   -.71359E-02
  15  Prefactor     1.0189        6.1301       -.58900E-06    .16530E-02
  16  Prefactor      .0000        3.1957        .30362E-06** at limit **
  17  Prefactor     4.9139        3.8254        .10446E-07    .10580E-02
  18  Prefactor      .0000        36.556       -.17455E-06** at limit **
  19  norm          .44729        24.623        .68267E-06    .17991E-02
  20  Prefactor      .0000        4.5384       -.19708E-08** at limit **
  21  Prefactor     .33307E-09    28.140        .11400E-05** at limit **
  22  Prefactor     47.482        77.232        .15192E-05    .15001E-04
  23  norm          1.1378        1.1361       -.21810E-07    .12388E-02
  24  Prefactor     .55511E-10    6.5079        .27923E-06** at limit **
  25  norm          3.8115        2.9866        .52463E-07   -.23870E-03
  26  Prefactor     12.684        3.2566        .29722E-06    .83729E-02
  27  Prefactor     .49960E-09    41.133        .10969E-05** at limit **
  28  Prefactor     5.1164        6.1016        .11214E-06    .43548E-03
  29  norm          .21537        26.371       -.16049E-05** at limit **
  30  Prefactor      .0000        3.6492       -.29528E-06** at limit **
  31  Prefactor     .55511E-10    7.5157        .75690E-06** at limit **
  32  Prefactor     .84732E-06    711.85        .17315E-05** at limit **
  33  norm          2.7673        2.4965        .23676E-06   -.90018E-03
  34  Normalizat    .96374        .22842       -.18528E-04    .66110E-04
  35  Prefactor     .97525        .16464        .95486E-05    .82784E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.50077
  Prefactor  = 61.8567
  Prefactor  = 4.44089e-10
  norm       = 0.0589429
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 0.282903
  Prefactor  = 1.11022e-10
  norm       = 4.00123
  Prefactor  = 17.995
  Prefactor  = 0
  norm       = 2.24877
  Prefactor  = 5.55112e-11
  Prefactor  = 21.3178
  Prefactor  = 1.01893
  Prefactor  = 0
  Prefactor  = 4.91389
  Prefactor  = 0
  norm       = 0.447292
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 47.4822
  norm       = 1.13781
  Prefactor  = 5.55112e-11
  norm       = 3.81145
  Prefactor  = 12.6839
  Prefactor  = 4.996e-10
  Prefactor  = 5.11638
  norm       = 0.215371
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.47322e-07
  norm       = 2.76734
  Normalizat = 0.963743
  Prefactor  = 0.975246
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1722.6+6104_daily_bin2186
RA = 260.662, Dec = 61.0734
tmin = 805939201, tmax = 806198401
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='32467313', job_status='RUN', time_executed='2026-07-20 14:23:18.115024', time_epoch_executed='1784582598.12' WHERE source_name='4FGL J1722.6+6104' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32467313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32467313/ft1_4FGL_J1722.6+6104_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32467313/ft1_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467313/ft1_filteredMKT_4FGL_J1722.6+6104_daily_bin2186.fits ra=260.662 dec=61.0734 rad=12.0 tmin=805939201.0 tmax=806198401.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.83
user 2.05
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.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/32467313/ft1_filteredMKT_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.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.92
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 782

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   8125.035     FROM HESSE     STATUS=OK           862 CALLS     4534 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5008        4.2681        .42843E-03   -1.5661    
   2  Prefactor     61.857        83.932        .12634E-03   -1.5551    
   3  Prefactor     .44409E-09    22.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58943E-01    3.5454        .10407E-01   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    18.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        7.6139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28290        3.8037        .55829E-02   -1.5697    
   8  Prefactor     .11102E-09    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0012        8.4705        .50461E-03   -1.5668    
  10  Prefactor     17.995        12.889        .23569E-03   -1.5623    
  11  Prefactor      .0000        9.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2488        .82718        .68475E-03   -1.5678    
  13  Prefactor     .55511E-10    4.4692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.318        14.899        .21663E-03   -1.5616    
  15  Prefactor     1.0189        12.154        .44091E-03   -1.5688    
  16  Prefactor      .0000        3.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9139        3.8384        .45324E-03   -1.5664    
  18  Prefactor      .0000        36.577        .17353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44729        4.0960        .84885E-02   -1.5695    
  20  Prefactor      .0000        4.5100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    28.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.482        77.215        .14226E-03   -1.5570    
  23  norm          1.1378        1.0342        .20542E-02   -1.5687    
  24  Prefactor     .55511E-10    6.5023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.8115        2.9952        .51670E-03   -1.5669    
  26  Prefactor     12.684        20.031        .27994E-03   -1.5637    
  27  Prefactor     .49960E-09    41.124        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.1164        6.1494        .44343E-03   -1.5663    
  29  norm          .21537        4.4606        .62081E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        3.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .55511E-10    10.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .84732E-06    760.01        .59362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          2.7673        2.5060        .61216E-03   -1.5675    
  34  Normalizat    .96374        .19381        .67528E-01   -.94255    
  35  Prefactor     .97525        .13817        .45958E-01   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68848e-08
Minuit parameter uncertainties:
  1  4.2681
  2  83.9335
  3  0.000198279
  4  0.914273
  5  0.000168311
  6  2.0779e-05
  7  2.07468
  8  7.07471e-05
  9  8.47057
  10  12.8887
  11  2.14014e-05
  12  0.82718
  13  2.26279e-05
  14  14.8995
  15  7.03829
  16  7.50233e-06
  17  3.83842
  18  6.16542e-05
  19  2.70711
  20  6.52776e-06
  21  0.000191897
  22  77.2166
  23  1.03416
  24  4.19733e-05
  25  2.99523
  26  20.0313
  27  0.000290227
  28  6.14939
  29  1.96029
  30  1.80065e-06
  31  3.59402e-05
  32  0.0507593
  33  2.50604
  34  0.193952
  35  0.13822
Done.

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

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.019e+00  7.038e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.752e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.637e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 260.662 61.073
Photon Flux Upper Limit: 1.08661949575e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00862301357037 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32466489/likelihoodResults_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.99792823
delta logL = 1.03703262102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.80636517
delta logL = 1.228595683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      403 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.033        .42118E-03** at limit **
   2  Index         2.1720        1.3897       -.59042E-05     .0000    
   3  Normalizat    .97065        1.2720        .78207E-05    .43658E-04
   4  Prefactor     .97304        1.2146       -.19575E-04    .23524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.17197
  Normalizat = 0.970653
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5448        2.2074       -.59042E-05   -21.390    
   3  Normalizat    .97065        1.2720        .78207E-05   -.94020    
   4  Prefactor     .97304        1.2146       -.19575E-04   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.44618e-12
Minuit parameter uncertainties:
  1  5.42687e-06
  2  1.41749
  3  1.31533
  4  1.25145
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) = 8125.04595117
delta logL = -0.0109903166549

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  0.000e+00  5.427e-06  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.172e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.730e-01  1.251e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.707e-01  1.315e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 260.662 61.073

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32466489/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-07-20 14:25:21.825120', job_id='32466489', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1784582721.83', return_code2='101', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.84' WHERE bin_id='2186' AND source_name='4FGL J1722.6+6104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 14:25:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.019e+00  7.038e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.752e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.637e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 260.662 61.073
Photon Flux Upper Limit: 1.08661949575e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00862301357037 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32466609/likelihoodResults_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.99792823
delta logL = 1.03703262102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.80636517
delta logL = 1.228595683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      403 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.033        .42118E-03** at limit **
   2  Index         2.1720        1.3897       -.59042E-05     .0000    
   3  Normalizat    .97065        1.2720        .78207E-05    .43658E-04
   4  Prefactor     .97304        1.2146       -.19575E-04    .23524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.17197
  Normalizat = 0.970653
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5448        2.2074       -.59042E-05   -21.390    
   3  Normalizat    .97065        1.2720        .78207E-05   -.94020    
   4  Prefactor     .97304        1.2146       -.19575E-04   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.44618e-12
Minuit parameter uncertainties:
  1  5.42687e-06
  2  1.41749
  3  1.31533
  4  1.25145
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) = 8125.04595117
delta logL = -0.0109903166549

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  0.000e+00  5.427e-06  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.172e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.730e-01  1.251e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.707e-01  1.315e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 260.662 61.073

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32466609/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-07-20 14:26:21.149127', job_id='32466609', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1784582781.15', return_code2='101', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.84' WHERE bin_id='2186' AND source_name='4FGL J1722.6+6104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 14:26:21 PDT 2026

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


Performing analysis on: 4FGL_J1722.6+6104_daily_bin2186
RA = 260.662, Dec = 61.0734
tmin = 805939201, tmax = 806198401
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='32467432', job_status='RUN', time_executed='2026-07-20 14:24:16.968663', time_epoch_executed='1784582656.97' WHERE source_name='4FGL J1722.6+6104' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32467432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32467432/ft1_4FGL_J1722.6+6104_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32467432/ft1_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467432/ft1_filteredMKT_4FGL_J1722.6+6104_daily_bin2186.fits ra=260.662 dec=61.0734 rad=12.0 tmin=805939201.0 tmax=806198401.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.57
user 1.70
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.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/32467432/ft1_filteredMKT_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.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.97
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 782

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32467313/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits
.....................!
real 10.38
user 9.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32467313/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467313/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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/32467313/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
.....................!
real 73.57
user 68.33
sys 4.27

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

Setting source of interest to:
4FGL J1722.6+6104 @ 260.662 61.0734

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467313/cmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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=260.662 yref=61.0734 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467313/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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=260.662 yref=61.0734 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.82
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32467313/Model_4FGL_J1722.6+6104_daily_bin2186.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 GAtfile=/lscratch/kocevski/32467432/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits
.....................!
real 7.52
user 6.71
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32467432/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467432/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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/32467432/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
.....................!
real 59.96
user 55.56
sys 3.44

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

Setting source of interest to:
4FGL J1722.6+6104 @ 260.662 61.0734

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467432/cmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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=260.662 yref=61.0734 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits outfile=/lscratch/kocevski/32467432/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.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=260.662 yref=61.0734 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.91
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32467432/Model_4FGL_J1722.6+6104_daily_bin2186.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 GALL_V02
Working on...
/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits.....................!
real 32.86
user 29.93
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits', '/lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits', expMap='/lscratch/kocevski/32467313/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', expCube='/lscratch/kocevski/32467313/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32467313/Model_4FGL_J1722.6+6104_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1722.6+6104'

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.901e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32467313/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32467313/ft2_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32467313/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32467313/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32467313/Model_4FGL_J1722.6+6104_daily_bin2186.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) = 8125.05053844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4941       1.0000          .0000       .10000E+07
     2 'Prefactor '    62.653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40224E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .11875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60989E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .12381E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32916       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11486E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.9909       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.017       1.0000          .0000       .10000E+07
    11 'Prefactor '    .86296E-05   1.0000          .0000       .10000E+07
    12 'norm      '    2.2499       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36169E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.322       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0092       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23250E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9193       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15500E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .44098       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26208E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .28944E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    49.423       1.0000          .0000       .10000E+07
    23 'norm      '    1.1381       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11003E-02   1.0000          .0000       .10000E+07
    25 'norm      '    3.8124       1.0000          .0000       .10000E+07
    26 'Prefactor '    12.780       1.0000          .0000       .10000E+07
    27 'Prefactor '    .30969E-01   1.0000          .0000       .10000E+07
    28 'Prefactor '    5.1348       1.0000          .0000       .10000E+07
    29 'norm      '    .22192       1.0000          .0000       .10000E+07
    30 'Prefactor '    .43556E-05   1.0000          .0000       .10000E+07
    31 'Prefactor '    .67892E-03   1.0000          .0000       .10000E+07
    32 'Prefactor '    .71671       1.0000          .0000       .10000E+07
    33 'norm      '    2.7622       1.0000          .0000       .10000E+07
    34 'Normalizat'    .96238       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .97536       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8125.035     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     3672 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5008        4.1573       -.53685E-07    .75742E-03
   2  Prefactor     61.857        23.561        .18995E-06   -.13850E-01
   3  Prefactor     .44409E-09    22.088       -.43981E-06** at limit **
   4  norm          .58943E-01    272.13       -.18105E-04** at limit **
   5  Prefactor     .38858E-09    18.674        .31365E-06** at limit **
   6  norm           .0000        7.6174       -.34776E-06** at limit **
   7  Prefactor     .28290        17.377        .10083E-05   -.17885E-03
   8  Prefactor     .11102E-09    8.7123       -.79398E-06** at limit **
   9  norm          4.0012        8.4485        .96631E-06   -.79151E-03
  10  Prefactor     17.995        3.8462        .14745E-06    .23313E-01
  11  Prefactor      .0000        9.4199        .10277E-06** at limit **
  12  norm          2.2488        .80410        .40195E-07    .29054E-02
  13  Prefactor     .55511E-10    4.4784       -.15475E-06** at limit **
  14  Prefactor     21.318        3.5535       -.87770E-07   -.71359E-02
  15  Prefactor     1.0189        6.1301       -.58900E-06    .16530E-02
  16  Prefactor      .0000        3.1957        .30362E-06** at limit **
  17  Prefactor     4.9139        3.8254        .10446E-07    .10580E-02
  18  Prefactor      .0000        36.556       -.17455E-06** at limit **
  19  norm          .44729        24.623        .68267E-06    .17991E-02
  20  Prefactor      .0000        4.5384       -.19708E-08** at limit **
  21  Prefactor     .33307E-09    28.140        .11400E-05** at limit **
  22  Prefactor     47.482        77.232        .15192E-05    .15001E-04
  23  norm          1.1378        1.1361       -.21810E-07    .12388E-02
  24  Prefactor     .55511E-10    6.5079        .27923E-06** at limit **
  25  norm          3.8115        2.9866        .52463E-07   -.23870E-03
  26  Prefactor     12.684        3.2566        .29722E-06    .83729E-02
  27  Prefactor     .49960E-09    41.133        .10969E-05** at limit **
  28  Prefactor     5.1164        6.1016        .11214E-06    .43548E-03
  29  norm          .21537        26.371       -.16049E-05** at limit **
  30  Prefactor      .0000        3.6492       -.29528E-06** at limit **
  31  Prefactor     .55511E-10    7.5157        .75690E-06** at limit **
  32  Prefactor     .84732E-06    711.85        .17315E-05** at limit **
  33  norm          2.7673        2.4965        .23676E-06   -.90018E-03
  34  Normalizat    .96374        .22842       -.18528E-04    .66110E-04
  35  Prefactor     .97525        .16464        .95486E-05    .82784E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.50077
  Prefactor  = 61.8567
  Prefactor  = 4.44089e-10
  norm       = 0.0589429
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 0.282903
  Prefactor  = 1.11022e-10
  norm       = 4.00123
  Prefactor  = 17.995
  Prefactor  = 0
  norm       = 2.24877
  Prefactor  = 5.55112e-11
  Prefactor  = 21.3178
  Prefactor  = 1.01893
  Prefactor  = 0
  Prefactor  = 4.91389
  Prefactor  = 0
  norm       = 0.447292
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 47.4822
  norm       = 1.13781
  Prefactor  = 5.55112e-11
  norm       = 3.81145
  Prefactor  = 12.6839
  Prefactor  = 4.996e-10
  Prefactor  = 5.11638
  norm       = 0.215371
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.47322e-07
  norm       = 2.76734
  Normalizat = 0.963743
  Prefactor  = 0.975246
_V02
Working on...
/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits.....................!
real 27.85
user 25.96
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits', '/lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits', expMap='/lscratch/kocevski/32467432/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', expCube='/lscratch/kocevski/32467432/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32467432/Model_4FGL_J1722.6+6104_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1722.6+6104'

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.901e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32467432/ft1_filtered_4FGL_J1722.6+6104_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32467432/ft2_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32467432/expmap_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32467432/ltcube_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32467432/Model_4FGL_J1722.6+6104_daily_bin2186.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) = 8125.05053844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4941       1.0000          .0000       .10000E+07
     2 'Prefactor '    62.653       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40224E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .11875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60989E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .12381E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32916       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11486E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.9909       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.017       1.0000          .0000       .10000E+07
    11 'Prefactor '    .86296E-05   1.0000          .0000       .10000E+07
    12 'norm      '    2.2499       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36169E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.322       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0092       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23250E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9193       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15500E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .44098       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26208E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .28944E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    49.423       1.0000          .0000       .10000E+07
    23 'norm      '    1.1381       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11003E-02   1.0000          .0000       .10000E+07
    25 'norm      '    3.8124       1.0000          .0000       .10000E+07
    26 'Prefactor '    12.780       1.0000          .0000       .10000E+07
    27 'Prefactor '    .30969E-01   1.0000          .0000       .10000E+07
    28 'Prefactor '    5.1348       1.0000          .0000       .10000E+07
    29 'norm      '    .22192       1.0000          .0000       .10000E+07
    30 'Prefactor '    .43556E-05   1.0000          .0000       .10000E+07
    31 'Prefactor '    .67892E-03   1.0000          .0000       .10000E+07
    32 'Prefactor '    .71671       1.0000          .0000       .10000E+07
    33 'norm      '    2.7622       1.0000          .0000       .10000E+07
    34 'Normalizat'    .96238       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .97536       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8125.035     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     3672 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5008        4.1573       -.53685E-07    .75742E-03
   2  Prefactor     61.857        23.561        .18995E-06   -.13850E-01
   3  Prefactor     .44409E-09    22.088       -.43981E-06** at limit **
   4  norm          .58943E-01    272.13       -.18105E-04** at limit **
   5  Prefactor     .38858E-09    18.674        .31365E-06** at limit **
   6  norm           .0000        7.6174       -.34776E-06** at limit **
   7  Prefactor     .28290        17.377        .10083E-05   -.17885E-03
   8  Prefactor     .11102E-09    8.7123       -.79398E-06** at limit **
   9  norm          4.0012        8.4485        .96631E-06   -.79151E-03
  10  Prefactor     17.995        3.8462        .14745E-06    .23313E-01
  11  Prefactor      .0000        9.4199        .10277E-06** at limit **
  12  norm          2.2488        .80410        .40195E-07    .29054E-02
  13  Prefactor     .55511E-10    4.4784       -.15475E-06** at limit **
  14  Prefactor     21.318        3.5535       -.87770E-07   -.71359E-02
  15  Prefactor     1.0189        6.1301       -.58900E-06    .16530E-02
  16  Prefactor      .0000        3.1957        .30362E-06** at limit **
  17  Prefactor     4.9139        3.8254        .10446E-07    .10580E-02
  18  Prefactor      .0000        36.556       -.17455E-06** at limit **
  19  norm          .44729        24.623        .68267E-06    .17991E-02
  20  Prefactor      .0000        4.5384       -.19708E-08** at limit **
  21  Prefactor     .33307E-09    28.140        .11400E-05** at limit **
  22  Prefactor     47.482        77.232        .15192E-05    .15001E-04
  23  norm          1.1378        1.1361       -.21810E-07    .12388E-02
  24  Prefactor     .55511E-10    6.5079        .27923E-06** at limit **
  25  norm          3.8115        2.9866        .52463E-07   -.23870E-03
  26  Prefactor     12.684        3.2566        .29722E-06    .83729E-02
  27  Prefactor     .49960E-09    41.133        .10969E-05** at limit **
  28  Prefactor     5.1164        6.1016        .11214E-06    .43548E-03
  29  norm          .21537        26.371       -.16049E-05** at limit **
  30  Prefactor      .0000        3.6492       -.29528E-06** at limit **
  31  Prefactor     .55511E-10    7.5157        .75690E-06** at limit **
  32  Prefactor     .84732E-06    711.85        .17315E-05** at limit **
  33  norm          2.7673        2.4965        .23676E-06   -.90018E-03
  34  Normalizat    .96374        .22842       -.18528E-04    .66110E-04
  35  Prefactor     .97525        .16464        .95486E-05    .82784E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.50077
  Prefactor  = 61.8567
  Prefactor  = 4.44089e-10
  norm       = 0.0589429
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 0.282903
  Prefactor  = 1.11022e-10
  norm       = 4.00123
  Prefactor  = 17.995
  Prefactor  = 0
  norm       = 2.24877
  Prefactor  = 5.55112e-11
  Prefactor  = 21.3178
  Prefactor  = 1.01893
  Prefactor  = 0
  Prefactor  = 4.91389
  Prefactor  = 0
  norm       = 0.447292
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 47.4822
  norm       = 1.13781
  Prefactor  = 5.55112e-11
  norm       = 3.81145
  Prefactor  = 12.6839
  Prefactor  = 4.996e-10
  Prefactor  = 5.11638
  norm       = 0.215371
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.47322e-07
  norm       = 2.76734
  Normalizat = 0.963743
  Prefactor  = 0.975246
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.035     FROM HESSE     STATUS=OK           862 CALLS     4534 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5008        4.2681        .42843E-03   -1.5661    
   2  Prefactor     61.857        83.932        .12634E-03   -1.5551    
   3  Prefactor     .44409E-09    22.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58943E-01    3.5454        .10407E-01   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    18.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        7.6139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28290        3.8037        .55829E-02   -1.5697    
   8  Prefactor     .11102E-09    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0012        8.4705        .50461E-03   -1.5668    
  10  Prefactor     17.995        12.889        .23569E-03   -1.5623    
  11  Prefactor      .0000        9.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2488        .82718        .68475E-03   -1.5678    
  13  Prefactor     .55511E-10    4.4692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.318        14.899        .21663E-03   -1.5616    
  15  Prefactor     1.0189        12.154        .44091E-03   -1.5688    
  16  Prefactor      .0000        3.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9139        3.8384        .45324E-03   -1.5664    
  18  Prefactor      .0000        36.577        .17353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44729        4.0960        .84885E-02   -1.5695    
  20  Prefactor      .0000        4.5100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    28.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.482        77.215        .14226E-03   -1.5570    
  23  norm          1.1378        1.0342        .20542E-02   -1.5687    
  24  Prefactor     .55511E-10    6.5023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.8115        2.9952        .51670E-03   -1.5669    
  26  Prefactor     12.684        20.031        .27994E-03   -1.5637    
  27  Prefactor     .49960E-09    41.124        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.1164        6.1494        .44343E-03   -1.5663    
  29  norm          .21537        4.4606        .62081E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        3.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .55511E-10    10.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .84732E-06    760.01        .59362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          2.7673        2.5060        .61216E-03   -1.5675    
  34  Normalizat    .96374        .19381        .67528E-01   -.94255    
  35  Prefactor     .97525        .13817        .45958E-01   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68848e-08
Minuit parameter uncertainties:
  1  4.2681
  2  83.9335
  3  0.000198279
  4  0.914273
  5  0.000168311
  6  2.0779e-05
  7  2.07468
  8  7.07471e-05
  9  8.47057
  10  12.8887
  11  2.14014e-05
  12  0.82718
  13  2.26279e-05
  14  14.8995
  15  7.03829
  16  7.50233e-06
  17  3.83842
  18  6.16542e-05
  19  2.70711
  20  6.52776e-06
  21  0.000191897
  22  77.2166
  23  1.03416
  24  4.19733e-05
  25  2.99523
  26  20.0313
  27  0.000290227
  28  6.14939
  29  1.96029
  30  1.80065e-06
  31  3.59402e-05
  32  0.0507593
  33  2.50604
  34  0.193952
  35  0.13822
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.035     FROM HESSE     STATUS=OK           862 CALLS     4534 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5008        4.2681        .42843E-03   -1.5661    
   2  Prefactor     61.857        83.932        .12634E-03   -1.5551    
   3  Prefactor     .44409E-09    22.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58943E-01    3.5454        .10407E-01   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    18.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        7.6139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28290        3.8037        .55829E-02   -1.5697    
   8  Prefactor     .11102E-09    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0012        8.4705        .50461E-03   -1.5668    
  10  Prefactor     17.995        12.889        .23569E-03   -1.5623    
  11  Prefactor      .0000        9.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2488        .82718        .68475E-03   -1.5678    
  13  Prefactor     .55511E-10    4.4692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.318        14.899        .21663E-03   -1.5616    
  15  Prefactor     1.0189        12.154        .44091E-03   -1.5688    
  16  Prefactor      .0000        3.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9139        3.8384        .45324E-03   -1.5664    
  18  Prefactor      .0000        36.577        .17353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44729        4.0960        .84885E-02   -1.5695    
  20  Prefactor      .0000        4.5100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    28.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.482        77.215        .14226E-03   -1.5570    
  23  norm          1.1378        1.0342        .20542E-02   -1.5687    
  24  Prefactor     .55511E-10    6.5023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.8115        2.9952        .51670E-03   -1.5669    
  26  Prefactor     12.684        20.031        .27994E-03   -1.5637    
  27  Prefactor     .49960E-09    41.124        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.1164        6.1494        .44343E-03   -1.5663    
  29  norm          .21537        4.4606        .62081E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        3.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .55511E-10    10.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .84732E-06    760.01        .59362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          2.7673        2.5060        .61216E-03   -1.5675    
  34  Normalizat    .96374        .19381        .67528E-01   -.94255    
  35  Prefactor     .97525        .13817        .45958E-01   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68848e-08
Minuit parameter uncertainties:
  1  4.2681
  2  83.9335
  3  0.000198279
  4  0.914273
  5  0.000168311
  6  2.0779e-05
  7  2.07468
  8  7.07471e-05
  9  8.47057
  10  12.8887
  11  2.14014e-05
  12  0.82718
  13  2.26279e-05
  14  14.8995
  15  7.03829
  16  7.50233e-06
  17  3.83842
  18  6.16542e-05
  19  2.70711
  20  6.52776e-06
  21  0.000191897
  22  77.2166
  23  1.03416
  24  4.19733e-05
  25  2.99523
  26  20.0313
  27  0.000290227
  28  6.14939
  29  1.96029
  30  1.80065e-06
  31  3.59402e-05
  32  0.0507593
  33  2.50604
  34  0.193952
  35  0.13822
Done.

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

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.019e+00  7.038e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.752e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.637e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 260.662 61.073
Photon Flux Upper Limit: 1.08661949575e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00862301357037 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32467313/likelihoodResults_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.99792823
delta logL = 1.03703262102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.80636517
delta logL = 1.228595683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      403 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.033        .42118E-03** at limit **
   2  Index         2.1720        1.3897       -.59042E-05     .0000    
   3  Normalizat    .97065        1.2720        .78207E-05    .43658E-04
   4  Prefactor     .97304        1.2146       -.19575E-04    .23524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.17197
  Normalizat = 0.970653
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5448        2.2074       -.59042E-05   -21.390    
   3  Normalizat    .97065        1.2720        .78207E-05   -.94020    
   4  Prefactor     .97304        1.2146       -.19575E-04   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.44618e-12
Minuit parameter uncertainties:
  1  5.42687e-06
  2  1.41749
  3  1.31533
  4  1.25145
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) = 8125.04595117
delta logL = -0.0109903166549

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  0.000e+00  5.427e-06  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.172e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.730e-01  1.251e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.707e-01  1.315e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 260.662 61.073

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32467313/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-07-20 14:33:20.291962', job_id='32467313', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1784583200.29', return_code2='101', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.84' WHERE bin_id='2186' AND source_name='4FGL J1722.6+6104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 14:33:20 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  1.019e+00  7.038e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.844e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.752e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.637e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 260.662 61.073
Photon Flux Upper Limit: 1.08661949575e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00862301357037 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32467432/likelihoodResults_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.99792823
delta logL = 1.03703262102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.80636517
delta logL = 1.228595683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      403 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.033        .42118E-03** at limit **
   2  Index         2.1720        1.3897       -.59042E-05     .0000    
   3  Normalizat    .97065        1.2720        .78207E-05    .43658E-04
   4  Prefactor     .97304        1.2146       -.19575E-04    .23524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.17197
  Normalizat = 0.970653
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8125.046     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5448        2.2074       -.59042E-05   -21.390    
   3  Normalizat    .97065        1.2720        .78207E-05   -.94020    
   4  Prefactor     .97304        1.2146       -.19575E-04   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.44618e-12
Minuit parameter uncertainties:
  1  5.42687e-06
  2  1.41749
  3  1.31533
  4  1.25145
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) = 8125.04595117
delta logL = -0.0109903166549

Extracting fit parameters...

4FGL J1722.6+6104
   Spectrum: PowerLaw
352    Prefactor:  0.000e+00  5.427e-06  0.000e+00  1.000e+06 ( 1.000e-12)
353        Index:  2.172e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  5.326e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.730e-01  1.251e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.707e-01  1.315e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 260.662 61.073

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/32467432/cmap_HighResolution_805939201_806198401_4FGL_J1722.6+6104_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-07-20 14:33:29.235395', job_id='32467432', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1784583209.24', return_code2='101', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.84' WHERE bin_id='2186' AND source_name='4FGL J1722.6+6104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 14:33:29 PDT 2026

