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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin213
RA = 347.766, Dec = 2.0995
tmin = 294537601, tmax = 294796801
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='673017', job_status='RUN', time_executed='2021-09-29 07:19:15.745360', time_epoch_executed='1632925155.75' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673017

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673017/ft1_4FGL_J2311.0+0205_daily_bin213.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673017/ft2_4FGL_J2311.0+0205_daily_bin213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673017/ft1_4FGL_J2311.0+0205_daily_bin213.fits outfile=/scratch/kocevski/673017/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin213.fits ra=347.766 dec=2.0995 rad=12.0 tmin=294537601.0 tmax=294796801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.37
user 2.17
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673017/ft1_filtered_4FGL_J2311.0+0205_daily_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/673017/ft2_4FGL_J2311.0+0205_daily_bin213.fits sctable="SC_DATA" expcube=/scratch/kocevski/673017/ltcube_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.fits outfile=/scratch/kocevski/673017/expmap_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.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/673017/ltcube_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.fits
.....................!
real 189.36
user 184.83
sys 4.16

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/673017/ft1_filtered_4FGL_J2311.0+0205_daily_bin213.fits scfile=/scratch/kocevski/673017/ft2_4FGL_J2311.0+0205_daily_bin213.fits outfile=/scratch/kocevski/673017/cmap_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673017/ft1_filtered_4FGL_J2311.0+0205_daily_bin213.fits scfile=/scratch/kocevski/673017/ft2_4FGL_J2311.0+0205_daily_bin213.fits outfile=/scratch/kocevski/673017/cmap_HighResolution_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2516       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.954       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8030       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.914       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8533       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.077       1.0000         .10000E-03   10000.    
    17 'norm      '    .26309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3009       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.5957       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2071       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91278       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=   8089.687     FROM MIGRAD    STATUS=CONVERGED    903 CALLS     2548 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2517        8.3743        .13176E-03    .17084E-04
   2  norm          .10000E-03    9.4336        .18142E-02** at limit **
   3  Prefactor     .10000E-03    28.633        .18142E-02** at limit **
   4  Prefactor     11.953        14.895        .11586E-03    .67999E-04
   5  Prefactor     .10000E-03    6.4935        .18142E-02** at limit **
   6  Prefactor     .10000E-03    55.363        .18142E-02** at limit **
   7  Prefactor     .10000E-03    2.9632        .15093E-02** at limit **
   8  norm          1.8029        .96274        .61440E-04    .12601E-03
   9  norm          .10000E-03    1.2564        .98352E-03** at limit **
  10  Prefactor     23.911        12.079        .81913E-04    .94377E-04
  11  Prefactor     7.8428        33.174        .14308E-03    .93756E-05
  12  norm          .10000E-03    6.6074        .18142E-02** at limit **
  13  Prefactor     .10000E-03    4.2009        .17882E-02** at limit **
  14  Prefactor     .10001E-03    119.93        .18142E-02** at limit **
  15  Prefactor     .10000E-03    6.0796        .18142E-02** at limit **
  16  Prefactor     15.074        17.108        .10315E-03    .34387E-04
  17  norm          .20925        16.965        .97444E-01    .23517E-03
  18  Prefactor     .10000E-03    17.274        .18142E-02** at limit **
  19  Prefactor     3.3045        4.0032        .17795E-03   -.27906E-03
  20  Prefactor     .10000E-03    16.206        .18142E-02** at limit **
  21  Prefactor     8.5935        20.197        .13672E-03    .52135E-04
  22  Normalizat    1.2071        .22821        .30449E-03   -.27707E-03
  23  Prefactor     .91275        .14122        .21800E-03   -.12902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.25175
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.80295
  norm       = 0.0001
  Prefactor  = 23.9108
  Prefactor  = 7.84281
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 15.0741
  norm       = 0.209248
  Prefactor  = 0.0001
  Prefactor  = 3.30451
  Prefactor  = 0.0001
  Prefactor  = 8.59347
  Normalizat = 1.20708
  Prefactor  = 0.912753
 **********
 **   18 **HESSE 
 **********

 FCN=   8089.687     FROM HESSE     STATUS=OK           356 CALLS     2904 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2517        8.3742        .52705E-05   -1.5100    
   2  norm          .10000E-03    9.4410        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.636        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.953        14.895        .46345E-05   -1.5016    
   5  Prefactor     .10000E-03    6.4940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    55.373        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9634        .30187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8029        .96275        .24576E-05   -1.5439    
   9  norm          .10000E-03    1.2564        .19670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.911        12.078        .32765E-05   -1.4730    
  11  Prefactor     7.8428        33.165        .57234E-05   -1.5148    
  12  norm          .10000E-03    6.6113        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.2030        .35764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    119.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.0808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.074        17.107        .41260E-05   -1.4931    
  17  norm          .20925        15.425        .10484       -1.5616    
  18  Prefactor     .10000E-03    17.275        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3045        3.9992        .71180E-05   -1.5344    
  20  Prefactor     .10000E-03    16.207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.5935        20.195        .54690E-05   -1.5122    
  22  Normalizat    1.2071        .22837        .60898E-04   -.86384    
  23  Prefactor     .91275        .14129        .87200E-05   -.95697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7877e-10
Minuit parameter uncertainties:
  1  8.37531
  2  1.79799e-05
  3  0.000107557
  4  14.8997
  5  3.57692e-06
  6  0.000239232
  7  2.33867e-06
  8  0.962754
  9  1.09115e-06
  10  12.0791
  11  32.286
  12  1.9943e-06
  13  3.47097e-06
  14  0.00193079
  15  8.8644e-05
  16  17.1121
  17  3.59329
  18  7.62156e-05
  19  3.99954
  20  4.1883e-05
  21  20.2107
  22  0.228559
  23  0.141352
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.577e-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.128e-01  1.414e-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.207e+00  2.286e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673017/likelihoodResults_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.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) = 8089.68740536
delta logL = -0.000733255305022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8089.68667211
delta logL = -3.9517544792e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1786       1.0000          .0000       10.000    
     3 'Normalizat'    1.2071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91273       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8089.687     FROM MIGRAD    STATUS=FAILED        86 CALLS      238 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10067E-03    368.96        .18142E-02** at limit **
   2  Index         2.0973        5.2114        .50000        .56272E-05
   3  Normalizat    1.2071        .40205E-01    .30449E-03    .13279E-04
   4  Prefactor     .91275        .25569E-01    .21800E-03    .88655E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8089.687     FROM SIMPLEX   STATUS=UNCHANGED    151 CALLS      389 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10067E-03    368.96        .39100E-03** at limit **
   2  Index         2.0973        5.2114        .49389E-04    .56272E-05
   3  Normalizat    1.2071        .40205E-01    .19802E-05    .13279E-04
   4  Prefactor     .91275        .25569E-01    .70096E-06    .88655E-06
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8089.687     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      430 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1424.1        .36285E-03** at limit **
   2  Index         1.9791        8.2618        .50000       -.50886E-07
   3  Normalizat    1.2071        .13939        .30449E-03    .25837E-04
   4  Prefactor     .91275        .88474E-01    .87200E-05    .36766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97912
  Normalizat = 1.20708
  Prefactor  = 0.912751
 **********
 **   18 **HESSE 
 **********

 FCN=   8089.687     FROM HESSE     STATUS=OK            29 CALLS      459 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1526        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9791        5.5791        .50000       -.64873    
   3  Normalizat    1.2071        .21983        .12180E-04   -.86384    
   4  Prefactor     .91275        .13991        .17440E-05   -.95697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09842e-11
Minuit parameter uncertainties:
  1  5.69584e-05
  2  201.629
  3  0.219997
  4  0.139964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673017': 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) = 8089.68667186
delta logL = 2.47632669925e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.696e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.979e+00  2.016e+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:  9.128e-01  1.400e-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.207e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/673017/cmap_HighResolution_294537601_294796801_4FGL_J2311.0+0205_daily_bin213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2021-09-29 07:31:49.897709', job_id='673017', GAL2='0.91', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1632925909.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='213' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 673017: <4FGL_J2311.0+0205_daily_bin213> in cluster <slac> Done

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

Your job looked like:

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

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

