/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 157 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 = 7387
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin819
RA = 347.766, Dec = 2.0995
tmin = 451612801, tmax = 451872001
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='676946', job_status='RUN', time_executed='2021-09-29 07:33:32.117945', time_epoch_executed='1632926012.12' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='819'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676946

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676946/ft1_4FGL_J2311.0+0205_daily_bin819.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676946/ft1_4FGL_J2311.0+0205_daily_bin819.fits outfile=/scratch/kocevski/676946/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin819.fits ra=347.766 dec=2.0995 rad=12.0 tmin=451612801.0 tmax=451872001.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.92
user 3.17
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676946/ft1_filtered_4FGL_J2311.0+0205_daily_bin819.fits" evtable="EVENTS" scfile=/scratch/kocevski/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits sctable="SC_DATA" outfile=/scratch/kocevski/676946/ltcube_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.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/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits
.....................!
real 12.15
user 11.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676946/ft1_filtered_4FGL_J2311.0+0205_daily_bin819.fits evtable="EVENTS" scfile=/scratch/kocevski/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits sctable="SC_DATA" expcube=/scratch/kocevski/676946/ltcube_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.fits outfile=/scratch/kocevski/676946/expmap_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.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/676946/ltcube_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.fits
.....................!
real 189.66
user 184.95
sys 4.40

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/676946/ft1_filtered_4FGL_J2311.0+0205_daily_bin819.fits scfile=/scratch/kocevski/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits outfile=/scratch/kocevski/676946/cmap_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676946/ft1_filtered_4FGL_J2311.0+0205_daily_bin819.fits scfile=/scratch/kocevski/676946/ft2_4FGL_J2311.0+0205_daily_bin819.fits outfile=/scratch/kocevski/676946/cmap_HighResolution_451612801_451872001_4FGL_J2311.0+0205_daily_bin819.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    65.372       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0953       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.367       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.498       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0630       1.0000         .10000E-03   10000.    
     8 'norm      '    .82430       1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    19.694       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7830       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5431       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16457       1.0000         .10000E-03   10000.    
    20 'Prefactor '    52.435       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10805E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77676       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0199       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=   8391.620     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2226 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8769        .67115E-08** at limit **
   2  norm          65.367        16.482        .87724E-07   -.15339E-04
   3  Prefactor     .10000E-03    14.148       -.40357E-06** at limit **
   4  Prefactor     3.0946        6.1262        .24773E-06    .60360E-05
   5  Prefactor     27.363        16.468        .71280E-07   -.10789E-04
   6  Prefactor     16.473        37.287        .38209E-05   -.28363E-04
   7  Prefactor     4.0625        5.8549       -.71800E-06   -.53329E-04
   8  norm          .82427        .80388       -.22026E-07   -.10613E-03
   9  norm          .10000E-03    2.3624        .55537E-07** at limit **
  10  Prefactor     .10000E-03    8.4894       -.18498E-06** at limit **
  11  Prefactor     .10000E-03    12.758        .24734E-07** at limit **
  12  norm          19.694        10.340       -.26813E-06   -.10847E-03
  13  Prefactor     .10000E-03    9.5836       -.12784E-06** at limit **
  14  Prefactor     .10000E-03    65.148       -.24903E-06** at limit **
  15  Prefactor     .10000E-03    11.957        .81875E-06** at limit **
  16  Prefactor     2.7708        95.095        .57856E-05    .17882E-05
  17  norm          2.5531        28.195        .70093E-05    .11887E-04
  18  Prefactor     .10000E-03    24.009       -.26593E-07** at limit **
  19  Prefactor     .15921        2.1961       -.70902E-06    .24115E-03
  20  Prefactor     52.435        34.129       -.32475E-06   -.37423E-04
  21  Prefactor     .10000E-03    17.376        .11605E-06** at limit **
  22  Normalizat    .77712        .19137       -.62052E-06   -.59519E-04
  23  Prefactor     1.0197        .11626       -.40452E-06   -.16390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 65.3672
  Prefactor  = 0.0001
  Prefactor  = 3.09458
  Prefactor  = 27.363
  Prefactor  = 16.4726
  Prefactor  = 4.06246
  norm       = 0.824274
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.7708
  norm       = 2.55307
  Prefactor  = 0.0001
  Prefactor  = 0.159206
  Prefactor  = 52.4347
  Prefactor  = 0.0001
  Normalizat = 0.777123
  Prefactor  = 1.01971
 **********
 **   18 **HESSE 
 **********

 FCN=   8391.620     FROM HESSE     STATUS=OK           374 CALLS     2600 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.8811        .15174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          65.367        16.515        .49636E-04   -1.4089    
   3  Prefactor     .10000E-03    14.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0946        6.1091        .23051E-03   -1.5356    
   5  Prefactor     27.363        16.483        .76580E-04   -1.4661    
   6  Prefactor     16.473        37.103        .98606E-04   -1.4896    
   7  Prefactor     4.0625        5.8005        .20003E-03   -1.5305    
   8  norm          .82427        .76875        .75562E-03   -1.5526    
   9  norm          .10000E-03    5.6824        .26898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.6120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          19.694        10.191        .90254E-04   -1.4820    
  13  Prefactor     .10000E-03    9.7537        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    65.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7708        93.450        .24392E-03   -1.5375    
  17  norm          2.5531        34.724        .12804E-02   -1.5388    
  18  Prefactor     .10000E-03    24.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .15921        33.623        .22220E-02   -1.5628    
  20  Prefactor     52.435        34.172        .55387E-04   -1.4258    
  21  Prefactor     .10000E-03    17.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .77712        .22353        .33749E-03   -1.0092    
  23  Prefactor     1.0197        .13511        .19555E-03   -.92075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99751e-09
Minuit parameter uncertainties:
  1  1.06602e-06
  2  16.5159
  3  2.78676e-05
  4  6.11033
  5  16.4859
  6  37.1554
  7  5.80135
  8  0.768763
  9  2.23133e-05
  10  1.70678e-05
  11  3.54241e-06
  12  10.1917
  13  5.12794e-06
  14  3.10969e-05
  15  1.27978e-05
  16  32.2369
  17  18.844
  18  7.94554e-06
  19  4.62849
  20  34.1846
  21  2.73624e-05
  22  0.223791
  23  0.13516
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.736e+01  1.649e+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:  1.020e+00  1.352e-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:  7.771e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.72
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 5.14e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.43e-05

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) = 8391.61754052
delta logL = 0.00245664724935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8391.6171836
delta logL = 0.00281357058884

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.688       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1468       1.0000          .0000       10.000    
     3 'Normalizat'    .77978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0190       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8391.617     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      276 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.690        17.519        .76136E-04    .29267E-04
   2  Index         2.1467        .53399        .88116E-02    .41971E-03
   3  Normalizat    .77970        .20346        .33700E-03    .12145E-04
   4  Prefactor     1.0190        .13222        .19562E-03   -.74365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6901
  Index      = 2.14674
  Normalizat = 0.779699
  Prefactor  = 1.01902
 **********
 **   18 **HESSE 
 **********

 FCN=   8391.617     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.690        17.332        .30454E-05   -1.4655    
   2  Index         2.1467        .52778        .17623E-02   -.60730    
   3  Normalizat    .77970        .20347        .13480E-04   -1.0083    
   4  Prefactor     1.0190        .13228        .39124E-04   -.92098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85448e-11
Minuit parameter uncertainties:
  1  17.3353
  2  0.529249
  3  0.203668
  4  0.132319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676946': 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) = 8391.6171835
delta logL = 0.00281366900163

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.769e+01  1.734e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.147e+00  5.292e-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:  1.019e+00  1.323e-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:  7.797e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.71
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.15 +/- 0.53
Photon Flux (Free Index): 4.88e-08 +/- 4.56e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.72e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.14e-08', energy_flux2='2.43e-05', photon_flux_error='3.09e-08', dlogl='2.81e-03', energy_flux='2.37e-05', photon_flux2='4.88e-08', job_status='DONE', time_completed='2021-09-29 07:44:35.852875', photon_index_error2='0.53', photon_index2='2.15', ts='11.72', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='0.78', time_epoch_completed='1632926675.85', return_code='0', job_id='676946', GAL2='1.02', EG2='0.78', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='4.56e-08', ts2='11.71', photon_index='2.19' WHERE bin_id='819' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 676946: <4FGL_J2311.0+0205_daily_bin819> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin819> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:43 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:30:45 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:30:45 2021
Terminated at Wed Sep 29 07:44:36 2021
Results reported at Wed Sep 29 07:44:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin819 347.766 2.0995 451612801 451872001 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 :                                   654.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

