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 100 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin1685
RA = 347.766, Dec = 2.0995
tmin = 676080001, tmax = 676339201
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='384792', job_status='RUN', time_executed='2022-06-08 01:12:58.118346', time_epoch_executed='1654675978.12' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384792

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384792/ft1_4FGL_J2311.0+0205_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384792/ft1_4FGL_J2311.0+0205_daily_bin1685.fits outfile=/scratch/kocevski/384792/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1685.fits ra=347.766 dec=2.0995 rad=12.0 tmin=676080001.0 tmax=676339201.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.78
user 3.40
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.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/384792/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 852

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384792/ltcube_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits outfile=/scratch/kocevski/384792/expmap_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.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/384792/ltcube_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits
.....................!
real 191.37
user 185.91
sys 5.00

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/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.fits scfile=/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits outfile=/scratch/kocevski/384792/cmap_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.fits scfile=/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits outfile=/scratch/kocevski/384792/cmap_HighResolution_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.fits', '/scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits', expMap='/scratch/kocevski/384792/expmap_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits', expCube='/scratch/kocevski/384792/ltcube_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384792/Model_4FGL_J2311.0+0205_daily_bin1685.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  1.000e-04  1.000e+04 ( 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/384792/ft1_filtered_4FGL_J2311.0+0205_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/384792/ft2_4FGL_J2311.0+0205_daily_bin1685.fits
Exposure map: /scratch/kocevski/384792/expmap_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits
Exposure cube: /scratch/kocevski/384792/ltcube_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384792/Model_4FGL_J2311.0+0205_daily_bin1685.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) = 9296.0754509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0535       1.0000         .10000E-03   10000.    
     2 'norm      '    11.943       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.092       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9291       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3860       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2729       1.0000         .10000E-03   10000.    
     8 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    61.207       1.0000         .10000E-03   10000.    
    12 'norm      '    17.382       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7961       1.0000         .10000E-03   10000.    
    14 'Prefactor '    139.24       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.296       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    38.142       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .53065E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.146       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9836       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .68071       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97068       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=   9296.055     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2583 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0536        4.0720        .62481E-06    .28900E-03
   2  norm          11.943        9.1854       -.44837E-06   -.37382E-04
   3  Prefactor     11.091        20.370       -.16423E-05   -.11770E-04
   4  Prefactor     5.9291        4.7091        .32429E-06    .40542E-04
   5  Prefactor     1.3859        15.903       -.30837E-05   -.37791E-03
   6  Prefactor     .10000E-03    10.275        .47767E-05** at limit **
   7  Prefactor     6.2746        5.2093        .19674E-05    .74584E-04
   8  norm          .10000E-03    .33456        .12126E-06** at limit **
   9  norm          .10000E-03    2.3442       -.67605E-06** at limit **
  10  Prefactor     .10000E-03    2.5555       -.82650E-07** at limit **
  11  Prefactor     61.206        39.921       -.80789E-06    .36942E-05
  12  norm          17.381        7.8404        .48372E-06   -.75789E-04
  13  Prefactor     5.7960        5.4945        .20860E-05   -.31003E-03
  14  Prefactor     139.22        144.19       -.16560E-04   -.91739E-05
  15  Prefactor     18.292        13.189        .17172E-05   -.87844E-04
  16  Prefactor     .10000E-03    18.164        .72737E-07** at limit **
  17  norm          38.139        26.988       -.14820E-05   -.18722E-04
  18  Prefactor     .10000E-03    9.9369       -.40083E-05** at limit **
  19  Prefactor     .10013E-03    1.5623        .36597E-07** at limit **
  20  Prefactor     30.143        29.725       -.45946E-05   -.20302E-05
  21  Prefactor     6.9820        15.647       -.26660E-05   -.45927E-04
  22  Normalizat    .68073        .15986        .19747E-06    .16642E-04
  23  Prefactor     .97066        .10173        .33014E-06    .27275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05359
  norm       = 11.9425
  Prefactor  = 11.0911
  Prefactor  = 5.92909
  Prefactor  = 1.38588
  Prefactor  = 0.0001
  Prefactor  = 6.27458
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 61.2059
  norm       = 17.3811
  Prefactor  = 5.79597
  Prefactor  = 139.221
  Prefactor  = 18.2916
  Prefactor  = 0.0001
  norm       = 38.1388
  Prefactor  = 0.0001
  Prefactor  = 0.00010013
  Prefactor  = 30.1427
  Prefactor  = 6.98202
  Normalizat = 0.680733
  Prefactor  = 0.970657
 **********
 **   18 **HESSE 
 **********

 FCN=   9296.055     FROM HESSE     STATUS=OK           382 CALLS     2965 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0536        4.0889        .19089E-03   -1.5305    
   2  norm          11.943        9.1908        .11592E-03   -1.5017    
   3  Prefactor     11.091        20.356        .12030E-03   -1.5042    
   4  Prefactor     5.9291        4.7099        .16491E-03   -1.5221    
   5  Prefactor     1.3859        16.701        .36939E-03   -1.5473    
   6  Prefactor     .10000E-03    10.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2746        5.1123        .16027E-03   -1.5207    
   8  norm          .10000E-03    .70208        .10636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.0668        .27976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.5674        .15048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     61.206        39.887        .51287E-04   -1.4142    
  12  norm          17.381        7.8178        .96066E-04   -1.4874    
  13  Prefactor     5.7960        5.4174        .16682E-03   -1.5226    
  14  Prefactor     139.22        143.02        .17068E-03   -1.3343    
  15  Prefactor     18.292        12.903        .93637E-04   -1.4852    
  16  Prefactor     .10000E-03    18.635        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          38.139        26.676        .64898E-04   -1.4472    
  18  Prefactor     .10000E-03    9.9207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10013E-03    26.751        .20637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.143        29.679        .72973E-04   -1.4609    
  21  Prefactor     6.9820        15.652        .15181E-03   -1.5179    
  22  Normalizat    .68073        .18253        .32287E-03   -1.0466    
  23  Prefactor     .97066        .11805        .18532E-03   -.93714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94543e-09
Minuit parameter uncertainties:
  1  4.08919
  2  9.19191
  3  20.3683
  4  4.71023
  5  9.6251
  6  3.21366e-05
  7  5.11262
  8  1.026e-05
  9  0.000127894
  10  7.99585e-06
  11  39.9048
  12  7.81828
  13  5.41787
  14  143.379
  15  12.9045
  16  4.09983e-05
  17  26.6848
  18  3.49342e-06
  19  0.00373323
  20  29.6934
  21  15.6613
  22  0.182697
  23  0.118084
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.707e-01  1.181e-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:  6.807e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/384792/likelihoodResults_676080001_676339201_4FGL_J2311.0+0205_daily_bin1685.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) = 9296.03770922
delta logL = 0.017595444142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9296.02931576
delta logL = 0.0259889026202

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60160       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4190       1.0000          .0000       10.000    
     3 'Normalizat'    .66803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97550       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=   9296.029     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      241 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59257        6.9212        .35728E-01    .15515E-02
   2  Index         3.4281        .70439        .37442        .13879E-04
   3  Normalizat    .66809        .99198E-02    .73595E-01    .40297E-04
   4  Prefactor     .97548        .67412E-02    .45960E-01   -.18444E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.592574
  Index      = 3.42814
  Normalizat = 0.66809
  Prefactor  = 0.975484
 **********
 **   18 **HESSE 
 **********

 FCN=   9296.029     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59257        332.32        .19276E-02   -1.5554    
   2  Index         3.4281        8.1831        .54560E-02   -.31979    
   3  Normalizat    .66809        .10151        .32577E-03   -1.0517    
   4  Prefactor     .97548        .70453E-01    .18492E-03   -.93551    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.60888e-09
Minuit parameter uncertainties:
  1  28.2221
  2  22.2154
  3  0.101534
  4  0.0704593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384792': 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) = 9296.02931276
delta logL = 0.0259919051514

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.926e-01  2.822e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.428e+00  2.222e+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:  9.755e-01  7.046e-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:  6.681e-01  1.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 347.766 2.099

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.61e-08', time_completed='2022-06-08 01:26:42.547649', job_id='384792', GAL2='0.98', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1654676802.55', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.60e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1685' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:26:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 384792: <4FGL_J2311.0+0205_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:17 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:11:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:11:10 2022
Terminated at Wed Jun  8 01:26:43 2022
Results reported at Wed Jun  8 01:26:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin1685 347.766 2.0995 676080001 676339201 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 :                                   826.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            986 sec.

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

