/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1549.5+0236_weekly_bin916
RA = 237.385, Dec = 2.6084
tmin = 792979201, tmax = 793584001
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='21681733', job_status='RUN', time_executed='2026-02-24 01:07:05.316823', time_epoch_executed='1771924025.32' WHERE source_name='4FGL J1549.5+0236' and cadence='weekly' and bin_id='916'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/21681733

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/21681733/ft1_4FGL_J1549.5+0236_weekly_bin916.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/21681733/ft1_4FGL_J1549.5+0236_weekly_bin916.fits outfile=/lscratch/kocevski/21681733/ft1_filteredMKT_4FGL_J1549.5+0236_weekly_bin916.fits ra=237.385 dec=2.6084 rad=12.0 tmin=792979201.0 tmax=793584001.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 5.46
user 4.94
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.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/21681733/ft1_filteredMKT_4FGL_J1549.5+0236_weekly_bin916.fits evtable="EVENTS" outfile="/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.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.22
sys 0.14

Number of photons that the gtmktime cut: 2335

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits" evtable="EVENTS" scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits sctable="SC_DATA" outfile=/lscratch/kocevski/21681733/ltcube_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.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/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits
.....................!
real 25.01
user 24.35
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits evtable="EVENTS" scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits sctable="SC_DATA" expcube=/lscratch/kocevski/21681733/ltcube_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits outfile=/lscratch/kocevski/21681733/expmap_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.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/21681733/ltcube_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits
.....................!
real 73.54
user 68.69
sys 4.31

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/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits outfile=/lscratch/kocevski/21681733/cmap_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.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.58
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits outfile=/lscratch/kocevski/21681733/cmap_HighResolution_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.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.66
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits evtable="EVENTS" scfile=/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/21681733/Model_4FGL_J1549.5+0236_weekly_bin916.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/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits.....................!
real 75.22
user 73.00
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits', '/lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits', expMap='/lscratch/kocevski/21681733/expmap_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits', expCube='/lscratch/kocevski/21681733/ltcube_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/21681733/Model_4FGL_J1549.5+0236_weekly_bin916.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/21681733/ft1_filtered_4FGL_J1549.5+0236_weekly_bin916.fits
Spacecraft file(s): /lscratch/kocevski/21681733/ft2_4FGL_J1549.5+0236_weekly_bin916.fits
Exposure map: /lscratch/kocevski/21681733/expmap_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits
Exposure cube: /lscratch/kocevski/21681733/ltcube_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/21681733/Model_4FGL_J1549.5+0236_weekly_bin916.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) = 24815.2319912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1079       1.0000          .0000       .10000E+07
     2 'norm      '    1.9058       1.0000          .0000       .10000E+07
     3 'Prefactor '    .69778E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24858E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.8066       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57510E-07   1.0000          .0000       .10000E+07
     7 'norm      '    4.2241       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52058E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .12279E-06   1.0000          .0000       .10000E+07
    10 'norm      '    3.7622       1.0000          .0000       .10000E+07
    11 'norm      '    56.620       1.0000          .0000       .10000E+07
    12 'Prefactor '    .89327E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15238E-06   1.0000          .0000       .10000E+07
    14 'Normalizat'    .98228       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0426       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=   24814.46     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      817 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1097        1.5521        .44814E-07   -.14971E-02
   2  norm          1.9058        1.7444        .81832E-07   -.15105E-02
   3  Prefactor      .0000        1.7400        .77788E-07** at limit **
   4  Prefactor      .0000        3.1943        .20365E-06** at limit **
   5  Prefactor     3.8670        2.0188        .12538E-07   -.22093E-01
   6  Prefactor      .0000        .89454        .18070E-07** at limit **
   7  norm          4.2246        2.0538        .47539E-07   -.18908E-02
   8  Prefactor     .55511E-10    7.8517        .16866E-06** at limit **
   9  norm           .0000        4.4868        .48787E-07** at limit **
  10  norm          3.7616        .99571       -.31562E-07    .16946E-02
  11  norm          56.853        11.004        .12127E-07    .13255E-01
  12  Prefactor     .55511E-10    69.920        .30639E-06** at limit **
  13  Prefactor      .0000        2.4557       -.16151E-07** at limit **
  14  Normalizat    .98168        .15579       -.30946E-06   -.10338E-04
  15  Prefactor     1.0427        .58617E-01    .47039E-06    .64337E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10972
  norm       = 1.90581
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.86702
  Prefactor  = 0
  norm       = 4.22457
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 3.76162
  norm       = 56.8535
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.981682
  Prefactor  = 1.04269
 **********
 **   18 **HESSE 
 **********

 FCN=   24814.46     FROM HESSE     STATUS=OK           210 CALLS     1027 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1097        1.5630        .71036E-03   -1.5679    
   2  norm          1.9058        1.7625        .75290E-03   -1.5680    
   3  Prefactor      .0000        1.6746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.2026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8670        13.045        .51711E-03   -1.5669    
   6  Prefactor      .0000        .88909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2246        2.0581        .49005E-03   -1.5667    
   8  Prefactor     .55511E-10    7.8623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        4.4701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.7616        .99756        .52026E-04   -1.5669    
  11  norm          56.853        11.070        .13291E-03   -1.5557    
  12  Prefactor     .55511E-10    69.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .98168        .13836        .95293E-01   -.93647    
  15  Prefactor     1.0427        .51849E-01    .40362E-01   -.91320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09546e-08
Minuit parameter uncertainties:
  1  1.56299
  2  1.76252
  3  1.28799e-06
  4  1.12528e-05
  5  13.0447
  6  2.9851e-07
  7  2.05807
  8  3.02106e-05
  9  3.67429e-07
  10  0.997556
  11  11.0702
  12  0.000107992
  13  1.89065e-06
  14  0.138415
  15  0.0518516
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  2.985e-07  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:  1.043e+00  5.185e-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:  9.817e-01  1.384e-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: 3.80297727027e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00294150125163 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/21681733/likelihoodResults_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.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) = 24814.4628687
delta logL = -0.000574701589358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24814.462294
delta logL = -4.84942574985e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58842E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0356       1.0000          .0000       10.000    
     3 'Normalizat'    .98169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0427       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=   24814.46     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      246 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3693        .42118E-03** at limit **
   2  Index         1.7904        .97034       -.11243E-05     .0000    
   3  Normalizat    .98168        1.3125        .13711E-05    .15223E-04
   4  Prefactor     1.0427        1.2002        .23644E-07    .31037E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.79043
  Normalizat = 0.981682
  Prefactor  = 1.04269
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24814.46     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .32725        1.5677       -.11243E-05   -.69699    
   3  Normalizat    .98168        1.3125        .13711E-05   -.93647    
   4  Prefactor     1.0427        1.2002        .23644E-07   -.91320    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.15643e-13
Minuit parameter uncertainties:
  1  1.52057e-07
  2  0.981009
  3  1.35984
  4  1.23338
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) = 24814.462294
delta logL = 0.0

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  0.000e+00  1.521e-07  0.000e+00  1.000e+06 ( 1.000e-12)
238        Index:  1.790e+00  9.810e-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:  1.043e+00  1.233e+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:  9.817e-01  1.360e+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/21681733/cmap_HighResolution_792979201_793584001_4FGL_J1549.5+0236_weekly_bin916.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-03', job_status='DONE', photon_flux_upper_limit='3.80e-08', time_completed='2026-02-24 01:16:30.457871', job_id='21681733', GAL2='1.04', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1771924590.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='916' AND source_name='4FGL J1549.5+0236' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 24 01:16:30 PST 2026

