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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin1718
RA = 347.766, Dec = 2.0995
tmin = 684633601, tmax = 684892801
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='253751', job_status='RUN', time_executed='2022-09-17 00:22:11.809803', time_epoch_executed='1663399331.81' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253751

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253751/ft1_4FGL_J2311.0+0205_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253751/ft1_4FGL_J2311.0+0205_daily_bin1718.fits outfile=/scratch/kocevski/253751/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1718.fits ra=347.766 dec=2.0995 rad=12.0 tmin=684633601.0 tmax=684892801.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.24
user 2.99
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.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/253751/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/253751/ft1_filtered_4FGL_J2311.0+0205_daily_bin1718.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.62
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253751/ft1_filtered_4FGL_J2311.0+0205_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/253751/ltcube_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.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/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits
.....................!
real 15.09
user 14.64
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253751/ft1_filtered_4FGL_J2311.0+0205_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/253751/ltcube_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.fits outfile=/scratch/kocevski/253751/expmap_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.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/253751/ltcube_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.fits
.....................!
real 193.11
user 186.78
sys 5.71

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/253751/ft1_filtered_4FGL_J2311.0+0205_daily_bin1718.fits scfile=/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits outfile=/scratch/kocevski/253751/cmap_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253751/ft1_filtered_4FGL_J2311.0+0205_daily_bin1718.fits scfile=/scratch/kocevski/253751/ft2_4FGL_J2311.0+0205_daily_bin1718.fits outfile=/scratch/kocevski/253751/cmap_HighResolution_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.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.64
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.820       1.0000         .10000E-03   10000.    
     2 'norm      '    .23909E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    57.203       1.0000          .0000       .10000E+07
     4 'Prefactor '    108.58       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33834E-06   1.0000          .0000       .10000E+07
     7 'norm      '    18.162       1.0000          .0000       .10000E+07
     8 'norm      '    .16076E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    41.999       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14745E-04   1.0000          .0000       .10000E+07
    11 'norm      '    19.989       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.511       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30547E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .74285E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .57372E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14734       1.0000          .0000       .10000E+07
    17 'Prefactor '    58.345       1.0000          .0000       .10000E+07
    18 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75125       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=   1518.642     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1671 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.820        11.893       -.81874E-06    .18701E-06
   2  norm          .44409E-09    30.147       -.46851E-06** at limit **
   3  Prefactor     57.198        1.1049       -.23005E-07   -.11949E-02
   4  Prefactor     108.55        1.3449        .17911E-07    .20064E-02
   5  Prefactor     .80141        14.010       -.92672E-05    .42048E-01
   6  Prefactor     .23714E-04    407.39       -.20029E-04** at limit **
   7  norm          18.161        12.255        .69471E-06   -.62195E-02
   8  norm          .93520E-06    102.60       -.17790E-04** at limit **
   9  Prefactor     41.975        13.187        .38062E-06   -.31946E-01
  10  Prefactor     .28910E-05    153.24        .19470E-04** at limit **
  11  norm          19.993        18.753       -.68817E-06    .13684E-01
  12  Prefactor     18.503        16.788       -.47592E-06    .98199E-03
  13  Prefactor     .29149E-06    38.852        .50351E-05** at limit **
  14  norm          .72276E-07    72.962        .63837E-05** at limit **
  15  Prefactor     .27228E-06    40.167       -.72358E-05** at limit **
  16  Prefactor     .20159E-04    56.731       -.87622E-05** at limit **
  17  Prefactor     58.292        1.2006        .80270E-07   -.79053E-03
  18  Normalizat    .10000E-01    .17592       -.93840E-05** at limit **
  19  Prefactor     .75136        .13030        .94802E-05   -.24754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8202
  norm       = 4.44089e-10
  Prefactor  = 57.1982
  Prefactor  = 108.548
  Prefactor  = 0.801411
  Prefactor  = 2.37137e-05
  norm       = 18.1612
  norm       = 9.35196e-07
  Prefactor  = 41.9754
  Prefactor  = 2.89102e-06
  norm       = 19.9933
  Prefactor  = 18.5028
  Prefactor  = 2.91489e-07
  norm       = 7.22755e-08
  Prefactor  = 2.72282e-07
  Prefactor  = 2.01594e-05
  Prefactor  = 58.2921
  Normalizat = 0.01
  Prefactor  = 0.75136
 **********
 **   18 **HESSE 
 **********

 FCN=   1518.642     FROM HESSE     STATUS=OK           312 CALLS     1983 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.820        11.895        .26935E-02   -1.4964    
   2  norm          .44409E-09    30.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.198        85.433        .13223E-03   -1.5557    
   4  Prefactor     108.55        78.354        .95975E-04   -1.5500    
   5  Prefactor     .80141        10607.        .42118E-03   -1.5690    
   6  Prefactor     .23714E-04    413.80        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.161        12.332        .23474E-03   -1.5623    
   8  norm          .93520E-06    102.94        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.975        30.631        .15432E-03   -1.5578    
  10  Prefactor     .28910E-05    153.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.993        22.790        .22374E-03   -1.5619    
  12  Prefactor     18.503        17.212        .23251E-03   -1.5622    
  13  Prefactor     .29149E-06    40.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .72276E-07    73.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .27228E-06    42.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .20159E-04    251.55        .17316E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     58.292        74.141        .13093E-03   -1.5555    
  18  Normalizat    .10000E-01    .16122        .22864       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .75136        .15204        .43079E-01   -1.0155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54199e-05
Minuit parameter uncertainties:
  1  11.8973
  2  0.000237787
  3  85.4343
  4  78.3549
  5  184.728
  6  0.198133
  7  12.3315
  8  0.0196237
  9  30.6309
  10  0.0421448
  11  22.7902
  12  17.2119
  13  0.00690861
  14  0.00459945
  15  0.00676907
  16  0.142431
  17  74.1424
  18  9.87599e-07
  19  0.152128
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.085e+02  7.835e+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:  7.514e-01  1.521e-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.000e-02  9.876e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.36
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.04e-07 +/- 1.47e-07
Energy Flux (Fixed Index): 9.39e-05 +/- 6.78e-05

TS (Fixed Index): 3.36
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 5.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253751/likelihoodResults_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.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) = 1518.31909531
delta logL = 0.323011016379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1518.25574806
delta logL = 0.386358269577

Fit tolerance = 1e-08

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

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

 FCN=   1518.256     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .82E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     141.01        97.424        .67667E-06   -.32534E-04
   2  Index         1.7655        .44476        .24085E-04   -.21211E-05
   3  Normalizat    .10000E-01    .16482       -.20552E-06** at limit **
   4  Prefactor     .75248        .14022       -.20457E-05   -.39432E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 141.007
  Index      = 1.76551
  Normalizat = 0.01
  Prefactor  = 0.752478
 **********
 **   18 **HESSE 
 **********

 FCN=   1518.256     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     141.01        97.500        .16848E-04   -1.5470    
   2  Index         1.7655        .44508        .42708E-02   -.70351    
   3  Normalizat    .10000E-01    .18522        .89115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .75248        .12798        .18034E-03   -1.0150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42683e-11
Minuit parameter uncertainties:
  1  97.5016
  2  0.446093
  3  1.71291e-06
  4  0.128028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253751': 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) = 1518.25574786
delta logL = 0.386358469146

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.410e+02  9.750e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  1.766e+00  4.461e-01  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:  7.525e-01  1.280e-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.000e-02  1.713e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.77 +/- 0.45
Photon Flux (Free Index): 1.44e-07 +/- 1.22e-07
Energy Flux (Free Index): 1.92e-04 +/- 2.15e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/253751/cmap_HighResolution_684633601_684892801_4FGL_J2311.0+0205_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-02', comment='SUCCESS', photon_flux='2.04e-07', energy_flux2='1.92e-04', photon_flux_error='1.47e-07', dlogl='3.86e-01', energy_flux='9.39e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2022-09-17 00:28:30.115245', photon_index_error2='0.45', photon_index2='1.77', ts='3.36', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='5.36e-07', energy_flux_error2='2.15e-04', EG='0.01', time_epoch_completed='1663399710.12', return_code='0', job_id='253751', GAL2='0.75', EG2='0.01', return_code2='0', energy_flux_error='6.78e-05', photon_flux_error2='1.22e-07', ts2='4.07', photon_index='2.19' WHERE bin_id='1718' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:28:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 253751: <4FGL_J2311.0+0205_daily_bin1718> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin1718> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:30 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:21:34 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:34 2022
Terminated at Sat Sep 17 00:28:30 2022
Results reported at Sat Sep 17 00:28:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin1718 347.766 2.0995 684633601 684892801 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 :                                   380.31 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             337.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   416 sec.
    Turnaround time :                            480 sec.

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

