/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 114 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 = 7420
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin697
RA = 347.766, Dec = 2.0995
tmin = 419990401, tmax = 420249601
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='676762', job_status='RUN', time_executed='2021-09-29 07:32:34.177964', time_epoch_executed='1632925954.18' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676762

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676762/ft1_4FGL_J2311.0+0205_daily_bin697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676762/ft2_4FGL_J2311.0+0205_daily_bin697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676762/ft1_4FGL_J2311.0+0205_daily_bin697.fits outfile=/scratch/kocevski/676762/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin697.fits ra=347.766 dec=2.0995 rad=12.0 tmin=419990401.0 tmax=420249601.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.42
user 3.17
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676762/ft1_filtered_4FGL_J2311.0+0205_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/676762/ft2_4FGL_J2311.0+0205_daily_bin697.fits sctable="SC_DATA" expcube=/scratch/kocevski/676762/ltcube_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.fits outfile=/scratch/kocevski/676762/expmap_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.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/676762/ltcube_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.fits
.....................!
real 190.90
user 185.06
sys 5.31

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676762/ft1_filtered_4FGL_J2311.0+0205_daily_bin697.fits scfile=/scratch/kocevski/676762/ft2_4FGL_J2311.0+0205_daily_bin697.fits outfile=/scratch/kocevski/676762/cmap_HighResolution_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.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.65
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.254       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.3179       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .82001E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3371       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6258       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    106.76       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.759       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .24842E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1994       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89886       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=   8412.765     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2577 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1398        .38970E-07** at limit **
   2  norm          .10000E-03    5.0830       -.42984E-06** at limit **
   3  Prefactor     25.253        32.020       -.50122E-05    .76127E-04
   4  Prefactor     .10000E-03    2.5248        .65787E-07** at limit **
   5  Prefactor     9.3179        16.074        .57079E-05    .40651E-03
   6  Prefactor     .10000E-03    20.084       -.93824E-05** at limit **
   7  Prefactor     .10000E-03    1.9804        .21623E-08** at limit **
   8  norm          .81700E-01    .49782        .87719E-06   -.86678E-03
   9  norm          .10000E-03    2.0975        .19508E-08** at limit **
  10  Prefactor     5.3371        7.9826       -.10344E-05   -.16781E-03
  11  Prefactor     1.4386        355.37       -.52720E-03    .12391E-03
  12  norm          .10000E-03    1.9870       -.25507E-07** at limit **
  13  Prefactor     .10000E-03    3.5965       -.23551E-06** at limit **
  14  Prefactor     106.68        174.74       -.78262E-04    .73953E-05
  15  Prefactor     24.763        13.240        .80176E-05    .10637E-02
  16  Prefactor     .10000E-03    25.832        .13637E-04** at limit **
  17  norm          .10000E-03    17.160        .30123E-05** at limit **
  18  Prefactor     .10000E-03    38.296       -.13097E-04** at limit **
  19  Prefactor     .10000E-03    3.9593       -.35325E-06** at limit **
  20  Prefactor     .10000E-03    188.09        .96529E-04** at limit **
  21  Prefactor     .10000E-03    8.2044       -.33811E-06** at limit **
  22  Normalizat    1.1995        .17918        .59214E-05    .61830E-03
  23  Prefactor     .89880        .11258        .23728E-05    .10197E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.2527
  Prefactor  = 0.0001
  Prefactor  = 9.31792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0816996
  norm       = 0.0001
  Prefactor  = 5.33715
  Prefactor  = 1.43855
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 106.678
  Prefactor  = 24.7628
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.1995
  Prefactor  = 0.898802
 **********
 **   18 **HESSE 
 **********

 FCN=   8412.765     FROM HESSE     STATUS=OK           362 CALLS     2939 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1420        .13103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.1005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.253        32.040        .79714E-04   -1.4702    
   4  Prefactor     .10000E-03    2.5273        .14233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.3179        16.078        .13129E-03   -1.5097    
   6  Prefactor     .10000E-03    20.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.9848        .12605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .81700E-01    1.0494        .11899E-02   -1.5651    
   9  norm          .10000E-03    2.1210        .12968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.3371        7.9721        .17396E-03   -1.5246    
  11  Prefactor     1.4386        371.56        .33178E-02   -1.5468    
  12  norm          .10000E-03    1.9913        .12623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.6539        .16982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     106.68        174.14        .19461E-03   -1.3639    
  15  Prefactor     24.763        13.236        .80505E-04   -1.4712    
  16  Prefactor     .10000E-03    26.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    38.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0278        .35430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    196.29        .36586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.2217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1995        .21050        .28181E-03   -.86618    
  23  Prefactor     .89880        .13260        .20747E-03   -.96183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46812e-09
Minuit parameter uncertainties:
  1  3.38771e-06
  2  3.45866e-05
  3  32.0616
  4  6.77925e-06
  5  16.085
  6  6.81052e-05
  7  7.68192e-06
  8  0.585254
  9  1.41303e-05
  10  7.97367
  11  46.5322
  12  7.50766e-06
  13  3.60735e-05
  14  174.982
  15  13.238
  16  0.000171014
  17  0.000107386
  18  9.0348e-05
  19  2.66986e-05
  20  0.000734987
  21  3.36518e-05
  22  0.210653
  23  0.13265
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  9.318e+00  1.608e+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:  8.988e-01  1.327e-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.199e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/676762/likelihoodResults_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8412.72448001
delta logL = 0.0409211881433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8412.71925176
delta logL = 0.0461494413557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.051       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8742       1.0000          .0000       10.000    
     3 'Normalizat'    1.2056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89627       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=   8412.719     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      244 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.051        17.904        .12052E-03    .19414E-03
   2  Index         1.8743        .93907        .14233E-01    .81170E-04
   3  Normalizat    1.2057        .20195        .28117E-03    .34779E-03
   4  Prefactor     .89626        .13133        .20772E-03    .31891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0507
  Index      = 1.87434
  Normalizat = 1.20569
  Prefactor  = 0.896262
 **********
 **   18 **HESSE 
 **********

 FCN=   8412.719     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.051        17.924        .48207E-05   -1.5043    
   2  Index         1.8743        .94029        .56931E-03   -.67530    
   3  Normalizat    1.2057        .20205        .56234E-04   -.86427    
   4  Prefactor     .89626        .13140        .41544E-04   -.96272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90048e-10
Minuit parameter uncertainties:
  1  17.9327
  2  0.949635
  3  0.202177
  4  0.131449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676762': 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) = 8412.71925145
delta logL = 0.0461497429314

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.105e+01  1.793e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.874e+00  9.496e-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:  8.963e-01  1.314e-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.206e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/676762/cmap_HighResolution_419990401_420249601_4FGL_J2311.0+0205_daily_bin697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.79e-03', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2021-09-29 07:46:29.411304', job_id='676762', GAL2='0.90', fit_tolerance='1e-08', EG2='1.21', EG='1.20', time_epoch_completed='1632926789.41', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.61e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='697' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:46:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 676762: <4FGL_J2311.0+0205_daily_bin697> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin697 347.766 2.0995 419990401 420249601 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 :                                   765.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            964 sec.

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

