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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin224
RA = 347.766, Dec = 2.0995
tmin = 297388801, tmax = 297648001
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='674310', job_status='RUN', time_executed='2021-09-29 07:23:02.833709', time_epoch_executed='1632925382.83' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='224'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674310

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674310/ft1_4FGL_J2311.0+0205_daily_bin224.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674310/ft1_4FGL_J2311.0+0205_daily_bin224.fits outfile=/scratch/kocevski/674310/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin224.fits ra=347.766 dec=2.0995 rad=12.0 tmin=297388801.0 tmax=297648001.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.65
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.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/674310/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin224.fits evtable="EVENTS" outfile="/scratch/kocevski/674310/ft1_filtered_4FGL_J2311.0+0205_daily_bin224.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.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674310/ft1_filtered_4FGL_J2311.0+0205_daily_bin224.fits" evtable="EVENTS" scfile=/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits sctable="SC_DATA" outfile=/scratch/kocevski/674310/ltcube_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.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/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits
.....................!
real 12.57
user 12.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674310/ft1_filtered_4FGL_J2311.0+0205_daily_bin224.fits evtable="EVENTS" scfile=/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits sctable="SC_DATA" expcube=/scratch/kocevski/674310/ltcube_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.fits outfile=/scratch/kocevski/674310/expmap_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.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/674310/ltcube_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.fits
.....................!
real 190.91
user 186.00
sys 4.45

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/674310/ft1_filtered_4FGL_J2311.0+0205_daily_bin224.fits scfile=/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits outfile=/scratch/kocevski/674310/cmap_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674310/ft1_filtered_4FGL_J2311.0+0205_daily_bin224.fits scfile=/scratch/kocevski/674310/ft2_4FGL_J2311.0+0205_daily_bin224.fits outfile=/scratch/kocevski/674310/cmap_HighResolution_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2807       1.0000         .10000E-03   10000.    
     2 'norm      '    5.1913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28987E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.103       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8454       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2356       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.6358       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .44772       1.0000         .10000E-03   10000.    
    14 'Prefactor '    161.65       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10610E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.683       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.304       1.0000         .10000E-03   10000.    
    20 'Prefactor '    147.54       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.163       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1679       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91669       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=   6181.875     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2566 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2811        8.1603       -.48883E-06    .12792E-03
   2  norm          5.1889        16.577       -.28140E-05    .12214E-03
   3  Prefactor     .10000E-03    10.157       -.55469E-07** at limit **
   4  Prefactor     .10000E-03    21.945        .10953E-04** at limit **
   5  Prefactor     .10000E-03    52.475       -.12846E-05** at limit **
   6  Prefactor     27.082        128.05       -.24239E-05   -.20468E-04
   7  Prefactor     3.8249        30.922        .58731E-06   -.25476E-04
   8  norm          .10000E-03    .34212        .70189E-07** at limit **
   9  norm          .10000E-03    4.6656       -.25072E-06** at limit **
  10  Prefactor     4.2366        10.010        .41591E-07    .70483E-04
  11  Prefactor     .10000E-03    87.069        .15114E-05** at limit **
  12  norm          5.6350        6.9579        .21763E-06    .15031E-03
  13  Prefactor     .44721        4.1930       -.99058E-06    .26358E-04
  14  Prefactor     161.46        194.62        .10054E-04    .16200E-03
  15  Prefactor     .10000E-03    30.055        .11658E-05** at limit **
  16  Prefactor     .10000E-03    13.590        .13221E-06** at limit **
  17  norm          17.676        21.816       -.75262E-06   -.17622E-03
  18  Prefactor     .10000E-03    29.064       -.26879E-06** at limit **
  19  Prefactor     15.309        6.7596       -.25647E-06   -.22864E-03
  20  Prefactor     147.53        62.888        .51503E-06    .99596E-04
  21  Prefactor     13.173        21.953       -.31047E-06   -.57192E-05
  22  Normalizat    1.1677        .23354        .79558E-06    .74368E-04
  23  Prefactor     .91680        .13879        .90005E-08   -.72273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.28106
  norm       = 5.18887
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 27.0822
  Prefactor  = 3.82489
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.23663
  Prefactor  = 0.000100001
  norm       = 5.63498
  Prefactor  = 0.447211
  Prefactor  = 161.458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.6761
  Prefactor  = 0.0001
  Prefactor  = 15.3087
  Prefactor  = 147.525
  Prefactor  = 13.1727
  Normalizat = 1.16773
  Prefactor  = 0.916801
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.875     FROM HESSE     STATUS=OK           372 CALLS     2938 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2811        8.1718        .80086E-03   -1.5207    
   2  norm          5.1889        16.781        .88217E-03   -1.5252    
   3  Prefactor     .10000E-03    10.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.152        .37400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    53.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.082        109.51        .76951E-04   -1.4667    
   7  Prefactor     3.8249        26.105        .20580E-03   -1.5317    
   8  norm          .10000E-03    .34696        .44792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.7734        .33112E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.2366        9.9404        .19579E-03   -1.5296    
  11  Prefactor     .10000E-03    87.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.6350        6.9011        .16921E-03   -1.5233    
  13  Prefactor     .44721        24.526        .29121E-02   -1.5574    
  14  Prefactor     161.46        202.34        .15859E-03   -1.3160    
  15  Prefactor     .10000E-03    30.182        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.676        21.783        .95245E-04   -1.4867    
  18  Prefactor     .10000E-03    29.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.309        6.7934        .10238E-03   -1.4925    
  20  Prefactor     147.53        63.398        .33177E-04   -1.3273    
  21  Prefactor     13.173        21.946        .11040E-03   -1.4982    
  22  Normalizat    1.1677        .27611        .30571E-03   -.87606    
  23  Prefactor     .91680        .16397        .21389E-03   -.95556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38705e-09
Minuit parameter uncertainties:
  1  8.17322
  2  16.7961
  3  7.274e-06
  4  0.000596734
  5  0.000324912
  6  109.266
  7  19.997
  8  3.99504e-06
  9  1.15479e-05
  10  9.94431
  11  0.000438496
  12  6.90209
  13  6.62581
  14  203.215
  15  0.00022997
  16  5.15711e-06
  17  21.7925
  18  6.26888e-05
  19  6.79374
  20  63.4274
  21  21.9595
  22  0.276453
  23  0.164058
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.249e-04  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.168e-01  1.641e-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.168e+00  2.765e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674310/likelihoodResults_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.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) = 6181.87465487
delta logL = -8.92778189154e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6181.8745665
delta logL = -9.02135070646e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13958E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91681       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=   6181.875     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      254 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10365E-03    12.221        .10923    ** at limit **
   2  Index         2.2694        3.0754        .50000       -.36155E-04
   3  Normalizat    1.1677        .46907E-02    .69095E-01   -.87664E-04
   4  Prefactor     .91680        .29628E-02    .45219E-01    .18372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103654
  Index      = 2.26942
  Normalizat = 1.16773
  Prefactor  = 0.916804
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.875     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      291 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10365E-03    2296.9        .65360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2694        8.8285        .50000       -.57772    
   3  Normalizat    1.1677        .22882E-01    .30571E-03   -.87606    
   4  Prefactor     .91680        .14462E-01    .21389E-03   -.95556    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.68431e-07
Minuit parameter uncertainties:
  1  0.191093
  2  16.5989
  3  0.0228818
  4  0.0144617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674310': 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) = 6181.87456495
delta logL = 6.41914084554e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.037e-04  1.911e-01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.269e+00  1.660e+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.168e-01  1.446e-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.168e+00  2.288e-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/674310/cmap_HighResolution_297388801_297648001_4FGL_J2311.0+0205_daily_bin224.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 07:33:45.650910', job_id='674310', GAL2='0.92', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632926025.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='224' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:33:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 674310: <4FGL_J2311.0+0205_daily_bin224> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin224> 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) <bullet0206>, 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:46 2021
Results reported at Wed Sep 29 07:33:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin224 347.766 2.0995 297388801 297648001 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 :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

