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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin813
RA = 347.766, Dec = 2.0995
tmin = 450057601, tmax = 450316801
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='676936', job_status='RUN', time_executed='2021-09-29 07:33:29.558277', time_epoch_executed='1632926009.56' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676936

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676936/ft1_4FGL_J2311.0+0205_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676936/ft2_4FGL_J2311.0+0205_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676936/ft1_4FGL_J2311.0+0205_daily_bin813.fits outfile=/scratch/kocevski/676936/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin813.fits ra=347.766 dec=2.0995 rad=12.0 tmin=450057601.0 tmax=450316801.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.60
user 3.34
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676936/ft1_filtered_4FGL_J2311.0+0205_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/676936/ft2_4FGL_J2311.0+0205_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/676936/ltcube_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.fits outfile=/scratch/kocevski/676936/expmap_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.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/676936/ltcube_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.fits
.....................!
real 189.41
user 184.82
sys 3.98

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/676936/ft1_filtered_4FGL_J2311.0+0205_daily_bin813.fits scfile=/scratch/kocevski/676936/ft2_4FGL_J2311.0+0205_daily_bin813.fits outfile=/scratch/kocevski/676936/cmap_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.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.58
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676936/ft1_filtered_4FGL_J2311.0+0205_daily_bin813.fits scfile=/scratch/kocevski/676936/ft2_4FGL_J2311.0+0205_daily_bin813.fits outfile=/scratch/kocevski/676936/cmap_HighResolution_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.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/676936/ft1_filtered_4FGL_J2311.0+0205_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/676936/ft2_4FGL_J2311.0+0205_daily_bin813.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676936/Model_4FGL_J2311.0+0205_daily_bin813.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/676936/ft1_filtered_4FGL_J2311.0+0205_daily_bin813.fits.....................!
real 65.11
user 63.72
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9316       1.0000         .10000E-03   10000.    
     2 'norm      '    57.046       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5007       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.522       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6354       1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .46231E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44220E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    105.25       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2935       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10268E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.871       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9906       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71252       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0990       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=   6013.532     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2512 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9317        5.9728       -.55983E-07    .17561E-04
   2  norm          57.042        19.829       -.17679E-05    .13717E-03
   3  Prefactor     .10000E-03    10.822       -.20142E-05** at limit **
   4  Prefactor     4.5027        11.003       -.15305E-05   -.13589E-03
   5  Prefactor     57.513        26.452       -.56655E-05    .39369E-03
   6  Prefactor     .10000E-03    21.419       -.10002E-05** at limit **
   7  Prefactor     .10000E-03    3.6536       -.38422E-07** at limit **
   8  norm          1.6350        1.0346        .14797E-07    .85918E-03
   9  norm          .10000E-03    5.7892       -.16881E-06** at limit **
  10  Prefactor     .10000E-03    6.3793       -.13125E-06** at limit **
  11  Prefactor     .10006E-03    264.68       -.22104E-03** at limit **
  12  norm          .10000E-03    12.343        .43907E-05** at limit **
  13  Prefactor     20.792        9.2832       -.42881E-06   -.14709E-03
  14  Prefactor     105.23        168.37       -.11312E-04    .20593E-04
  15  Prefactor     5.2902        9.0534        .68664E-06    .18890E-03
  16  Prefactor     .10000E-03    19.127       -.92202E-05** at limit **
  17  norm          .10000E-03    22.828        .47367E-05** at limit **
  18  Prefactor     .10000E-03    29.966        .62309E-05** at limit **
  19  Prefactor     .10000E-03    2.7196        .49950E-07** at limit **
  20  Prefactor     39.854        40.232       -.19754E-04    .23526E-03
  21  Prefactor     6.9887        21.797       -.17347E-05    .23116E-04
  22  Normalizat    .71269        .23521        .81961E-05    .37639E-03
  23  Prefactor     1.0990        .14499       -.24896E-06    .85457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93168
  norm       = 57.0421
  Prefactor  = 0.0001
  Prefactor  = 4.50265
  Prefactor  = 57.5133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63501
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100056
  norm       = 0.0001
  Prefactor  = 20.7917
  Prefactor  = 105.234
  Prefactor  = 5.2902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.8544
  Prefactor  = 6.98872
  Normalizat = 0.712686
  Prefactor  = 1.09895
 **********
 **   18 **HESSE 
 **********

 FCN=   6013.532     FROM HESSE     STATUS=OK           362 CALLS     2874 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9317        5.9727        .18111E-03   -1.5264    
   2  norm          57.042        19.838        .53114E-04   -1.4196    
   3  Prefactor     .10000E-03    10.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5027        10.996        .18978E-03   -1.5284    
   5  Prefactor     57.513        26.403        .52895E-04   -1.4190    
   6  Prefactor     .10000E-03    21.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.6640        .14474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6350        1.0272        .59565E-04   -1.5452    
   9  norm          .10000E-03    5.9747        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.230        .37177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10006E-03    264.60        .21217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    12.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.792        9.1739        .87861E-04   -1.4796    
  14  Prefactor     105.23        168.23        .39198E-04   -1.3653    
  15  Prefactor     5.2902        9.0167        .17469E-03   -1.5248    
  16  Prefactor     .10000E-03    19.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    22.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7397        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     39.854        40.155        .63479E-04   -1.4445    
  21  Prefactor     6.9887        21.780        .15173E-03   -1.5179    
  22  Normalizat    .71269        .26226        .36522E-03   -1.0339    
  23  Prefactor     1.0990        .16332        .19530E-03   -.89500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14392e-09
Minuit parameter uncertainties:
  1  5.97338
  2  19.8406
  3  2.6231e-06
  4  11.001
  5  26.4086
  6  3.46983e-05
  7  1.08711e-05
  8  1.02726
  9  3.55651e-05
  10  0.000414702
  11  0.0077174
  12  6.18899e-05
  13  9.17451
  14  169
  15  9.01896
  16  3.59748e-05
  17  1.48737e-05
  18  2.85846e-05
  19  6.37513e-06
  20  40.1826
  21  21.8044
  22  0.262723
  23  0.16339
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.751e+01  2.641e+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.099e+00  1.634e-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.127e-01  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.24
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 4.96e-08
Energy Flux (Fixed Index): 4.98e-05 +/- 2.29e-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) = 6013.521857
delta logL = 0.0104142307446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6013.51758176
delta logL = 0.0146894682084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.187       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1204       1.0000          .0000       10.000    
     3 'Normalizat'    .72061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0959       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=   6013.518     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      206 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.187        530.89        .12929E-02    .13561E-03
   2  Index         2.1204        3.2306        .13618        .38906E-04
   3  Normalizat    .72061        .19013        .82064E-01    .49939E-04
   4  Prefactor     1.0959        .77674E-01    .37746E-01   -.13053E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.1874
  Index      = 2.1204
  Normalizat = 0.720612
  Prefactor  = 1.09587
 **********
 **   18 **HESSE 
 **********

 FCN=   6013.518     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.187        31.840        .51717E-04   -1.4155    
   2  Index         2.1204        .38708        .51416E-02   -.61373    
   3  Normalizat    .72061        .25222        .36338E-03   -1.0308    
   4  Prefactor     1.0959        .16302        .19555E-03   -.89599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17759e-11
Minuit parameter uncertainties:
  1  31.8491
  2  0.387657
  3  0.252626
  4  0.163094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676936': 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) = 6013.51758176
delta logL = 0.0146894686413

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.019e+01  3.185e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.120e+00  3.877e-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.096e+00  1.631e-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.206e-01  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.26
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.12 +/- 0.39
Photon Flux (Free Index): 1.02e-07 +/- 5.95e-08
Energy Flux (Free Index): 5.34e-05 +/- 3.46e-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/676936/cmap_HighResolution_450057601_450316801_4FGL_J2311.0+0205_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='5.34e-05', photon_flux_error='4.96e-08', dlogl='1.47e-02', energy_flux='4.98e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-29 07:43:12.452590', photon_index_error2='0.39', photon_index2='2.12', ts='10.24', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.46e-05', EG='0.71', time_epoch_completed='1632926592.45', return_code='0', job_id='676936', GAL2='1.10', EG2='0.72', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='5.95e-08', ts2='10.26', photon_index='2.19' WHERE bin_id='813' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:43:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 676936: <4FGL_J2311.0+0205_daily_bin813> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin813> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:42 2021
Job was executed on host(s) <bullet0230>, 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:43:12 2021
Results reported at Wed Sep 29 07:43:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin813 347.766 2.0995 450057601 450316801 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 :                                   572.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            750 sec.

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

