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


Performing analysis on: 4FGL_J2311.0+0205_weekly_bin742
RA = 347.766, Dec = 2.0995
tmin = 687744001, tmax = 688348801
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='924674', job_status='RUN', time_executed='2022-10-25 00:51:12.565376', time_epoch_executed='1666684272.57' WHERE source_name='4FGL J2311.0+0205' and cadence='weekly' and bin_id='742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924674

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924674/ft1_4FGL_J2311.0+0205_weekly_bin742.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924674/ft1_4FGL_J2311.0+0205_weekly_bin742.fits outfile=/scratch/kocevski/924674/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin742.fits ra=347.766 dec=2.0995 rad=12.0 tmin=687744001.0 tmax=688348801.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 9.05
user 8.72
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.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/924674/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin742.fits evtable="EVENTS" outfile="/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1167

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits" evtable="EVENTS" scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits sctable="SC_DATA" outfile=/scratch/kocevski/924674/ltcube_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.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/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits
.....................!
real 26.12
user 25.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits sctable="SC_DATA" expcube=/scratch/kocevski/924674/ltcube_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits outfile=/scratch/kocevski/924674/expmap_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.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/924674/ltcube_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits
.....................!
real 191.32
user 185.37
sys 5.63

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
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits outfile=/scratch/kocevski/924674/cmap_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.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=347.766 yref=2.0995 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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits outfile=/scratch/kocevski/924674/cmap_HighResolution_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.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=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924674/Model_4FGL_J2311.0+0205_weekly_bin742.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 GAL_V02
Working on...
/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits.....................!
real 118.10
user 116.58
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits', '/scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits', expMap='/scratch/kocevski/924674/expmap_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits', expCube='/scratch/kocevski/924674/ltcube_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924674/Model_4FGL_J2311.0+0205_weekly_bin742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/924674/ft1_filtered_4FGL_J2311.0+0205_weekly_bin742.fits
Spacecraft file(s): /scratch/kocevski/924674/ft2_4FGL_J2311.0+0205_weekly_bin742.fits
Exposure map: /scratch/kocevski/924674/expmap_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits
Exposure cube: /scratch/kocevski/924674/ltcube_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924674/Model_4FGL_J2311.0+0205_weekly_bin742.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) = 12891.3126771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .88914       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12526E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43813E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    73.092       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3442       1.0000          .0000       .10000E+07
     7 'norm      '    1.3385       1.0000          .0000       .10000E+07
     8 'norm      '    .17273       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10109E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    65.577       1.0000          .0000       .10000E+07
    11 'norm      '    5.8646       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4410       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11452E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .10816E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8022       1.0000          .0000       .10000E+07
    16 'Prefactor '    22.205       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4011       1.0000          .0000       .10000E+07
    18 'Normalizat'    .92292       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12891.21     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1459 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3074        .55336E-06** at limit **
   2  norm          .88767        1.6902        .30718E-06   -.48239E-01
   3  Prefactor     .24980E-08    32.866       -.31773E-06** at limit **
   4  Prefactor     .33307E-09    8.8158       -.50898E-06** at limit **
   5  Prefactor     77.048        66.121        .34452E-05    .49149E-03
   6  Prefactor     4.8522        10.019       -.27135E-05    .90325E-03
   7  norm          1.3365        .65586        .24586E-07    .31251E-02
   8  norm          .25949        12.867        .94388E-06   -.71281E-03
   9  Prefactor     .11102E-09    3.7181        .33491E-07** at limit **
  10  Prefactor     66.366        37.799        .13799E-06    .10299E-01
  11  norm          5.8857        5.2506       -.17627E-06   -.21392E-02
  12  Prefactor     3.4501        5.1874       -.76900E-06   -.15552E-02
  13  Prefactor      .0000        3.8059       -.39838E-06** at limit **
  14  norm          .16653E-09    7.9106        .88184E-06** at limit **
  15  Prefactor     1.8035        2.3771        .97668E-07    .56319E-03
  16  Prefactor     21.759        17.779        .56659E-06    .20915E-01
  17  Prefactor     1.5052        38.356        .25164E-06    .35263E-03
  18  Normalizat    .92095        .16800       -.62795E-05   -.38701E-04
  19  Prefactor     .90566        .10138       -.43969E-06   -.15547E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.887669
  Prefactor  = 2.498e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 77.0482
  Prefactor  = 4.85224
  norm       = 1.33649
  norm       = 0.259487
  Prefactor  = 1.11022e-10
  Prefactor  = 66.3657
  norm       = 5.88575
  Prefactor  = 3.45014
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 1.80347
  Prefactor  = 21.7586
  Prefactor  = 1.50516
  Normalizat = 0.920953
  Prefactor  = 0.905657
 **********
 **   18 **HESSE 
 **********

 FCN=   12891.21     FROM HESSE     STATUS=OK           316 CALLS     1775 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3106        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .88767        17.729        .46514E-03   -1.5689    
   3  Prefactor     .24980E-08    32.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.8469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     77.048        66.341        .11697E-03   -1.5532    
   6  Prefactor     4.8522        9.7161        .43450E-03   -1.5664    
   7  norm          1.3365        .66792        .94739E-03   -1.5685    
   8  norm          .25949        1.9101        .79045E-02   -1.5698    
   9  Prefactor     .11102E-09    3.7222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     66.366        37.889        .12350E-03   -1.5545    
  11  norm          5.8857        5.3253        .41446E-03   -1.5659    
  12  Prefactor     3.4501        5.2558        .54500E-03   -1.5671    
  13  Prefactor      .0000        3.8042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16653E-09    7.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8035        2.3994        .77832E-03   -1.5681    
  16  Prefactor     21.759        18.005        .21227E-03   -1.5615    
  17  Prefactor     1.5052        37.377        .91621E-03   -1.5683    
  18  Normalizat    .92095        .14392        .68044E-01   -.95728    
  19  Prefactor     .90566        .85890E-01    .45069E-01   -.95944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17634e-07
Minuit parameter uncertainties:
  1  1.03157e-06
  2  7.93414
  3  0.000570547
  4  0.000110011
  5  66.3421
  6  9.71616
  7  0.66792
  8  1.40803
  9  3.86985e-05
  10  37.8895
  11  5.3253
  12  5.25576
  13  1.16135e-05
  14  6.75174e-05
  15  2.39942
  16  18.0054
  17  15.0012
  18  0.143978
  19  0.0859029
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.331e-10  1.100e-04  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.057e-01  8.590e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  9.210e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 4.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924674/likelihoodResults_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.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) = 12891.2061276
delta logL = -0.000840890512336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12891.2052868
delta logL = -4.13947418565e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10656E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.4683       1.0000          .0000       10.000    
     3 'Normalizat'    .92097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90565       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+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=   12891.11     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      312 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17622        43.799        .10345E-04** at limit **
   2  Index         4.2110        5.0695        .85015E-02   -.93214E-04
   3  Normalizat    .89730        .11887        .30471E-03    .77251E-03
   4  Prefactor     .91423        .75078E-01    .19243E-03    .22405E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.17622
  Index      = 4.21096
  Normalizat = 0.897299
  Prefactor  = 0.914226
 **********
 **   18 **HESSE 
 **********

 FCN=   12891.11     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17622        3.7309        .41380E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2110        3.6475        .34006E-03   -.15847    
   3  Normalizat    .89730        .16606        .60942E-04   -.96555    
   4  Prefactor     .91423        .10265        .38486E-04   -.95646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69164e-09
Minuit parameter uncertainties:
  1  1.62169
  2  4.10402
  3  0.166156
  4  0.102675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924674': 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) = 12891.1138521
delta logL = 0.091434697606

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.762e-01  1.622e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  4.211e+00  4.104e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.142e-01  1.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.973e-01  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/924674/cmap_HighResolution_687744001_688348801_4FGL_J2311.0+0205_weekly_bin742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2022-10-25 01:05:01.253933', job_id='924674', GAL2='0.91', fit_tolerance='1e-08', EG2='0.90', EG='0.92', time_epoch_completed='1666685101.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='9.14e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='742' AND source_name='4FGL J2311.0+0205' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 25 01:05:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 924674: <4FGL_J2311.0+0205_weekly_bin742> in cluster <slac> Done

Job <4FGL_J2311.0+0205_weekly_bin742> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Oct 25 00:50:32 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 25 00:50:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 25 00:50:34 2022
Terminated at Tue Oct 25 01:05:04 2022
Results reported at Tue Oct 25 01:05:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_weekly_bin742 347.766 2.0995 687744001 688348801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   828.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            872 sec.

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

