ing source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/33927935/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits.....................!
real 177.36
user 175.00
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33927935/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits', '/lscratch/kocevski/33927935/ft2_4FGL_J1543.0+6130_monthly_bin219.fits', expMap='/lscratch/kocevski/33927935/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', expCube='/lscratch/kocevski/33927935/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33927935/Model_4FGL_J1543.0+6130_monthly_bin219.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33927935/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits
Spacecraft file(s): /lscratch/kocevski/33927935/ft2_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure map: /lscratch/kocevski/33927935/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure cube: /lscratch/kocevski/33927935/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33927935/Model_4FGL_J1543.0+6130_monthly_bin219.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) = 80283.1465122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.883       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4205       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28662E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53024E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16470E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8350       1.0000          .0000       .10000E+07
     8 'norm      '    4.5102       1.0000          .0000       .10000E+07
     9 'Prefactor '    32.298       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7046       1.0000          .0000       .10000E+07
    11 'norm      '    1.6925       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.5405       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .74972       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4121       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30347       1.0000          .0000       .10000E+07
    17 'norm      '    5.0140       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12962E-06   1.0000          .0000       .10000E+07
    19 'norm      '    1.1023       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8398       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.045       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0711       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0911       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **  /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).

ing source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/33928040/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits.....................!
real 185.43
user 182.70
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33928040/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits', '/lscratch/kocevski/33928040/ft2_4FGL_J1543.0+6130_monthly_bin219.fits', expMap='/lscratch/kocevski/33928040/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', expCube='/lscratch/kocevski/33928040/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33928040/Model_4FGL_J1543.0+6130_monthly_bin219.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33928040/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits
Spacecraft file(s): /lscratch/kocevski/33928040/ft2_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure map: /lscratch/kocevski/33928040/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure cube: /lscratch/kocevski/33928040/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33928040/Model_4FGL_J1543.0+6130_monthly_bin219.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) = 80283.1465122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.883       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4205       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28662E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53024E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16470E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8350       1.0000          .0000       .10000E+07
     8 'norm      '    4.5102       1.0000          .0000       .10000E+07
     9 'Prefactor '    32.298       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7046       1.0000          .0000       .10000E+07
    11 'norm      '    1.6925       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.5405       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .74972       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4121       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30347       1.0000          .0000       .10000E+07
    17 'norm      '    5.0140       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12962E-06   1.0000          .0000       .10000E+07
    19 'norm      '    1.1023       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8398       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.045       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0711       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0911       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1571 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.848        2.4093        .25935E-07   -.11790E-01
   2  Prefactor     1.4221        3.1338       -.13816E-06   -.28627E-02
   3  Prefactor      .0000        1.9354       -.29790E-06** at limit **
   4  Prefactor      .0000        6.3424       -.63463E-07** at limit **
   5  Prefactor      .0000        .65117        .37925E-07** at limit **
   6  Prefactor      .0000        .64012       -.46907E-07** at limit **
   7  Prefactor     5.8307        3.5424        .11815E-06   -.25683E-01
   8  norm          4.5098        .75529       -.95322E-08   -.85779E-03
   9  Prefactor     32.354        1.0765       -.70773E-08    .44953E-01
  10  Prefactor     2.7045        1.5683        .31886E-07    .77031E-03
  11  norm          1.6927        1.2845        .11751E-06    .10036E-02
  12  Prefactor     7.5305        1.2365       -.21903E-07    .16914E-01
  13  Prefactor      .0000        2.4069       -.19215E-06** at limit **
  14  norm          .77060        1.4907       -.12248E-06   -.31940E-01
  15  Prefactor     5.4120        1.6814       -.33031E-07   -.15980E-02
  16  Prefactor     .34085        .61659        .16195E-07    .51284E-03
  17  norm          5.0154        2.0749       -.68043E-08   -.11547E-02
  18  Prefactor      .0000        .81207        .24830E-07** at limit **
  19  norm          1.1021        .19596       -.47971E-09   -.16457E-02
  20  Prefactor     2.8386        1.8395        .47443E-08    .65446E-04
  21  Prefactor     12.052        1.7402        .31909E-07   -.27137E-01
  22  Prefactor     3.0712        2.0756       -.32723E-08   -.92286E-04
  23  Normalizat    1.0911        .52492E-01   -.18879E-07    .24224E-03
  24  Prefactor     .89262        .53425E-01    .10057E-05    .23308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8481
  Prefactor  = 1.42213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.83068
  norm       = 4.50983
  Prefactor  = 32.354
  Prefactor  = 2.7045
  norm       = 1.69275
  Prefactor  = 7.53049
  Prefactor  = 0
  norm       = 0.770603
  Prefactor  = 5.41204
  Prefactor  = 0.340855
  norm       = 5.01541
  Prefactor  = 0
  norm       = 1.1021
  Prefactor  = 2.83865
  Prefactor  = 12.0518
  Prefactor  = 3.07124
  Normalizat = 1.09115
  Prefactor  = 0.892615
 16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1571 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.848        2.4093        .25935E-07   -.11790E-01
   2  Prefactor     1.4221        3.1338       -.13816E-06   -.28627E-02
   3  Prefactor      .0000        1.9354       -.29790E-06** at limit **
   4  Prefactor      .0000        6.3424       -.63463E-07** at limit **
   5  Prefactor      .0000        .65117        .37925E-07** at limit **
   6  Prefactor      .0000        .64012       -.46907E-07** at limit **
   7  Prefactor     5.8307        3.5424        .11815E-06   -.25683E-01
   8  norm          4.5098        .75529       -.95322E-08   -.85779E-03
   9  Prefactor     32.354        1.0765       -.70773E-08    .44953E-01
  10  Prefactor     2.7045        1.5683        .31886E-07    .77031E-03
  11  norm          1.6927        1.2845        .11751E-06    .10036E-02
  12  Prefactor     7.5305        1.2365       -.21903E-07    .16914E-01
  13  Prefactor      .0000        2.4069       -.19215E-06** at limit **
  14  norm          .77060        1.4907       -.12248E-06   -.31940E-01
  15  Prefactor     5.4120        1.6814       -.33031E-07   -.15980E-02
  16  Prefactor     .34085        .61659        .16195E-07    .51284E-03
  17  norm          5.0154        2.0749       -.68043E-08   -.11547E-02
  18  Prefactor      .0000        .81207        .24830E-07** at limit **
  19  norm          1.1021        .19596       -.47971E-09   -.16457E-02
  20  Prefactor     2.8386        1.8395        .47443E-08    .65446E-04
  21  Prefactor     12.052        1.7402        .31909E-07   -.27137E-01
  22  Prefactor     3.0712        2.0756       -.32723E-08   -.92286E-04
  23  Normalizat    1.0911        .52492E-01   -.18879E-07    .24224E-03
  24  Prefactor     .89262        .53425E-01    .10057E-05    .23308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8481
  Prefactor  = 1.42213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.83068
  norm       = 4.50983
  Prefactor  = 32.354
  Prefactor  = 2.7045
  norm       = 1.69275
  Prefactor  = 7.53049
  Prefactor  = 0
  norm       = 0.770603
  Prefactor  = 5.41204
  Prefactor  = 0.340855
  norm       = 5.01541
  Prefactor  = 0
  norm       = 1.1021
  Prefactor  = 2.83865
  Prefactor  = 12.0518
  Prefactor  = 3.07124
  Normalizat = 1.09115
  Prefactor  = 0.892615
 **********
 **   18 **HESSE 
 **********

 FCN=   80283.03     FROM HESSE     STATUS=OK           465 CALLS     2036 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.848        7.4028        .29036E-03   -1.5639    
   2  Prefactor     1.4221        3.1896        .90734E-03   -1.5684    
   3  Prefactor      .0000        1.9336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.3537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .64975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .63774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8307        5.0542        .41552E-03   -1.5660    
   8  norm          4.5098        .76858        .47383E-03   -1.5665    
   9  Prefactor     32.354        18.142        .17598E-03   -1.5594    
  10  Prefactor     2.7045        1.5843        .61913E-03   -1.5675    
  11  norm          1.6927        1.3128        .80872E-03   -1.5682    
  12  Prefactor     7.5305        5.9894        .36498E-03   -1.5653    
  13  Prefactor      .0000        .27947        .55833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .77060        2.1641        .56760E-03   -1.5690    
  15  Prefactor     5.4120        1.6839        .43171E-03   -1.5661    
  16  Prefactor     .34085        1.2942        .16827E-01   -1.5696    
  17  norm          5.0154        2.0835        .44885E-03   -1.5663    
  18  Prefactor      .0000        .82965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1021        .20720        .11301E-02   -1.5687    
  20  Prefactor     2.8386        1.8856        .60315E-03   -1.5674    
  21  Prefactor     12.052        5.2696        .28838E-03   -1.5639    
  22  Prefactor     3.0712        2.0817        .57857E-03   -1.5673    
  23  Normalizat    1.0911        .45617E-01    .38374E-01   -.90037    
  24  Prefactor     .89262        .46218E-01    .44912E-01   -.96400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38042e-06
Minuit parameter uncertainties:
  1  7.40281
  2  3.1896
  3  7.8745e-06
  4  1.9441e-05
  5  2.7337e-06
  6  8.65639e-07
  7  5.05424
  8  0.768578
  9  18.1423
  10  1.58433
  11  1.31283
  12  5.98944
  13  3.40749e-06
  14  2.16408
  15  1.68391
  16  1.29422
  17  2.0835
  18  9.01032e-06
  19  0.207202
  20  1.88556
  21  5.26961
  22  2.08169
  23  0.0456182
  24  0.0462197
 **********
 **   18 **HESSE 
 **********

 FCN=   80283.03     FROM HESSE     STATUS=OK           465 CALLS     2036 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.848        7.4028        .29036E-03   -1.5639    
   2  Prefactor     1.4221        3.1896        .90734E-03   -1.5684    
   3  Prefactor      .0000        1.9336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.3537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .64975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .63774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8307        5.0542        .41552E-03   -1.5660    
   8  norm          4.5098        .76858        .47383E-03   -1.5665    
   9  Prefactor     32.354        18.142        .17598E-03   -1.5594    
  10  Prefactor     2.7045        1.5843        .61913E-03   -1.5675    
  11  norm          1.6927        1.3128        .80872E-03   -1.5682    
  12  Prefactor     7.5305        5.9894        .36498E-03   -1.5653    
  13  Prefactor      .0000        .27947        .55833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .77060        2.1641        .56760E-03   -1.5690    
  15  Prefactor     5.4120        1.6839        .43171E-03   -1.5661    
  16  Prefactor     .34085        1.2942        .16827E-01   -1.5696    
  17  norm          5.0154        2.0835        .44885E-03   -1.5663    
  18  Prefactor      .0000        .82965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1021        .20720        .11301E-02   -1.5687    
  20  Prefactor     2.8386        1.8856        .60315E-03   -1.5674    
  21  Prefactor     12.052        5.2696        .28838E-03   -1.5639    
  22  Prefactor     3.0712        2.0817        .57857E-03   -1.5673    
  23  Normalizat    1.0911        .45617E-01    .38374E-01   -.90037    
  24  Prefactor     .89262        .46218E-01    .44912E-01   -.96400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38042e-06
Minuit parameter uncertainties:
  1  7.40281
  2  3.1896
  3  7.8745e-06
  4  1.9441e-05
  5  2.7337e-06
  6  8.65639e-07
  7  5.05424
  8  0.768578
  9  18.1423
  10  1.58433
  11  1.31283
  12  5.98944
  13  3.40749e-06
  14  2.16408
  15  1.68391
  16  1.29422
  17  2.0835
  18  9.01032e-06
  19  0.207202
  20  1.88556
  21  5.26961
  22  2.08169
  23  0.0456182
  24  0.0462197
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.510e+00  7.686e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.926e-01  4.622e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.091e+00  4.562e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 116.74
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.42e-08 +/- 5.82e-09
Energy Flux (Fixed Index): 2.60e-05 +/- 4.44e-06

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) = 80283.0262231
delta logL = 0.00841128717002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.02562
delta logL = 0.00901443955081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5092       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8796       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5088        10.292        .47388E-03    .58376E-02
   2  alpha         1.8795        1.4573        .38091        .24575E-04
   3  Normalizat    1.0920        .37385E-01    .38334E-01    .83283E-04
   4  Prefactor     .89219        .24678E-01    .44905E-01    .16842E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50883
  alpha      = 1.87947
  Normalizat = 1.09204
  Prefactor  = 0.892195
 **********
 **   18 **HESSE 
 **********

 FCN=   80283.03     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .84E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5088        .76076        .98365E-05   -1.5665    
   2  alpha         1.8795        .14988        .12983E-01   -.25083    
   3  Normalizat    1.0920        .52098E-01    .21989E-03   -.90008    
   4  Prefactor     .89219        .53172E-01    .24646E-03   -.96414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36292e-14
Minuit parameter uncertainties:
  1  0.760764
  2  0.149976
  3  0.0521005
  4  0.0531754
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.510e+00  7.686e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.926e-01  4.622e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.091e+00  4.562e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 116.74
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.42e-08 +/- 5.82e-09
Energy Flux (Fixed Index): 2.60e-05 +/- 4.44e-06

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) = 80283.0262231
delta logL = 0.00841128717002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.02562
delta logL = 0.00901443955081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5092       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8796       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5088        10.292        .47388E-03    .58376E-02
   2  alpha         1.8795        1.4573        .38091        .24575E-04
   3  Normalizat    1.0920        .37385E-01    .38334E-01    .83283E-04
   4  Prefactor     .89219        .24678E-01    .44905E-01    .16842E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50883
  alpha      = 1.87947
  Normalizat = 1.09204
  Prefactor  = 0.892195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.0256197
delta logL = 0.00901472347323

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.509e+00  7.608e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.879e+00  1.500e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.922e-01  5.318e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.092e+00  5.210e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 116.73
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.88 +/- 0.15
Photon Flux (Free Index): 3.34e-08 +/- 7.99e-09
Energy Flux (Free Index): 2.66e-05 +/- 6.28e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33928040/cmap_HighResolution_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.42e-08', energy_flux2='2.66e-05', photon_flux_error='5.82e-09', dlogl='9.01e-03', energy_flux='2.60e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2026-08-01 19:38:32.602286', photon_index_error2='0.15', photon_index2='1.88', ts='116.74', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='6.28e-06', EG='1.09', time_epoch_completed='1785638312.6', return_code='0', job_id='33928040', GAL2='0.89', EG2='1.09', return_code2='0', energy_flux_error='4.44e-06', photon_flux_error2='7.99e-09', ts2='116.73', photon_index='1.90' WHERE bin_id='219' AND source_name='4FGL J1543.0+6130' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Aug  1 19:38:32 PDT 2026

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

 FCN=   80283.03     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .84E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5088        .76076        .98365E-05   -1.5665    
   2  alpha         1.8795        .14988        .12983E-01   -.25083    
   3  Normalizat    1.0920        .52098E-01    .21989E-03   -.90008    
   4  Prefactor     .89219        .53172E-01    .24646E-03   -.96414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36292e-14
Minuit parameter uncertainties:
  1  0.760764
  2  0.149976
  3  0.0521005
  4  0.0531754
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.0256197
delta logL = 0.00901472347323

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.509e+00  7.608e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.879e+00  1.500e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.922e-01  5.318e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.092e+00  5.210e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 116.73
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.88 +/- 0.15
Photon Flux (Free Index): 3.34e-08 +/- 7.99e-09
Energy Flux (Free Index): 2.66e-05 +/- 6.28e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33927935/cmap_HighResolution_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.42e-08', energy_flux2='2.66e-05', photon_flux_error='5.82e-09', dlogl='9.01e-03', energy_flux='2.60e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2026-08-01 19:38:58.826512', photon_index_error2='0.15', photon_index2='1.88', ts='116.74', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='6.28e-06', EG='1.09', time_epoch_completed='1785638338.83', return_code='0', job_id='33927935', GAL2='0.89', EG2='1.09', return_code2='0', energy_flux_error='4.44e-06', photon_flux_error2='7.99e-09', ts2='116.73', photon_index='1.90' WHERE bin_id='219' AND source_name='4FGL J1543.0+6130' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Aug  1 19:38:59 PDT 2026

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


Performing analysis on: 4FGL_J1543.0+6130_monthly_bin219
RA = 235.755, Dec = 61.5033
tmin = 804643201, tmax = 807235201
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='33928985', job_status='RUN', time_executed='2026-08-01 19:30:41.036438', time_epoch_executed='1785637841.04' WHERE source_name='4FGL J1543.0+6130' and cadence='monthly' and bin_id='219'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33928985

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

Retrieving the FT1 file...

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

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

Retrieving 459 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33928985/ft1_4FGL_J1543.0+6130_monthly_bin219.fits


Retrieving the FT1 file...

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

Retrieving 459 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33928985/ft1_4FGL_J1543.0+6130_monthly_bin219.fits outfile=/lscratch/kocevski/33928985/ft1_filteredMKT_4FGL_J1543.0+6130_monthly_bin219.fits ra=235.755 dec=61.5033 rad=12.0 tmin=804643201.0 tmax=807235201.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 23.34
user 21.12
sys 0.69

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.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/33928985/ft1_filteredMKT_4FGL_J1543.0+6130_monthly_bin219.fits evtable="EVENTS" outfile="/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.61
user 0.43
sys 0.16

Number of photons that the gtmktime cut: 7469

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33928985/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.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/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits
.....................!
real 85.41
user 83.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits evtable="EVENTS" scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33928985/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits outfile=/lscratch/kocevski/33928985/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.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/33928985/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
.....................!
real 77.24
user 70.56
sys 4.48

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits outfile=/lscratch/kocevski/33928985/cmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.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=235.755 yref=61.5033 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.51
user 0.33
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits outfile=/lscratch/kocevski/33928985/cmap_HighResolution_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.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=235.755 yref=61.5033 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.92
user 0.35
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits evtable="EVENTS" scfile=/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33928985/Model_4FGL_J1543.0+6130_monthly_bin219.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/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits.....................!
real 230.73
user 226.15
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits', '/lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits', expMap='/lscratch/kocevski/33928985/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', expCube='/lscratch/kocevski/33928985/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33928985/Model_4FGL_J1543.0+6130_monthly_bin219.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33928985/ft1_filtered_4FGL_J1543.0+6130_monthly_bin219.fits
Spacecraft file(s): /lscratch/kocevski/33928985/ft2_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure map: /lscratch/kocevski/33928985/expmap_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
Exposure cube: /lscratch/kocevski/33928985/ltcube_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33928985/Model_4FGL_J1543.0+6130_monthly_bin219.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) = 80283.1465122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.883       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4205       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28662E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53024E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16470E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8350       1.0000          .0000       .10000E+07
     8 'norm      '    4.5102       1.0000          .0000       .10000E+07
     9 'Prefactor '    32.298       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7046       1.0000          .0000       .10000E+07
    11 'norm      '    1.6925       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.5405       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .74972       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4121       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30347       1.0000          .0000       .10000E+07
    17 'norm      '    5.0140       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12962E-06   1.0000          .0000       .10000E+07
    19 'norm      '    1.1023       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8398       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.045       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0711       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0911       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1571 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.848        2.4093        .25935E-07   -.11790E-01
   2  Prefactor     1.4221        3.1338       -.13816E-06   -.28627E-02
   3  Prefactor      .0000        1.9354       -.29790E-06** at limit **
   4  Prefactor      .0000        6.3424       -.63463E-07** at limit **
   5  Prefactor      .0000        .65117        .37925E-07** at limit **
   6  Prefactor      .0000        .64012       -.46907E-07** at limit **
   7  Prefactor     5.8307        3.5424        .11815E-06   -.25683E-01
   8  norm          4.5098        .75529       -.95322E-08   -.85779E-03
   9  Prefactor     32.354        1.0765       -.70773E-08    .44953E-01
  10  Prefactor     2.7045        1.5683        .31886E-07    .77031E-03
  11  norm          1.6927        1.2845        .11751E-06    .10036E-02
  12  Prefactor     7.5305        1.2365       -.21903E-07    .16914E-01
  13  Prefactor      .0000        2.4069       -.19215E-06** at limit **
  14  norm          .77060        1.4907       -.12248E-06   -.31940E-01
  15  Prefactor     5.4120        1.6814       -.33031E-07   -.15980E-02
  16  Prefactor     .34085        .61659        .16195E-07    .51284E-03
  17  norm          5.0154        2.0749       -.68043E-08   -.11547E-02
  18  Prefactor      .0000        .81207        .24830E-07** at limit **
  19  norm          1.1021        .19596       -.47971E-09   -.16457E-02
  20  Prefactor     2.8386        1.8395        .47443E-08    .65446E-04
  21  Prefactor     12.052        1.7402        .31909E-07   -.27137E-01
  22  Prefactor     3.0712        2.0756       -.32723E-08   -.92286E-04
  23  Normalizat    1.0911        .52492E-01   -.18879E-07    .24224E-03
  24  Prefactor     .89262        .53425E-01    .10057E-05    .23308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8481
  Prefactor  = 1.42213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.83068
  norm       = 4.50983
  Prefactor  = 32.354
  Prefactor  = 2.7045
  norm       = 1.69275
  Prefactor  = 7.53049
  Prefactor  = 0
  norm       = 0.770603
  Prefactor  = 5.41204
  Prefactor  = 0.340855
  norm       = 5.01541
  Prefactor  = 0
  norm       = 1.1021
  Prefactor  = 2.83865
  Prefactor  = 12.0518
  Prefactor  = 3.07124
  Normalizat = 1.09115
  Prefactor  = 0.892615
 **********
 **   18 **HESSE 
 **********

 FCN=   80283.03     FROM HESSE     STATUS=OK           465 CALLS     2036 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.848        7.4028        .29036E-03   -1.5639    
   2  Prefactor     1.4221        3.1896        .90734E-03   -1.5684    
   3  Prefactor      .0000        1.9336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.3537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .64975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .63774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8307        5.0542        .41552E-03   -1.5660    
   8  norm          4.5098        .76858        .47383E-03   -1.5665    
   9  Prefactor     32.354        18.142        .17598E-03   -1.5594    
  10  Prefactor     2.7045        1.5843        .61913E-03   -1.5675    
  11  norm          1.6927        1.3128        .80872E-03   -1.5682    
  12  Prefactor     7.5305        5.9894        .36498E-03   -1.5653    
  13  Prefactor      .0000        .27947        .55833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .77060        2.1641        .56760E-03   -1.5690    
  15  Prefactor     5.4120        1.6839        .43171E-03   -1.5661    
  16  Prefactor     .34085        1.2942        .16827E-01   -1.5696    
  17  norm          5.0154        2.0835        .44885E-03   -1.5663    
  18  Prefactor      .0000        .82965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1021        .20720        .11301E-02   -1.5687    
  20  Prefactor     2.8386        1.8856        .60315E-03   -1.5674    
  21  Prefactor     12.052        5.2696        .28838E-03   -1.5639    
  22  Prefactor     3.0712        2.0817        .57857E-03   -1.5673    
  23  Normalizat    1.0911        .45617E-01    .38374E-01   -.90037    
  24  Prefactor     .89262        .46218E-01    .44912E-01   -.96400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38042e-06
Minuit parameter uncertainties:
  1  7.40281
  2  3.1896
  3  7.8745e-06
  4  1.9441e-05
  5  2.7337e-06
  6  8.65639e-07
  7  5.05424
  8  0.768578
  9  18.1423
  10  1.58433
  11  1.31283
  12  5.98944
  13  3.40749e-06
  14  2.16408
  15  1.68391
  16  1.29422
  17  2.0835
  18  9.01032e-06
  19  0.207202
  20  1.88556
  21  5.26961
  22  2.08169
  23  0.0456182
  24  0.0462197
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.510e+00  7.686e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.926e-01  4.622e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.091e+00  4.562e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 116.74
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.42e-08 +/- 5.82e-09
Energy Flux (Fixed Index): 2.60e-05 +/- 4.44e-06

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) = 80283.0262231
delta logL = 0.00841128717002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.02562
delta logL = 0.00901443955081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5092       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8796       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80283.03     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5088        10.292        .47388E-03    .58376E-02
   2  alpha         1.8795        1.4573        .38091        .24575E-04
   3  Normalizat    1.0920        .37385E-01    .38334E-01    .83283E-04
   4  Prefactor     .89219        .24678E-01    .44905E-01    .16842E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50883
  alpha      = 1.87947
  Normalizat = 1.09204
  Prefactor  = 0.892195
 **********
 **   18 **HESSE 
 **********

 FCN=   80283.03     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .84E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5088        .76076        .98365E-05   -1.5665    
   2  alpha         1.8795        .14988        .12983E-01   -.25083    
   3  Normalizat    1.0920        .52098E-01    .21989E-03   -.90008    
   4  Prefactor     .89219        .53172E-01    .24646E-03   -.96414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36292e-14
Minuit parameter uncertainties:
  1  0.760764
  2  0.149976
  3  0.0521005
  4  0.0531754
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80283.0256197
delta logL = 0.00901472347323

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.509e+00  7.608e-01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.879e+00  1.500e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.922e-01  5.318e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.092e+00  5.210e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 116.73
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.88 +/- 0.15
Photon Flux (Free Index): 3.34e-08 +/- 7.99e-09
Energy Flux (Free Index): 2.66e-05 +/- 6.28e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33928985/cmap_HighResolution_804643201_807235201_4FGL_J1543.0+6130_monthly_bin219.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.42e-08', energy_flux2='2.66e-05', photon_flux_error='5.82e-09', dlogl='9.01e-03', energy_flux='2.60e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2026-08-01 20:14:41.128986', photon_index_error2='0.15', photon_index2='1.88', ts='116.74', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='6.28e-06', EG='1.09', time_epoch_completed='1785640481.13', return_code='0', job_id='33928985', GAL2='0.89', EG2='1.09', return_code2='0', energy_flux_error='4.44e-06', photon_flux_error2='7.99e-09', ts2='116.73', photon_index='1.90' WHERE bin_id='219' AND source_name='4FGL J1543.0+6130' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:14:42 PDT 2026

