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


Performing analysis on: 4FGL_J1811.0+1608_daily_bin506
RA = 272.75, Dec = 16.1478
tmin = 370483201, tmax = 370742401
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='639358', job_status='RUN', time_executed='2021-09-19 19:34:17.930868', time_epoch_executed='1632105257.93' WHERE source_name='4FGL J1811.0+1608' and cadence='daily' and bin_id='506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639358

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639358/ft1_4FGL_J1811.0+1608_daily_bin506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639358/ft1_4FGL_J1811.0+1608_daily_bin506.fits outfile=/scratch/kocevski/639358/ft1_filteredMKT_4FGL_J1811.0+1608_daily_bin506.fits ra=272.75 dec=16.1478 rad=12.0 tmin=370483201.0 tmax=370742401.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 19.85
user 19.29
sys 0.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.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/639358/ft1_filteredMKT_4FGL_J1811.0+1608_daily_bin506.fits evtable="EVENTS" outfile="/scratch/kocevski/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits" evtable="EVENTS" scfile=/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits sctable="SC_DATA" outfile=/scratch/kocevski/639358/ltcube_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.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/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits
.....................!
real 10.16
user 9.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits evtable="EVENTS" scfile=/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits sctable="SC_DATA" expcube=/scratch/kocevski/639358/ltcube_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits outfile=/scratch/kocevski/639358/expmap_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.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/639358/ltcube_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits
.....................!
real 190.71
user 186.02
sys 4.27

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/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits scfile=/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits outfile=/scratch/kocevski/639358/cmap_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits scfile=/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits outfile=/scratch/kocevski/639358/cmap_HighResolution_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.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.54
user 0.40
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits', '/scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits', expMap='/scratch/kocevski/639358/expmap_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits', expCube='/scratch/kocevski/639358/ltcube_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639358/Model_4FGL_J1811.0+1608_daily_bin506.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/639358/ft1_filtered_4FGL_J1811.0+1608_daily_bin506.fits
Spacecraft file(s): /scratch/kocevski/639358/ft2_4FGL_J1811.0+1608_daily_bin506.fits
Exposure map: /scratch/kocevski/639358/expmap_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits
Exposure cube: /scratch/kocevski/639358/ltcube_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639358/Model_4FGL_J1811.0+1608_daily_bin506.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 79.9537670327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 79.9454411254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6754       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2052       1.0000         .10000E-03   10000.    
     3 'norm      '    8.9410       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1593       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .42524E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3956       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0139       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2661       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3443       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9932       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7779       1.0000         .10000E-03   10000.    
    12 'norm      '    4.6449       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    14 'Prefactor '    .89058       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=   79.94052     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      120 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6754        1.0017         .0000         .0000    
   2  Prefactor     1.2052        1.1330         .0000         .0000    
   3  norm          .32275E-02    .28074E-01   -.11864E-03    .22023E-02
   4  norm          1.1593        1.1524         .0000         .0000    
   5  Prefactor     .10004E-03    .28183        .36508E-05** at limit **
   6  Prefactor     .23893        .26824       -.54895E-04    .53592E-02
   7  norm          3.0139        1.0145         .0000         .0000    
   8  norm          2.2661        1.0267         .0000         .0000    
   9  Prefactor     6.3443        1.0031         .0000         .0000    
  10  Prefactor     3.9932        1.0081         .0000         .0000    
  11  Prefactor     3.7779        1.0090         .0000         .0000    
  12  norm          .61575E-01    .11575       -.97008E-04   -.57208E-02
  13  Normalizat    .10000E-01    .25505        .15728E-04** at limit **
  14  Prefactor     .89068        1.2360        .29482E-03   -.61369E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.67541
  Prefactor  = 1.20516
  norm       = 0.00322751
  norm       = 1.15933
  Prefactor  = 0.000100036
  Prefactor  = 0.238934
  norm       = 3.01392
  norm       = 2.26608
  Prefactor  = 6.34425
  Prefactor  = 3.99318
  Prefactor  = 3.77785
  norm       = 0.0615745
  Normalizat = 0.01
  Prefactor  = 0.890681
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   79.94052     FROM HESSE     STATUS=FAILED        11 CALLS      131 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          500.12        491.42         .0000       -1.5119    
   2  Prefactor     1.2052        1.1330         .0000       -1.5488    
   3  norm          .32275E-02    .28074E-01   -.11864E-03   -1.5697    
   4  norm          1.1593        1.1524         .0000       -1.5493    
   5  Prefactor     .10004E-03    .28183        .36508E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .23893        .26824       -.54895E-04   -1.5610    
   7  norm          3.0139        1.0145         .0000       -1.5361    
   8  norm          2.2661        1.0267         .0000       -1.5407    
   9  Prefactor     6.3443        1.0031         .0000       -1.5204    
  10  Prefactor     3.9932        1.0081         .0000       -1.5308    
  11  Prefactor     3.7779        1.0090         .0000       -1.5319    
  12  norm          .61575E-01    .11575       -.97008E-04   -1.5758    
  13  Normalizat    .10000E-01    .25505        .15728E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89068        1.2360        .29482E-03   -.96468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65708e-09
Minuit parameter uncertainties:
  1  1.00167
  2  1.13299
  3  0.0187406
  4  1.15246
  5  0.000202144
  6  0.268246
  7  1.01447
  8  1.02669
  9  1.00314
  10  1.00806
  11  1.00904
  12  0.115751
  13  2.81057e-06
  14  1.27851
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 79.9405159415

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  2.389e-01  2.682e-01  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:  8.907e-01  1.279e+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.000e-02  2.811e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.09658717204

TS (Fixed Index): -0.00
Ra Dec: 272.750 16.148
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.54e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639358/likelihoodResults_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.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) = 79.9405659508
delta logL = -5.00092943128e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 79.9405640708
delta logL = -4.8129303579e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    1.9985       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=   79.94055     FROM MIGRAD    STATUS=CONVERGED     29 CALLS       88 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.0889        5.5124        .50000        .48427E-07
                               ERR DEF=  .500    
Final values: 
  Index      = 1.08891
 **********
 **   18 **HESSE 
 **********

 FCN=   79.94055     FROM HESSE     STATUS=OK            11 CALLS       99 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.0889        5.5124        .50000       -.89822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43898e-12
Minuit parameter uncertainties:
  1  100.456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639358': 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) = 79.9405505458
delta logL = -3.46042871655e-05

Extracting fit parameters...

4FGL J1811.0+1608
   Spectrum: PowerLaw
311    Prefactor:  2.388e-01  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
312        Index:  1.089e+00  1.005e+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:  8.901e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/639358/cmap_HighResolution_370483201_370742401_4FGL_J1811.0+1608_daily_bin506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.54e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-19 19:41:16.751781', job_id='639358', GAL2='0.89', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632105676.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.89', dlogl='-3.46e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='506' AND source_name='4FGL J1811.0+1608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 19:41:16 PDT 2021


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

Job <4FGL_J1811.0+1608_daily_bin506> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 19 19:30:23 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 19:30:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 19 19:30:25 2021
Terminated at Sun Sep 19 19:41:17 2021
Results reported at Sun Sep 19 19:41:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1811.0+1608_daily_bin506 272.75 16.1478 370483201 370742401 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 :                                   414.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             299.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            654 sec.

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

