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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1747
RA = 347.768, Dec = 34.4223
tmin = 692150401, tmax = 692409601
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='816104', job_status='RUN', time_executed='2022-12-11 01:52:35.626862', time_epoch_executed='1670752355.63' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816104

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816104/ft1_4FGL_J2311.0+3425_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816104/ft1_4FGL_J2311.0+3425_daily_bin1747.fits outfile=/scratch/kocevski/816104/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1747.fits ra=347.768 dec=34.4223 rad=12.0 tmin=692150401.0 tmax=692409601.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 3.99
user 3.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.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/816104/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.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.34
sys 0.14

Number of photons that the gtmktime cut: 1021

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816104/ltcube_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.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/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits
.....................!
real 12.07
user 11.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816104/ltcube_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits outfile=/scratch/kocevski/816104/expmap_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.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/816104/ltcube_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits
.....................!
real 190.03
user 184.96
sys 4.72

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 157 point sources and 1 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 J2311.0+3425 @ 347.768 34.4223

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits outfile=/scratch/kocevski/816104/cmap_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.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.768 yref=34.4223 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits outfile=/scratch/kocevski/816104/cmap_HighResolution_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.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.768 yref=34.4223 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816104/Model_4FGL_J2311.0+3425_daily_bin1747.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits.....................!
real 117.00
user 115.51
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits', '/scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits', expMap='/scratch/kocevski/816104/expmap_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits', expCube='/scratch/kocevski/816104/ltcube_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/816104/Model_4FGL_J2311.0+3425_daily_bin1747.xml', optimizer='MINUIT')

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

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.866e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/816104/ft1_filtered_4FGL_J2311.0+3425_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/816104/ft2_4FGL_J2311.0+3425_daily_bin1747.fits
Exposure map: /scratch/kocevski/816104/expmap_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits
Exposure cube: /scratch/kocevski/816104/ltcube_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/816104/Model_4FGL_J2311.0+3425_daily_bin1747.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) = 10560.5477939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37364E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .87719E-06   1.0000          .0000       .10000E+07
     3 'norm      '    2.2185       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20724E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .91599E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .69926E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.0473       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.174       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16424       1.0000          .0000       .10000E+07
    10 'Prefactor '    123.88       1.0000          .0000       .10000E+07
    11 'norm      '    .12818E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68553E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.896       1.0000          .0000       .10000E+07
    14 'norm      '    .11312E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.234       1.0000          .0000       .10000E+07
    16 'Prefactor '    .21723E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .20792E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .94701       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10560.41     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1190 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    30.572       -.33798E-06** at limit **
   2  norm           .0000        3.4953       -.48851E-07** at limit **
   3  norm          2.2101        3.4224       -.14326E-06    .28744E-03
   4  Prefactor      .0000        4.8037       -.20339E-06** at limit **
   5  Prefactor      .0000        3.9953        .10597E-06** at limit **
   6  Prefactor     .27756E-09    11.510       -.34787E-06** at limit **
   7  norm          1.0433        .98292       -.95522E-07    .72090E-03
   8  Prefactor     10.827        10.653       -.14636E-06    .97284E-02
   9  Prefactor     .11878        11.918        .27410E-06** at limit **
  10  Prefactor     118.12        45.969       -.17201E-06    .22906E-02
  11  norm          .10381E-07    16.123       -.14518E-05** at limit **
  12  norm           .0000        4.0951        .11177E-07** at limit **
  13  Prefactor     28.753        17.571        .19137E-06   -.84608E-02
  14  norm           .0000        .90319       -.65444E-07** at limit **
  15  Prefactor     13.127        2.7811       -.56031E-08    .30288E-02
  16  Prefactor     .38858E-09    10.273       -.40163E-07** at limit **
  17  Prefactor      .0000        1.7506        .16148E-06** at limit **
  18  Normalizat    .94902        .23000        .25100E-05   -.14243E-04
  19  Prefactor     1.1437        .10278        .31018E-06    .77883E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 0
  norm       = 2.21006
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  norm       = 1.04329
  Prefactor  = 10.8269
  Prefactor  = 0.118781
  Prefactor  = 118.123
  norm       = 1.03806e-08
  norm       = 0
  Prefactor  = 28.7526
  norm       = 0
  Prefactor  = 13.1272
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Normalizat = 0.949022
  Prefactor  = 1.14372
 **********
 **   18 **HESSE 
 **********

 FCN=   10560.41     FROM HESSE     STATUS=OK           316 CALLS     1506 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    30.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .63211        .28140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2101        3.4362        .69017E-03   -1.5678    
   4  Prefactor      .0000        4.8069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    11.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0433        1.1115        .22235E-02   -1.5688    
   8  Prefactor     10.827        22.163        .31389E-03   -1.5642    
   9  Prefactor     .11878        6.2881        .84340E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     118.12        46.257        .89851E-04   -1.5491    
  11  norm          .10381E-07    17.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.0980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.753        19.529        .18937E-03   -1.5601    
  14  norm           .0000        .90111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.127        18.346        .27509E-03   -1.5636    
  16  Prefactor     .38858E-09    10.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.7535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .94902        .21073        .90122E-01   -.94758    
  19  Prefactor     1.1437        .90899E-01    .36124E-01   -.88081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0072e-09
Minuit parameter uncertainties:
  1  0.000152466
  2  1.99977e-06
  3  3.43623
  4  1.27532e-05
  5  4.18323e-06
  6  0.000116264
  7  1.11147
  8  22.1632
  9  1.72848
  10  46.2575
  11  0.00084902
  12  1.01799e-05
  13  19.5289
  14  3.51668e-07
  15  18.3459
  16  0.000127983
  17  1.76745e-06
  18  0.210918
  19  0.090911
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.043e+00  1.111e+00  0.000e+00  1.000e+06 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.144e+00  9.091e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.490e-01  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.97
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 1.09e-05

TS (Fixed Index): 1.97
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 9.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816104/likelihoodResults_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.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) = 10560.3934667
delta logL = 0.0153941440403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10560.3932178
delta logL = 0.0156430545649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0320       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0971       1.0000          .0000       5.0000    
     3 'Normalizat'    .95292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1428       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+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=   10560.39     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      252 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0323        .98719        .10796E-03    .31347E-02
   2  alpha         2.0974        .78011        .26263E-01    .64603E-05
   3  Normalizat    .95282        .22223        .39841E-03   -.26835E-03
   4  Prefactor     1.1429        .10090        .16632E-03   -.17299E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0323
  alpha      = 2.09742
  Normalizat = 0.952821
  Prefactor  = 1.14286
 **********
 **   18 **HESSE 
 **********

 FCN=   10560.39     FROM HESSE     STATUS=OK            27 CALLS      279 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0323        .99438        .43184E-05   -1.5688    
   2  alpha         2.0974        .78626        .10505E-02   -.16174    
   3  Normalizat    .95282        .22234        .15936E-04   -.94628    
   4  Prefactor     1.1429        .10095        .33263E-04   -.88108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88806e-10
Minuit parameter uncertainties:
  1  0.994378
  2  0.800219
  3  0.22256
  4  0.100968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816104': 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) = 10560.3932176
delta logL = 0.0156432725962

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.032e+00  9.944e-01  0.000e+00  1.000e+06 ( 1.000e-11)
373        alpha:  2.097e+00  8.002e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.143e+00  1.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.528e-01  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.10 +/- 0.80
Photon Flux (Free Index): 2.56e-08 +/- 3.09e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.09e-05

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/816104/cmap_HighResolution_692150401_692409601_4FGL_J2311.0+3425_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='1.08e-05', photon_flux_error='3.07e-08', dlogl='1.56e-02', energy_flux='1.02e-05', photon_flux2='2.56e-08', job_status='DONE', time_completed='2022-12-11 02:03:57.427407', photon_index_error2='0.80', photon_index2='2.10', ts='1.97', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='9.42e-08', energy_flux_error2='1.09e-05', EG='0.95', time_epoch_completed='1670753037.43', return_code='0', job_id='816104', GAL2='1.14', EG2='0.95', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.09e-08', ts2='2.00', photon_index='2.24' WHERE bin_id='1747' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:03:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 816104: <4FGL_J2311.0+3425_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:18 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:19 2022
Terminated at Sun Dec 11 02:03:57 2022
Results reported at Sun Dec 11 02:03:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1747 347.768 34.4223 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   684.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            819 sec.

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

