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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin1720
RA = 347.766, Dec = 2.0995
tmin = 685152001, tmax = 685411201
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='849954', job_status='RUN', time_executed='2022-09-21 00:58:35.462569', time_epoch_executed='1663747115.46' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849954

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849954/ft1_4FGL_J2311.0+0205_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849954/ft2_4FGL_J2311.0+0205_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849954/ft1_4FGL_J2311.0+0205_daily_bin1720.fits outfile=/scratch/kocevski/849954/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1720.fits ra=347.766 dec=2.0995 rad=12.0 tmin=685152001.0 tmax=685411201.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.77
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 274

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849954/ft1_filtered_4FGL_J2311.0+0205_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849954/ft2_4FGL_J2311.0+0205_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/849954/ltcube_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.fits outfile=/scratch/kocevski/849954/expmap_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.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/849954/ltcube_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.fits
.....................!
real 192.67
user 187.70
sys 4.49

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/849954/ft1_filtered_4FGL_J2311.0+0205_daily_bin1720.fits scfile=/scratch/kocevski/849954/ft2_4FGL_J2311.0+0205_daily_bin1720.fits outfile=/scratch/kocevski/849954/cmap_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849954/ft1_filtered_4FGL_J2311.0+0205_daily_bin1720.fits scfile=/scratch/kocevski/849954/ft2_4FGL_J2311.0+0205_daily_bin1720.fits outfile=/scratch/kocevski/849954/cmap_HighResolution_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10424E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7487       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34750E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57105E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    23.368       1.0000          .0000       .10000E+07
     7 'norm      '    1.3452       1.0000          .0000       .10000E+07
     8 'norm      '    .60746E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.772       1.0000          .0000       .10000E+07
    10 'Prefactor '    141.41       1.0000          .0000       .10000E+07
    11 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.394       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12905E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .97037E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7026       1.0000          .0000       .10000E+07
    16 'Prefactor '    89.399       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98727E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3386       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .61962       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=   3033.011     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1463 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5349        .22558E-05** at limit **
   2  norm           .0000        13.436       -.61074E-07** at limit **
   3  Prefactor     17.888        66.724        .18004E-04   -.18567E-02
   4  Prefactor     .19207E-07    61.986        .28100E-04** at limit **
   5  Prefactor     .44409E-09    41.921       -.10804E-05** at limit **
   6  Prefactor     23.464        16.783        .73296E-05    .19009E-02
   7  norm          1.3551        1.5975        .59058E-06   -.22431E-01
   8  norm           .0000        8.1471        .28055E-05** at limit **
   9  Prefactor     14.847        16.644       -.57782E-05    .22272E-02
  10  Prefactor     150.91        134.46        .28073E-06   -.14297E-02
  11  norm          .22204E-09    4.6382       -.49298E-07** at limit **
  12  Prefactor     14.533        11.470        .64089E-06   -.11490E-02
  13  Prefactor     .24980E-08    39.397        .23452E-05** at limit **
  14  norm          .66613E-09    18.253        .26881E-05** at limit **
  15  Prefactor     1.7423        7.0825        .17054E-06   -.33219E-02
  16  Prefactor     92.881        76.537       -.22955E-04   -.88543E-03
  17  Prefactor      .0000        10.715        .11098E-05** at limit **
  18  Normalizat    1.3251        .37044        .28545E-05   -.24101E-03
  19  Prefactor     .61914        .20745        .21218E-04   -.23523E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 17.8878
  Prefactor  = 1.92069e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 23.4642
  norm       = 1.35511
  norm       = 0
  Prefactor  = 14.8467
  Prefactor  = 150.913
  norm       = 2.22045e-10
  Prefactor  = 14.5326
  Prefactor  = 2.498e-09
  norm       = 6.66134e-10
  Prefactor  = 1.74225
  Prefactor  = 92.8813
  Prefactor  = 0
  Normalizat = 1.32512
  Prefactor  = 0.619142
 **********
 **   18 **HESSE 
 **********

 FCN=   3033.011     FROM HESSE     STATUS=OK           304 CALLS     1767 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5451        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        13.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.888        66.487        .33864E-03   -1.5623    
   4  Prefactor     .19207E-07    60.646        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .44409E-09    41.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.464        16.719        .20692E-03   -1.5611    
   7  norm          1.3551        1.6218        .94386E-03   -1.5685    
   8  norm           .0000        8.1315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.847        16.643        .26033E-03   -1.5631    
  10  Prefactor     150.91        133.73        .84100E-04   -1.5462    
  11  norm          .22204E-09    4.6296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.533        11.454        .26374E-03   -1.5632    
  13  Prefactor     .24980E-08    39.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66613E-09    18.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7423        7.1000        .80576E-03   -1.5682    
  16  Prefactor     92.881        76.520        .10577E-03   -1.5515    
  17  Prefactor      .0000        10.690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3251        .31680        .62541E-01   -.82820    
  19  Prefactor     .61914        .17861        .41321E-01   -1.0679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18598e-07
Minuit parameter uncertainties:
  1  1.25531e-05
  2  1.18529e-05
  3  66.4895
  4  0.00215795
  5  0.00027289
  6  16.719
  7  1.6218
  8  1.21435e-05
  9  16.6433
  10  133.731
  11  6.04207e-05
  12  11.4538
  13  0.000628294
  14  0.00021688
  15  7.03421
  16  76.5203
  17  2.97361e-06
  18  0.31727
  19  0.178771
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.921e-08  2.158e-03  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:  6.191e-01  1.788e-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.325e+00  3.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849954/likelihoodResults_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.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) = 3033.01847791
delta logL = -0.00792678820653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3032.02635364
delta logL = 0.98419748896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32334       1.0000          .0000       .10000E+07
     2 'Index     '    4.8899       1.0000          .0000       10.000    
     3 'Normalizat'    1.1541       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68267       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=   3032.026     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32279        5.6249        .56368E-03    .10773E-01
   2  Index         4.8918        3.0184        .87414E-01    .12336E-03
   3  Normalizat    1.1544        .90403E-01    .66242E-01   -.32735E-05
   4  Prefactor     .68249        .54274E-01    .42170E-01   -.46413E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.322785
  Index      = 4.89176
  Normalizat = 1.15439
  Prefactor  = 0.682487
 **********
 **   18 **HESSE 
 **********

 FCN=   3032.026     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32279        11.242        .25387E-05   -1.5697    
   2  Index         4.8918        7.1332        .34687E-02   -.21650E-01
   3  Normalizat    1.1544        .32275        .29305E-03   -.88024    
   4  Prefactor     .68249        .18883        .22307E-03   -1.0422    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26951e-10
Minuit parameter uncertainties:
  1  3.80991
  2  5.21691
  3  0.323308
  4  0.189009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849954': 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) = 3032.02634735
delta logL = 0.984203773521

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.228e-01  3.810e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  4.892e+00  5.217e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  6.825e-01  1.890e-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.154e+00  3.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.29
Ra Dec: 347.766 2.099
Photon Index (Free Index): 4.89 +/- 5.22
Photon Flux (Free Index): 1.49e-07 +/- 1.30e-07
Energy Flux (Free Index): 2.01e-05 +/- 2.17e-05

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/849954/cmap_HighResolution_685152001_685411201_4FGL_J2311.0+0205_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', energy_flux2='2.01e-05', dlogl='9.84e-01', photon_flux2='1.49e-07', job_status='DONE', time_completed='2022-09-21 01:05:51.676172', photon_index_error2='5.22', photon_index2='4.89', ts='-0.00', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='1.73e-07', energy_flux_error2='2.17e-05', EG='1.33', time_epoch_completed='1663747551.68', return_code='0', job_id='849954', GAL2='0.68', EG2='1.15', return_code2='102', photon_flux_error2='1.30e-07', ts2='2.29', photon_index='2.19' WHERE bin_id='1720' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:05:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 849954: <4FGL_J2311.0+0205_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:21 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:57:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:57:14 2022
Terminated at Wed Sep 21 01:05:52 2022
Results reported at Wed Sep 21 01:05:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin1720 347.766 2.0995 685152001 685411201 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 :                                   438.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   517 sec.
    Turnaround time :                            631 sec.

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

