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

 FCN=   6782.954     FROM HESSE     STATUS=OK           373 CALLS     1774 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        15.928        .29947E-03   -1.5641    
   2  Prefactor     6.0704        5.7521        .40704E-03   -1.5659    
   3  norm          13.288        11.877        .27375E-03   -1.5635    
   4  Prefactor     12.318        11.129        .28616E-03   -1.5638    
   5  Prefactor     .37748E-08    9.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52791E-07    31.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.4715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    .85851        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    11.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.266        2.9110        .19155E-03   -1.5604    
  11  Prefactor     .10381E-07    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4057        3.8978        .66022E-03   -1.5677    
  13  Prefactor     30.142        82.467        .19488E-03   -1.5598    
  14  Prefactor     2.0789        1.7006        .71622E-03   -1.5679    
  15  Prefactor     .45727        1.5895        .83491E-03   -1.5694    
  16  Prefactor     .85598E-07    17.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25039        .17919        .62272E-03   -1.5698    
  18  norm          5.3577        4.7860        .43416E-03   -1.5662    
  19  Prefactor     .44926E-04    10.967        .14228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77084        .19216        .71733E-01   -1.0116    
  21  Prefactor     1.4418        .19679        .58519E-01   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83517e-08
Minuit parameter uncertainties:
  1  15.9278
  2  5.75208
  3  11.8773
  4  11.1292
  5  0.000375528
  6  0.00258168
  7  1.41724e-05
  8  1.90428e-05
  9  0.000102188
  10  2.91102
  11  0.00123006
  12  3.89783
  13  82.4702
  14  1.70065
  15  1.5895
  16  0.00245901
  17  0.179191
  18  4.78596
  19  0.0443929
  20  0.192326
  21  0.196893
_V02
Working on...
/lscratch/kocevski/39258976/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits.....................!
real 29.29
user 27.41
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39258976/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits', '/lscratch/kocevski/39258976/ft2_4FGL_J1148.6+1841_daily_bin2209.fits', expMap='/lscratch/kocevski/39258976/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', expCube='/lscratch/kocevski/39258976/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39258976/Model_4FGL_J1148.6+1841_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.6+1841'

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  1.462e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39258976/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39258976/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39258976/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39258976/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39258976/Model_4FGL_J1148.6+1841_daily_bin2209.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) = 6783.10640044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.173       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0773       1.0000          .0000       .10000E+07
     3 'norm      '    13.363       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.233       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32534E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11702E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .81712E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15700E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16140E-05   1.0000          .0000       .10000E+07
    10 'norm      '    27.263       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11416E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4031       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.342       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45389       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82098E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .25023       1.0000          .0000       .10000E+07
    18 'norm      '    5.3523       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89226E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1401 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.086        14.335       -.33524E-06   -.45716E-01
   2  Prefactor     6.0704        5.7405        .98444E-07    .92055E-05
   3  norm          13.288        11.872       -.14103E-06    .20103E-02
   4  Prefactor     12.318        11.135       -.62806E-07    .62372E-03
   5  Prefactor     .37748E-08    9.3691       -.39947E-06** at limit **
   6  Prefactor     .52791E-07    31.798        .65225E-06** at limit **
   7  Prefactor      .0000        4.4819       -.45402E-06** at limit **
   8  Prefactor     .11102E-09    5.1041        .28695E-06** at limit **
   9  Prefactor     .22204E-09    11.441        .21992E-06** at limit **
  10  norm          27.266        2.9069        .10612E-07   -.19776E-02
  11  Prefactor     .10381E-07    36.507       -.12245E-05** at limit **
  12  Prefactor     2.4057        3.8822        .14192E-06   -.13860E-02
  13  Prefactor     30.142        82.656       -.30177E-05   -.23915E-03
  14  Prefactor     2.0789        1.6933       -.36786E-07    .13891E-02
  15  Prefactor     .45727        1.5564       -.67780E-07    .33195E-03
  16  Prefactor     .85598E-07    17.627        .63205E-06** at limit **
  17  norm          .25039        .17362       -.23031E-07    .49139E-02
  18  norm          5.3577        4.7731       -.42325E-08   -.14260E-03
  19  Prefactor     .44926E-04    51.430        .19037E-05** at limit **
  20  Normalizat    .77084        .22405        .43017E-06    .76623E-06
  21  Prefactor     1.4418        .23188       -.35512E-06    .13630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.086
  Prefactor  = 6.07038
  norm       = 13.2881
  Prefactor  = 12.3184
  Prefactor  = 3.77476e-09
  Prefactor  = 5.27911e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 27.2659
  Prefactor  = 1.03806e-08
  Prefactor  = 2.40575
  Prefactor  = 30.1415
  Prefactor  = 2.07888
  Prefactor  = 0.457271
  Prefactor  = 8.55982e-08
  norm       = 0.250388
  norm       = 5.35774
  Prefactor  = 4.49258e-05
  Normalizat = 0.770839
  Prefactor  = 1.4418
/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/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)
/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=   6782.954     FROM HESSE     STATUS=OK           373 CALLS     1774 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        15.928        .29947E-03   -1.5641    
   2  Prefactor     6.0704        5.7521        .40704E-03   -1.5659    
   3  norm          13.288        11.877        .27375E-03   -1.5635    
   4  Prefactor     12.318        11.129        .28616E-03   -1.5638    
   5  Prefactor     .37748E-08    9.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52791E-07    31.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.4715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    .85851        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    11.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.266        2.9110        .19155E-03   -1.5604    
  11  Prefactor     .10381E-07    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4057        3.8978        .66022E-03   -1.5677    
  13  Prefactor     30.142        82.467        .19488E-03   -1.5598    
  14  Prefactor     2.0789        1.7006        .71622E-03   -1.5679    
  15  Prefactor     .45727        1.5895        .83491E-03   -1.5694    
  16  Prefactor     .85598E-07    17.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25039        .17919        .62272E-03   -1.5698    
  18  norm          5.3577        4.7860        .43416E-03   -1.5662    
  19  Prefactor     .44926E-04    10.967        .14228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77084        .19216        .71733E-01   -1.0116    
  21  Prefactor     1.4418        .19679        .58519E-01   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83517e-08
Minuit parameter uncertainties:
  1  15.9278
  2  5.75208
  3  11.8773
  4  11.1292
  5  0.000375528
  6  0.00258168
  7  1.41724e-05
  8  1.90428e-05
  9  0.000102188
  10  2.91102
  11  0.00123006
  12  3.89783
  13  82.4702
  14  1.70065
  15  1.5895
  16  0.00245901
  17  0.179191
  18  4.78596
  19  0.0443929
  20  0.192326
  21  0.196893

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

Done.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.417e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.154 18.686
Photon Flux Upper Limit: 6.04592694259e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00464724537889 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39258981/likelihoodResults_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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) = 6782.95465936
delta logL = -0.000278410751889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6782.95438095
delta logL = -1.29875843413e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1416       1.0000          .0000       10.000    
     3 'Normalizat'    .77085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3744        .42118E-03** at limit **
   2  Index         3.1302        1.6416       -.17098E-04     .0000    
   3  Normalizat    .77084        1.1102       -.49173E-05    .65082E-04
   4  Prefactor     1.4418        1.0551       -.31485E-05    .88118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.13018
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1043        2.1469       -.17098E-04   -.38328    
   3  Normalizat    .77084        1.1102       -.49173E-05   -1.0116    
   4  Prefactor     1.4418        1.0551       -.31485E-05   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02002e-11
Minuit parameter uncertainties:
  1  1.46119e-05
  2  1.67796
  3  1.14551
  4  1.07167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6782.95438095
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.461e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  3.130e+00  1.678e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.072e+00  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.146e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.154 18.686

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/39258981/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2026-09-27 08:57:49.493572', job_id='39258981', GAL2='1.44', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1790524669.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2209' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 08:57:49 PDT 2026

_V02
Working on...
/lscratch/kocevski/39259052/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits.....................!
real 28.18
user 25.61
sys 1.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39259052/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits', '/lscratch/kocevski/39259052/ft2_4FGL_J1148.6+1841_daily_bin2209.fits', expMap='/lscratch/kocevski/39259052/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', expCube='/lscratch/kocevski/39259052/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39259052/Model_4FGL_J1148.6+1841_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.6+1841'

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  1.462e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39259052/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39259052/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39259052/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39259052/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39259052/Model_4FGL_J1148.6+1841_daily_bin2209.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) = 6783.10640044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.173       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0773       1.0000          .0000       .10000E+07
     3 'norm      '    13.363       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.233       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32534E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11702E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .81712E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15700E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16140E-05   1.0000          .0000       .10000E+07
    10 'norm      '    27.263       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11416E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4031       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.342       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45389       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82098E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .25023       1.0000          .0000       .10000E+07
    18 'norm      '    5.3523       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89226E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1401 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.086        14.335       -.33524E-06   -.45716E-01
   2  Prefactor     6.0704        5.7405        .98444E-07    .92055E-05
   3  norm          13.288        11.872       -.14103E-06    .20103E-02
   4  Prefactor     12.318        11.135       -.62806E-07    .62372E-03
   5  Prefactor     .37748E-08    9.3691       -.39947E-06** at limit **
   6  Prefactor     .52791E-07    31.798        .65225E-06** at limit **
   7  Prefactor      .0000        4.4819       -.45402E-06** at limit **
   8  Prefactor     .11102E-09    5.1041        .28695E-06** at limit **
   9  Prefactor     .22204E-09    11.441        .21992E-06** at limit **
  10  norm          27.266        2.9069        .10612E-07   -.19776E-02
  11  Prefactor     .10381E-07    36.507       -.12245E-05** at limit **
  12  Prefactor     2.4057        3.8822        .14192E-06   -.13860E-02
  13  Prefactor     30.142        82.656       -.30177E-05   -.23915E-03
  14  Prefactor     2.0789        1.6933       -.36786E-07    .13891E-02
  15  Prefactor     .45727        1.5564       -.67780E-07    .33195E-03
  16  Prefactor     .85598E-07    17.627        .63205E-06** at limit **
  17  norm          .25039        .17362       -.23031E-07    .49139E-02
  18  norm          5.3577        4.7731       -.42325E-08   -.14260E-03
  19  Prefactor     .44926E-04    51.430        .19037E-05** at limit **
  20  Normalizat    .77084        .22405        .43017E-06    .76623E-06
  21  Prefactor     1.4418        .23188       -.35512E-06    .13630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.086
  Prefactor  = 6.07038
  norm       = 13.2881
  Prefactor  = 12.3184
  Prefactor  = 3.77476e-09
  Prefactor  = 5.27911e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 27.2659
  Prefactor  = 1.03806e-08
  Prefactor  = 2.40575
  Prefactor  = 30.1415
  Prefactor  = 2.07888
  Prefactor  = 0.457271
  Prefactor  = 8.55982e-08
  norm       = 0.250388
  norm       = 5.35774
  Prefactor  = 4.49258e-05
  Normalizat = 0.770839
  Prefactor  = 1.4418
Done.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.417e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.154 18.686
Photon Flux Upper Limit: 6.04592694259e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00464724537889 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39258976/likelihoodResults_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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) = 6782.95465936
delta logL = -0.000278410751889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6782.95438095
delta logL = -1.29875843413e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1416       1.0000          .0000       10.000    
     3 'Normalizat'    .77085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3744        .42118E-03** at limit **
   2  Index         3.1302        1.6416       -.17098E-04     .0000    
   3  Normalizat    .77084        1.1102       -.49173E-05    .65082E-04
   4  Prefactor     1.4418        1.0551       -.31485E-05    .88118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.13018
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1043        2.1469       -.17098E-04   -.38328    
   3  Normalizat    .77084        1.1102       -.49173E-05   -1.0116    
   4  Prefactor     1.4418        1.0551       -.31485E-05   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02002e-11
Minuit parameter uncertainties:
  1  1.46119e-05
  2  1.67796
  3  1.14551
  4  1.07167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6782.95438095
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.461e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  3.130e+00  1.678e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.072e+00  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.146e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.154 18.686

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/39258976/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2026-09-27 08:58:08.447007', job_id='39258976', GAL2='1.44', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1790524688.45', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2209' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 08:58:08 PDT 2026

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

 FCN=   6782.954     FROM HESSE     STATUS=OK           373 CALLS     1774 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        15.928        .29947E-03   -1.5641    
   2  Prefactor     6.0704        5.7521        .40704E-03   -1.5659    
   3  norm          13.288        11.877        .27375E-03   -1.5635    
   4  Prefactor     12.318        11.129        .28616E-03   -1.5638    
   5  Prefactor     .37748E-08    9.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52791E-07    31.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.4715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    .85851        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    11.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.266        2.9110        .19155E-03   -1.5604    
  11  Prefactor     .10381E-07    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4057        3.8978        .66022E-03   -1.5677    
  13  Prefactor     30.142        82.467        .19488E-03   -1.5598    
  14  Prefactor     2.0789        1.7006        .71622E-03   -1.5679    
  15  Prefactor     .45727        1.5895        .83491E-03   -1.5694    
  16  Prefactor     .85598E-07    17.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25039        .17919        .62272E-03   -1.5698    
  18  norm          5.3577        4.7860        .43416E-03   -1.5662    
  19  Prefactor     .44926E-04    10.967        .14228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77084        .19216        .71733E-01   -1.0116    
  21  Prefactor     1.4418        .19679        .58519E-01   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83517e-08
Minuit parameter uncertainties:
  1  15.9278
  2  5.75208
  3  11.8773
  4  11.1292
  5  0.000375528
  6  0.00258168
  7  1.41724e-05
  8  1.90428e-05
  9  0.000102188
  10  2.91102
  11  0.00123006
  12  3.89783
  13  82.4702
  14  1.70065
  15  1.5895
  16  0.00245901
  17  0.179191
  18  4.78596
  19  0.0443929
  20  0.192326
  21  0.196893
number of points = 7660
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1148.6+1841_daily_bin2209
RA = 177.154, Dec = 18.6861
tmin = 811900801, tmax = 812160001
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='39259235', job_status='RUN', time_executed='2026-09-27 08:57:40.048112', time_epoch_executed='1790524660.05' WHERE source_name='4FGL J1148.6+1841' and cadence='daily' and bin_id='2209'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39259235

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39259235/ft1_4FGL_J1148.6+1841_daily_bin2209.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39259235/ft1_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259235/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin2209.fits ra=177.154 dec=18.6861 rad=12.0 tmin=811900801.0 tmax=812160001.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.58
user 2.99
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.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/39259235/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" outfile="/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.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.61
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" ounumber of points = 7660
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1148.6+1841_daily_bin2209
RA = 177.154, Dec = 18.6861
tmin = 811900801, tmax = 812160001
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='39259257', job_status='RUN', time_executed='2026-09-27 08:57:36.004422', time_epoch_executed='1790524656.0' WHERE source_name='4FGL J1148.6+1841' and cadence='daily' and bin_id='2209'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39259257

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39259257/ft1_4FGL_J1148.6+1841_daily_bin2209.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39259257/ft1_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259257/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin2209.fits ra=177.154 dec=18.6861 rad=12.0 tmin=811900801.0 tmax=812160001.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.99
user 3.50
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.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/39259257/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" outfile="/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.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.80
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.417e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.154 18.686
Photon Flux Upper Limit: 6.04592694259e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00464724537889 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39259052/likelihoodResults_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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) = 6782.95465936
delta logL = -0.000278410751889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6782.95438095
delta logL = -1.29875843413e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1416       1.0000          .0000       10.000    
     3 'Normalizat'    .77085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3744        .42118E-03** at limit **
   2  Index         3.1302        1.6416       -.17098E-04     .0000    
   3  Normalizat    .77084        1.1102       -.49173E-05    .65082E-04
   4  Prefactor     1.4418        1.0551       -.31485E-05    .88118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.13018
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1043        2.1469       -.17098E-04   -.38328    
   3  Normalizat    .77084        1.1102       -.49173E-05   -1.0116    
   4  Prefactor     1.4418        1.0551       -.31485E-05   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02002e-11
Minuit parameter uncertainties:
  1  1.46119e-05
  2  1.67796
  3  1.14551
  4  1.07167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6782.95438095
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.461e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  3.130e+00  1.678e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.072e+00  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.146e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.154 18.686

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/39259052/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2026-09-27 08:58:46.479393', job_id='39259052', GAL2='1.44', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1790524726.48', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2209' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 08:58:46 PDT 2026

tfile=/lscratch/kocevski/39259235/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
.....................!
real 8.61
user 8.16
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39259235/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259235/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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/39259235/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
.....................!
real 72.93
user 67.63
sys 4.21

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

Setting source of interest to:
4FGL J1148.6+1841 @ 177.154 18.6861

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259235/cmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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=177.154 yref=18.6861 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.72
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259235/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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=177.154 yref=18.6861 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.75
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39259235/Model_4FGL_J1148.6+1841_daily_bin2209.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 GALfile=/lscratch/kocevski/39259257/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
.....................!
real 10.74
user 9.35
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39259257/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259257/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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/39259257/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
.....................!
real 79.56
user 73.72
sys 4.42

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

Setting source of interest to:
4FGL J1148.6+1841 @ 177.154 18.6861

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259257/cmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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=177.154 yref=18.6861 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 2.21
user 0.24
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits outfile=/lscratch/kocevski/39259257/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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=177.154 yref=18.6861 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.95
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39259257/Model_4FGL_J1148.6+1841_daily_bin2209.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/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits.....................!
real 27.81
user 25.64
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits', '/lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits', expMap='/lscratch/kocevski/39259235/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', expCube='/lscratch/kocevski/39259235/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39259235/Model_4FGL_J1148.6+1841_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.6+1841'

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  1.462e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39259235/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39259235/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39259235/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39259235/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39259235/Model_4FGL_J1148.6+1841_daily_bin2209.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) = 6783.10640044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.173       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0773       1.0000          .0000       .10000E+07
     3 'norm      '    13.363       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.233       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32534E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11702E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .81712E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15700E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16140E-05   1.0000          .0000       .10000E+07
    10 'norm      '    27.263       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11416E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4031       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.342       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45389       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82098E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .25023       1.0000          .0000       .10000E+07
    18 'norm      '    5.3523       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89226E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1401 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.086        14.335       -.33524E-06   -.45716E-01
   2  Prefactor     6.0704        5.7405        .98444E-07    .92055E-05
   3  norm          13.288        11.872       -.14103E-06    .20103E-02
   4  Prefactor     12.318        11.135       -.62806E-07    .62372E-03
   5  Prefactor     .37748E-08    9.3691       -.39947E-06** at limit **
   6  Prefactor     .52791E-07    31.798        .65225E-06** at limit **
   7  Prefactor      .0000        4.4819       -.45402E-06** at limit **
   8  Prefactor     .11102E-09    5.1041        .28695E-06** at limit **
   9  Prefactor     .22204E-09    11.441        .21992E-06** at limit **
  10  norm          27.266        2.9069        .10612E-07   -.19776E-02
  11  Prefactor     .10381E-07    36.507       -.12245E-05** at limit **
  12  Prefactor     2.4057        3.8822        .14192E-06   -.13860E-02
  13  Prefactor     30.142        82.656       -.30177E-05   -.23915E-03
  14  Prefactor     2.0789        1.6933       -.36786E-07    .13891E-02
  15  Prefactor     .45727        1.5564       -.67780E-07    .33195E-03
  16  Prefactor     .85598E-07    17.627        .63205E-06** at limit **
  17  norm          .25039        .17362       -.23031E-07    .49139E-02
  18  norm          5.3577        4.7731       -.42325E-08   -.14260E-03
  19  Prefactor     .44926E-04    51.430        .19037E-05** at limit **
  20  Normalizat    .77084        .22405        .43017E-06    .76623E-06
  21  Prefactor     1.4418        .23188       -.35512E-06    .13630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.086
  Prefactor  = 6.07038
  norm       = 13.2881
  Prefactor  = 12.3184
  Prefactor  = 3.77476e-09
  Prefactor  = 5.27911e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 27.2659
  Prefactor  = 1.03806e-08
  Prefactor  = 2.40575
  Prefactor  = 30.1415
  Prefactor  = 2.07888
  Prefactor  = 0.457271
  Prefactor  = 8.55982e-08
  norm       = 0.250388
  norm       = 5.35774
  Prefactor  = 4.49258e-05
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********

 FCN=   6782.954     FROM HESSE     STATUS=OK           373 CALLS     1774 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        15.928        .29947E-03   -1.5641    
   2  Prefactor     6.0704        5.7521        .40704E-03   -1.5659    
   3  norm          13.288        11.877        .27375E-03   -1.5635    
   4  Prefactor     12.318        11.129        .28616E-03   -1.5638    
   5  Prefactor     .37748E-08    9.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52791E-07    31.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.4715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    .85851        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    11.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.266        2.9110        .19155E-03   -1.5604    
  11  Prefactor     .10381E-07    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4057        3.8978        .66022E-03   -1.5677    
  13  Prefactor     30.142        82.467        .19488E-03   -1.5598    
  14  Prefactor     2.0789        1.7006        .71622E-03   -1.5679    
  15  Prefactor     .45727        1.5895        .83491E-03   -1.5694    
  16  Prefactor     .85598E-07    17.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25039        .17919        .62272E-03   -1.5698    
  18  norm          5.3577        4.7860        .43416E-03   -1.5662    
  19  Prefactor     .44926E-04    10.967        .14228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77084        .19216        .71733E-01   -1.0116    
  21  Prefactor     1.4418        .19679        .58519E-01   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83517e-08
Minuit parameter uncertainties:
  1  15.9278
  2  5.75208
  3  11.8773
  4  11.1292
  5  0.000375528
  6  0.00258168
  7  1.41724e-05
  8  1.90428e-05
  9  0.000102188
  10  2.91102
  11  0.00123006
  12  3.89783
  13  82.4702
  14  1.70065
  15  1.5895
  16  0.00245901
  17  0.179191
  18  4.78596
  19  0.0443929
  20  0.192326
  21  0.196893
_V02
Working on...
/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits.....................!
real 31.87
user 28.30
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits', '/lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits', expMap='/lscratch/kocevski/39259257/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', expCube='/lscratch/kocevski/39259257/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39259257/Model_4FGL_J1148.6+1841_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.6+1841'

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  1.462e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39259257/ft1_filtered_4FGL_J1148.6+1841_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39259257/ft2_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39259257/expmap_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39259257/ltcube_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39259257/Model_4FGL_J1148.6+1841_daily_bin2209.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) = 6783.10640044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.173       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0773       1.0000          .0000       .10000E+07
     3 'norm      '    13.363       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.233       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32534E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11702E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .81712E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15700E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16140E-05   1.0000          .0000       .10000E+07
    10 'norm      '    27.263       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11416E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4031       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.342       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45389       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82098E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .25023       1.0000          .0000       .10000E+07
    18 'norm      '    5.3523       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89226E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1401 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.086        14.335       -.33524E-06   -.45716E-01
   2  Prefactor     6.0704        5.7405        .98444E-07    .92055E-05
   3  norm          13.288        11.872       -.14103E-06    .20103E-02
   4  Prefactor     12.318        11.135       -.62806E-07    .62372E-03
   5  Prefactor     .37748E-08    9.3691       -.39947E-06** at limit **
   6  Prefactor     .52791E-07    31.798        .65225E-06** at limit **
   7  Prefactor      .0000        4.4819       -.45402E-06** at limit **
   8  Prefactor     .11102E-09    5.1041        .28695E-06** at limit **
   9  Prefactor     .22204E-09    11.441        .21992E-06** at limit **
  10  norm          27.266        2.9069        .10612E-07   -.19776E-02
  11  Prefactor     .10381E-07    36.507       -.12245E-05** at limit **
  12  Prefactor     2.4057        3.8822        .14192E-06   -.13860E-02
  13  Prefactor     30.142        82.656       -.30177E-05   -.23915E-03
  14  Prefactor     2.0789        1.6933       -.36786E-07    .13891E-02
  15  Prefactor     .45727        1.5564       -.67780E-07    .33195E-03
  16  Prefactor     .85598E-07    17.627        .63205E-06** at limit **
  17  norm          .25039        .17362       -.23031E-07    .49139E-02
  18  norm          5.3577        4.7731       -.42325E-08   -.14260E-03
  19  Prefactor     .44926E-04    51.430        .19037E-05** at limit **
  20  Normalizat    .77084        .22405        .43017E-06    .76623E-06
  21  Prefactor     1.4418        .23188       -.35512E-06    .13630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.086
  Prefactor  = 6.07038
  norm       = 13.2881
  Prefactor  = 12.3184
  Prefactor  = 3.77476e-09
  Prefactor  = 5.27911e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 27.2659
  Prefactor  = 1.03806e-08
  Prefactor  = 2.40575
  Prefactor  = 30.1415
  Prefactor  = 2.07888
  Prefactor  = 0.457271
  Prefactor  = 8.55982e-08
  norm       = 0.250388
  norm       = 5.35774
  Prefactor  = 4.49258e-05
  Normalizat = 0.770839
  Prefactor  = 1.4418
Done.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.417e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.154 18.686
Photon Flux Upper Limit: 6.04592694259e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00464724537889 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39259235/likelihoodResults_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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) = 6782.95465936
delta logL = -0.000278410751889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6782.95438095
delta logL = -1.29875843413e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1416       1.0000          .0000       10.000    
     3 'Normalizat'    .77085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3744        .42118E-03** at limit **
   2  Index         3.1302        1.6416       -.17098E-04     .0000    
   3  Normalizat    .77084        1.1102       -.49173E-05    .65082E-04
   4  Prefactor     1.4418        1.0551       -.31485E-05    .88118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.13018
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1043        2.1469       -.17098E-04   -.38328    
   3  Normalizat    .77084        1.1102       -.49173E-05   -1.0116    
   4  Prefactor     1.4418        1.0551       -.31485E-05   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02002e-11
Minuit parameter uncertainties:
  1  1.46119e-05
  2  1.67796
  3  1.14551
  4  1.07167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6782.95438095
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.461e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  3.130e+00  1.678e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.072e+00  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.146e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.154 18.686

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/39259235/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2026-09-27 09:02:28.655266', job_id='39259235', GAL2='1.44', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1790524948.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2209' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 09:02:28 PDT 2026

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

 FCN=   6782.954     FROM HESSE     STATUS=OK           373 CALLS     1774 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        15.928        .29947E-03   -1.5641    
   2  Prefactor     6.0704        5.7521        .40704E-03   -1.5659    
   3  norm          13.288        11.877        .27375E-03   -1.5635    
   4  Prefactor     12.318        11.129        .28616E-03   -1.5638    
   5  Prefactor     .37748E-08    9.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52791E-07    31.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.4715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    .85851        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    11.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.266        2.9110        .19155E-03   -1.5604    
  11  Prefactor     .10381E-07    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4057        3.8978        .66022E-03   -1.5677    
  13  Prefactor     30.142        82.467        .19488E-03   -1.5598    
  14  Prefactor     2.0789        1.7006        .71622E-03   -1.5679    
  15  Prefactor     .45727        1.5895        .83491E-03   -1.5694    
  16  Prefactor     .85598E-07    17.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25039        .17919        .62272E-03   -1.5698    
  18  norm          5.3577        4.7860        .43416E-03   -1.5662    
  19  Prefactor     .44926E-04    10.967        .14228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77084        .19216        .71733E-01   -1.0116    
  21  Prefactor     1.4418        .19679        .58519E-01   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83517e-08
Minuit parameter uncertainties:
  1  15.9278
  2  5.75208
  3  11.8773
  4  11.1292
  5  0.000375528
  6  0.00258168
  7  1.41724e-05
  8  1.90428e-05
  9  0.000102188
  10  2.91102
  11  0.00123006
  12  3.89783
  13  82.4702
  14  1.70065
  15  1.5895
  16  0.00245901
  17  0.179191
  18  4.78596
  19  0.0443929
  20  0.192326
  21  0.196893
Done.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.417e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.154 18.686
Photon Flux Upper Limit: 6.04592694259e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00464724537889 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39259257/likelihoodResults_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.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) = 6782.95465936
delta logL = -0.000278410751889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6782.95438095
delta logL = -1.29875843413e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1416       1.0000          .0000       10.000    
     3 'Normalizat'    .77085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6782.954     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3744        .42118E-03** at limit **
   2  Index         3.1302        1.6416       -.17098E-04     .0000    
   3  Normalizat    .77084        1.1102       -.49173E-05    .65082E-04
   4  Prefactor     1.4418        1.0551       -.31485E-05    .88118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.13018
  Normalizat = 0.770839
  Prefactor  = 1.4418
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1043        2.1469       -.17098E-04   -.38328    
   3  Normalizat    .77084        1.1102       -.49173E-05   -1.0116    
   4  Prefactor     1.4418        1.0551       -.31485E-05   -.79183    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02002e-11
Minuit parameter uncertainties:
  1  1.46119e-05
  2  1.67796
  3  1.14551
  4  1.07167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6782.95438095
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.461e-05  0.000e+00  1.000e+06 ( 1.000e-13)
282        Index:  3.130e+00  1.678e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.442e+00  1.072e+00  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.708e-01  1.146e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.154 18.686

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/39259257/cmap_HighResolution_811900801_812160001_4FGL_J1148.6+1841_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2026-09-27 09:03:03.834222', job_id='39259257', GAL2='1.44', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1790524983.83', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2209' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 09:03:04 PDT 2026

