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


Performing analysis on: 4FGL_J1811.0+1608_weekly_bin715
RA = 272.75, Dec = 16.1478
tmin = 671414401, tmax = 672019201
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='935316', job_status='RUN', time_executed='2022-04-19 02:34:43.266694', time_epoch_executed='1650360883.27' WHERE source_name='4FGL J1811.0+1608' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935316

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935316/ft1_4FGL_J1811.0+1608_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935316/ft1_4FGL_J1811.0+1608_weekly_bin715.fits outfile=/scratch/kocevski/935316/ft1_filteredMKT_4FGL_J1811.0+1608_weekly_bin715.fits ra=272.75 dec=16.1478 rad=12.0 tmin=671414401.0 tmax=672019201.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 7.57
user 7.25
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.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/935316/ft1_filteredMKT_4FGL_J1811.0+1608_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.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.54
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 4308

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/935316/ltcube_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.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/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits
.....................!
real 26.82
user 26.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/935316/ltcube_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits outfile=/scratch/kocevski/935316/expmap_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.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/935316/ltcube_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits
.....................!
real 191.64
user 185.87
sys 5.23

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 G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Added 266 point sources and 5 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 J1811.0+1608 @ 272.75 16.1478

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits outfile=/scratch/kocevski/935316/cmap_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.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=272.75 yref=16.1478 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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits outfile=/scratch/kocevski/935316/cmap_HighResolution_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.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=272.75 yref=16.1478 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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935316/Model_4FGL_J1811.0+1608_weekly_bin715.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits.....................!
real 896.25
user 891.89
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits', '/scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits', expMap='/scratch/kocevski/935316/expmap_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits', expCube='/scratch/kocevski/935316/ltcube_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935316/Model_4FGL_J1811.0+1608_weekly_bin715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1811.0+1608'

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  3.442e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
312        Index:  2.068e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  3.085e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/935316/ft1_filtered_4FGL_J1811.0+1608_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/935316/ft2_4FGL_J1811.0+1608_weekly_bin715.fits
Exposure map: /scratch/kocevski/935316/expmap_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits
Exposure cube: /scratch/kocevski/935316/ltcube_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935316/Model_4FGL_J1811.0+1608_weekly_bin715.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) = 43875.1975645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0399       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0990       1.0000         .10000E-03   10000.    
     3 'norm      '    30.672       1.0000         .10000E-03   10000.    
     4 'norm      '    .57116E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0185       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12403E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2110       1.0000         .10000E-03   10000.    
     8 'norm      '    5.5552       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3567       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.988       1.0000         .10000E-03   10000.    
    12 'norm      '    6.1587       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .92082       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   43875.12     FROM MIGRAD    STATUS=CONVERGED    249 CALLS     1218 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0402        8.3766       -.10460E-06    .13875E-04
   2  Prefactor     2.0991        2.0002        .25253E-06   -.78490E-04
   3  norm          30.649        29.846        .12002E-05   -.14124E-04
   4  norm          .57129E-01    .21889        .55478E-06   -.82456E-04
   5  Prefactor     2.0188        3.1510        .40651E-05   -.20172E-03
   6  Prefactor     .10000E-03    50.002        .79865E-07** at limit **
   7  norm          2.2111        3.8992        .21338E-05   -.54224E-04
   8  norm          5.5552        4.1190       -.81550E-08   -.13072E-03
   9  Prefactor     4.3413        45.734        .22355E-05   -.12639E-04
  10  Prefactor     .10000E-03    3.0286        .11900E-06** at limit **
  11  Prefactor     19.986        14.320       -.30420E-06   -.24302E-03
  12  norm          6.1584        4.6901        .27561E-06   -.10781E-03
  13  Normalizat    .92071        .16488       -.24606E-05   -.34695E-03
  14  Prefactor     1.0492        .33175E-01    .20439E-06   -.17494E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.04024
  Prefactor  = 2.09906
  norm       = 30.6493
  norm       = 0.0571292
  Prefactor  = 2.01882
  Prefactor  = 0.0001
  norm       = 2.21107
  norm       = 5.55516
  Prefactor  = 4.34132
  Prefactor  = 0.0001
  Prefactor  = 19.9857
  norm       = 6.15842
  Normalizat = 0.92071
  Prefactor  = 1.04921
 **********
 **   18 **HESSE 
 **********

 FCN=   43875.12     FROM HESSE     STATUS=OK           170 CALLS     1388 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0402        8.3307        .13330E-03   -1.5107    
   2  Prefactor     2.0991        1.9802        .25276E-03   -1.5418    
   3  norm          30.649        29.848        .72346E-04   -1.4600    
   4  norm          .57129E-01    .21865        .18609E-03   -1.5660    
   5  Prefactor     2.0188        3.1491        .14566E-02   -1.5424    
   6  Prefactor     .10000E-03    51.417        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2111        3.8821        .13831E-02   -1.5411    
   8  norm          5.5552        4.1180        .17046E-03   -1.5237    
   9  Prefactor     4.3413        45.902        .19297E-03   -1.5291    
  10  Prefactor     .10000E-03    3.0475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.986        14.390        .89588E-04   -1.4814    
  12  norm          6.1584        4.6939        .80885E-03   -1.5212    
  13  Normalizat    .92071        .17011        .69835E-03   -.95736    
  14  Prefactor     1.0492        .34787E-01    .13037E-03   -.91107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79361e-10
Minuit parameter uncertainties:
  1  8.33175
  2  1.98022
  3  29.8621
  4  0.218653
  5  3.14939
  6  8.62541e-05
  7  3.88255
  8  4.11817
  9  28.2604
  10  1.71262e-05
  11  14.3926
  12  4.69413
  13  0.170208
  14  0.0347879
Done.

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

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  8.625e-05  1.000e-04  1.000e+04 ( 1.000e-14)
312        Index:  2.068e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  3.085e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  1.049e+00  3.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
941   Normalization:  9.207e-01  1.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 272.750 16.148
Photon Flux Upper Limit: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935316/likelihoodResults_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.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) = 43875.1159716
delta logL = -9.26983630052e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 43875.1158791
delta logL = -2.33230821323e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13345E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1109       1.0000          .0000       10.000    
     3 'Normalizat'    .92072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   43875.12     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      232 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9054        .90712E-02** at limit **
   2  Index         2.1547        8.8990        .50000       -.58453E-05
   3  Normalizat    .92071        .12815E-02    .15713        .27490E-03
   4  Prefactor     1.0492        .25495E-03    .29499E-01    .85475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15473
  Normalizat = 0.920713
  Prefactor  = 1.04921
 **********
 **   18 **HESSE 
 **********

 FCN=   43875.12     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    562.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1547        8.8801        .50000       -.60536    
   3  Normalizat    .92071        .13605E-01    .69835E-03   -.95736    
   4  Prefactor     1.0492        .27233E-02    .13037E-03   -.91107    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.68939e-08
Minuit parameter uncertainties:
  1  0.000831499
  2  172.645
  3  0.0136051
  4  0.00272327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935316': 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): 102
logL (Free Index) = 43875.1158787
delta logL = 1.37944880407e-07

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  8.315e-04  1.000e-04  1.000e+04 ( 1.000e-14)
312        Index:  2.155e+00  1.726e+02  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  3.085e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  1.049e+00  2.723e-03  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
941   Normalization:  9.207e-01  1.361e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 272.750 16.148

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 /scratch/kocevski/935316/cmap_HighResolution_671414401_672019201_4FGL_J1811.0+1608_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2022-04-19 03:26:56.133384', job_id='935316', GAL2='1.05', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1650364016.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='715' AND source_name='4FGL J1811.0+1608' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:26:56 PDT 2022



------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 931541: <4FGL_J1811.0+1608_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1811.0+1608_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:07:33 2022
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:19:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:19:29 2022
Terminated at Tue Apr 19 03:13:34 2022
Results reported at Tue Apr 19 03:13:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_weekly_bin715 272.75 16.1478 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1811.0+1608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3092.00 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             435.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3244 sec.
    Turnaround time :                            11161 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 935316: <4FGL_J1811.0+1608_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1811.0+1608_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:18:57 2022
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:33:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:33:27 2022
Terminated at Tue Apr 19 03:26:57 2022
Results reported at Tue Apr 19 03:26:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_weekly_bin715 272.75 16.1478 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1811.0+1608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3123.00 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             447.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3209 sec.
    Turnaround time :                            11280 sec.

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

