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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin217
RA = 347.766, Dec = 2.0995
tmin = 295574401, tmax = 295833601
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='673023', job_status='RUN', time_executed='2021-09-29 07:19:42.877597', time_epoch_executed='1632925182.88' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='217'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673023

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673023/ft1_4FGL_J2311.0+0205_daily_bin217.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673023/ft2_4FGL_J2311.0+0205_daily_bin217.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673023/ft1_4FGL_J2311.0+0205_daily_bin217.fits outfile=/scratch/kocevski/673023/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin217.fits ra=347.766 dec=2.0995 rad=12.0 tmin=295574401.0 tmax=295833601.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 2.36
user 2.15
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673023/ft1_filtered_4FGL_J2311.0+0205_daily_bin217.fits evtable="EVENTS" scfile=/scratch/kocevski/673023/ft2_4FGL_J2311.0+0205_daily_bin217.fits sctable="SC_DATA" expcube=/scratch/kocevski/673023/ltcube_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.fits outfile=/scratch/kocevski/673023/expmap_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.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/673023/ltcube_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.fits
.....................!
real 190.69
user 185.13
sys 5.18

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/673023/ft1_filtered_4FGL_J2311.0+0205_daily_bin217.fits scfile=/scratch/kocevski/673023/ft2_4FGL_J2311.0+0205_daily_bin217.fits outfile=/scratch/kocevski/673023/cmap_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673023/ft1_filtered_4FGL_J2311.0+0205_daily_bin217.fits scfile=/scratch/kocevski/673023/ft2_4FGL_J2311.0+0205_daily_bin217.fits outfile=/scratch/kocevski/673023/cmap_HighResolution_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.1753       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67988       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.892       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6311       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2565       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0609       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.912       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.8039       1.0000         .10000E-03   10000.    
    17 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.286       1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.822       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6305       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70807       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0474       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=   8295.862     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2579 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7331       -.33901E-08** at limit **
   2  norm          3.1734        9.9771       -.22862E-05    .26465E-04
   3  Prefactor     .10000E-03    17.979        .97444E-06** at limit **
   4  Prefactor     .62042        7.4246        .84315E-06   -.48374E-04
   5  Prefactor     .52641        73.516        .10657E-04   -.28740E-05
   6  Prefactor     13.881        29.008        .19733E-06    .10371E-04
   7  Prefactor     2.6315        4.5587        .33120E-06    .15642E-03
   8  norm          1.2566        .71849        .69638E-07    .83700E-03
   9  norm          1.0625        2.3277       -.18423E-05   -.85868E-05
  10  Prefactor     .10000E-03    3.6074       -.27299E-07** at limit **
  11  Prefactor     27.903        40.792       -.84760E-06    .29707E-05
  12  norm          .10000E-03    3.1681       -.22560E-07** at limit **
  13  Prefactor     .10000E-03    3.7201       -.23414E-06** at limit **
  14  Prefactor     .10000E-03    74.560       -.17751E-05** at limit **
  15  Prefactor     .10000E-03    7.9012        .83668E-08** at limit **
  16  Prefactor     6.8026        20.468       -.30868E-06   -.27577E-04
  17  norm          .10000E-03    22.096       -.17556E-05** at limit **
  18  Prefactor     14.265        39.099       -.17915E-05   -.15955E-04
  19  Prefactor     24.820        5.5540       -.84053E-07    .50209E-03
  20  Prefactor     .10000E-03    29.320       -.32965E-06** at limit **
  21  Prefactor     1.6224        49.592       -.92510E-06    .26629E-05
  22  Normalizat    .70824        .18305        .71672E-06    .16891E-04
  23  Prefactor     1.0474        .11335        .11094E-06    .11237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.17339
  Prefactor  = 0.0001
  Prefactor  = 0.620415
  Prefactor  = 0.526411
  Prefactor  = 13.8808
  Prefactor  = 2.63152
  norm       = 1.25657
  norm       = 1.06248
  Prefactor  = 0.000100001
  Prefactor  = 27.903
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.80262
  norm       = 0.0001
  Prefactor  = 14.2652
  Prefactor  = 24.8204
  Prefactor  = 0.0001
  Prefactor  = 1.62237
  Normalizat = 0.708242
  Prefactor  = 1.0474
 **********
 **   18 **HESSE 
 **********

 FCN=   8295.862     FROM HESSE     STATUS=OK           380 CALLS     2959 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7403        .14706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.1734        10.021        .11371E-02   -1.5352    
   3  Prefactor     .10000E-03    18.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .62042        60.160        .44772E-02   -1.5550    
   5  Prefactor     .52641        73.157        .49149E-02   -1.5563    
   6  Prefactor     13.881        28.968        .10747E-03   -1.4963    
   7  Prefactor     2.6315        4.5268        .23643E-03   -1.5384    
   8  norm          1.2566        .70856        .56130E-04   -1.5484    
   9  norm          1.0625        2.3311        .22970E-02   -1.5502    
  10  Prefactor     .10000E-03    10.005        .32998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.903        40.781        .75830E-04   -1.4651    
  12  norm          .10000E-03    3.1782        .15811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.085        .33238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    74.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.9537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.8026        20.017        .15382E-03   -1.5186    
  17  norm          .10000E-03    21.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.265        39.156        .10597E-03   -1.4952    
  19  Prefactor     24.820        5.5323        .80403E-04   -1.4711    
  20  Prefactor     .10000E-03    29.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.6224        49.951        .33118E-03   -1.5453    
  22  Normalizat    .70824        .20626        .33792E-03   -1.0357    
  23  Prefactor     1.0474        .12978        .18708E-03   -.91166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94664e-08
Minuit parameter uncertainties:
  1  8.05613e-07
  2  10.0261
  3  2.80212e-05
  4  12.2304
  5  12.4257
  6  28.9974
  7  4.52736
  8  0.708568
  9  2.3313
  10  0.000226005
  11  40.8219
  12  2.34199e-07
  13  5.27461e-05
  14  0.000134927
  15  0.00010321
  16  20.0367
  17  9.39315e-05
  18  39.2265
  19  5.53237
  20  4.04475e-05
  21  18.0203
  22  0.20649
  23  0.129815
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.264e-01  1.243e+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.047e+00  1.298e-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.082e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/673023/likelihoodResults_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.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) = 8295.79369098
delta logL = 0.0682539512072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8295.7738027
delta logL = 0.0881422294387

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4760       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1045       1.0000          .0000       10.000    
     3 'Normalizat'    .69349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0510       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=   8295.774     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      265 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4941        46.624        .26173E-03   -.29320E-03
   2  Index         3.1016        6.5494        .11196E-01   -.31999E-04
   3  Normalizat    .69302        .19817        .34146E-03   -.13870E-03
   4  Prefactor     1.0512        .13076        .18680E-03   -.15817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49409
  Index      = 3.1016
  Normalizat = 0.693017
  Prefactor  = 1.05121
 **********
 **   18 **HESSE 
 **********

 FCN=   8295.774     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4941        6.9809        .10469E-04   -1.5463    
   2  Index         3.1016        1.9848        .44783E-03   -.38945    
   3  Normalizat    .69302        .19739        .13658E-04   -1.0417    
   4  Prefactor     1.0512        .12952        .37359E-04   -.91041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35009e-10
Minuit parameter uncertainties:
  1  6.46015
  2  2.0514
  3  0.197597
  4  0.129558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673023': 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) = 8295.77379545
delta logL = 0.0881494849291

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.494e+00  6.460e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.102e+00  2.051e+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.051e+00  1.296e-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:  6.930e-01  1.976e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/673023/cmap_HighResolution_295574401_295833601_4FGL_J2311.0+0205_daily_bin217.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2021-09-29 07:32:18.255146', job_id='673023', GAL2='1.05', fit_tolerance='1e-08', EG2='0.69', EG='0.71', time_epoch_completed='1632925938.26', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='8.81e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='217' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:32:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 673023: <4FGL_J2311.0+0205_daily_bin217> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin217> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:15:46 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:15:48 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:15:48 2021
Terminated at Wed Sep 29 07:32:19 2021
Results reported at Wed Sep 29 07:32:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin217 347.766 2.0995 295574401 295833601 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 :                                   754.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            993 sec.

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

