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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin323
RA = 347.766, Dec = 2.0995
tmin = 323049601, tmax = 323308801
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='674460', job_status='RUN', time_executed='2021-09-29 07:23:06.456989', time_epoch_executed='1632925386.46' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674460

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674460/ft1_4FGL_J2311.0+0205_daily_bin323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674460/ft1_4FGL_J2311.0+0205_daily_bin323.fits outfile=/scratch/kocevski/674460/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin323.fits ra=347.766 dec=2.0995 rad=12.0 tmin=323049601.0 tmax=323308801.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.34
user 3.11
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.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/674460/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin323.fits evtable="EVENTS" outfile="/scratch/kocevski/674460/ft1_filtered_4FGL_J2311.0+0205_daily_bin323.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/674460/ft1_filtered_4FGL_J2311.0+0205_daily_bin323.fits" evtable="EVENTS" scfile=/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits sctable="SC_DATA" outfile=/scratch/kocevski/674460/ltcube_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.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/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits
.....................!
real 11.97
user 11.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674460/ft1_filtered_4FGL_J2311.0+0205_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits sctable="SC_DATA" expcube=/scratch/kocevski/674460/ltcube_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.fits outfile=/scratch/kocevski/674460/expmap_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.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/674460/ltcube_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.fits
.....................!
real 189.43
user 184.84
sys 4.28

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/674460/ft1_filtered_4FGL_J2311.0+0205_daily_bin323.fits scfile=/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits outfile=/scratch/kocevski/674460/cmap_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674460/ft1_filtered_4FGL_J2311.0+0205_daily_bin323.fits scfile=/scratch/kocevski/674460/ft2_4FGL_J2311.0+0205_daily_bin323.fits outfile=/scratch/kocevski/674460/cmap_HighResolution_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29385       1.0000         .10000E-03   10000.    
     2 'norm      '    .58647E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.596       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.919       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.286       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11521E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1717       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6085       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7163       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.640       1.0000         .10000E-03   10000.    
    17 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0806       1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.682       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9855       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80343       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1379       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=   8528.157     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2565 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27841        3.6891       -.51571E-06   -.56063E-03
   2  norm          .10577E-03    6.0781       -.38492E-06** at limit **
   3  Prefactor     19.538        35.764        .99029E-05   -.31698E-04
   4  Prefactor     .10000E-03    6.1704        .49525E-07** at limit **
   5  Prefactor     15.911        19.716        .48339E-05   -.35062E-04
   6  Prefactor     24.253        33.668        .71294E-05    .11415E-05
   7  Prefactor     .10000E-03    8.4274       -.41816E-06** at limit **
   8  norm          2.1715        .87983        .63518E-07   -.28812E-03
   9  norm          .10000E-03    3.2596       -.61726E-07** at limit **
  10  Prefactor     2.6159        13.863        .16463E-04   -.11484E-03
  11  Prefactor     .10000E-03    15.965       -.72808E-07** at limit **
  12  norm          5.7091        8.7028       -.75390E-05   -.61696E-03
  13  Prefactor     .10000E-03    3.8154        .32014E-06** at limit **
  14  Prefactor     .10000E-03    62.222        .62520E-06** at limit **
  15  Prefactor     .10000E-03    4.5014       -.50330E-07** at limit **
  16  Prefactor     23.633        30.547        .32681E-05   -.15537E-03
  17  norm          .10000E-03    15.699       -.32172E-05** at limit **
  18  Prefactor     .10000E-03    16.868        .31063E-05** at limit **
  19  Prefactor     6.0813        4.1879        .26462E-06   -.26258E-03
  20  Prefactor     38.656        39.817       -.44079E-05   -.67600E-04
  21  Prefactor     2.9783        47.420        .18952E-04   -.44463E-04
  22  Normalizat    .80362        .19770       -.26774E-05   -.13214E-03
  23  Prefactor     1.1377        .12325       -.99607E-06   -.13868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.27841
  norm       = 0.000105774
  Prefactor  = 19.538
  Prefactor  = 0.0001
  Prefactor  = 15.9109
  Prefactor  = 24.2525
  Prefactor  = 0.000100001
  norm       = 2.17146
  norm       = 0.0001
  Prefactor  = 2.61589
  Prefactor  = 0.0001
  norm       = 5.70908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6326
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.08134
  Prefactor  = 38.6563
  Prefactor  = 2.97826
  Normalizat = 0.80362
  Prefactor  = 1.13774
 **********
 **   18 **HESSE 
 **********

 FCN=   8528.157     FROM HESSE     STATUS=OK           380 CALLS     2945 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27841        14.909        .34718E-02   -1.5602    
   2  norm          .10577E-03    9.6372        .68641E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.538        35.674        .90479E-04   -1.4824    
   4  Prefactor     .10000E-03    6.2318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.911        19.667        .10038E-03   -1.4910    
   6  Prefactor     24.253        33.541        .81283E-04   -1.4723    
   7  Prefactor     .10000E-03    8.7036        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1715        .87708        .52715E-04   -1.5413    
   9  norm          .10000E-03    3.3391        .32524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6159        13.099        .25257E-03   -1.5384    
  11  Prefactor     .10000E-03    15.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7091        8.7209        .16800E-03   -1.5230    
  13  Prefactor     .10000E-03    3.8475        .17596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    62.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.633        30.256        .82386E-04   -1.4735    
  17  norm          .10000E-03    15.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0813        4.1823        .14741E-03   -1.5215    
  20  Prefactor     38.656        39.818        .64444E-04   -1.4464    
  21  Prefactor     2.9783        46.366        .23496E-03   -1.5363    
  22  Normalizat    .80362        .22490        .34312E-03   -.99935    
  23  Prefactor     1.1377        .14095        .19511E-03   -.88269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07581e-09
Minuit parameter uncertainties:
  1  4.07507
  2  0.014922
  3  35.7129
  4  8.09093e-06
  5  19.675
  6  33.5672
  7  0.000136953
  8  0.877084
  9  9.23606e-06
  10  11.7112
  11  5.05939e-06
  12  8.72284
  13  6.36159e-05
  14  1.25643e-05
  15  1.04882e-05
  16  30.276
  17  2.60521e-05
  18  3.44497e-06
  19  4.18252
  20  39.8453
  21  23.5237
  22  0.225156
  23  0.140996
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.591e+01  1.967e+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.138e+00  1.410e-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.036e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674460/likelihoodResults_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.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) = 8527.87510694
delta logL = 0.281436431311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8527.86325687
delta logL = 0.293286502414

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5299       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8753       1.0000          .0000       10.000    
     3 'Normalizat'    .76834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1520       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=   8527.863     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      251 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5143        199.70        .34314E-02    .46471E-03
   2  Index         2.8746        3.5779        .11972        .29047E-03
   3  Normalizat    .76843        .67273E-01    .79120E-01    .11622E-03
   4  Prefactor     1.1519        .40938E-01    .35878E-01    .80141E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.5143
  Index      = 2.87464
  Normalizat = 0.768427
  Prefactor  = 1.15192
 **********
 **   18 **HESSE 
 **********

 FCN=   8527.863     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5143        68.486        .13725E-03   -1.5124    
   2  Index         2.8746        2.8092        .75215E-02   -.43904    
   3  Normalizat    .76843        .23188        .35028E-03   -1.0125    
   4  Prefactor     1.1519        .15382        .19406E-03   -.87824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04901e-09
Minuit parameter uncertainties:
  1  48.3709
  2  3.03066
  3  0.23218
  4  0.153884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674460': 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) = 8527.86325095
delta logL = 0.293292425447

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.514e+00  4.837e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.875e+00  3.031e+00  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.152e+00  1.539e-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.684e-01  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.87 +/- 3.03
Photon Flux (Free Index): 5.56e-08 +/- 5.42e-08
Energy Flux (Free Index): 1.19e-05 +/- 2.12e-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/674460/cmap_HighResolution_323049601_323308801_4FGL_J2311.0+0205_daily_bin323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.15e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='2.93e-01', photon_flux2='5.56e-08', job_status='DONE', time_completed='2021-09-29 07:35:50.337422', photon_index_error2='3.03', photon_index2='2.87', ts='0.84', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='2.12e-05', EG='0.80', time_epoch_completed='1632926150.34', return_code='0', job_id='674460', GAL2='1.15', EG2='0.77', return_code2='0', photon_flux_error2='5.42e-08', ts2='1.53', photon_index='2.19' WHERE bin_id='323' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:35:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 674460: <4FGL_J2311.0+0205_daily_bin323> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin323 347.766 2.0995 323049601 323308801 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 :                                   762.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            927 sec.

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

