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

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
vclsmin=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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250720/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 51.90
user 50.53
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250720/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250720/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250720/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250720/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250720/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250720/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250720/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250720/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250720/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250720/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250761/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 44.71
user 43.25
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250761/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250761/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250761/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250761/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250761/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250761/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250761/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250761/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250761/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250761/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250760/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 44.93
user 43.39
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250760/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250760/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250760/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250760/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250760/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250760/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250760/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250760/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250760/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250760/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250773/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 45.04
user 43.40
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250773/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250773/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250773/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250773/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250773/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250773/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250773/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250773/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250773/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250773/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1627.7+0251_daily_bin2216
RA = 246.942, Dec = 2.8584
tmin = 813715201, tmax = 813974401
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='41251018', job_status='RUN', time_executed='2026-10-18 13:50:51.391762', time_epoch_executed='1792356651.39' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41251018

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41251018/ft1_4FGL_J1627.7+0251_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41251018/ft1_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251018/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits ra=246.942 dec=2.8584 rad=12.0 tmin=813715201.0 tmax=813974401.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.08
user 1.49
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.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/41251018/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.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.76
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250751/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250751/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:53:07.230699', job_id='41250751', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356787.23', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:53:08 PDT 2026

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

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250763/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 50.56
user 48.82
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250763/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250763/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250763/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250763/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250763/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250763/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250763/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250763/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250763/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250763/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
file=/lscratch/kocevski/41250953/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 8.65
user 7.92
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41250953/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41250953/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41250953/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 67.68
user 62.90
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41250953/cmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.84
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41250953/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.83
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41250953/Model_4FGL_J1627.7+0251_daily_bin2216.xml irfs="P8R3_SOURCE_V2" Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250761/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250720/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250760/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250761/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:53:34.257302', job_id='41250761', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356814.26', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:53:34 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250720/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:53:35.414362', job_id='41250720', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356815.41', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:53:35 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250760/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:53:35.621095', job_id='41250760', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356815.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:53:35 PDT 2026

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

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1627.7+0251_daily_bin2216
RA = 246.942, Dec = 2.8584
tmin = 813715201, tmax = 813974401
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='41251097', job_status='RUN', time_executed='2026-10-18 13:51:42.346582', time_epoch_executed='1792356702.35' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41251097

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41251097/ft1_4FGL_J1627.7+0251_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41251097/ft1_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251097/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits ra=246.942 dec=2.8584 rad=12.0 tmin=813715201.0 tmax=813974401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.39
user 1.63
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.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/41251097/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.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.72
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250773/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250773/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:53:52.790291', job_id='41250773', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356832.79', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:53:53 PDT 2026

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


Performing analysis on: 4FGL_J1627.7+0251_daily_bin2216
RA = 246.942, Dec = 2.8584
tmin = 813715201, tmax = 813974401
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='41251110', job_status='RUN', time_executed='2026-10-18 13:51:56.722860', time_epoch_executed='1792356716.72' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41251110

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41251110/ft1_4FGL_J1627.7+0251_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41251110/ft1_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251110/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits ra=246.942 dec=2.8584 rad=12.0 tmin=813715201.0 tmax=813974401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.96
user 1.42
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.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/41251110/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.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.86
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" outfile=/lscratch/kocevski/41251018/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 9.05
user 8.32
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41251018/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251018/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251018/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 71.54
user 66.63
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251018/cmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.83
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251018/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41251018/Model_4FGL_J1627.7+0251_daily_bin2216.xml irfs="P8R3_SOURCE_V2" Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250763/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250763/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:54:32.764037', job_id='41250763', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792356872.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:54:33 PDT 2026

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


Performing analysis on: 4FGL_J1627.7+0251_daily_bin2216
RA = 246.942, Dec = 2.8584
tmin = 813715201, tmax = 813974401
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='41251149', job_status='RUN', time_executed='2026-10-18 13:52:48.760662', time_epoch_executed='1792356768.76' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41251149

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41251149/ft1_4FGL_J1627.7+0251_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41251149/ft1_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251149/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits ra=246.942 dec=2.8584 rad=12.0 tmin=813715201.0 tmax=813974401.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.15
user 1.44
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.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/41251149/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.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.93
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" outfile=/lscratch/kocevski/41251110/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 8.54
user 7.87
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41251110/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251110/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251110/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 66.69
user 62.08
sys 3.85

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251110/cmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.74
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251110/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.81
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41251110/Model_4FGL_J1627.7+0251_daily_bin2216.xml irfs="P8R3_SOURCE_V2" file=/lscratch/kocevski/41251097/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 10.01
user 9.35
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41251097/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251097/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251097/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 77.23
user 72.16
sys 4.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251097/cmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251097/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.73
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41251097/Model_4FGL_J1627.7+0251_daily_bin2216.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 45.69
user 43.92
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41250953/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41250953/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41250953/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41250953/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41250953/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41250953/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41250953/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41250953/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
file=/lscratch/kocevski/41251149/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 8.74
user 7.98
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41251149/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251149/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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/41251149/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
.....................!
real 67.47
user 62.94
sys 3.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251149/cmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.81
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits outfile=/lscratch/kocevski/41251149/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.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=246.942 yref=2.8584 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.83
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41251149/Model_4FGL_J1627.7+0251_daily_bin2216.xml irfs="P8R3_SOURCE_V2" Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41250953/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41250953/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:56:56.754583', job_id='41250953', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792357016.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:56:57 PDT 2026

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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 47.51
user 45.86
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41251018/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41251018/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41251018/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41251018/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41251018/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41251018/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41251018/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41251018/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 44.86
user 43.37
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41251110/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41251110/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41251110/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41251110/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41251110/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41251110/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41251110/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41251110/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41251018/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41251018/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:58:01.144526', job_id='41251018', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792357081.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:58:01 PDT 2026

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

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
 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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 52.47
user 50.92
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41251097/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41251097/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41251097/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41251097/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41251097/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41251097/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41251097/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41251097/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41251110/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41251110/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:58:51.718410', job_id='41251110', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792357131.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:58:52 PDT 2026

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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits.....................!
real 46.13
user 44.08
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits', '/lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits', expMap='/lscratch/kocevski/41251149/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', expCube='/lscratch/kocevski/41251149/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41251149/Model_4FGL_J1627.7+0251_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41251149/ft1_filtered_4FGL_J1627.7+0251_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41251149/ft2_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41251149/expmap_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41251149/ltcube_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41251149/Model_4FGL_J1627.7+0251_daily_bin2216.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) = 14382.3583886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68903E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15318E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    41.675       1.0000          .0000       .10000E+07
     5 'norm      '    2.1381       1.0000          .0000       .10000E+07
     6 'norm      '    97.190       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15161E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16645E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97910E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56103E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42240E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18767E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21415E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10512E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    241.80       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4887       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1296 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55528E-06    7.0250       -.24128E-06** at limit **
   2  Prefactor     .55511E-10    6.9078        .85962E-06** at limit **
   3  norm           .0000        .75341        .60153E-07** at limit **
   4  Prefactor     41.636        14.120       -.29405E-06    .16727    
   5  norm          2.1383        1.2012       -.38543E-07   -.37280E-03
   6  norm          97.124        8.8695       -.72773E-07   -.61921E-01
   7  Prefactor      .0000        19.293        .53083E-06** at limit **
   8  Prefactor     .37714E-06    8.7800       -.98534E-06** at limit **
   9  Prefactor     4.2541        4.6998       -.24248E-06   -.24346E-03
  10  Prefactor      .0000        1.6800        .92981E-07** at limit **
  11  Prefactor     .88096E-07    8.0468        .53380E-06** at limit **
  12  Prefactor     .37303E-07    7.0101        .12538E-07** at limit **
  13  Prefactor      .0000        2.1115        .62444E-07** at limit **
  14  Prefactor      .0000        1.5118       -.17794E-06** at limit **
  15  Prefactor     .64199E-06    10.738       -.43493E-06** at limit **
  16  Prefactor     241.81        1.3996       -.86995E-08    .35795E-01
  17  Normalizat    1.4889        .24267        .12197E-04    .52848E-04
  18  Prefactor     .87837        .71078E-01   -.14209E-05    .10618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55278e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.6358
  norm       = 2.13829
  norm       = 97.1242
  Prefactor  = 0
  Prefactor  = 3.77143e-07
  Prefactor  = 4.25407
  Prefactor  = 0
  Prefactor  = 8.80962e-08
  Prefactor  = 3.73035e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.41986e-07
  Prefactor  = 241.811
  Normalizat = 1.48888
  Prefactor  = 0.878371
 **********
 **   18 **HESSE 
 **********

 FCN=   14382.36     FROM HESSE     STATUS=OK           270 CALLS     1566 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55528E-06    11.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    6.8023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.636        47.821        .15492E-03   -1.5579    
   5  norm          2.1383        1.2038        .70464E-03   -1.5679    
   6  norm          97.124        19.204        .10144E-03   -1.5511    
   7  Prefactor      .0000        19.252        .17379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37714E-06    9.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2541        4.7018        .48885E-03   -1.5667    
  10  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88096E-07    8.1551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37303E-07    13.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64199E-06    15.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     241.81        149.68        .64316E-04   -1.5397    
  17  Normalizat    1.4889        .21084        .94562E-01   -.78091    
  18  Prefactor     .87837        .60976E-01    .44729E-01   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83693e-06
Minuit parameter uncertainties:
  1  0.00513331
  2  2.92737e-05
  3  9.4088e-07
  4  47.821
  5  1.2038
  6  19.2042
  7  1.66624e-05
  8  0.00381122
  9  4.70179
  10  3.0567e-06
  11  0.00169538
  12  0.00140292
  13  7.87185e-06
  14  2.9553e-06
  15  0.00632349
  16  149.684
  17  0.210969
  18  0.0609807
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41251097/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41251097/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:59:29.201483', job_id='41251097', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792357169.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:59:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  6.098e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 4.76071086705e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362380568585 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41251149/likelihoodResults_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14382.3822598
delta logL = -0.024786171829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14382.3574739
delta logL = -3.10621544486e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14382.36     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.921        .42118E-03** at limit **
   2  Index         2.5960        1.7028        .12975E-03     .0000    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.10559E-03
   4  Prefactor     .87837        1.2243       -.47396E-05   -.36599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59599
  Normalizat = 1.48888
  Prefactor  = 0.87837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14382.36     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76168        2.0231        .12975E-03   -.50157    
   3  Normalizat    1.4889        1.0508        .32466E-05   -.78091    
   4  Prefactor     .87837        1.2243       -.47396E-05   -.96901    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49529e-11
Minuit parameter uncertainties:
  1  2.88305e-05
  2  1.74883
  3  1.06681
  4  1.26607
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) = 14382.3574736
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  2.883e-05  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.596e+00  1.749e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.784e-01  1.266e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 246.942 2.858

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/41251149/cmap_HighResolution_813715201_813974401_4FGL_J1627.7+0251_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2026-10-18 13:59:57.822926', job_id='41251149', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1792357197.82', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2216' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:59:58 PDT 2026

