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


Performing analysis on: 4FGL_J1811.0+1608_monthly_bin173
RA = 272.75, Dec = 16.1478
tmin = 685411201, tmax = 688003201
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='495247', job_status='RUN', time_executed='2022-10-21 02:13:38.527854', time_epoch_executed='1666343618.53' WHERE source_name='4FGL J1811.0+1608' and cadence='monthly' and bin_id='173'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/495247

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/495247/ft1_4FGL_J1811.0+1608_monthly_bin173.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/495247/ft1_4FGL_J1811.0+1608_monthly_bin173.fits outfile=/scratch/kocevski/495247/ft1_filteredMKT_4FGL_J1811.0+1608_monthly_bin173.fits ra=272.75 dec=16.1478 rad=12.0 tmin=685411201.0 tmax=688003201.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 34.02
user 33.15
sys 0.79

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

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

Number of photons that the gtmktime cut: 18972

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/495247/ltcube_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.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/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits
.....................!
real 110.91
user 110.20
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/495247/ltcube_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits outfile=/scratch/kocevski/495247/expmap_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.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/495247/ltcube_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits
.....................!
real 193.32
user 187.93
sys 5.03

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/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits scfile=/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits outfile=/scratch/kocevski/495247/cmap_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.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.80
user 0.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits scfile=/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits outfile=/scratch/kocevski/495247/cmap_HighResolution_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.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/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/495247/Model_4FGL_J1811.0+1608_monthly_bin173.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/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits.....................!
real 3823.70
user 3806.16
sys 6.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits', '/scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits', expMap='/scratch/kocevski/495247/expmap_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits', expCube='/scratch/kocevski/495247/ltcube_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/495247/Model_4FGL_J1811.0+1608_monthly_bin173.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/495247/ft1_filtered_4FGL_J1811.0+1608_monthly_bin173.fits
Spacecraft file(s): /scratch/kocevski/495247/ft2_4FGL_J1811.0+1608_monthly_bin173.fits
Exposure map: /scratch/kocevski/495247/expmap_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits
Exposure cube: /scratch/kocevski/495247/ltcube_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/495247/Model_4FGL_J1811.0+1608_monthly_bin173.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) = 190886.802279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9226       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1163       1.0000          .0000       .10000E+07
     3 'norm      '    21.038       1.0000          .0000       .10000E+07
     4 'norm      '    .62301       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6832       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15424E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .26576E-05   1.0000          .0000       .10000E+07
     8 'norm      '    4.1903       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.740       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4826       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.503       1.0000          .0000       .10000E+07
    12 'norm      '    11.421       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1411       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0239       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=   190885.9     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      702 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9268        3.2472        .18735E-06    .29860E-01
   2  Prefactor     4.1158        .96512       -.63975E-09    .10358E-01
   3  norm          21.045        1.3678        .65664E-07   -.17465E-01
   4  norm          .62311        .18814        .51178E-08    .26423E-01
   5  Prefactor     1.6853        1.7557        .72877E-08    .17069E-02
   6  Prefactor     .55511E-10    1.4136       -.72206E-07** at limit **
   7  norm           .0000        1.0098        .32890E-07** at limit **
   8  norm          4.1880        1.6812        .13586E-07    .45462E-02
   9  Prefactor     23.701        9.7502       -.43921E-06    .13287E-01
  10  Prefactor     2.4659        2.3223       -.62612E-06   -.68884E-01
  11  Prefactor     10.508        4.9668        .68027E-06   -.58743E-01
  12  norm          11.418        2.6230       -.11668E-07   -.74366E-02
  13  Normalizat    1.1412        .81912E-01    .53052E-06    .64589E-03
  14  Prefactor     1.0239        .16578E-01   -.79527E-07    .14664E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.92676
  Prefactor  = 4.1158
  norm       = 21.0446
  norm       = 0.623107
  Prefactor  = 1.6853
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 4.18804
  Prefactor  = 23.7006
  Prefactor  = 2.46587
  Prefactor  = 10.5078
  norm       = 11.4179
  Normalizat = 1.14117
  Prefactor  = 1.02389
 **********
 **   18 **HESSE 
 **********

 FCN=   190885.9     FROM HESSE     STATUS=OK           200 CALLS      902 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9268        3.2965        .41239E-03   -1.5659    
   2  Prefactor     4.1158        .96965        .49662E-03   -1.5667    
   3  norm          21.045        12.248        .21808E-03   -1.5616    
   4  norm          .62311        .19016        .67192E-03   -1.5692    
   5  Prefactor     1.6853        1.7676        .81149E-03   -1.5682    
   6  Prefactor     .55511E-10    1.4130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1880        1.6848        .49208E-03   -1.5667    
   9  Prefactor     23.701        9.9314        .20529E-03   -1.5611    
  10  Prefactor     2.4659        3.6982        .64856E-03   -1.5677    
  11  Prefactor     10.508        5.8229        .30892E-03   -1.5643    
  12  norm          11.418        2.6227        .29619E-03   -1.5640    
  13  Normalizat    1.1412        .77742E-01    .14271       -.88441    
  14  Prefactor     1.0239        .15787E-01    .30133E-01   -.91938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58339e-08
Minuit parameter uncertainties:
  1  3.29649
  2  0.969651
  3  12.2476
  4  0.190155
  5  1.76758
  6  1.61286e-05
  7  5.23717e-06
  8  1.68483
  9  9.93143
  10  3.69816
  11  5.82288
  12  2.62268
  13  0.07775
  14  0.0157868
Done.

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

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  5.551e-11  1.613e-05  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:  1.024e+00  1.579e-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.141e+00  7.775e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 272.750 16.148
Photon Flux Upper Limit: 8.40e-09 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/495247/likelihoodResults_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.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) = 190885.908496
delta logL = -0.000668532418786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 190885.907827
delta logL = -2.19908542931e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62728E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.3091       1.0000          .0000       10.000    
     3 'Normalizat'    1.1411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0239       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   190885.9     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      227 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6274        .42118E-03** at limit **
   2  Index         1.6512        1.1839        .18052E-05     .0000    
   3  Normalizat    1.1412        1.1308       -.15154E-04    .90865E-04
   4  Prefactor     1.0239        1.2299        .40483E-05    .50482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.65121
  Normalizat = 1.14117
  Prefactor  = 1.02389
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   190885.9     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26481        1.5612        .18052E-05   -.73388    
   3  Normalizat    1.1412        1.1308       -.15154E-04   -.88441    
   4  Prefactor     1.0239        1.2299        .40483E-05   -.91938    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.65842e-12
Minuit parameter uncertainties:
  1  3.62544e-06
  2  1.20495
  3  1.15634
  4  1.26637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/495247': 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): 101
logL (Free Index) = 190885.907827
delta logL = 8.73114913702e-11

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  0.000e+00  3.625e-06  0.000e+00  1.000e+06 ( 1.000e-14)
312        Index:  1.651e+00  1.205e+00  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.024e+00  1.266e+00  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.141e+00  1.156e+00  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 -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/495247/cmap_HighResolution_685411201_688003201_4FGL_J1811.0+1608_monthly_bin173.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-04', job_status='DONE', photon_flux_upper_limit='8.40e-09', time_completed='2022-10-21 05:14:43.667592', job_id='495247', GAL2='1.02', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1666354483.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='173' AND source_name='4FGL J1811.0+1608' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Fri Oct 21 05:14:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 495247: <4FGL_J1811.0+1608_monthly_bin173> in cluster <slac> Done

Job <4FGL_J1811.0+1608_monthly_bin173> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Oct 21 02:10:28 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 02:10:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 02:10:29 2022
Terminated at Fri Oct 21 05:14:45 2022
Results reported at Fri Oct 21 05:14:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_monthly_bin173 272.75 16.1478 685411201 688003201 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 :                                   10801.00 sec.
    Max Memory :                                 751 MB
    Average Memory :                             662.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11056 sec.
    Turnaround time :                            11057 sec.

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

