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 114 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 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).

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


Performing analysis on: 4FGL_J1811.0+1608_monthly_bin176
RA = 272.75, Dec = 16.1478
tmin = 693187201, tmax = 695779201
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='831803', job_status='RUN', time_executed='2023-01-19 06:41:05.713390', time_epoch_executed='1674139265.71' WHERE source_name='4FGL J1811.0+1608' and cadence='monthly' and bin_id='176'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831803

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831803/ft1_4FGL_J1811.0+1608_monthly_bin176.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831803/ft1_4FGL_J1811.0+1608_monthly_bin176.fits outfile=/scratch/kocevski/831803/ft1_filteredMKT_4FGL_J1811.0+1608_monthly_bin176.fits ra=272.75 dec=16.1478 rad=12.0 tmin=693187201.0 tmax=695779201.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.01
user 26.83
sys 0.97

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.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/831803/ft1_filteredMKT_4FGL_J1811.0+1608_monthly_bin176.fits evtable="EVENTS" outfile="/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.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.93
user 0.67
sys 0.19

Number of photons that the gtmktime cut: 17759

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits" evtable="EVENTS" scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits sctable="SC_DATA" outfile=/scratch/kocevski/831803/ltcube_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.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/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits
.....................!
real 155.46
user 154.17
sys 0.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits evtable="EVENTS" scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits sctable="SC_DATA" expcube=/scratch/kocevski/831803/ltcube_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits outfile=/scratch/kocevski/831803/expmap_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.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/831803/ltcube_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits
.....................!
real 197.53
user 191.42
sys 5.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
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_8years/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_8years/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/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits outfile=/scratch/kocevski/831803/cmap_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.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.83
user 0.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits outfile=/scratch/kocevski/831803/cmap_HighResolution_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.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.81
user 0.63
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits evtable="EVENTS" scfile=/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831803/Model_4FGL_J1811.0+1608_monthly_bin176.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/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits.....................!
real 3618.94
user 3601.75
sys 5.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits', '/scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits', expMap='/scratch/kocevski/831803/expmap_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits', expCube='/scratch/kocevski/831803/ltcube_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/831803/Model_4FGL_J1811.0+1608_monthly_bin176.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  0.000e+00  1.000e+06 ( 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/831803/ft1_filtered_4FGL_J1811.0+1608_monthly_bin176.fits
Spacecraft file(s): /scratch/kocevski/831803/ft2_4FGL_J1811.0+1608_monthly_bin176.fits
Exposure map: /scratch/kocevski/831803/expmap_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits
Exposure cube: /scratch/kocevski/831803/ltcube_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/831803/Model_4FGL_J1811.0+1608_monthly_bin176.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) = 181845.563607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.077       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.2333       1.0000          .0000       .10000E+07
     3 'norm      '    .41298E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.0844       1.0000          .0000       .10000E+07
     5 'Prefactor '    .25022       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.684       1.0000          .0000       .10000E+07
     7 'norm      '    3.9571       1.0000          .0000       .10000E+07
     8 'norm      '    1.8763       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65025       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3956       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.6426       1.0000          .0000       .10000E+07
    12 'norm      '    16.019       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4849       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95346       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   181844.6     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      755 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.078        3.7969        .18207E-07    .43013E-02
   2  Prefactor     1.2333        .89304        .52389E-07    .18858E-02
   3  norm           .0000        5.3210        .66572E-07** at limit **
   4  norm          1.0843        .23834       -.12272E-08    .48704E-03
   5  Prefactor     .24679        2.1780       -.15927E-07** at limit **
   6  Prefactor     10.734        7.3172        .27114E-07   -.46362E-02
   7  norm          3.9695        3.1788        .43229E-07   -.35856E-04
   8  norm          1.8758        1.5306       -.30022E-07   -.60278E-03
   9  Prefactor     .39676        27.256        .65693E-06   -.48787E-04
  10  Prefactor     5.4286        5.2952        .14217E-07    .45501E-03
  11  Prefactor     2.6441        1.2281        .44309E-08   -.27745E-01
  12  norm          16.011        3.1048       -.17953E-07   -.18898E-02
  13  Normalizat    1.4849        .81747E-01   -.12454E-09    .19000E-04
  14  Prefactor     .95347        .17081E-01    .18452E-08    .55829E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.078
  Prefactor  = 1.23328
  norm       = 0
  norm       = 1.08432
  Prefactor  = 0.246789
  Prefactor  = 10.7342
  norm       = 3.96947
  norm       = 1.87581
  Prefactor  = 0.396764
  Prefactor  = 5.42862
  Prefactor  = 2.64409
  norm       = 16.0107
  Normalizat = 1.4849
  Prefactor  = 0.953471
 **********
 **   18 **HESSE 
 **********

 FCN=   181844.6     FROM HESSE     STATUS=OK           204 CALLS      959 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.078        3.8557        .30077E-03   -1.5641    
   2  Prefactor     1.2333        .91175        .10114E-02   -1.5686    
   3  norm           .0000        5.3259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0843        .24257        .11532E-02   -1.5687    
   5  Prefactor     .24679        .49502        .10943E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.734        7.3650        .30627E-03   -1.5642    
   7  norm          3.9695        3.1829        .50684E-03   -1.5668    
   8  norm          1.8758        1.5388        .75986E-03   -1.5681    
   9  Prefactor     .39676        26.334        .64842E-03   -1.5695    
  10  Prefactor     5.4286        5.2878        .43239E-03   -1.5661    
  11  Prefactor     2.6441        6.7631        .62692E-03   -1.5675    
  12  norm          16.011        3.1032        .24997E-03   -1.5628    
  13  Normalizat    1.4849        .75753E-01    .12485       -.78203    
  14  Prefactor     .95347        .15760E-01    .31175E-01   -.94297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98724e-06
Minuit parameter uncertainties:
  1  3.8557
  2  0.911748
  3  7.24238e-07
  4  0.24257
  5  0.495025
  6  7.36496
  7  3.18291
  8  1.53884
  9  6.46487
  10  5.28782
  11  6.76314
  12  3.10317
  13  0.0757585
  14  0.01576
Done.

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

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  1.073e+01  7.365e+00  0.000e+00  1.000e+06 ( 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:  9.535e-01  1.576e-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:  1.485e+00  7.576e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 272.750 16.148
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.21e-08 +/- 8.29e-09
Energy Flux (Fixed Index): 7.11e-06 +/- 4.88e-06

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

Saving results to:
/scratch/kocevski/831803/likelihoodResults_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.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) = 181844.513031
delta logL = 0.050128719944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 181844.45419
delta logL = 0.108970026165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6167       1.0000          .0000       .10000E+07
     2 'Index     '    2.2777       1.0000          .0000       10.000    
     3 'Normalizat'    1.4811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95369       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=   181844.5     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      231 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6044        36.810        .34124E-03    .26087E-02
   2  Index         2.2781        .68528        .24403        .72151E-03
   3  Normalizat    1.4811        .15375E-01    .12498        .43459E-03
   4  Prefactor     .95369        .29840E-02    .31172E-01   -.17009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.60438
  Index      = 2.27813
  Normalizat = 1.48108
  Prefactor  = 0.95369
 **********
 **   18 **HESSE 
 **********

 FCN=   181844.5     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6044        9.6690        .13650E-04   -1.5649    
   2  Index         2.2781        .56302        .10622E-01   -.57564    
   3  Normalizat    1.4811        .80548E-01    .55443E-03   -.78311    
   4  Prefactor     .95369        .16497E-01    .13774E-03   -.94289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38889e-10
Minuit parameter uncertainties:
  1  9.66906
  2  0.564722
  3  0.0805545
  4  0.0164973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831803': 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) = 181844.454188
delta logL = 0.108971492242

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  8.604e+00  9.669e+00  0.000e+00  1.000e+06 ( 1.000e-14)
312        Index:  2.278e+00  5.647e-01  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:  9.537e-01  1.650e-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:  1.481e+00  8.055e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 272.750 16.148
Photon Index (Free Index): 2.28 +/- 0.56
Photon Flux (Free Index): 1.66e-08 +/- 1.45e-08
Energy Flux (Free Index): 6.52e-06 +/- 4.79e-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/831803/cmap_HighResolution_693187201_695779201_4FGL_J1811.0+1608_monthly_bin176.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-03', comment='SUCCESS', photon_flux='1.21e-08', energy_flux2='6.52e-06', photon_flux_error='8.29e-09', dlogl='1.09e-01', energy_flux='7.11e-06', photon_flux2='1.66e-08', job_status='DONE', time_completed='2023-01-19 09:39:13.109077', photon_index_error2='0.56', photon_index2='2.28', ts='2.94', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='2.88e-08', energy_flux_error2='4.79e-06', EG='1.48', time_epoch_completed='1674149953.11', return_code='0', job_id='831803', GAL2='0.95', EG2='1.48', return_code2='0', energy_flux_error='4.88e-06', photon_flux_error2='1.45e-08', ts2='3.16', photon_index='2.07' WHERE bin_id='176' AND source_name='4FGL J1811.0+1608' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jan 19 09:39:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 831803: <4FGL_J1811.0+1608_monthly_bin176> in cluster <slac> Done

Job <4FGL_J1811.0+1608_monthly_bin176> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 06:15:29 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 06:38:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 06:38:58 2023
Terminated at Thu Jan 19 09:39:15 2023
Results reported at Thu Jan 19 09:39:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_monthly_bin176 272.75 16.1478 693187201 695779201 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 :                                   10632.00 sec.
    Max Memory :                                 722 MB
    Average Memory :                             649.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10816 sec.
    Turnaround time :                            12226 sec.

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

