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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin312
RA = 347.766, Dec = 2.0995
tmin = 320198401, tmax = 320457601
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='674444', job_status='RUN', time_executed='2021-09-29 07:24:20.960188', time_epoch_executed='1632925460.96' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674444

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674444/ft1_4FGL_J2311.0+0205_daily_bin312.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674444/ft2_4FGL_J2311.0+0205_daily_bin312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674444/ft1_4FGL_J2311.0+0205_daily_bin312.fits outfile=/scratch/kocevski/674444/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin312.fits ra=347.766 dec=2.0995 rad=12.0 tmin=320198401.0 tmax=320457601.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.31
user 3.08
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674444/ft1_filtered_4FGL_J2311.0+0205_daily_bin312.fits evtable="EVENTS" scfile=/scratch/kocevski/674444/ft2_4FGL_J2311.0+0205_daily_bin312.fits sctable="SC_DATA" expcube=/scratch/kocevski/674444/ltcube_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.fits outfile=/scratch/kocevski/674444/expmap_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.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/674444/ltcube_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.fits
.....................!
real 191.53
user 186.88
sys 4.30

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/674444/ft1_filtered_4FGL_J2311.0+0205_daily_bin312.fits scfile=/scratch/kocevski/674444/ft2_4FGL_J2311.0+0205_daily_bin312.fits outfile=/scratch/kocevski/674444/cmap_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674444/ft1_filtered_4FGL_J2311.0+0205_daily_bin312.fits scfile=/scratch/kocevski/674444/ft2_4FGL_J2311.0+0205_daily_bin312.fits outfile=/scratch/kocevski/674444/cmap_HighResolution_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10668E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.210       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11691E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5423       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1432       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.171       1.0000         .10000E-03   10000.    
    12 'norm      '    2.9876       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.810       1.0000         .10000E-03   10000.    
    17 'norm      '    28.992       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10698E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.242       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0805       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0055       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=   5544.288     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2558 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9281       -.43218E-08** at limit **
   2  norm          .10002E-03    40.704        .98617E-05** at limit **
   3  Prefactor     31.218        48.381       -.92500E-06    .48258E-04
   4  Prefactor     .10000E-03    14.202       -.14723E-06** at limit **
   5  Prefactor     .10000E-03    16.823        .41485E-07** at limit **
   6  Prefactor     .10000E-03    37.610       -.26980E-06** at limit **
   7  Prefactor     2.5424        8.7940        .42933E-06   -.39498E-03
   8  norm          .10000E-03    .29461       -.28458E-07** at limit **
   9  norm          2.1393        5.0886        .14591E-05   -.78341E-03
  10  Prefactor     .10000E-03    6.3749       -.15346E-06** at limit **
  11  Prefactor     11.175        33.299        .67227E-07    .19574E-04
  12  norm          2.9829        6.1162        .14846E-06   -.82853E-04
  13  Prefactor     .10000E-03    3.2334       -.15066E-06** at limit **
  14  Prefactor     .10000E-03    83.129       -.22229E-05** at limit **
  15  Prefactor     .10000E-03    33.643       -.11188E-04** at limit **
  16  Prefactor     47.789        29.288        .34402E-06   -.47408E-04
  17  norm          29.024        23.233        .13195E-05    .73180E-04
  18  Prefactor     .10000E-03    113.41        .20290E-05** at limit **
  19  Prefactor     .10000E-03    2.3490       -.12183E-06** at limit **
  20  Prefactor     12.254        49.618       -.16079E-05    .33300E-04
  21  Prefactor     .10000E-03    15.684       -.51960E-07** at limit **
  22  Normalizat    1.0808        .24317        .34751E-07    .14074E-03
  23  Prefactor     1.0053        .14706        .60238E-06    .45281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100018
  Prefactor  = 31.2179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.54236
  norm       = 0.0001
  norm       = 2.13932
  Prefactor  = 0.0001
  Prefactor  = 11.1746
  norm       = 2.98294
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 47.7891
  norm       = 29.024
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 12.2539
  Prefactor  = 0.0001
  Normalizat = 1.08079
  Prefactor  = 1.00526
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.288     FROM HESSE     STATUS=OK           362 CALLS     2920 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.9287        .12444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10002E-03    77.962        .55504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.218        48.511        .71721E-04   -1.4590    
   4  Prefactor     .10000E-03    14.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5424        8.7345        .12806E-02   -1.5389    
   8  norm          .10000E-03    .29743        .39438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1393        7.2444        .14076E-02   -1.5415    
  10  Prefactor     .10000E-03    6.4266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.175        33.290        .11986E-03   -1.5039    
  12  norm          2.9829        6.0883        .23487E-03   -1.5363    
  13  Prefactor     .10000E-03    3.2619        .13081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    83.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    59.560        .44768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     47.789        29.236        .57992E-04   -1.4324    
  17  norm          29.024        23.555        .74408E-04   -1.4630    
  18  Prefactor     .10000E-03    113.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.3629        .11137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.254        49.933        .11449E-03   -1.5008    
  21  Prefactor     .10000E-03    15.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0808        .28252        .31237E-03   -.90371    
  23  Prefactor     1.0053        .17433        .20536E-03   -.92554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03533e-09
Minuit parameter uncertainties:
  1  1.00286e-06
  2  0.00238962
  3  48.5726
  4  5.56366e-05
  5  9.49704e-06
  6  2.6572e-06
  7  8.73889
  8  1.32297e-06
  9  7.24737
  10  5.3697e-05
  11  33.345
  12  6.08961
  13  4.55461e-05
  14  0.000480363
  15  0.000197059
  16  29.2451
  17  23.5624
  18  0.000956982
  19  2.67337e-06
  20  49.5434
  21  3.60876e-05
  22  0.282918
  23  0.174428
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  9.497e-06  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.005e+00  1.744e-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.081e+00  2.829e-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: 8.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674444/likelihoodResults_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.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) = 5544.28812798
delta logL = -0.000281866193291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5544.28784588
delta logL = 2.32769707509e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8930       1.0000          .0000       10.000    
     3 'Normalizat'    1.0808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0053       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=   5544.288     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      247 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1542        .90712E-02** at limit **
   2  Index         2.9044        6.2794        .50000       -.61255E-05
   3  Normalizat    1.0808        .28797E-02    .70597E-01    .75765E-04
   4  Prefactor     1.0053        .18420E-02    .44136E-01    .66275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.9044
  Normalizat = 1.08079
  Prefactor  = 1.00526
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.288     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      280 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    539.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9044        7.5115        .50000       -.43248    
   3  Normalizat    1.0808        .33359E-01    .31237E-03   -.90371    
   4  Prefactor     1.0053        .21356E-01    .20536E-03   -.92554    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.46975e-07
Minuit parameter uncertainties:
  1  0.00131735
  2  614.131
  3  0.0333597
  4  0.0213559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674444': 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) = 5544.28784586
delta logL = 2.51793608186e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.317e-03  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.904e+00  6.141e+02  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.005e+00  2.136e-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:  1.081e+00  3.336e-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/674444/cmap_HighResolution_320198401_320457601_4FGL_J2311.0+0205_daily_bin312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2021-09-29 07:34:22.467883', job_id='674444', GAL2='1.01', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632926062.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='312' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:34:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 674444: <4FGL_J2311.0+0205_daily_bin312> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin312 347.766 2.0995 320198401 320457601 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 :                                   601.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

