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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin158
RA = 347.766, Dec = 2.0995
tmin = 280281601, tmax = 280540801
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='672939', job_status='RUN', time_executed='2021-09-29 07:17:51.877831', time_epoch_executed='1632925071.88' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672939

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672939/ft1_4FGL_J2311.0+0205_daily_bin158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672939/ft2_4FGL_J2311.0+0205_daily_bin158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672939/ft1_4FGL_J2311.0+0205_daily_bin158.fits outfile=/scratch/kocevski/672939/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin158.fits ra=347.766 dec=2.0995 rad=12.0 tmin=280281601.0 tmax=280540801.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 4.29
user 4.05
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672939/ft1_filtered_4FGL_J2311.0+0205_daily_bin158.fits" evtable="EVENTS" scfile=/scratch/kocevski/672939/ft2_4FGL_J2311.0+0205_daily_bin158.fits sctable="SC_DATA" outfile=/scratch/kocevski/672939/ltcube_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.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/672939/ft2_4FGL_J2311.0+0205_daily_bin158.fits
.....................!
real 11.69
user 11.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672939/ft1_filtered_4FGL_J2311.0+0205_daily_bin158.fits evtable="EVENTS" scfile=/scratch/kocevski/672939/ft2_4FGL_J2311.0+0205_daily_bin158.fits sctable="SC_DATA" expcube=/scratch/kocevski/672939/ltcube_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.fits outfile=/scratch/kocevski/672939/expmap_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.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/672939/ltcube_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.fits
.....................!
real 191.30
user 185.71
sys 5.21

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/672939/ft1_filtered_4FGL_J2311.0+0205_daily_bin158.fits scfile=/scratch/kocevski/672939/ft2_4FGL_J2311.0+0205_daily_bin158.fits outfile=/scratch/kocevski/672939/cmap_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .27770E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10761E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.290       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10702E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.7152       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1121       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    64.978       1.0000         .10000E-03   10000.    
    17 'norm      '    20.336       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27470       1.0000         .10000E-03   10000.    
    20 'Prefactor '    107.98       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90105       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95712       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=   5821.492     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     3063 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0425       -.41499E-08** at limit **
   2  norm          .10003E-03    114.20       -.17578E-04** at limit **
   3  Prefactor     .10000E-03    96.140        .76008E-05** at limit **
   4  Prefactor     5.7243        16.251        .53125E-06   -.45406E-04
   5  Prefactor     .10000E-03    7.1059        .77327E-07** at limit **
   6  Prefactor     44.338        63.103       -.52906E-05   -.74294E-04
   7  Prefactor     .10000E-03    18.223       -.11414E-05** at limit **
   8  norm          .10000E-03    .24342        .20474E-07** at limit **
   9  norm          .10000E-03    3.0594       -.19674E-06** at limit **
  10  Prefactor     12.703        13.698        .12793E-06   -.59015E-04
  11  Prefactor     .10000E-03    26.874       -.43582E-06** at limit **
  12  norm          8.7146        9.4962       -.45998E-06   -.46284E-04
  13  Prefactor     7.1135        9.4640       -.30034E-06   -.58531E-04
  14  Prefactor     .10000E-03    54.638       -.83290E-06** at limit **
  15  Prefactor     .10000E-03    16.022        .22576E-06** at limit **
  16  Prefactor     64.976        32.996        .49806E-07   -.22864E-04
  17  norm          20.335        25.474       -.13240E-05    .87597E-04
  18  Prefactor     .10000E-03    19.087        .70948E-06** at limit **
  19  Prefactor     .28949        6.9199        .35817E-05    .19210E-03
  20  Prefactor     108.01        55.172        .99265E-06    .17812E-04
  21  Prefactor     .10000E-03    12.565        .17614E-06** at limit **
  22  Normalizat    .90103        .24884        .18486E-05   -.33443E-03
  23  Prefactor     .95702        .14946       -.25279E-05   -.22338E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100028
  Prefactor  = 0.0001
  Prefactor  = 5.7243
  Prefactor  = 0.0001
  Prefactor  = 44.3384
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.7027
  Prefactor  = 0.0001
  norm       = 8.71458
  Prefactor  = 7.11354
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.9755
  norm       = 20.3346
  Prefactor  = 0.0001
  Prefactor  = 0.289488
  Prefactor  = 108.007
  Prefactor  = 0.0001
  Normalizat = 0.901033
  Prefactor  = 0.957018
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.492     FROM HESSE     STATUS=OK           368 CALLS     3431 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10003E-03    131.72        .49366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    97.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7243        16.208        .16786E-03   -1.5229    
   5  Prefactor     .10000E-03    7.1130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.338        62.907        .60242E-04   -1.4375    
   7  Prefactor     .10000E-03    18.713        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .24876        .36745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0873        .13020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.703        13.666        .11239E-03   -1.4995    
  11  Prefactor     .10000E-03    26.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.7146        9.4368        .13578E-03   -1.5117    
  13  Prefactor     7.1135        9.4070        .15042E-03   -1.5174    
  14  Prefactor     .10000E-03    54.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     64.976        32.951        .49786E-04   -1.4094    
  17  norm          20.335        28.999        .88817E-04   -1.4806    
  18  Prefactor     .10000E-03    19.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28949        27.347        .22420E-02   -1.5600    
  20  Prefactor     108.01        55.579        .38704E-04   -1.3626    
  21  Prefactor     .10000E-03    12.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90103        .26754        .32257E-03   -.96424    
  23  Prefactor     .95702        .16077        .20120E-03   -.94176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51995e-09
Minuit parameter uncertainties:
  1  1.15762e-05
  2  0.00382123
  3  0.000129304
  4  16.2207
  5  5.48414e-06
  6  63.001
  7  0.000246948
  8  6.99704e-07
  9  8.50971e-06
  10  13.6696
  11  5.25498e-06
  12  9.43845
  13  9.40894
  14  6.72381e-06
  15  5.92791e-05
  16  32.9606
  17  29.019
  18  2.09818e-06
  19  5.62892
  20  55.606
  21  2.09535e-05
  22  0.267932
  23  0.160852
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.484e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.570e-01  1.609e-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:  9.010e-01  2.679e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672939/likelihoodResults_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.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) = 5821.49235394
delta logL = -0.000669036848194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5821.49168494
delta logL = -3.39850885211e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1860       1.0000          .0000       10.000    
     3 'Normalizat'    .90098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95706       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=   5821.492     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    799.53        .90712E-02** at limit **
   2  Index         2.1859        8.7374        .50000        .31605E-07
   3  Normalizat    .90104        .69796E-01    .72899E-01    .20535E-04
   4  Prefactor     .95702        .44955E-01    .45728E-01    .41498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18591
  Normalizat = 0.901037
  Prefactor  = 0.957016
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.492     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1407.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1859        5.1514        .50000       -.59779    
   3  Normalizat    .90104        .13118        .32258E-03   -.96424    
   4  Prefactor     .95702        .84698E-01    .20119E-03   -.94176    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00415e-11
Minuit parameter uncertainties:
  1  5.15219e-05
  2  59.6673
  3  0.131225
  4  0.0847094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672939': 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) = 5821.4916849
delta logL = 1.89174897969e-10

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.152e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  5.967e+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.570e-01  8.471e-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:  9.010e-01  1.312e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/672939/cmap_HighResolution_280281601_280540801_4FGL_J2311.0+0205_daily_bin158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.43e-08', time_completed='2021-09-29 07:28:54.018168', job_id='672939', GAL2='0.96', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1632925734.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.89e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='158' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 672939: <4FGL_J2311.0+0205_daily_bin158> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin158 347.766 2.0995 280281601 280540801 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 :                                   660.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            794 sec.

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

