/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 = 17361
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1553.6+1257_weekly_bin841
RA = 238.402, Dec = 12.9524
tmin = 747619201, tmax = 748224001
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='55501307', job_status='RUN', time_executed='2024-09-17 01:02:38.241696', time_epoch_executed='1726560158.24' WHERE source_name='4FGL J1553.6+1257' and cadence='weekly' and bin_id='841'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/55501307

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/55501307/ft1_4FGL_J1553.6+1257_weekly_bin841.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/55501307/ft1_4FGL_J1553.6+1257_weekly_bin841.fits outfile=/lscratch/kocevski/55501307/ft1_filteredMKT_4FGL_J1553.6+1257_weekly_bin841.fits ra=238.402 dec=12.9524 rad=12.0 tmin=747619201.0 tmax=748224001.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 4.70
user 4.41
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.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/55501307/ft1_filteredMKT_4FGL_J1553.6+1257_weekly_bin841.fits evtable="EVENTS" outfile="/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.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.36
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1847

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits" evtable="EVENTS" scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits sctable="SC_DATA" outfile=/lscratch/kocevski/55501307/ltcube_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.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/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits
.....................!
real 25.39
user 25.01
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits evtable="EVENTS" scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits sctable="SC_DATA" expcube=/lscratch/kocevski/55501307/ltcube_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits outfile=/lscratch/kocevski/55501307/expmap_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.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/55501307/ltcube_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits
.....................!
real 59.16
user 55.51
sys 3.38

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

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits outfile=/lscratch/kocevski/55501307/cmap_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.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=238.402 yref=12.9524 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.36
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits outfile=/lscratch/kocevski/55501307/cmap_HighResolution_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.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=238.402 yref=12.9524 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.38
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits evtable="EVENTS" scfile=/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/55501307/Model_4FGL_J1553.6+1257_weekly_bin841.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/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits.....................!
real 44.56
user 43.40
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits', '/lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits', expMap='/lscratch/kocevski/55501307/expmap_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits', expCube='/lscratch/kocevski/55501307/ltcube_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/55501307/Model_4FGL_J1553.6+1257_weekly_bin841.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/55501307/ft1_filtered_4FGL_J1553.6+1257_weekly_bin841.fits
Spacecraft file(s): /lscratch/kocevski/55501307/ft2_4FGL_J1553.6+1257_weekly_bin841.fits
Exposure map: /lscratch/kocevski/55501307/expmap_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits
Exposure cube: /lscratch/kocevski/55501307/ltcube_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/55501307/Model_4FGL_J1553.6+1257_weekly_bin841.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) = 19484.2020417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1324       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.5391       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30819E-04   1.0000          .0000       .10000E+07
     4 'norm      '    1.9537       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22593E-07   1.0000          .0000       .10000E+07
     6 'norm      '    2.2592       1.0000          .0000       .10000E+07
     7 'Prefactor '    46.339       1.0000          .0000       .10000E+07
     8 'norm      '    9.1538       1.0000          .0000       .10000E+07
     9 'norm      '    11.597       1.0000          .0000       .10000E+07
    10 'Prefactor '    .99573E-03   1.0000          .0000       .10000E+07
    11 'norm      '    63.522       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3391       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18104E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7411       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11934E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .72338       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19484.17     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      959 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0764        8.5803        .11014E-05   -.96807E-01
   2  Prefactor     3.5644        1.9054        .81747E-07   -.36087E-01
   3  Prefactor     .44409E-09    4.7257       -.15335E-05** at limit **
   4  norm          1.9539        1.2150        .37413E-06    .14682E-02
   5  Prefactor      .0000        2.2024       -.21719E-05** at limit **
   6  norm          2.2602        1.8561       -.26878E-06   -.44988E-03
   7  Prefactor     45.132        32.675       -.16944E-05    .17084E-01
   8  norm          9.1391        2.9232        .10635E-06    .30939E-01
   9  norm          11.605        1.8355        .17420E-07   -.30389E-02
  10  Prefactor     .11102E-09    3.8501       -.57432E-06** at limit **
  11  norm          63.488        11.571        .48171E-06    .26908    
  12  Prefactor     3.3246        3.9317        .78211E-06    .17100E-02
  13  Prefactor     .18485E-07    31.877        .12685E-05** at limit **
  14  Prefactor     5.8057        5.0775       -.19476E-06    .14164E-01
  15  Prefactor     .55511E-10    2.3225       -.75099E-06** at limit **
  16  Normalizat    .72395        .17619        .80900E-05    .72215E-04
  17  Prefactor     1.2180        .89143E-01   -.41905E-05    .16666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.07643
  Prefactor  = 3.56439
  Prefactor  = 4.44089e-10
  norm       = 1.95386
  Prefactor  = 0
  norm       = 2.26017
  Prefactor  = 45.1323
  norm       = 9.13911
  norm       = 11.6048
  Prefactor  = 1.11022e-10
  norm       = 63.4883
  Prefactor  = 3.32457
  Prefactor  = 1.84852e-08
  Prefactor  = 5.8057
  Prefactor  = 5.55112e-11
  Normalizat = 0.723945
  Prefactor  = 1.21803
 **********
 **   18 **HESSE 
 **********

 FCN=   19484.17     FROM HESSE     STATUS=OK           265 CALLS     1224 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0764        16.126        .44354E-03   -1.5663    
   2  Prefactor     3.5644        22.299        .53706E-03   -1.5670    
   3  Prefactor     .44409E-09    4.7263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9539        1.2169        .74206E-03   -1.5680    
   5  Prefactor      .0000        2.1804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2602        1.8663        .68319E-03   -1.5678    
   7  Prefactor     45.132        32.768        .14691E-03   -1.5574    
   8  norm          9.1391        5.8189        .33102E-03   -1.5648    
   9  norm          11.605        1.8505        .29392E-03   -1.5640    
  10  Prefactor     .11102E-09    3.8323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          63.488        13.376        .12548E-03   -1.5549    
  12  Prefactor     3.3246        3.9446        .55364E-03   -1.5671    
  13  Prefactor     .18485E-07    7.0520        .17165E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8057        5.9341        .41896E-03   -1.5660    
  15  Prefactor     .55511E-10    2.3182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .72395        .16213        .97136E-01   -1.0296    
  17  Prefactor     1.2180        .79374E-01    .34215E-01   -.85778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64049e-07
Minuit parameter uncertainties:
  1  16.1262
  2  17.8308
  3  9.01083e-05
  4  1.21692
  5  1.37159e-06
  6  1.86627
  7  32.7679
  8  5.8189
  9  1.85052
  10  3.81872e-05
  11  13.376
  12  3.94465
  13  0.00072165
  14  5.93413
  15  1.74551e-05
  16  0.162238
  17  0.0793815
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  9.139e+00  5.819e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.218e+00  7.938e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  7.239e-01  1.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.90
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 9.88e-06

TS (Fixed Index): 3.90
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 9.94117759006e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.4872084521e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/55501307/likelihoodResults_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19482.1501793
delta logL = 2.01573571132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19482.1093444
delta logL = 2.05657068367

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19482.11     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      254 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0344        21.502        .44792E-03    .31159E-01
   2  alpha         3.5331        3.8589        .37365        .17103E-03
   3  Normalizat    .61952        .51314E-01    .10424        .13024E-03
   4  Prefactor     1.2511        .24305E-01    .33521E-01    .21538E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.03437
  alpha      = 3.5331
  Normalizat = 0.619516
  Prefactor  = 1.25114
 **********
 **   18 **HESSE 
 **********

 FCN=   19482.11     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0344        8.7869        .11716E-04   -1.5663    
   2  alpha         3.5331        1.2149        .14688E-01    .42601    
   3  Normalizat    .61952        .18758        .46202E-03   -1.0716    
   4  Prefactor     1.2511        .93084E-01    .17085E-03   -.84772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00206e-07
Minuit parameter uncertainties:
  1  8.78688
  2  1.28152
  3  0.187774
  4  0.0930963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19482.1093444
delta logL = 2.0565706954

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.034e+00  8.787e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  3.533e+00  1.282e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.251e+00  9.310e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  6.195e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.51
Ra Dec: 238.402 12.952
Photon Index (Free Index): 3.53 +/- 1.28
Photon Flux (Free Index): 1.20e-07 +/- 5.24e-08
Energy Flux (Free Index): 2.08e-05 +/- 9.35e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/55501307/cmap_HighResolution_747619201_748224001_4FGL_J1553.6+1257_weekly_bin841.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='2.08e-05', photon_flux_error='2.82e-08', dlogl='2.06e+00', energy_flux='1.55e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2024-09-17 01:08:36.844073', photon_index_error2='1.28', photon_index2='3.53', ts='3.90', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='9.94e-08', energy_flux_error2='9.35e-06', EG='0.72', time_epoch_completed='1726560516.84', return_code='0', job_id='55501307', GAL2='1.25', EG2='0.62', return_code2='0', energy_flux_error='9.88e-06', photon_flux_error2='5.24e-08', ts2='8.51', photon_index='2.30' WHERE bin_id='841' AND source_name='4FGL J1553.6+1257' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 17 01:08:36 PDT 2024

