/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 84 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin80
RA = 347.766, Dec = 2.0995
tmin = 260064001, tmax = 260323201
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='672823', job_status='RUN', time_executed='2021-09-29 07:17:06.030921', time_epoch_executed='1632925026.03' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='80'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672823/ft1_4FGL_J2311.0+0205_daily_bin80.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672823/ft2_4FGL_J2311.0+0205_daily_bin80.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672823/ft1_4FGL_J2311.0+0205_daily_bin80.fits outfile=/scratch/kocevski/672823/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin80.fits ra=347.766 dec=2.0995 rad=12.0 tmin=260064001.0 tmax=260323201.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 1.46
user 1.29
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672823/ft2_4FGL_J2311.0+0205_daily_bin80.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/672823/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin80.fits evtable="EVENTS" outfile="/scratch/kocevski/672823/ft1_filtered_4FGL_J2311.0+0205_daily_bin80.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.50
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672823/ft1_filtered_4FGL_J2311.0+0205_daily_bin80.fits evtable="EVENTS" scfile=/scratch/kocevski/672823/ft2_4FGL_J2311.0+0205_daily_bin80.fits sctable="SC_DATA" expcube=/scratch/kocevski/672823/ltcube_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.fits outfile=/scratch/kocevski/672823/expmap_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.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/672823/ltcube_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.fits
.....................!
real 189.60
user 184.89
sys 4.39

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/672823/ft1_filtered_4FGL_J2311.0+0205_daily_bin80.fits scfile=/scratch/kocevski/672823/ft2_4FGL_J2311.0+0205_daily_bin80.fits outfile=/scratch/kocevski/672823/cmap_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.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.57
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672823/ft1_filtered_4FGL_J2311.0+0205_daily_bin80.fits scfile=/scratch/kocevski/672823/ft2_4FGL_J2311.0+0205_daily_bin80.fits outfile=/scratch/kocevski/672823/cmap_HighResolution_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6450       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1418       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3673       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6455       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18549E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14708E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.566       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4753       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11539E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6359       1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.710       1.0000         .10000E-03   10000.    
    17 'norm      '    42.707       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26096E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2263       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3717       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88278       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0198       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=   8697.122     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2534 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1883        .12384E-08** at limit **
   2  norm          .10000E-03    3.7300       -.35426E-07** at limit **
   3  Prefactor     3.6393        64.308       -.18660E-04   -.16391E-04
   4  Prefactor     .10000E-03    4.3818       -.50255E-07** at limit **
   5  Prefactor     .10000E-03    11.293       -.27645E-06** at limit **
   6  Prefactor     .10000E-03    23.820       -.28089E-05** at limit **
   7  Prefactor     5.1405        5.1196        .78652E-06    .10588E-03
   8  norm          1.3673        .80269        .93362E-08   -.30543E-03
   9  norm          4.6413        4.5383       -.88699E-06   -.36879E-03
  10  Prefactor     .10034E-03    3.6468       -.60135E-06** at limit **
  11  Prefactor     .10000E-03    26.816        .12829E-04** at limit **
  12  norm          11.560        9.3509        .10685E-05    .17022E-03
  13  Prefactor     5.4647        7.5990       -.64736E-06   -.14886E-03
  14  Prefactor     .10000E-03    54.756        .49916E-05** at limit **
  15  Prefactor     8.6420        8.2848       -.47466E-05    .13915E-04
  16  Prefactor     30.738        22.672       -.58225E-05    .13571E-03
  17  norm          42.754        26.214       -.96413E-05    .34848E-04
  18  Prefactor     .10000E-03    53.076       -.29868E-05** at limit **
  19  Prefactor     5.2193        5.1795        .40306E-05   -.19295E-03
  20  Prefactor     2.2119        138.29       -.40087E-04   -.63481E-05
  21  Prefactor     .10000E-03    20.920       -.30255E-05** at limit **
  22  Normalizat    .88296        .18572        .32470E-05    .19758E-03
  23  Prefactor     1.0197        .11435        .86731E-06    .39039E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.63934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.14045
  norm       = 1.36725
  norm       = 4.64134
  Prefactor  = 0.000100343
  Prefactor  = 0.0001
  norm       = 11.5605
  Prefactor  = 5.4647
  Prefactor  = 0.0001
  Prefactor  = 8.64202
  Prefactor  = 30.7376
  norm       = 42.754
  Prefactor  = 0.0001
  Prefactor  = 5.21933
  Prefactor  = 2.21186
  Prefactor  = 0.0001
  Normalizat = 0.882963
  Prefactor  = 1.01968
 **********
 **   18 **HESSE 
 **********

 FCN=   8697.122     FROM HESSE     STATUS=OK           374 CALLS     2908 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1900        .13473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.7444        .17588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6393        64.691        .21159E-03   -1.5326    
   4  Prefactor     .10000E-03    4.4537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1405        5.1217        .17730E-03   -1.5254    
   8  norm          1.3673        .79135        .60792E-04   -1.5474    
   9  norm          4.6413        4.5337        .18631E-03   -1.5277    
  10  Prefactor     .10034E-03    35.347        .33404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.560        9.1313        .11780E-03   -1.5028    
  13  Prefactor     5.4647        7.5483        .17172E-03   -1.5240    
  14  Prefactor     .10000E-03    54.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6420        8.2585        .13640E-03   -1.5120    
  16  Prefactor     30.738        22.510        .72302E-04   -1.4599    
  17  norm          42.754        26.082        .61344E-04   -1.4399    
  18  Prefactor     .10000E-03    53.424        .21448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2193        5.1493        .17583E-03   -1.5251    
  20  Prefactor     2.2119        139.55        .26605E-03   -1.5411    
  21  Prefactor     .10000E-03    21.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88296        .21649        .32229E-03   -.97061    
  23  Prefactor     1.0197        .13401        .19686E-03   -.92076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40116e-09
Minuit parameter uncertainties:
  1  1.53779e-06
  2  1.19635e-05
  3  30.726
  4  6.37719e-06
  5  5.66877e-07
  6  4.7465e-05
  7  5.1221
  8  0.79136
  9  4.53403
  10  0.00696812
  11  7.76802e-05
  12  9.13238
  13  7.54962
  14  4.96128e-05
  15  8.25962
  16  22.5158
  17  26.0888
  18  0.000130414
  19  5.14972
  20  35.2237
  21  0.00013357
  22  0.2167
  23  0.134055
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.669e-07  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.020e+00  1.341e-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.830e-01  2.167e-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: 5.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672823/likelihoodResults_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.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) = 8697.12254771
delta logL = -0.000419544541728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8697.12212819
delta logL = -2.64535628958e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1998       1.0000          .0000       10.000    
     3 'Normalizat'    .88291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0197       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=   8697.122     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      246 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    103.15        .18142E-02** at limit **
   2  Index         2.2347        8.0173        .50000       -.82126E-05
   3  Normalizat    .88296        .13393E-01    .32228E-03    .14745E-04
   4  Prefactor     1.0197        .87890E-02    .19686E-03    .21945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100508
  Index      = 2.2347
  Normalizat = 0.882963
  Prefactor  = 1.01968
 **********
 **   18 **HESSE 
 **********

 FCN=   8697.122     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    516.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2347        5.5783        .50000       -.58603    
   3  Normalizat    .88296        .31470E-01    .12891E-04   -.97061    
   4  Prefactor     1.0197        .20651E-01    .78743E-05   -.92076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.09406e-09
Minuit parameter uncertainties:
  1  0.0326808
  2  679.445
  3  0.0314708
  4  0.0206513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672823': 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) = 8697.12212808
delta logL = 8.52287485031e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.005e-04  3.268e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.235e+00  6.794e+02  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.020e+00  2.065e-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:  8.830e-01  3.147e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/672823/cmap_HighResolution_260064001_260323201_4FGL_J2311.0+0205_daily_bin80.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', job_status='DONE', photon_flux_upper_limit='5.98e-08', time_completed='2021-09-29 07:29:51.065887', job_id='672823', GAL2='1.02', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632925791.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='80' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:29:51 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin80 347.766 2.0995 260064001 260323201 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 :                                   763.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            859 sec.

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

