aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 88 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 74146
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1553.5-3118_monthly_bin168
RA = 238.392, Dec = -31.3113
tmin = 672451201, tmax = 675043201
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='638469', job_status='RUN', time_executed='2022-05-24 03:29:38.422046', time_epoch_executed='1653388178.42' WHERE source_name='4FGL J1553.5-3118' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638469

Creating custom pfile directory:
/scratch/kocevski/638469/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638469/ft1_4FGL_J1553.5-3118_monthly_bin168.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=672451201.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638469/ft1_4FGL_J1553.5-3118_monthly_bin168.fits outfile=/scratch/kocevski/638469/ft1_filteredMKT_4FGL_J1553.5-3118_monthly_bin168.fits ra=238.392 dec=-31.3113 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.76
user 27.94
sys 0.74

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/638469/ft1_filteredMKT_4FGL_J1553.5-3118_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.86
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 8399

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/638469/ltcube_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.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 /scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits
.....................!
real 144.22
user 143.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/638469/ltcube_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits outfile=/scratch/kocevski/638469/expmap_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.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 /scratch/kocevski/638469/ltcube_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits
.....................!
real 192.30
user 186.59
sys 5.13

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Added 368 point sources and 9 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1553.5-3118 @ 238.392 -31.3113

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits outfile=/scratch/kocevski/638469/cmap_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.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.392 yref=-31.3113 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.80
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits outfile=/scratch/kocevski/638469/cmap_HighResolution_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.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.392 yref=-31.3113 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.80
user 0.62
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638469/Model_4FGL_J1553.5-3118_monthly_bin168.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1626.9-2431
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source RX J1713.7-3946
Working on...
/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits.....................!
real 1957.15
user 1951.75
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits', '/scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits', expMap='/scratch/kocevski/638469/expmap_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits', expCube='/scratch/kocevski/638469/ltcube_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638469/Model_4FGL_J1553.5-3118_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.5-3118'

4FGL J1553.5-3118
   Spectrum: LogParabola
370         norm:  3.560e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        alpha:  1.844e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
372         beta:  8.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
373           Eb:  1.988e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638469/ft1_filtered_4FGL_J1553.5-3118_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/638469/ft2_4FGL_J1553.5-3118_monthly_bin168.fits
Exposure map: /scratch/kocevski/638469/expmap_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits
Exposure cube: /scratch/kocevski/638469/ltcube_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638469/Model_4FGL_J1553.5-3118_monthly_bin168.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) = 84769.2640509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.597       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .83301E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    21.473       1.0000         .10000E-03   10000.    
     5 'norm      '    4.2210       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2905       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0693       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.959       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1839       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9370       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9174       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4290       1.0000         .10000E-03   10000.    
    16 'norm      '    .86410       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .84658       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2576       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0310       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1333E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   84769.23     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1681 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.600        7.4006         .0000       -.45065E-02
   2  Prefactor     .10000E-03    4.7679         .0000    ** at limit **
   3  norm          .10004E-03    .55230         .0000    ** at limit **
   4  norm          21.473        13.637         .0000        .74522E-03
   5  norm          4.2209        .52331         .0000        .37980E-03
   6  Prefactor     2.2897        2.9394         .0000        .48226E-01
   7  norm          2.0693        1.4034         .0000        .43956E-02
   8  Prefactor     .10000E-03    6.9469         .0000    ** at limit **
   9  Prefactor     10.958        8.8391         .0000        .80091E-03
  10  norm          5.1839        5.3671         .0000        .92191E-02
  11  Prefactor     5.9376        1.5124         .0000        .79962E-01
  12  norm          2.8133        2.2926         .0000        .42123E-02
  13  Prefactor     1.9177        1.8963         .0000        .12202    
  14  norm          .10000E-03    1.7939         .0000    ** at limit **
  15  norm          2.4289        2.4420         .0000        .81598E-01
  16  norm          .86408        .69739         .0000        .88702E-02
  17  Prefactor     .84633        .99726         .0000       -.62245E-02
  18  Normalizat    1.2577        .17446         .0000        .15819E-03
  19  Prefactor     1.0310        .24464E-01     .0000       -.13806E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.5998
  Prefactor  = 0.0001
  norm       = 0.000100036
  norm       = 21.4734
  norm       = 4.22089
  Prefactor  = 2.28975
  norm       = 2.06929
  Prefactor  = 0.0001
  Prefactor  = 10.9581
  norm       = 5.18386
  Prefactor  = 5.93761
  norm       = 2.81327
  Prefactor  = 1.91773
  norm       = 0.0001
  norm       = 2.42894
  norm       = 0.864078
  Prefactor  = 0.846327
  Normalizat = 1.25767
  Prefactor  = 1.03102
 **********
 **   18 **HESSE 
 **********

 FCN=   84769.23     FROM HESSE     STATUS=OK           278 CALLS     1959 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.600        7.3322        .70183E-04   -1.4565    
   2  Prefactor     .10000E-03    4.9440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10004E-03    8.1674        .41040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          21.473        13.629        .86436E-04   -1.4781    
   5  norm          4.2209        .52265        .70633E-04   -1.5297    
   6  Prefactor     2.2897        2.9006        .13561E-02   -1.5405    
   7  norm          2.0693        1.3859        .26409E-03   -1.5420    
   8  Prefactor     .10000E-03    6.9535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.958        8.8356        .12103E-03   -1.5046    
  10  norm          5.1839        5.3612        .88281E-03   -1.5253    
  11  Prefactor     5.9376        1.5077        .82402E-03   -1.5221    
  12  norm          2.8133        2.2856        .24250E-03   -1.5372    
  13  Prefactor     1.9177        1.8894        .15006E-02   -1.5431    
  14  norm          .10000E-03    1.7967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4289        2.4373        .13129E-02   -1.5396    
  16  norm          .86408        .67666        .20862E-03   -1.5522    
  17  Prefactor     .84633        .81379        .30353E-02   -1.5524    
  18  Normalizat    1.2577        .17698        .84123E-03   -.84839    
  19  Prefactor     1.0310        .25381E-01    .13259E-03   -.91702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5434e-08
Minuit parameter uncertainties:
  1  7.33239
  2  3.88728e-05
  3  0.00108638
  4  13.6305
  5  0.522649
  6  2.90074
  7  1.38587
  8  7.92349e-05
  9  8.83664
  10  5.36166
  11  1.50772
  12  2.28572
  13  1.88943
  14  9.51345e-06
  15  2.43744
  16  0.676666
  17  0.813797
  18  0.177061
  19  0.0253809
Done.

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

Extracting fit parameters...

4FGL J1553.5-3118
   Spectrum: LogParabola
370         norm:  5.184e+00  5.362e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        alpha:  1.844e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
372         beta:  8.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
373           Eb:  1.988e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1319    Prefactor:  1.031e+00  2.538e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1320        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1321        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1297   Normalization:  1.258e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.22
Ra Dec: 238.392 -31.311
Photon Index (Fixed Index): 1.84 +/- 0.00
Photon Flux (Fixed Index): 1.06e-08 +/- 1.10e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.16e-05

TS (Fixed Index): 1.22
Ra Dec: 238.392 -31.311
Photon Flux Upper Limit: 3.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638469/likelihoodResults_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.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) = 84768.6791549
delta logL = 0.547372662884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 84768.6696056
delta logL = 0.556921898693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6819       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3857       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1333E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   84768.67     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      272 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6847        5.2295        .18598E-03    .23375E-03
   2  alpha         2.3852        .59054        .26219E-01    .71416E-04
   3  Normalizat    1.2421        .16786        .84577E-03   -.44949E-04
   4  Prefactor     1.0316        .24362E-01    .13256E-03    .96057E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.68467
  alpha      = 2.38518
  Normalizat = 1.24214
  Prefactor  = 1.03161
 **********
 **   18 **HESSE 
 **********

 FCN=   84768.67     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6847        4.4700        .74394E-05   -1.5275    
   2  alpha         2.3852        .50622        .10488E-02   -.45943E-01
   3  Normalizat    1.2421        .16764        .33831E-04   -.85310    
   4  Prefactor     1.0316        .24348E-01    .53022E-05   -.91683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40939e-11
Minuit parameter uncertainties:
  1  4.47037
  2  0.509749
  3  0.16771
  4  0.0243481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638469': No such file or directory
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) = 84768.669605
delta logL = 0.556922530857

Extracting fit parameters...

4FGL J1553.5-3118
   Spectrum: LogParabola
370         norm:  4.685e+00  4.470e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        alpha:  2.385e+00  5.097e-01  0.000e+00  5.000e+00 ( 1.000e+00)
372         beta:  8.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
373           Eb:  1.988e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1319    Prefactor:  1.032e+00  2.435e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1320        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1321        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1297   Normalization:  1.242e+00  1.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.34
Ra Dec: 238.392 -31.311
Photon Index (Free Index): 2.39 +/- 0.51
Photon Flux (Free Index): 2.69e-08 +/- 2.42e-08
Energy Flux (Free Index): 1.07e-05 +/- 8.24e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/638469/cmap_HighResolution_672451201_675043201_4FGL_J1553.5-3118_monthly_bin168.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/638469

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-05', comment='SUCCESS', photon_flux='1.06e-08', energy_flux2='1.07e-05', photon_flux_error='1.10e-08', dlogl='5.57e-01', energy_flux='1.13e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2022-05-24 06:17:07.850635', photon_index_error2='0.51', photon_index2='2.39', ts='1.22', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='3.47e-08', energy_flux_error2='8.24e-06', EG='1.26', time_epoch_completed='1653398227.85', return_code='0', job_id='638469', GAL2='1.03', EG2='1.24', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='2.42e-08', ts2='2.34', photon_index='1.84' WHERE bin_id='168' AND source_name='4FGL J1553.5-3118' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:17:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 638469: <4FGL_J1553.5-3118_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1553.5-3118_monthly_bin168> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May 24 03:20:32 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:28:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:28:00 2022
Terminated at Tue May 24 06:17:10 2022
Results reported at Tue May 24 06:17:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.5-3118_monthly_bin168 238.392 -31.3113 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.5-3118 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9967.00 sec.
    Max Memory :                                 1104 MB
    Average Memory :                             570.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10149 sec.
    Turnaround time :                            10598 sec.

The output (if any) is above this job summary.

