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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1711
RA = 347.931, Dec = 26.0831
tmin = 682819201, tmax = 683078401
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='253772', job_status='RUN', time_executed='2022-09-17 00:25:30.076550', time_epoch_executed='1663399530.08' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253772/ft1_4FGL_J2311.7+2604_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253772/ft1_4FGL_J2311.7+2604_daily_bin1711.fits outfile=/scratch/kocevski/253772/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1711.fits ra=347.931 dec=26.0831 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.58
user 4.32
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.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/253772/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 779

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/253772/ltcube_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.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/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits
.....................!
real 14.08
user 13.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/253772/ltcube_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits outfile=/scratch/kocevski/253772/expmap_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.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/253772/ltcube_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits
.....................!
real 192.34
user 186.18
sys 5.80

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits outfile=/scratch/kocevski/253772/cmap_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.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.931 yref=26.0831 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits outfile=/scratch/kocevski/253772/cmap_HighResolution_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.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.931 yref=26.0831 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253772/Model_4FGL_J2311.7+2604_daily_bin1711.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/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits.....................!
real 93.58
user 92.08
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits', '/scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits', expMap='/scratch/kocevski/253772/expmap_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits', expCube='/scratch/kocevski/253772/ltcube_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253772/Model_4FGL_J2311.7+2604_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253772/ft1_filtered_4FGL_J2311.7+2604_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/253772/ft2_4FGL_J2311.7+2604_daily_bin1711.fits
Exposure map: /scratch/kocevski/253772/expmap_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits
Exposure cube: /scratch/kocevski/253772/ltcube_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253772/Model_4FGL_J2311.7+2604_daily_bin1711.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) = 8107.97730279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1039       1.0000          .0000       .10000E+07
     2 'norm      '    2.7664       1.0000          .0000       .10000E+07
     3 'norm      '    1.9687       1.0000          .0000       .10000E+07
     4 'Prefactor '    .87016E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.878       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0194       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14410E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.3155       1.0000          .0000       .10000E+07
     9 'norm      '    .13428E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    26.218       1.0000          .0000       .10000E+07
    11 'Prefactor '    87.441       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17808E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .65947E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.364       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35031E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .95001       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8107.795     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1296 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1293        10.510       -.10883E-05   -.23147E-02
   2  norm          2.7673        1.1115        .69582E-08   -.66526E-03
   3  norm          1.9697        1.6531        .41030E-07   -.21203E-03
   4  Prefactor      .0000        15.757       -.64756E-07** at limit **
   5  Prefactor     13.878        8.7959       -.13842E-06    .43702E-03
   6  Prefactor     1.0198        .19784       -.14654E-06    .10142E-02
   7  Prefactor     .99920E-09    9.9022       -.25939E-06** at limit **
   8  Prefactor     3.2386        6.3425        .17288E-05    .63279E-03
   9  norm           .0000        .44285        .99164E-07** at limit **
  10  Prefactor     25.580        6.9571       -.14614E-06   -.29809E-01
  11  Prefactor     91.158        41.945        .48918E-06   -.17196E-01
  12  Prefactor      .0000        4.5160        .50487E-06** at limit **
  13  norm           .0000        1.4193       -.28156E-06** at limit **
  14  Prefactor     17.853        3.3067       -.58588E-07   -.49355E-01
  15  Prefactor     28.051        1.3234        .22626E-07   -.61583E-01
  16  Prefactor     .77716E-09    22.803       -.19411E-06** at limit **
  17  Normalizat    .95071        .23083       -.26740E-04    .63433E-04
  18  Prefactor     1.0133        .12767        .17694E-04    .81072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12929
  norm       = 2.76728
  norm       = 1.96968
  Prefactor  = 0
  Prefactor  = 13.8784
  Prefactor  = 1.01979
  Prefactor  = 9.99201e-10
  Prefactor  = 3.23862
  norm       = 0
  Prefactor  = 25.5801
  Prefactor  = 91.1575
  Prefactor  = 0
  norm       = 0
  Prefactor  = 17.8533
  Prefactor  = 28.0509
  Prefactor  = 7.77156e-10
  Normalizat = 0.950712
  Prefactor  = 1.01329
 **********
 **   18 **HESSE 
 **********

 FCN=   8107.795     FROM HESSE     STATUS=OK           284 CALLS     1580 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1293        10.596        .49739E-03   -1.5667    
   2  norm          2.7673        1.1147        .61167E-03   -1.5675    
   3  norm          1.9697        1.6640        .73877E-03   -1.5680    
   4  Prefactor      .0000        15.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.878        8.8040        .26861E-03   -1.5633    
   6  Prefactor     1.0198        .19825        .38409E-02   -1.5506    
   7  Prefactor     .99920E-09    9.9409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2386        6.3583        .55571E-03   -1.5672    
   9  norm           .0000        .44358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.580        24.685        .19534E-03   -1.5607    
  11  Prefactor     91.158        42.100        .10695E-03   -1.5517    
  12  Prefactor      .0000        4.5050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.4287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.853        15.708        .23345E-03   -1.5623    
  15  Prefactor     28.051        17.809        .18860E-03   -1.5602    
  16  Prefactor     .77716E-09    22.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .95071        .20731        .79072E-01   -.94700    
  18  Prefactor     1.0133        .11055        .42765E-01   -.92288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26438e-07
Minuit parameter uncertainties:
  1  10.5963
  2  1.11465
  3  1.66396
  4  2.45911e-06
  5  8.80405
  6  0.198246
  7  0.000200046
  8  6.35831
  9  1.88277e-06
  10  24.6847
  11  42.0998
  12  1.63044e-05
  13  2.56561e-06
  14  15.7081
  15  17.8087
  16  0.000270776
  17  0.207484
  18  0.110572
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.558e+01  2.468e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.013e+00  1.106e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.507e-01  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.73
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 4.78e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.51e-05

TS (Fixed Index): 1.73
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253772/likelihoodResults_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.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): 102
logL (Free Index) = 8106.88446613
delta logL = 0.910663270431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8106.83217594
delta logL = 0.962953465142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21822E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.3540       1.0000          .0000       10.000    
     3 'Normalizat'    .85500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0568       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8106.832     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      329 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20528E-01    .17083        .16920E-03** at limit **
   2  Index         6.3818        2.1324        .11406        .11059E-04
   3  Normalizat    .85577        .53765E-01    .82783E-01   -.57635E-04
   4  Prefactor     1.0564        .29846E-01    .39529E-01   -.41666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0205283
  Index      = 6.38184
  Normalizat = 0.855766
  Prefactor  = 1.05642
 **********
 **   18 **HESSE 
 **********

 FCN=   8106.832     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      362 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20528E-01    .39592        .78645E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.3818        3.5563        .43738E-02    .28001    
   3  Normalizat    .85577        .18340        .36652E-03   -.98032    
   4  Prefactor     1.0564        .10027        .18454E-03   -.90872    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.26076e-10
Minuit parameter uncertainties:
  1  0.180305
  2  4.00377
  3  0.18353
  4  0.100288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253772': 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): 102
logL (Free Index) = 8106.83215985
delta logL = 0.962969559181

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.053e-02  1.803e-01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  6.382e+00  4.004e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.056e+00  1.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.558e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 347.931 26.083
Photon Index (Free Index): 6.38 +/- 4.00
Photon Flux (Free Index): 1.01e-07 +/- 6.41e-08
Energy Flux (Free Index): 1.23e-05 +/- 8.85e-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/253772/cmap_HighResolution_682819201_683078401_4FGL_J2311.7+2604_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='1.23e-05', photon_flux_error='4.78e-08', dlogl='9.63e-01', energy_flux='1.57e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2022-09-17 00:35:50.150474', photon_index_error2='4.00', photon_index2='6.38', ts='1.73', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='8.85e-06', EG='0.95', time_epoch_completed='1663400150.15', return_code='0', job_id='253772', GAL2='1.06', EG2='0.86', return_code2='102', energy_flux_error='1.51e-05', photon_flux_error2='6.41e-08', ts2='3.92', photon_index='2.43' WHERE bin_id='1711' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:35:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 253772: <4FGL_J2311.7+2604_daily_bin1711> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:32 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:21:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:21:42 2022
Terminated at Sat Sep 17 00:35:50 2022
Results reported at Sat Sep 17 00:35:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1711 347.931 26.0831 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   622.09 sec.
    Max Memory :                                 1162 MB
    Average Memory :                             273.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            918 sec.

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

