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

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
_V02
Working on...
/lscratch/kocevski/27139245/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 19.80
user 17.92
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139245/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139245/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139245/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139245/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139245/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139245/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139245/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139245/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139245/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139245/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
/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=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
_V02
Working on...
/lscratch/kocevski/27139250/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 19.96
user 18.72
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139250/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139250/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139250/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139250/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139250/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139250/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139250/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139250/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139250/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139250/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
number of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
_V02
Working on...
/lscratch/kocevski/27139192/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 25.17
user 22.46
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139192/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139192/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139192/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139192/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139192/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139192/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139192/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139192/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139192/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139192/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
Done.


Performing analysis on: 4FGL_J1018.4+3540_daily_bin2167
RA = 154.607, Dec = 35.6802
tmin = 801014401, tmax = 801273601
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='27139321', job_status='RUN', time_executed='2026-05-24 07:27:51.316524', time_epoch_executed='1779632871.32' WHERE source_name='4FGL J1018.4+3540' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27139321

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27139321/ft1_4FGL_J1018.4+3540_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27139321/ft1_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139321/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin2167.fits ra=154.607 dec=35.6802 rad=12.0 tmin=801014401.0 tmax=801273601.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 3.04
user 2.24
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.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/27139321/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.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.96
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139178/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139177/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139178/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:11.712907', job_id='27139178', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632951.71', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139214/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
tfile=/lscratch/kocevski/27139264/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 9.78
user 8.24
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27139264/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139264/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139264/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 72.94
user 66.92
sys 4.28

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

Setting source of interest to:
4FGL J1018.4+3540 @ 154.607 35.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139264/cmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.21
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139264/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27139264/Model_4FGL_J1018.4+3540_daily_bin2167.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 GALshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139177/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:15.020460', job_id='27139177', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632955.02', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:15 PDT 2026

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

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139214/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:15.342591', job_id='27139214', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632955.34', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139184/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139245/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139184/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:18.916316', job_id='27139184', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632958.92', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:19 PDT 2026

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

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139245/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:20.465674', job_id='27139245', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632960.47', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:20 PDT 2026

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

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
_V02
Working on...
/lscratch/kocevski/27139258/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 20.28
user 18.86
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139258/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139258/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139258/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139258/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139258/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139258/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139258/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139258/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139258/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139258/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
MIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
-10
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139250/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:36.266075', job_id='27139250', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632976.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:36 PDT 2026

_V02
Working on...
/lscratch/kocevski/27139238/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 22.78
user 20.74
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139238/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139238/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139238/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139238/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139238/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139238/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139238/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139238/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139238/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139238/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
_V02
Working on...
/lscratch/kocevski/27139265/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 19.96
user 18.74
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139265/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139265/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139265/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139265/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139265/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139265/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139265/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139265/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139265/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139265/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139192/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
number of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
Done.


Performing analysis on: 4FGL_J1018.4+3540_daily_bin2167
RA = 154.607, Dec = 35.6802
tmin = 801014401, tmax = 801273601
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='27139405', job_status='RUN', time_executed='2026-05-24 07:28:53.444391', time_epoch_executed='1779632933.44' WHERE source_name='4FGL J1018.4+3540' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27139405

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27139405/ft1_4FGL_J1018.4+3540_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27139405/ft1_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139405/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin2167.fits ra=154.607 dec=35.6802 rad=12.0 tmin=801014401.0 tmax=801273601.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.35
user 1.91
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.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/27139405/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.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.51
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139192/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:29:57.810578', job_id='27139192', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779632997.81', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:29:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139258/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139258/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:30:15.348553', job_id='27139258', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633015.35', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:30:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139238/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139238/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:30:23.997443', job_id='27139238', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633024.0', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:30:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139265/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139265/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:30:27.876538', job_id='27139265', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633027.88', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:30:28 PDT 2026

_V02
Working on...
/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 22.86
user 20.72
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139264/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139264/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139264/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139264/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139264/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139264/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139264/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139264/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
tfile=/lscratch/kocevski/27139321/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 9.17
user 8.22
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27139321/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139321/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139321/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 80.52
user 74.87
sys 4.49

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

Setting source of interest to:
4FGL J1018.4+3540 @ 154.607 35.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139321/cmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 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.61
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139321/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.20
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27139321/Model_4FGL_J1018.4+3540_daily_bin2167.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 GALDone.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139264/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139264/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:31:28.907770', job_id='27139264', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633088.91', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:31:29 PDT 2026

tfile=/lscratch/kocevski/27139405/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 7.99
user 7.36
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27139405/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139405/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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/27139405/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
.....................!
real 64.82
user 60.13
sys 3.92

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

Setting source of interest to:
4FGL J1018.4+3540 @ 154.607 35.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139405/cmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits outfile=/lscratch/kocevski/27139405/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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=154.607 yref=35.6802 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.59
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27139405/Model_4FGL_J1018.4+3540_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 25.25
user 23.68
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139321/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139321/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139321/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139321/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139321/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139321/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139321/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139321/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
_V02
Working on...
/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits.....................!
real 20.37
user 18.55
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits', '/lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits', expMap='/lscratch/kocevski/27139405/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', expCube='/lscratch/kocevski/27139405/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27139405/Model_4FGL_J1018.4+3540_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27139405/ft1_filtered_4FGL_J1018.4+3540_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27139405/ft2_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27139405/expmap_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27139405/ltcube_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27139405/Model_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.53741488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0141       1.0000          .0000       .10000E+07
     2 'norm      '    .52058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23449E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60888       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55250E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14474E-04   1.0000          .0000       .10000E+07
     9 'norm      '    23.879       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15229E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11216E-05   1.0000          .0000       .10000E+07
    12 'norm      '    18.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23269E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.545       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12841E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22114E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .65109       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45168       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13686E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83645E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4715       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1644 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0554        9.4107       -.51437E-07    .10214E-02
   2  norm          .94369E-09    4.1556       -.35902E-07** at limit **
   3  Prefactor     12.825        35.132        .55170E-06   -.17175E-01
   4  Prefactor     .23981E-07    9.5810        .89958E-07** at limit **
   5  Prefactor     .33902E-04    3556.1        .25387E-05** at limit **
   6  Prefactor     2.3814        9.0867       -.10808E-06   -.55997E-02
   7  Prefactor     .16653E-09    5.1964       -.12948E-06** at limit **
   8  Prefactor      .0000        3.8276       -.69487E-07** at limit **
   9  norm          23.813        10.715        .10017E-06    .91227E-01
  10  Prefactor      .0000        4.2646       -.57697E-07** at limit **
  11  Prefactor      .0000        2.3115       -.26307E-07** at limit **
  12  norm          18.868        13.738       -.58514E-07    .23908E-01
  13  Prefactor      .0000        49.403       -.78866E-07** at limit **
  14  Prefactor     47.745        5.4085        .53085E-07   -.29777E-01
  15  Prefactor     .45075E-06    25.546       -.14347E-06** at limit **
  16  Prefactor     .15735E-05    33.585       -.64378E-06** at limit **
  17  Prefactor     .69404E-05    59.971        .62230E-06** at limit **
  18  Prefactor      .0000        5.0196        .74647E-07** at limit **
  19  norm          .65099        .24978        .58049E-08    .11970E-02
  20  Prefactor     .37693        62.127       -.17849E-05   -.19845E-01
  21  Prefactor     .49960E-09    4.7564       -.44723E-07** at limit **
  22  norm          .28388E-05    28.853        .54167E-06** at limit **
  23  Normalizat    1.4722        .20910        .22421E-05    .17628E-03
  24  Prefactor     .56936        .23525        .27677E-06    .93679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05539
  norm       = 9.4369e-10
  Prefactor  = 12.8251
  Prefactor  = 2.39808e-08
  Prefactor  = 3.39021e-05
  Prefactor  = 2.38142
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 23.8133
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8678
  Prefactor  = 0
  Prefactor  = 47.7452
  Prefactor  = 4.50751e-07
  Prefactor  = 1.57346e-06
  Prefactor  = 6.94045e-06
  Prefactor  = 0
  norm       = 0.650994
  Prefactor  = 0.376932
  Prefactor  = 4.996e-10
  norm       = 2.83884e-06
  Normalizat = 1.47217
  Prefactor  = 0.56936
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=OK           451 CALLS     2095 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0554        9.4454        .50310E-03   -1.5668    
   2  norm          .94369E-09    8.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.825        36.378        .27262E-03   -1.5636    
   4  Prefactor     .23981E-07    9.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33902E-04    37.987        .10787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3814        9.1636        .65715E-03   -1.5677    
   7  Prefactor     .16653E-09    5.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.813        11.237        .20469E-03   -1.5610    
  10  Prefactor      .0000        4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.868        14.136        .23078E-03   -1.5621    
  13  Prefactor      .0000        49.053        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.745        32.216        .14504E-03   -1.5570    
  15  Prefactor     .45075E-06    25.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15735E-05    38.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69404E-05    74.844        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .65099        .25320        .51114E-03   -1.5692    
  20  Prefactor     .37693        12.230        .83727E-02   -1.5696    
  21  Prefactor     .49960E-09    8.6431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28388E-05    35.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4722        .18191        .46149E-01   -.78563    
  24  Prefactor     .56936        .20550        .80960E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03294e-07
Minuit parameter uncertainties:
  1  9.44548
  2  0.000180697
  3  36.3784
  4  0.000962508
  5  0.0717738
  6  9.16366
  7  5.92186e-05
  8  1.50474e-05
  9  11.2373
  10  1.89563e-05
  11  5.05727e-06
  12  14.1358
  13  4.14254e-05
  14  32.2164
  15  0.00678193
  16  0.0154885
  17  0.0455836
  18  5.7125e-06
  19  0.253204
  20  4.29411
  21  0.000135019
  22  0.0200528
  23  0.181996
  24  0.205769
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139405/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139405/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:33:30.080983', job_id='27139405', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633210.08', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:33:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  5.057e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 7.53887015425e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589643983101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27139321/likelihoodResults_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.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) = 5748.44764436
delta logL = -0.00159474793418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.4460537
delta logL = -4.09484709962e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .12197E-03    .10090E-02** at limit **
   2  Index         4.9050        5.0736        .39309        .34416E-08
   3  Normalizat    1.4722        .12283E-03    .46149E-01    .22638E-03
   4  Prefactor     .56936        .14169E-03    .80960E-01    .11521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 4.90498
  Normalizat = 1.47217
  Prefactor  = 0.569359
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.446     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .12973E-01    .57885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9050        7.3942        .50000       -.19004E-01
   3  Normalizat    1.4722        .88259E-03    .20399E-03   -.78563    
   4  Prefactor     .56936        .10155E-02    .35857E-03   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59695e-11
Minuit parameter uncertainties:
  1  3.82675e-06
  2  2990.65
  3  0.000882592
  4  0.00101546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.44604961
delta logL = -4.52018866781e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  2.776e-10  3.827e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  4.905e+00  2.991e+03  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.694e-01  1.015e-03  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.472e+00  8.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27139321/cmap_HighResolution_801014401_801273601_4FGL_J1018.4+3540_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2026-05-24 07:33:38.500923', job_id='27139321', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1779633218.5', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-4.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2167' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 07:33:38 PDT 2026

