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 37 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_J1811.0+1608_monthly_bin168
RA = 272.75, Dec = 16.1478
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='644459', job_status='RUN', time_executed='2022-05-24 03:47:07.288720', time_epoch_executed='1653389227.29' WHERE source_name='4FGL J1811.0+1608' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644459

Creating custom pfile directory:
/scratch/kocevski/644459/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/644459/ft1_4FGL_J1811.0+1608_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/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644459/ft1_4FGL_J1811.0+1608_monthly_bin168.fits outfile=/scratch/kocevski/644459/ft1_filteredMKT_4FGL_J1811.0+1608_monthly_bin168.fits ra=272.75 dec=16.1478 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 29.01
user 28.19
sys 0.70

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

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

Number of photons that the gtmktime cut: 18273

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/644459/ltcube_672451201_675043201_4FGL_J1811.0+1608_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/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits
.....................!
real 138.20
user 137.40
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/644459/ltcube_672451201_675043201_4FGL_J1811.0+1608_monthly_bin168.fits outfile=/scratch/kocevski/644459/expmap_672451201_675043201_4FGL_J1811.0+1608_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/644459/ltcube_672451201_675043201_4FGL_J1811.0+1608_monthly_bin168.fits
.....................!
real 192.19
user 187.15
sys 4.49

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/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits scfile=/scratch/kocevski/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits outfile=/scratch/kocevski/644459/cmap_672451201_675043201_4FGL_J1811.0+1608_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=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.85
user 0.65
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits scfile=/scratch/kocevski/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits outfile=/scratch/kocevski/644459/cmap_HighResolution_672451201_675043201_4FGL_J1811.0+1608_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=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.89
user 0.65
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/644459/ft2_4FGL_J1811.0+1608_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644459/Model_4FGL_J1811.0+1608_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 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/644459/ft1_filtered_4FGL_J1811.0+1608_monthly_bin168.fits.....................!
real 3616.72
user 3606.62
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2188       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10063       1.0000         .10000E-03   10000.    
     3 'norm      '    4.5114       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1419       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.181       1.0000         .10000E-03   10000.    
     7 'norm      '    11.133       1.0000         .10000E-03   10000.    
     8 'norm      '    5.7566       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2190       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.6719       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.2780       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98328       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=   184011.5     FROM MIGRAD    STATUS=CONVERGED    272 CALLS     1119 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2182        3.1828       -.15836E-07    .11836E-04
   2  Prefactor     .10083        .24010       -.13407E-08   -.87611E-03
   3  norm          4.5109        4.5321        .39914E-06    .21480E-04
   4  norm          1.8245        .27295       -.18174E-08   -.52567E-03
   5  Prefactor     2.1418        1.5250       -.12258E-07   -.33746E-03
   6  Prefactor     11.181        6.0551       -.11498E-05   -.24781E-04
   7  norm          11.134        3.9858        .11874E-06   -.45840E-05
   8  norm          5.7564        1.8243       -.20818E-07   -.12632E-03
   9  Prefactor     .10000E-03    2.2867       -.17108E-06** at limit **
  10  Prefactor     6.2227        1.9201        .60951E-07   -.11496E-02
  11  Prefactor     .10000E-03    .98140        .71039E-09** at limit **
  12  norm          9.6721        2.5808       -.47193E-06   -.69649E-04
  13  Normalizat    1.2781        .76125E-01    .39400E-08    .41597E-05
  14  Prefactor     .98327        .15275E-01    .25309E-07   -.49400E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.21819
  Prefactor  = 0.100831
  norm       = 4.51087
  norm       = 1.82448
  Prefactor  = 2.14178
  Prefactor  = 11.1812
  norm       = 11.1337
  norm       = 5.75644
  Prefactor  = 0.0001
  Prefactor  = 6.22272
  Prefactor  = 0.0001
  norm       = 9.67215
  Normalizat = 1.27805
  Prefactor  = 0.983274
 **********
 **   18 **HESSE 
 **********

 FCN=   184011.5     FROM HESSE     STATUS=OK           184 CALLS     1303 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2182        3.3016        .16098E-03   -1.5209    
   2  Prefactor     .10083        1.5548        .31957E-02   -1.5644    
   3  norm          4.5109        4.5387        .18955E-03   -1.5283    
   4  norm          1.8245        .27215        .83722E-04   -1.5438    
   5  Prefactor     2.1418        1.5441        .28162E-03   -1.5415    
   6  Prefactor     11.181        6.0591        .11981E-03   -1.5039    
   7  norm          11.134        3.9877        .12007E-03   -1.5040    
   8  norm          5.7564        1.8244        .16740E-03   -1.5228    
   9  Prefactor     .10000E-03    2.2941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2227        4.1883        .80487E-03   -1.5209    
  11  Prefactor     .10000E-03    1.0414        .12462       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.6721        2.5855        .12885E-03   -1.5086    
  13  Normalizat    1.2781        .81768E-01    .59561E-03   -.84224    
  14  Prefactor     .98327        .16812E-01    .13371E-03   -.93289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86894e-06
Minuit parameter uncertainties:
  1  3.3017
  2  0.791532
  3  4.53904
  4  0.272149
  5  1.54414
  6  6.05947
  7  3.9878
  8  1.8244
  9  1.02834e-07
  10  4.18848
  11  3.02429e-05
  12  2.58551
  13  0.0817759
  14  0.0168116
Done.

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

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  1.118e+01  6.059e+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

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.833e-01  1.681e-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.278e+00  8.178e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.33
Ra Dec: 272.750 16.148
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.26e-08 +/- 6.82e-09
Energy Flux (Fixed Index): 7.41e-06 +/- 4.01e-06

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) = 184011.364026
delta logL = 0.182061309635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 184011.338102
delta logL = 0.207985767542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.650       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8105       1.0000          .0000       10.000    
     3 'Normalizat'    1.2820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98314       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   184011.3     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      271 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.651        7.2183        .11262E-03    .23904E-04
   2  Index         1.8105        .40168        .36307E-02    .80259E-04
   3  Normalizat    1.2820        .79827E-01    .59486E-03    .33514E-03
   4  Prefactor     .98314        .16091E-01    .13372E-03    .14691E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6509
  Index      = 1.81045
  Normalizat = 1.28196
  Prefactor  = 0.983139
 **********
 **   18 **HESSE 
 **********

 FCN=   184011.3     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.651        7.2082        .22525E-04   -1.4996    
   2  Index         1.8105        .40107        .14523E-03   -.69178    
   3  Normalizat    1.2820        .79854E-01    .23794E-04   -.84107    
   4  Prefactor     .98314        .16097E-01    .53489E-05   -.93294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40382e-11
Minuit parameter uncertainties:
  1  7.20871
  2  0.401802
  3  0.0798615
  4  0.0160974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644459': 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) = 184011.338102
delta logL = 0.207985781191

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  1.265e+01  7.209e+00  1.000e-04  1.000e+04 ( 1.000e-14)
312        Index:  1.810e+00  4.018e-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.831e-01  1.610e-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.282e+00  7.986e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.74
Ra Dec: 272.750 16.148
Photon Index (Free Index): 1.81 +/- 0.40
Photon Flux (Free Index): 7.73e-09 +/- 7.86e-09
Energy Flux (Free Index): 8.97e-06 +/- 5.99e-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/644459/cmap_HighResolution_672451201_675043201_4FGL_J1811.0+1608_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-08', energy_flux2='8.97e-06', photon_flux_error='6.82e-09', dlogl='2.08e-01', energy_flux='7.41e-06', photon_flux2='7.73e-09', job_status='DONE', time_completed='2022-05-24 06:41:09.474782', photon_index_error2='0.40', photon_index2='1.81', ts='8.33', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.99e-06', EG='1.28', time_epoch_completed='1653399669.47', return_code='0', job_id='644459', GAL2='0.98', EG2='1.28', return_code2='0', energy_flux_error='4.01e-06', photon_flux_error2='7.86e-09', ts2='8.74', photon_index='2.07' WHERE bin_id='168' AND source_name='4FGL J1811.0+1608' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:41:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 644459: <4FGL_J1811.0+1608_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1811.0+1608_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 03:45:24 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:46:21 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:46:21 2022
Terminated at Tue May 24 06:41:11 2022
Results reported at Tue May 24 06:41:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_monthly_bin168 272.75 16.1478 672451201 675043201 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 :                                   10398.00 sec.
    Max Memory :                                 806 MB
    Average Memory :                             665.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10493 sec.
    Turnaround time :                            10547 sec.

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

