/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 53 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 = 7476
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin209
RA = 347.766, Dec = 2.0995
tmin = 293500801, tmax = 293760001
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='673012', job_status='RUN', time_executed='2021-09-29 07:16:53.296237', time_epoch_executed='1632925013.3' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673012

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673012/ft1_4FGL_J2311.0+0205_daily_bin209.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673012/ft2_4FGL_J2311.0+0205_daily_bin209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673012/ft1_4FGL_J2311.0+0205_daily_bin209.fits outfile=/scratch/kocevski/673012/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin209.fits ra=347.766 dec=2.0995 rad=12.0 tmin=293500801.0 tmax=293760001.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.71
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673012/ft1_filtered_4FGL_J2311.0+0205_daily_bin209.fits" evtable="EVENTS" scfile=/scratch/kocevski/673012/ft2_4FGL_J2311.0+0205_daily_bin209.fits sctable="SC_DATA" outfile=/scratch/kocevski/673012/ltcube_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.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/673012/ft2_4FGL_J2311.0+0205_daily_bin209.fits
.....................!
real 12.67
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673012/ft1_filtered_4FGL_J2311.0+0205_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/673012/ft2_4FGL_J2311.0+0205_daily_bin209.fits sctable="SC_DATA" expcube=/scratch/kocevski/673012/ltcube_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.fits outfile=/scratch/kocevski/673012/expmap_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.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/673012/ltcube_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.fits
.....................!
real 191.22
user 185.21
sys 5.54

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/673012/ft1_filtered_4FGL_J2311.0+0205_daily_bin209.fits scfile=/scratch/kocevski/673012/ft2_4FGL_J2311.0+0205_daily_bin209.fits outfile=/scratch/kocevski/673012/cmap_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.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.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.324       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.711       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.998       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.4423       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66987       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .52187E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.551       1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.5614       1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.121       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2619       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87924       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=   6249.062     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2519 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8128        .29405E-06** at limit **
   2  norm          .10000E-03    5.8773        .15018E-05** at limit **
   3  Prefactor     49.324        36.342        .24499E-07    .20178E-04
   4  Prefactor     22.712        15.147        .12228E-06    .68386E-04
   5  Prefactor     13.998        12.972       -.75068E-07   -.50135E-05
   6  Prefactor     .10000E-03    24.954       -.30790E-04** at limit **
   7  Prefactor     .10000E-03    3.2996        .10604E-06** at limit **
   8  norm          .10000E-03    .28754        .26691E-07** at limit **
   9  norm          .10000E-03    1.5202       -.37577E-07** at limit **
  10  Prefactor     .10000E-03    6.0168       -.14690E-05** at limit **
  11  Prefactor     .10000E-03    22.146        .27610E-04** at limit **
  12  norm          4.4465        10.824        .35650E-05    .21602E-03
  13  Prefactor     .65175        5.2603       -.19754E-05   -.82360E-04
  14  Prefactor     .10000E-03    244.21       -.28384E-04** at limit **
  15  Prefactor     .10000E-03    15.264       -.34160E-05** at limit **
  16  Prefactor     30.549        31.921        .17877E-06    .13160E-03
  17  norm          .10000E-03    11.574        .92343E-06** at limit **
  18  Prefactor     .10000E-03    42.451        .10061E-04** at limit **
  19  Prefactor     9.5549        5.2081       -.16331E-05    .98968E-04
  20  Prefactor     40.127        43.185        .27211E-05    .74989E-05
  21  Prefactor     .10000E-03    15.463       -.47756E-06** at limit **
  22  Normalizat    1.2619        .23108        .34548E-06    .18203E-03
  23  Prefactor     .87914        .13998       -.23938E-06    .18607E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 49.324
  Prefactor  = 22.712
  Prefactor  = 13.9979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.44654
  Prefactor  = 0.651752
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 30.549
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.55486
  Prefactor  = 40.1266
  Prefactor  = 0.0001
  Normalizat = 1.26193
  Prefactor  = 0.879141
 **********
 **   18 **HESSE 
 **********

 FCN=   6249.062     FROM HESSE     STATUS=OK           364 CALLS     2883 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8627        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.8911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     49.324        36.400        .57099E-04   -1.4302    
   4  Prefactor     22.712        15.141        .84051E-04   -1.4754    
   5  Prefactor     13.998        12.977        .10706E-03   -1.4960    
   6  Prefactor     .10000E-03    24.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3087        .14023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .29284        .41363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.5216        .95185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.4465        11.266        .19106E-03   -1.5286    
  13  Prefactor     .65175        22.424        .28430E-02   -1.5547    
  14  Prefactor     .10000E-03    244.61        .19143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.549        31.784        .72488E-04   -1.4602    
  17  norm          .10000E-03    11.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    42.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.5549        5.2197        .12694E-03   -1.5090    
  20  Prefactor     40.127        43.277        .63282E-04   -1.4440    
  21  Prefactor     .10000E-03    15.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2619        .27108        .30071E-03   -.84710    
  23  Prefactor     .87914        .16382        .22244E-03   -.96874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18089e-08
Minuit parameter uncertainties:
  1  4.3991e-07
  2  2.28846e-07
  3  36.4169
  4  15.1438
  5  12.9794
  6  1.88878e-05
  7  4.5192e-06
  8  1.43471e-06
  9  1.31622e-06
  10  3.45127e-05
  11  3.51211e-06
  12  11.2717
  13  7.64843
  14  0.000608213
  15  0.000207821
  16  31.8019
  17  5.21162e-05
  18  2.0345e-05
  19  5.21996
  20  43.3111
  21  1.21366e-05
  22  0.271382
  23  0.163909
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.400e+01  1.298e+01  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:  8.791e-01  1.639e-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.262e+00  2.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.23
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/673012/likelihoodResults_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.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) = 6248.67133379
delta logL = 0.390379980138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6248.66561726
delta logL = 0.396096509723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.309       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5739       1.0000          .0000       10.000    
     3 'Normalizat'    1.2756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87562       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=   6248.666     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      201 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 55.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.311        12.511        .28850E-05   -.12815E-02
   2  Index         1.5739        .42255       -.80450E-05   -.44011E-03
   3  Normalizat    1.2756        .22003        .28486E-06    .13870E-03
   4  Prefactor     .87562        .13923       -.13871E-06    .13130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3105
  Index      = 1.57388
  Normalizat = 1.27561
  Prefactor  = 0.875618
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.666     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.311        16.039        .10236E-03   -1.4925    
   2  Index         1.5739        .64932        .10097E-01   -.75491    
   3  Normalizat    1.2756        .25653        .29928E-03   -.84297    
   4  Prefactor     .87562        .16255        .22282E-03   -.96998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21909e-08
Minuit parameter uncertainties:
  1  16.0438
  2  0.652808
  3  0.256785
  4  0.162641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673012': 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) = 6248.66561726
delta logL = 0.396096515516

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.531e+01  1.604e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.574e+00  6.528e-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:  8.756e-01  1.626e-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.276e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.01
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.57 +/- 0.65
Photon Flux (Free Index): 1.28e-08 +/- 1.74e-08
Energy Flux (Free Index): 3.17e-05 +/- 5.02e-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/673012/cmap_HighResolution_293500801_293760001_4FGL_J2311.0+0205_daily_bin209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='3.17e-05', photon_flux_error='2.44e-08', dlogl='3.96e-01', energy_flux='1.21e-05', photon_flux2='1.28e-08', job_status='DONE', time_completed='2021-09-29 07:27:59.046445', photon_index_error2='0.65', photon_index2='1.57', ts='3.23', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='9.36e-08', energy_flux_error2='5.02e-05', EG='1.26', time_epoch_completed='1632925679.05', return_code='0', job_id='673012', GAL2='0.88', EG2='1.28', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='1.74e-08', ts2='4.01', photon_index='2.19' WHERE bin_id='209' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:27:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 673012: <4FGL_J2311.0+0205_daily_bin209> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin209> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:15:45 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:15:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:15:47 2021
Terminated at Wed Sep 29 07:27:59 2021
Results reported at Wed Sep 29 07:27:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin209 347.766 2.0995 293500801 293760001 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 :                                   658.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

