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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin947
RA = 347.766, Dec = 2.0995
tmin = 484790401, tmax = 485049601
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='677139', job_status='RUN', time_executed='2021-09-29 07:33:31.780521', time_epoch_executed='1632926011.78' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677139/ft1_4FGL_J2311.0+0205_daily_bin947.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677139/ft2_4FGL_J2311.0+0205_daily_bin947.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677139/ft1_4FGL_J2311.0+0205_daily_bin947.fits outfile=/scratch/kocevski/677139/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin947.fits ra=347.766 dec=2.0995 rad=12.0 tmin=484790401.0 tmax=485049601.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.52
user 3.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677139/ft2_4FGL_J2311.0+0205_daily_bin947.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/677139/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin947.fits evtable="EVENTS" outfile="/scratch/kocevski/677139/ft1_filtered_4FGL_J2311.0+0205_daily_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677139/ft1_filtered_4FGL_J2311.0+0205_daily_bin947.fits evtable="EVENTS" scfile=/scratch/kocevski/677139/ft2_4FGL_J2311.0+0205_daily_bin947.fits sctable="SC_DATA" expcube=/scratch/kocevski/677139/ltcube_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.fits outfile=/scratch/kocevski/677139/expmap_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.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/677139/ltcube_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.fits
.....................!
real 192.08
user 185.14
sys 5.37

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/677139/ft1_filtered_4FGL_J2311.0+0205_daily_bin947.fits scfile=/scratch/kocevski/677139/ft2_4FGL_J2311.0+0205_daily_bin947.fits outfile=/scratch/kocevski/677139/cmap_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.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.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4729       1.0000         .10000E-03   10000.    
     2 'norm      '    5.9945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.678       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1086       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16798       1.0000         .10000E-03   10000.    
     8 'norm      '    .11850E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.3885       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.645       1.0000         .10000E-03   10000.    
    12 'norm      '    .10323E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11394E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    191.00       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2899       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.625       1.0000         .10000E-03   10000.    
    17 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.862       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10390E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.983       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82655       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90665       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=   7235.161     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2680 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4731        7.8332        .10560E-07   -.54202E-05
   2  norm          5.9940        9.8785        .10085E-05   -.30335E-05
   3  Prefactor     .10000E-03    34.282        .59865E-06** at limit **
   4  Prefactor     .10000E-03    4.3803        .13788E-06** at limit **
   5  Prefactor     14.679        13.136        .32456E-07   -.15310E-04
   6  Prefactor     5.0834        126.03       -.10127E-04   -.61059E-04
   7  Prefactor     .17909        57.756        .90609E-05   -.48228E-04
   8  norm          .10000E-03    .51151        .83486E-06** at limit **
   9  norm          4.3855        4.2539       -.17463E-06   -.14264E-03
  10  Prefactor     .10000E-03    5.1706        .14418E-06** at limit **
  11  Prefactor     29.641        34.806        .91038E-07   -.97411E-05
  12  norm          .10000E-03    4.1132        .12803E-06** at limit **
  13  Prefactor     .10000E-03    8.8534        .41438E-06** at limit **
  14  Prefactor     190.54        189.60        .21744E-05   -.67129E-04
  15  Prefactor     5.2944        9.3333        .92704E-06    .10712E-04
  16  Prefactor     23.619        22.770       -.60138E-07   -.59408E-04
  17  norm          .10000E-03    7.7803        .40415E-07** at limit **
  18  Prefactor     26.843        60.425       -.12864E-06   -.31366E-04
  19  Prefactor     .10000E-03    1.5396       -.13205E-06** at limit **
  20  Prefactor     29.059        35.379        .40748E-07   -.30291E-04
  21  Prefactor     12.983        23.035        .20863E-07   -.15071E-04
  22  Normalizat    .82645        .18501       -.43829E-06   -.16997E-03
  23  Prefactor     .90668        .11393       -.27017E-07   -.70081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.47315
  norm       = 5.994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.679
  Prefactor  = 5.0834
  Prefactor  = 0.179089
  norm       = 0.0001
  norm       = 4.38553
  Prefactor  = 0.0001
  Prefactor  = 29.6408
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 190.539
  Prefactor  = 5.29443
  Prefactor  = 23.6186
  norm       = 0.0001
  Prefactor  = 26.8429
  Prefactor  = 0.0001
  Prefactor  = 29.0591
  Prefactor  = 12.9828
  Normalizat = 0.826451
  Prefactor  = 0.906677
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.161     FROM HESSE     STATUS=OK           376 CALLS     3056 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4731        7.8371        .13021E-03   -1.5092    
   2  norm          5.9940        9.8521        .82000E-03   -1.5218    
   3  Prefactor     .10000E-03    34.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.3941        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.679        13.138        .10454E-03   -1.4942    
   6  Prefactor     5.0834        139.17        .17788E-03   -1.5257    
   7  Prefactor     .17909        64.941        .36419E-02   -1.5623    
   8  norm          .10000E-03    .50977        .85807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.3855        4.2630        .16110E-03   -1.5289    
  10  Prefactor     .10000E-03    5.2164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.641        34.800        .73585E-04   -1.4619    
  12  norm          .10000E-03    4.1472        .16837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.2197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     190.54        186.50        .14612E-03   -1.2938    
  15  Prefactor     5.2944        9.3481        .87375E-03   -1.5248    
  16  Prefactor     23.619        22.742        .82411E-04   -1.4736    
  17  norm          .10000E-03    7.7886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.843        60.457        .77296E-04   -1.4671    
  19  Prefactor     .10000E-03    1.5676        .10356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.059        35.454        .74305E-04   -1.4629    
  21  Prefactor     12.983        23.019        .11117E-03   -1.4987    
  22  Normalizat    .82645        .21889        .30659E-03   -.99095    
  23  Prefactor     .90668        .13437        .18901E-03   -.95908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.51559e-08
Minuit parameter uncertainties:
  1  7.83798
  2  9.85477
  3  9.23312e-05
  4  8.26164e-06
  5  13.141
  6  53.333
  7  6.82618
  8  3.51585e-06
  9  4.2633
  10  9.70034e-06
  11  34.8242
  12  6.88951e-06
  13  2.53367e-05
  14  187.084
  15  9.35063
  16  22.7504
  17  6.98429e-05
  18  60.5958
  19  2.23772e-05
  20  35.4801
  21  23.0351
  22  0.219124
  23  0.134423
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.468e+01  1.314e+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:  9.067e-01  1.344e-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:  8.265e-01  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.19
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.76e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/677139/likelihoodResults_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7235.15826951
delta logL = 0.00318458472066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7235.15732617
delta logL = 0.00412792451516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.301       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1249       1.0000          .0000       10.000    
     3 'Normalizat'    .82832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90596       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=   7235.157     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      253 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.299        15.446        .10239E-03    .91823E-04
   2  Index         2.1251        .68042        .97125E-02    .10969E-04
   3  Normalizat    .82838        .20528        .30626E-03    .97220E-04
   4  Prefactor     .90593        .13240        .18907E-03    .17091E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2987
  Index      = 2.12511
  Normalizat = 0.828384
  Prefactor  = 0.905929
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.157     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.299        15.041        .40957E-05   -1.4925    
   2  Index         2.1251        .66262        .38850E-03   -.61258    
   3  Normalizat    .82838        .20533        .12250E-04   -.99024    
   4  Prefactor     .90593        .13246        .37815E-04   -.95934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52016e-11
Minuit parameter uncertainties:
  1  15.0444
  2  0.665548
  3  0.205524
  4  0.132512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677139': 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) = 7235.15732606
delta logL = 0.00412803452309

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.530e+01  1.504e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.125e+00  6.655e-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:  9.059e-01  1.325e-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:  8.284e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.13 +/- 0.67
Photon Flux (Free Index): 2.60e-08 +/- 2.89e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.57e-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/677139/cmap_HighResolution_484790401_485049601_4FGL_J2311.0+0205_daily_bin947.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', comment='SUCCESS', photon_flux='2.76e-08', energy_flux2='1.35e-05', photon_flux_error='2.47e-08', dlogl='4.13e-03', energy_flux='1.27e-05', photon_flux2='2.60e-08', job_status='DONE', time_completed='2021-09-29 07:45:29.247630', photon_index_error2='0.67', photon_index2='2.13', ts='2.19', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='8.67e-08', energy_flux_error2='1.57e-05', EG='0.83', time_epoch_completed='1632926729.25', return_code='0', job_id='677139', GAL2='0.91', EG2='0.83', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='2.89e-08', ts2='2.19', photon_index='2.19' WHERE bin_id='947' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 677139: <4FGL_J2311.0+0205_daily_bin947> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin947 347.766 2.0995 484790401 485049601 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 :                                   704.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            871 sec.

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

