/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 186 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 = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin226
RA = 347.766, Dec = 2.0995
tmin = 297907201, tmax = 298166401
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='674313', job_status='RUN', time_executed='2021-09-29 07:23:29.047276', time_epoch_executed='1632925409.05' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674313/ft1_4FGL_J2311.0+0205_daily_bin226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674313/ft2_4FGL_J2311.0+0205_daily_bin226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674313/ft1_4FGL_J2311.0+0205_daily_bin226.fits outfile=/scratch/kocevski/674313/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin226.fits ra=347.766 dec=2.0995 rad=12.0 tmin=297907201.0 tmax=298166401.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.51
user 3.31
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674313/ft1_filtered_4FGL_J2311.0+0205_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/674313/ft2_4FGL_J2311.0+0205_daily_bin226.fits sctable="SC_DATA" expcube=/scratch/kocevski/674313/ltcube_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.fits outfile=/scratch/kocevski/674313/expmap_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.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/674313/ltcube_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.fits
.....................!
real 190.26
user 185.25
sys 4.58

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/674313/ft1_filtered_4FGL_J2311.0+0205_daily_bin226.fits scfile=/scratch/kocevski/674313/ft2_4FGL_J2311.0+0205_daily_bin226.fits outfile=/scratch/kocevski/674313/cmap_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674313/ft1_filtered_4FGL_J2311.0+0205_daily_bin226.fits scfile=/scratch/kocevski/674313/ft2_4FGL_J2311.0+0205_daily_bin226.fits outfile=/scratch/kocevski/674313/cmap_HighResolution_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.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.59
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.320       1.0000         .10000E-03   10000.    
     2 'norm      '    14.518       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .56491       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0904       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2847       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12091E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.502       1.0000         .10000E-03   10000.    
    17 'norm      '    13.444       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.717       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.348       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17272E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76973       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89580       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=   5384.842     FROM MIGRAD    STATUS=CONVERGED    897 CALLS     2934 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.320        6.8326        .11907E-03    .14226E-04
   2  norm          14.521        11.884        .52559E-03   -.48949E-04
   3  Prefactor     .10000E-03    23.511        .18142E-02** at limit **
   4  Prefactor     .56241        90.273        .41433E-02    .65122E-03
   5  Prefactor     .10000E-03    7.9309        .18142E-02** at limit **
   6  Prefactor     .10000E-03    22.324        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.0043        .14309E-02** at limit **
   8  norm          1.0904        .79437        .54437E-04    .19547E-03
   9  norm          .10000E-03    2.0695        .10290E-02** at limit **
  10  Prefactor     5.0797        9.5998        .17845E-03   -.28668E-04
  11  Prefactor     .10000E-03    29.396        .18142E-02** at limit **
  12  norm          .10000E-03    10.538        .36285E-03** at limit **
  13  Prefactor     3.2891        6.5942        .22341E-03   -.13770E-03
  14  Prefactor     .10000E-03    105.69        .18142E-02** at limit **
  15  Prefactor     .10000E-03    13.178        .18142E-02** at limit **
  16  Prefactor     34.503        30.694        .68223E-04    .43993E-04
  17  norm          13.421        19.968        .10924E-03    .11458E-03
  18  Prefactor     21.793        71.938        .85950E-04    .60845E-05
  19  Prefactor     20.347        7.1548        .88792E-04    .47386E-03
  20  Prefactor     .10000E-03    220.24        .72248E-02** at limit **
  21  Prefactor     .10000E-03    61.389        .18142E-02** at limit **
  22  Normalizat    .76907        .24940        .31510E-03    .12877E-03
  23  Prefactor     .89613        .15139        .18882E-03    .62330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3195
  norm       = 14.5207
  Prefactor  = 0.0001
  Prefactor  = 0.562413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.09042
  norm       = 0.0001
  Prefactor  = 5.07966
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.28911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.5031
  norm       = 13.4209
  Prefactor  = 21.7932
  Prefactor  = 20.3471
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.769072
  Prefactor  = 0.89613
 **********
 **   18 **HESSE 
 **********

 FCN=   5384.842     FROM HESSE     STATUS=OK           348 CALLS     3282 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.320        6.8326        .47630E-05   -1.5035    
   2  norm          14.521        11.880        .21024E-04   -1.4946    
   3  Prefactor     .10000E-03    23.514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .56241        90.258        .82866E-03   -1.5558    
   5  Prefactor     .10000E-03    7.9313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.325        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0047        .28617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0904        .79430        .21775E-05   -1.5499    
   9  norm          .10000E-03    2.0696        .20579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0797        9.5984        .71381E-05   -1.5257    
  11  Prefactor     .10000E-03    29.397        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.538        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2891        6.5925        .89365E-05   -1.5345    
  14  Prefactor     .10000E-03    105.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.503        30.686        .27289E-05   -1.4533    
  17  norm          13.421        19.964        .43697E-05   -1.4975    
  18  Prefactor     21.793        71.994        .34380E-05   -1.4774    
  19  Prefactor     20.347        7.1528        .35517E-05   -1.4806    
  20  Prefactor     .10000E-03    228.76        .28899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    61.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .76907        .24893        .12604E-04   -1.0123    
  23  Prefactor     .89613        .15150        .37764E-04   -.96276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89395e-10
Minuit parameter uncertainties:
  1  6.83306
  2  11.8819
  3  0.000118549
  4  14.2702
  5  1.81209e-05
  6  6.03542e-06
  7  1.21422e-06
  8  0.794311
  9  3.52421e-06
  10  9.60132
  11  4.95441e-05
  12  0.000109647
  13  6.59391
  14  0.00028747
  15  7.8003e-05
  16  30.6995
  17  19.9734
  18  72.2832
  19  7.15311
  20  0.000457265
  21  0.000878083
  22  0.249294
  23  0.15157
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.812e-05  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.961e-01  1.516e-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.691e-01  2.493e-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: 6.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674313/likelihoodResults_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.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) = 5384.84307411
delta logL = -0.000600652996582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5384.84247347
delta logL = -8.62655724632e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1774       1.0000          .0000       10.000    
     3 'Normalizat'    .76906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89614       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=   5384.842     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10084E-03    186.88        .18142E-02** at limit **
   2  Index         2.1030        5.3301        .50000        .63258E-05
   3  Normalizat    .76908        .25573E-01    .31510E-03   -.41130E-05
   4  Prefactor     .89613        .16561E-01    .18882E-03   -.10657E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100841
  Index      = 2.10298
  Normalizat = 0.769076
  Prefactor  = 0.896126
 **********
 **   18 **HESSE 
 **********

 FCN=   5384.842     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10084E-03    749.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1030        5.8649        .50000       -.61800    
   3  Normalizat    .76908        .57248E-01    .12604E-04   -1.0123    
   4  Prefactor     .89613        .37054E-01    .75529E-05   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.42921e-08
Minuit parameter uncertainties:
  1  0.0508619
  2  2021.26
  3  0.0572523
  4  0.0370549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674313': 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) = 5384.84247335
delta logL = 1.05074832391e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.008e-04  5.086e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.103e+00  2.021e+03  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.961e-01  3.705e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.691e-01  5.725e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/674313/cmap_HighResolution_297907201_298166401_4FGL_J2311.0+0205_daily_bin226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-03', job_status='DONE', photon_flux_upper_limit='6.79e-08', time_completed='2021-09-29 07:33:47.690189', job_id='674313', GAL2='0.90', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632926027.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='226' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:33:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 674313: <4FGL_J2311.0+0205_daily_bin226> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin226> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:20:12 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:20:14 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:20:14 2021
Terminated at Wed Sep 29 07:33:50 2021
Results reported at Wed Sep 29 07:33:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin226 347.766 2.0995 297907201 298166401 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 :                                   618.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            818 sec.

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

