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

 FCN=   11778.77     FROM HESSE     STATUS=OK           210 CALLS     1201 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4117        2.9614        .47894E-03   -1.5666    
   2  norm          2.9977        4.2804        .58547E-03   -1.5673    
   3  Prefactor     6.0973        5.3800        .40378E-03   -1.5659    
   4  Prefactor     .16653E-09    10.559        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .71857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.547        47.819        .14984E-03   -1.5581    
   9  norm          .27756E-09    13.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2518        1.2119        .68519E-03   -1.5678    
  11  norm          94.768        19.163        .10272E-03   -1.5513    
  12  Prefactor      .0000        17.062        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6803        .22715        .85053E-01   -.72830    
  15  Prefactor     .85309        .78757E-01    .44409E-01   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82796e-08
Minuit parameter uncertainties:
  1  2.96136
  2  4.28036
  3  5.38001
  4  8.51599e-05
  5  9.21338e-05
  6  5.48941e-05
  7  8.49423e-06
  8  47.8196
  9  0.000120124
  10  1.21191
  11  19.1626
  12  1.39705e-05
  13  1.19972e-05
  14  0.227292
  15  0.0787679
/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).

Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249437/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
/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)
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249437/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:29:19.971192', job_id='41249437', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355359.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:29:20 PDT 2026


Working on...
/lscratch/kocevski/41249513/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits.....................!
real 37.50
user 35.67
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41249513/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits', '/lscratch/kocevski/41249513/ft2_4FGL_J1549.5+0236_daily_bin2216.fits', expMap='/lscratch/kocevski/41249513/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', expCube='/lscratch/kocevski/41249513/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41249513/Model_4FGL_J1549.5+0236_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41249513/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41249513/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41249513/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41249513/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41249513/Model_4FGL_J1549.5+0236_daily_bin2216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4168       1.0000          .0000       .10000E+07
     2 'norm      '    3.0031       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1742       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15547E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40942E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99787E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33612E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    44.549       1.0000          .0000       .10000E+07
     9 'norm      '    .15368E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.2474       1.0000          .0000       .10000E+07
    11 'norm      '    94.783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15767E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32384E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.6771       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      991 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4117        2.9577       -.23136E-06    .13097E-02
   2  norm          2.9977        4.2630        .45581E-06    .81202E-03
   3  Prefactor     6.0973        5.3834        .50734E-06    .10256E-02
   4  Prefactor     .16653E-09    10.586       -.12005E-06** at limit **
   5  Prefactor     .16653E-09    15.255       -.48680E-05** at limit **
   6  Prefactor     .16653E-09    4.0863        .43257E-06** at limit **
   7  norm           .0000        .71542       -.31504E-06** at limit **
   8  Prefactor     40.547        47.608       -.14954E-05    .17712E-02
   9  norm          .27756E-09    13.464       -.70617E-05** at limit **
  10  norm          2.2518        1.2073       -.82497E-07   -.16743E-02
  11  norm          94.768        1.1691       -.26810E-07    .14044    
  12  Prefactor      .0000        17.056       -.67317E-06** at limit **
  13  Prefactor      .0000        3.5806        .20317E-05** at limit **
  14  Normalizat    1.6803        .26313       -.30425E-04   -.93472E-04
  15  Prefactor     .85309        .92525E-01    .26959E-05   -.30120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41172
  norm       = 2.99773
  Prefactor  = 6.09731
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 40.5474
  norm       = 2.77556e-10
  norm       = 2.25179
  norm       = 94.7676
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.6803
  Prefactor  = 0.85309

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

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

 FCN=   11778.77     FROM HESSE     STATUS=OK           210 CALLS     1201 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4117        2.9614        .47894E-03   -1.5666    
   2  norm          2.9977        4.2804        .58547E-03   -1.5673    
   3  Prefactor     6.0973        5.3800        .40378E-03   -1.5659    
   4  Prefactor     .16653E-09    10.559        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .71857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.547        47.819        .14984E-03   -1.5581    
   9  norm          .27756E-09    13.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2518        1.2119        .68519E-03   -1.5678    
  11  norm          94.768        19.163        .10272E-03   -1.5513    
  12  Prefactor      .0000        17.062        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6803        .22715        .85053E-01   -.72830    
  15  Prefactor     .85309        .78757E-01    .44409E-01   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82796e-08
Minuit parameter uncertainties:
  1  2.96136
  2  4.28036
  3  5.38001
  4  8.51599e-05
  5  9.21338e-05
  6  5.48941e-05
  7  8.49423e-06
  8  47.8196
  9  0.000120124
  10  1.21191
  11  19.1626
  12  1.39705e-05
  13  1.19972e-05
  14  0.227292
  15  0.0787679
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1549.5+0236_daily_bin2216
RA = 237.385, Dec = 2.6084
tmin = 813715201, tmax = 813974401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='41249735', job_status='RUN', time_executed='2026-10-18 13:28:38.184439', time_epoch_executed='1792355318.18' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41249735

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41249735/ft1_4FGL_J1549.5+0236_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41249735/ft1_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249735/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin2216.fits ra=237.385 dec=2.6084 rad=12.0 tmin=813715201.0 tmax=813974401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.87
user 1.39
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/41249735/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249472/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249472/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:29:47.261871', job_id='41249472', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355387.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:29:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249513/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249513/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:30:02.744891', job_id='41249513', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355402.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:30:02 PDT 2026


Working on...
/lscratch/kocevski/41249611/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits.....................!
real 32.75
user 31.12
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41249611/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits', '/lscratch/kocevski/41249611/ft2_4FGL_J1549.5+0236_daily_bin2216.fits', expMap='/lscratch/kocevski/41249611/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', expCube='/lscratch/kocevski/41249611/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41249611/Model_4FGL_J1549.5+0236_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41249611/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41249611/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41249611/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41249611/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41249611/Model_4FGL_J1549.5+0236_daily_bin2216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4168       1.0000          .0000       .10000E+07
     2 'norm      '    3.0031       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1742       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15547E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40942E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99787E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33612E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    44.549       1.0000          .0000       .10000E+07
     9 'norm      '    .15368E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.2474       1.0000          .0000       .10000E+07
    11 'norm      '    94.783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15767E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32384E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.6771       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      991 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4117        2.9577       -.23136E-06    .13097E-02
   2  norm          2.9977        4.2630        .45581E-06    .81202E-03
   3  Prefactor     6.0973        5.3834        .50734E-06    .10256E-02
   4  Prefactor     .16653E-09    10.586       -.12005E-06** at limit **
   5  Prefactor     .16653E-09    15.255       -.48680E-05** at limit **
   6  Prefactor     .16653E-09    4.0863        .43257E-06** at limit **
   7  norm           .0000        .71542       -.31504E-06** at limit **
   8  Prefactor     40.547        47.608       -.14954E-05    .17712E-02
   9  norm          .27756E-09    13.464       -.70617E-05** at limit **
  10  norm          2.2518        1.2073       -.82497E-07   -.16743E-02
  11  norm          94.768        1.1691       -.26810E-07    .14044    
  12  Prefactor      .0000        17.056       -.67317E-06** at limit **
  13  Prefactor      .0000        3.5806        .20317E-05** at limit **
  14  Normalizat    1.6803        .26313       -.30425E-04   -.93472E-04
  15  Prefactor     .85309        .92525E-01    .26959E-05   -.30120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41172
  norm       = 2.99773
  Prefactor  = 6.09731
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 40.5474
  norm       = 2.77556e-10
  norm       = 2.25179
  norm       = 94.7676
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********

 FCN=   11778.77     FROM HESSE     STATUS=OK           210 CALLS     1201 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4117        2.9614        .47894E-03   -1.5666    
   2  norm          2.9977        4.2804        .58547E-03   -1.5673    
   3  Prefactor     6.0973        5.3800        .40378E-03   -1.5659    
   4  Prefactor     .16653E-09    10.559        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .71857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.547        47.819        .14984E-03   -1.5581    
   9  norm          .27756E-09    13.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2518        1.2119        .68519E-03   -1.5678    
  11  norm          94.768        19.163        .10272E-03   -1.5513    
  12  Prefactor      .0000        17.062        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6803        .22715        .85053E-01   -.72830    
  15  Prefactor     .85309        .78757E-01    .44409E-01   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82796e-08
Minuit parameter uncertainties:
  1  2.96136
  2  4.28036
  3  5.38001
  4  8.51599e-05
  5  9.21338e-05
  6  5.48941e-05
  7  8.49423e-06
  8  47.8196
  9  0.000120124
  10  1.21191
  11  19.1626
  12  1.39705e-05
  13  1.19972e-05
  14  0.227292
  15  0.0787679
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1549.5+0236_daily_bin2216
RA = 237.385, Dec = 2.6084
tmin = 813715201, tmax = 813974401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='41249773', job_status='RUN', time_executed='2026-10-18 13:29:22.100456', time_epoch_executed='1792355362.1' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='2216'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/41249773

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/41249773/ft1_4FGL_J1549.5+0236_daily_bin2216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/41249773/ft1_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249773/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin2216.fits ra=237.385 dec=2.6084 rad=12.0 tmin=813715201.0 tmax=813974401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.01
user 1.59
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/41249773/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" outfile="/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits" evtable="EVENTS" scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249611/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249611/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:30:42.151846', job_id='41249611', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355442.15', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:30:42 PDT 2026

file=/lscratch/kocevski/41249735/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
.....................!
real 8.20
user 7.70
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41249735/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249735/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/41249735/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
.....................!
real 65.70
user 61.21
sys 3.91

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

Setting source of interest to:
4FGL J1549.5+0236 @ 237.385 2.6084

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249735/cmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.385 yref=2.6084 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.60
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249735/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.385 yref=2.6084 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.58
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41249735/Model_4FGL_J1549.5+0236_daily_bin2216.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02ile=/lscratch/kocevski/41249773/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
.....................!
real 9.43
user 8.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" expcube=/lscratch/kocevski/41249773/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249773/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/41249773/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
.....................!
real 75.95
user 70.69
sys 4.47

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

Setting source of interest to:
4FGL J1549.5+0236 @ 237.385 2.6084

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249773/cmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.385 yref=2.6084 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.66
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits outfile=/lscratch/kocevski/41249773/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.385 yref=2.6084 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.58
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits evtable="EVENTS" scfile=/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/41249773/Model_4FGL_J1549.5+0236_daily_bin2216.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02

Working on...
/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits.....................!
real 35.63
user 34.36
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits', '/lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits', expMap='/lscratch/kocevski/41249735/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', expCube='/lscratch/kocevski/41249735/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41249735/Model_4FGL_J1549.5+0236_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41249735/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41249735/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41249735/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41249735/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41249735/Model_4FGL_J1549.5+0236_daily_bin2216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4168       1.0000          .0000       .10000E+07
     2 'norm      '    3.0031       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1742       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15547E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40942E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99787E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33612E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    44.549       1.0000          .0000       .10000E+07
     9 'norm      '    .15368E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.2474       1.0000          .0000       .10000E+07
    11 'norm      '    94.783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15767E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32384E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.6771       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      991 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4117        2.9577       -.23136E-06    .13097E-02
   2  norm          2.9977        4.2630        .45581E-06    .81202E-03
   3  Prefactor     6.0973        5.3834        .50734E-06    .10256E-02
   4  Prefactor     .16653E-09    10.586       -.12005E-06** at limit **
   5  Prefactor     .16653E-09    15.255       -.48680E-05** at limit **
   6  Prefactor     .16653E-09    4.0863        .43257E-06** at limit **
   7  norm           .0000        .71542       -.31504E-06** at limit **
   8  Prefactor     40.547        47.608       -.14954E-05    .17712E-02
   9  norm          .27756E-09    13.464       -.70617E-05** at limit **
  10  norm          2.2518        1.2073       -.82497E-07   -.16743E-02
  11  norm          94.768        1.1691       -.26810E-07    .14044    
  12  Prefactor      .0000        17.056       -.67317E-06** at limit **
  13  Prefactor      .0000        3.5806        .20317E-05** at limit **
  14  Normalizat    1.6803        .26313       -.30425E-04   -.93472E-04
  15  Prefactor     .85309        .92525E-01    .26959E-05   -.30120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41172
  norm       = 2.99773
  Prefactor  = 6.09731
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 40.5474
  norm       = 2.77556e-10
  norm       = 2.25179
  norm       = 94.7676
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********

 FCN=   11778.77     FROM HESSE     STATUS=OK           210 CALLS     1201 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4117        2.9614        .47894E-03   -1.5666    
   2  norm          2.9977        4.2804        .58547E-03   -1.5673    
   3  Prefactor     6.0973        5.3800        .40378E-03   -1.5659    
   4  Prefactor     .16653E-09    10.559        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .71857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.547        47.819        .14984E-03   -1.5581    
   9  norm          .27756E-09    13.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2518        1.2119        .68519E-03   -1.5678    
  11  norm          94.768        19.163        .10272E-03   -1.5513    
  12  Prefactor      .0000        17.062        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6803        .22715        .85053E-01   -.72830    
  15  Prefactor     .85309        .78757E-01    .44409E-01   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82796e-08
Minuit parameter uncertainties:
  1  2.96136
  2  4.28036
  3  5.38001
  4  8.51599e-05
  5  9.21338e-05
  6  5.48941e-05
  7  8.49423e-06
  8  47.8196
  9  0.000120124
  10  1.21191
  11  19.1626
  12  1.39705e-05
  13  1.19972e-05
  14  0.227292
  15  0.0787679
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249735/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249735/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:33:19.761656', job_id='41249735', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355599.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:33:19 PDT 2026

Working on...
/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits.....................!
real 40.23
user 38.65
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits', '/lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits', expMap='/lscratch/kocevski/41249773/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', expCube='/lscratch/kocevski/41249773/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/41249773/Model_4FGL_J1549.5+0236_daily_bin2216.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/41249773/ft1_filtered_4FGL_J1549.5+0236_daily_bin2216.fits
Spacecraft file(s): /lscratch/kocevski/41249773/ft2_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure map: /lscratch/kocevski/41249773/expmap_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
Exposure cube: /lscratch/kocevski/41249773/ltcube_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/41249773/Model_4FGL_J1549.5+0236_daily_bin2216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4168       1.0000          .0000       .10000E+07
     2 'norm      '    3.0031       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1742       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15547E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40942E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99787E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33612E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    44.549       1.0000          .0000       .10000E+07
     9 'norm      '    .15368E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.2474       1.0000          .0000       .10000E+07
    11 'norm      '    94.783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15767E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32384E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.6771       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      991 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4117        2.9577       -.23136E-06    .13097E-02
   2  norm          2.9977        4.2630        .45581E-06    .81202E-03
   3  Prefactor     6.0973        5.3834        .50734E-06    .10256E-02
   4  Prefactor     .16653E-09    10.586       -.12005E-06** at limit **
   5  Prefactor     .16653E-09    15.255       -.48680E-05** at limit **
   6  Prefactor     .16653E-09    4.0863        .43257E-06** at limit **
   7  norm           .0000        .71542       -.31504E-06** at limit **
   8  Prefactor     40.547        47.608       -.14954E-05    .17712E-02
   9  norm          .27756E-09    13.464       -.70617E-05** at limit **
  10  norm          2.2518        1.2073       -.82497E-07   -.16743E-02
  11  norm          94.768        1.1691       -.26810E-07    .14044    
  12  Prefactor      .0000        17.056       -.67317E-06** at limit **
  13  Prefactor      .0000        3.5806        .20317E-05** at limit **
  14  Normalizat    1.6803        .26313       -.30425E-04   -.93472E-04
  15  Prefactor     .85309        .92525E-01    .26959E-05   -.30120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41172
  norm       = 2.99773
  Prefactor  = 6.09731
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 40.5474
  norm       = 2.77556e-10
  norm       = 2.25179
  norm       = 94.7676
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********

 FCN=   11778.77     FROM HESSE     STATUS=OK           210 CALLS     1201 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4117        2.9614        .47894E-03   -1.5666    
   2  norm          2.9977        4.2804        .58547E-03   -1.5673    
   3  Prefactor     6.0973        5.3800        .40378E-03   -1.5659    
   4  Prefactor     .16653E-09    10.559        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .71857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.547        47.819        .14984E-03   -1.5581    
   9  norm          .27756E-09    13.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2518        1.2119        .68519E-03   -1.5678    
  11  norm          94.768        19.163        .10272E-03   -1.5513    
  12  Prefactor      .0000        17.062        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.6803        .22715        .85053E-01   -.72830    
  15  Prefactor     .85309        .78757E-01    .44409E-01   -.97800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82796e-08
Minuit parameter uncertainties:
  1  2.96136
  2  4.28036
  3  5.38001
  4  8.51599e-05
  5  9.21338e-05
  6  5.48941e-05
  7  8.49423e-06
  8  47.8196
  9  0.000120124
  10  1.21191
  11  19.1626
  12  1.39705e-05
  13  1.19972e-05
  14  0.227292
  15  0.0787679
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.665e-10  5.489e-05  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  7.877e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 1.00794323262e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00779617144575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/41249773/likelihoodResults_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11778.7745171
delta logL = -0.00354615747892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11777.9321428
delta logL = 0.838828143224

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11778.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20231        .42118E-03** at limit **
   2  Index         .62388        .62754       -.37858E-06     .0000    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.26220E-04
   4  Prefactor     .85309        1.2060        .12904E-05    .21847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.623876
  Normalizat = 1.6803
  Prefactor  = 0.85309
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65127E-04    .77369       -.37858E-06   -378.06    
   3  Normalizat    1.6803        1.0624       -.45348E-05   -.72830    
   4  Prefactor     .85309        1.2060        .12904E-05    4.1196    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.09407e-11
Minuit parameter uncertainties:
  1  1.6509e-06
  2  0.634807
  3  1.07732
  4  1.24703
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) = 11778.7709709
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.651e-06  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  6.239e-01  6.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.531e-01  1.247e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.680e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

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/41249773/cmap_HighResolution_813715201_813974401_4FGL_J1549.5+0236_daily_bin2216.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-18 13:34:32.005937', job_id='41249773', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1792355672.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2216' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 18 13:34:32 PDT 2026

