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


Performing analysis on: 4FGL_J2311.0+0205_weekly_bin739
RA = 347.766, Dec = 2.0995
tmin = 685929601, tmax = 686534401
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='115111', job_status='RUN', time_executed='2022-10-04 01:32:16.634329', time_epoch_executed='1664872336.63' WHERE source_name='4FGL J2311.0+0205' and cadence='weekly' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115111

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115111/ft1_4FGL_J2311.0+0205_weekly_bin739.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115111/ft1_4FGL_J2311.0+0205_weekly_bin739.fits outfile=/scratch/kocevski/115111/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin739.fits ra=347.766 dec=2.0995 rad=12.0 tmin=685929601.0 tmax=686534401.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.63
user 9.26
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.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/115111/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin739.fits evtable="EVENTS" outfile="/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.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.56
user 0.37
sys 0.18

Number of photons that the gtmktime cut: 1280

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/115111/ltcube_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.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/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits
.....................!
real 27.56
user 27.08
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/115111/ltcube_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits outfile=/scratch/kocevski/115111/expmap_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.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/115111/ltcube_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits
.....................!
real 191.90
user 186.01
sys 5.51

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/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits outfile=/scratch/kocevski/115111/cmap_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.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.60
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits outfile=/scratch/kocevski/115111/cmap_HighResolution_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115111/Model_4FGL_J2311.0+0205_weekly_bin739.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/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits....................!
real 130.44
user 128.88
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits', '/scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits', expMap='/scratch/kocevski/115111/expmap_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits', expCube='/scratch/kocevski/115111/ltcube_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115111/Model_4FGL_J2311.0+0205_weekly_bin739.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/115111/ft1_filtered_4FGL_J2311.0+0205_weekly_bin739.fits
Spacecraft file(s): /scratch/kocevski/115111/ft2_4FGL_J2311.0+0205_weekly_bin739.fits
Exposure map: /scratch/kocevski/115111/expmap_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits
Exposure cube: /scratch/kocevski/115111/ltcube_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115111/Model_4FGL_J2311.0+0205_weekly_bin739.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) = 14379.2519862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9183       1.0000         .10000E-03   10000.    
     2 'norm      '    .10231E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29097E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.8166       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17200E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14546E-04   1.0000          .0000       .10000E+07
     7 'norm      '    1.8033       1.0000          .0000       .10000E+07
     8 'norm      '    3.0364       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.493       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.271       1.0000          .0000       .10000E+07
    11 'norm      '    3.9315       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.138       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1606       1.0000          .0000       .10000E+07
    14 'norm      '    .46530E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .69008E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.381       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.013       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0546       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85514       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=   14379.23     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1155 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9180        3.4918        .19459E-05   -.13257E-03
   2  norm          .27756E-09    3.8913       -.74043E-07** at limit **
   3  Prefactor     .24831E-05    18.248        .74590E-06** at limit **
   4  Prefactor     7.8314        5.8856        .48534E-07   -.47375E-02
   5  Prefactor     .28431E-05    33.390       -.11560E-06** at limit **
   6  Prefactor     .20539E-08    3.8587       -.18238E-06** at limit **
   7  norm          1.8023        .74938        .72634E-08   -.36613E-03
   8  norm          3.0366        3.6554        .25392E-06   -.11830E-02
   9  Prefactor     14.560        8.3921        .18147E-06    .51945E-02
  10  Prefactor     45.973        14.011        .78486E-07   -.24352    
  11  norm          3.8985        7.3142        .24699E-06   -.56084E-02
  12  Prefactor     14.093        6.5529        .14653E-06    .95404E-03
  13  Prefactor     3.2223        3.5843        .12635E-06    .10197E-01
  14  norm          .14276E-05    16.903        .65940E-06** at limit **
  15  Prefactor     .55511E-10    2.1839       -.24241E-06** at limit **
  16  Prefactor     19.650        2.6322       -.16038E-08    .39822E-01
  17  Prefactor     17.576        14.752        .20359E-06    .28358E-01
  18  Normalizat    1.0545        .16264       -.24714E-05    .72237E-04
  19  Prefactor     .85515        .10022       -.15694E-05    .11732E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91804
  norm       = 2.77556e-10
  Prefactor  = 2.48307e-06
  Prefactor  = 7.83141
  Prefactor  = 2.84306e-06
  Prefactor  = 2.05391e-09
  norm       = 1.80227
  norm       = 3.03656
  Prefactor  = 14.5599
  Prefactor  = 45.9734
  norm       = 3.89852
  Prefactor  = 14.0934
  Prefactor  = 3.22232
  norm       = 1.42764e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 19.6497
  Prefactor  = 17.5761
  Normalizat = 1.0545
  Prefactor  = 0.855151
 **********
 **   18 **HESSE 
 **********

 FCN=   14379.23     FROM HESSE     STATUS=OK           308 CALLS     1463 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9180        3.4938        .50953E-02   -1.5312    
   2  norm          .27756E-09    4.5937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24831E-05    19.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.8314        10.240        .35842E-03   -1.5652    
   5  Prefactor     .28431E-05    35.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20539E-08    4.6157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8023        .75682        .77803E-03   -1.5681    
   8  norm          3.0366        3.6772        .58206E-03   -1.5673    
   9  Prefactor     14.560        8.6793        .26284E-03   -1.5632    
  10  Prefactor     45.973        34.501        .14864E-03   -1.5572    
  11  norm          3.8985        7.6106        .50854E-03   -1.5668    
  12  Prefactor     14.093        6.6355        .26613E-03   -1.5633    
  13  Prefactor     3.2223        29.884        .56986E-03   -1.5672    
  14  norm          .14276E-05    17.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    2.1695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.650        29.687        .22723E-03   -1.5619    
  17  Prefactor     17.576        15.278        .23571E-03   -1.5624    
  18  Normalizat    1.0545        .14126        .68731E-01   -.91226    
  19  Prefactor     .85515        .85812E-01    .44431E-01   -.97726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31586e-06
Minuit parameter uncertainties:
  1  3.49401
  2  7.02663e-05
  3  0.0139691
  4  10.2399
  5  0.0200296
  6  0.000194132
  7  0.756819
  8  3.67721
  9  8.67928
  10  34.5011
  11  7.61064
  12  6.63546
  13  19.6261
  14  0.0100728
  15  2.19886e-05
  16  29.6869
  17  15.278
  18  0.141314
  19  0.0858252
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.831e+00  1.024e+01  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:  8.552e-01  8.583e-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:  1.055e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/115111/likelihoodResults_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.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) = 14378.696038
delta logL = 0.533194390158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14378.6893347
delta logL = 0.539897636214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9244       1.0000          .0000       .10000E+07
     2 'Index     '    3.0566       1.0000          .0000       10.000    
     3 'Normalizat'    1.0191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86663       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.

 FCN=   14378.69     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      255 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9244        60.757        .45300E-03    .12383E-01
   2  Index         3.0569        2.2304        .19058        .19068E-03
   3  Normalizat    1.0190        .36513E-01    .69791E-01    .94760E-04
   4  Prefactor     .86667        .21980E-01    .44578E-01    .10602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.92442
  Index      = 3.05686
  Normalizat = 1.01902
  Prefactor  = 0.866669
 **********
 **   18 **HESSE 
 **********

 FCN=   14378.69     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9244        10.332        .18120E-04   -1.5664    
   2  Index         3.0569        1.1631        .66753E-02   -.39914    
   3  Normalizat    1.0190        .16540        .30876E-03   -.92396    
   4  Prefactor     .86667        .10170        .20817E-03   -.97316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25415e-10
Minuit parameter uncertainties:
  1  10.3319
  2  1.17581
  3  0.165479
  4  0.101721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115111': 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) = 14378.6893344
delta logL = 0.539897934093

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  4.924e+00  1.033e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  3.057e+00  1.176e+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:  8.667e-01  1.017e-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:  1.019e+00  1.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.06 +/- 1.18
Photon Flux (Free Index): 4.60e-08 +/- 4.24e-08
Energy Flux (Free Index): 8.93e-06 +/- 7.48e-06

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/115111/cmap_HighResolution_685929601_686534401_4FGL_J2311.0+0205_weekly_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', comment='SUCCESS', energy_flux2='8.93e-06', dlogl='5.40e-01', photon_flux2='4.60e-08', job_status='DONE', time_completed='2022-10-04 01:46:48.126729', photon_index_error2='1.18', photon_index2='3.06', ts='0.86', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='6.17e-08', energy_flux_error2='7.48e-06', EG='1.05', time_epoch_completed='1664873208.13', return_code='0', job_id='115111', GAL2='0.87', EG2='1.02', return_code2='0', photon_flux_error2='4.24e-08', ts2='1.98', photon_index='2.19' WHERE bin_id='739' AND source_name='4FGL J2311.0+0205' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  4 01:46:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 115111: <4FGL_J2311.0+0205_weekly_bin739> in cluster <slac> Done

Job <4FGL_J2311.0+0205_weekly_bin739> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Oct  4 01:30:42 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct  4 01:31:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct  4 01:31:49 2022
Terminated at Tue Oct  4 01:46:48 2022
Results reported at Tue Oct  4 01:46:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_weekly_bin739 347.766 2.0995 685929601 686534401 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 :                                   872.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            966 sec.

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

