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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin623
RA = 347.766, Dec = 2.0995
tmin = 400809601, tmax = 401068801
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='676653', job_status='RUN', time_executed='2021-09-29 07:31:59.116111', time_epoch_executed='1632925919.12' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676653

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676653/ft1_4FGL_J2311.0+0205_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676653/ft1_4FGL_J2311.0+0205_daily_bin623.fits outfile=/scratch/kocevski/676653/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin623.fits ra=347.766 dec=2.0995 rad=12.0 tmin=400809601.0 tmax=401068801.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.38
user 3.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676653/ft1_filtered_4FGL_J2311.0+0205_daily_bin623.fits" evtable="EVENTS" scfile=/scratch/kocevski/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits sctable="SC_DATA" outfile=/scratch/kocevski/676653/ltcube_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.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/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits
.....................!
real 12.08
user 11.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676653/ft1_filtered_4FGL_J2311.0+0205_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/676653/ltcube_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.fits outfile=/scratch/kocevski/676653/expmap_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.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/676653/ltcube_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.fits
.....................!
real 190.97
user 186.33
sys 4.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/676653/ft1_filtered_4FGL_J2311.0+0205_daily_bin623.fits scfile=/scratch/kocevski/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits outfile=/scratch/kocevski/676653/cmap_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676653/ft1_filtered_4FGL_J2311.0+0205_daily_bin623.fits scfile=/scratch/kocevski/676653/ft2_4FGL_J2311.0+0205_daily_bin623.fits outfile=/scratch/kocevski/676653/cmap_HighResolution_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.152       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6220       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .33032E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0227       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8372       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.374       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.873       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9304       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0572       1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6921       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.8088       1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.741       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63405       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97881       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=   6619.615     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2174 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7811        .10518E-07** at limit **
   2  norm          15.132        12.626        .14080E-06    .15543E-05
   3  Prefactor     .10001E-03    20.474       -.42809E-05** at limit **
   4  Prefactor     15.150        16.396        .12221E-06    .21312E-04
   5  Prefactor     6.6221        21.437        .12440E-06   -.10063E-04
   6  Prefactor     .10000E-03    15.119       -.68495E-06** at limit **
   7  Prefactor     .10000E-03    3.6915        .11943E-06** at limit **
   8  norm          1.0222        .93227       -.75927E-07   -.35847E-03
   9  norm          2.8361        3.8018        .14419E-06   -.76546E-04
  10  Prefactor     10.374        7.7899       -.30889E-07    .19689E-04
  11  Prefactor     .10000E-03    36.189        .15781E-05** at limit **
  12  norm          .10000E-03    2.7808       -.65527E-07** at limit **
  13  Prefactor     13.872        8.8421        .70280E-06   -.31092E-03
  14  Prefactor     .10000E-03    110.32       -.19206E-05** at limit **
  15  Prefactor     6.9311        11.326        .35568E-05   -.44755E-03
  16  Prefactor     8.0570        20.956        .30973E-07    .56300E-05
  17  norm          .10000E-03    8.6817       -.17937E-06** at limit **
  18  Prefactor     .10001E-03    17.954        .39122E-05** at limit **
  19  Prefactor     7.6914        4.8439       -.56713E-06   -.79708E-04
  20  Prefactor     7.8091        37.701       -.64914E-07    .52579E-05
  21  Prefactor     27.732        22.459        .12010E-06    .15968E-04
  22  Normalizat    .63399        .20258       -.10191E-05    .19529E-05
  23  Prefactor     .97886        .11932        .27999E-07   -.12730E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 15.1316
  Prefactor  = 0.000100008
  Prefactor  = 15.15
  Prefactor  = 6.62212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02215
  norm       = 2.83614
  Prefactor  = 10.3741
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 13.8723
  Prefactor  = 0.000100002
  Prefactor  = 6.93111
  Prefactor  = 8.057
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 7.69141
  Prefactor  = 7.80908
  Prefactor  = 27.7321
  Normalizat = 0.63399
  Prefactor  = 0.978862
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.615     FROM HESSE     STATUS=OK           376 CALLS     2550 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7868        .15451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.132        12.637        .10297E-03   -1.4930    
   3  Prefactor     .10001E-03    22.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.150        16.378        .10289E-03   -1.4929    
   5  Prefactor     6.6221        21.447        .15594E-03   -1.5193    
   6  Prefactor     .10000E-03    15.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.5864        .29776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0222        .89405        .69666E-03   -1.5506    
   9  norm          2.8361        3.7184        .17391E-03   -1.5371    
  10  Prefactor     10.374        7.7839        .12440E-03   -1.5064    
  11  Prefactor     .10000E-03    36.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.7848        .13242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.872        8.8947        .53769E-03   -1.4963    
  14  Prefactor     .10000E-03    110.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9311        11.882        .76198E-03   -1.5181    
  16  Prefactor     8.0570        20.913        .14125E-03   -1.5140    
  17  norm          .10000E-03    8.6951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    19.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.6914        4.8759        .12125E-03   -1.5153    
  20  Prefactor     7.8091        37.751        .14349E-03   -1.5149    
  21  Prefactor     27.732        22.438        .76063E-04   -1.4654    
  22  Normalizat    .63399        .22776        .34766E-03   -1.0656    
  23  Prefactor     .97886        .13613        .18571E-03   -.93437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21845e-09
Minuit parameter uncertainties:
  1  1.06792e-06
  2  12.6393
  3  0.000835652
  4  16.3831
  5  21.4715
  6  0.000112549
  7  5.13601e-05
  8  0.894066
  9  3.71869
  10  7.7847
  11  0.000395564
  12  4.86542e-06
  13  8.89551
  14  0.000849355
  15  11.8862
  16  20.9317
  17  2.22696e-05
  18  0.000721952
  19  4.87612
  20  34.3745
  21  22.4447
  22  0.228098
  23  0.136178
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.622e+00  2.147e+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:  9.789e-01  1.362e-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.340e-01  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676653/likelihoodResults_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.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) = 6616.11200494
delta logL = 3.50347144459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6615.63279729
delta logL = 3.98267908728

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.4624       1.0000          .0000       10.000    
     3 'Normalizat'    .43117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0682       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=   6615.633     FROM MIGRAD    STATUS=CONVERGED    353 CALLS      742 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19599E-02    .26943E-03** at limit **
   2  Index         8.4765        1.8646        .90756E-01    .82099E-04
   3  Normalizat    .43150        .65234E-01    .93955E-01    .12652E-03
   4  Prefactor     1.0681        .41673E-01    .38942E-01   -.66048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.47646
  Normalizat = 0.431502
  Prefactor  = 1.06813
 **********
 **   18 **HESSE 
 **********

 FCN=   6615.633     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      783 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .15591E-01    .10281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.4765        2.3812        .39104E-02    .76883    
   3  Normalizat    .43150        .14223        .41631E-03   -1.1570    
   4  Prefactor     1.0681        .92421E-01    .17846E-03   -.90492    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.55162e-11
Minuit parameter uncertainties:
  1  8.79485e-07
  2  2.60287
  3  0.142344
  4  0.092435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676653': 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) = 6615.63272192
delta logL = 3.98275445969

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  8.795e-07  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  8.476e+00  2.603e+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.068e+00  9.243e-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:  4.315e-01  1.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.12
Ra Dec: 347.766 2.099
Photon Index (Free Index): 8.48 +/- 2.60
Photon Flux (Free Index): 1.73e-07 +/- 1.03e-06
Energy Flux (Free Index): 1.99e-05 +/- 1.18e-04

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/676653/cmap_HighResolution_400809601_401068801_4FGL_J2311.0+0205_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-03', comment='SUCCESS', energy_flux2='1.99e-05', dlogl='3.98e+00', photon_flux2='1.73e-07', job_status='DONE', time_completed='2021-09-29 07:43:30.137181', photon_index_error2='2.60', photon_index2='8.48', ts='0.12', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.18e-04', EG='0.63', time_epoch_completed='1632926610.14', return_code='0', job_id='676653', GAL2='1.07', EG2='0.43', return_code2='102', photon_flux_error2='1.03e-06', ts2='9.12', photon_index='2.19' WHERE bin_id='623' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:43:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 676653: <4FGL_J2311.0+0205_daily_bin623> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin623 347.766 2.0995 400809601 401068801 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 :                                   662.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

