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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin883
RA = 347.766, Dec = 2.0995
tmin = 468201601, tmax = 468460801
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='677042', job_status='RUN', time_executed='2021-09-29 07:31:04.933981', time_epoch_executed='1632925864.93' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='883'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677042/ft1_4FGL_J2311.0+0205_daily_bin883.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677042/ft1_4FGL_J2311.0+0205_daily_bin883.fits outfile=/scratch/kocevski/677042/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin883.fits ra=347.766 dec=2.0995 rad=12.0 tmin=468201601.0 tmax=468460801.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.44
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677042/ft1_filtered_4FGL_J2311.0+0205_daily_bin883.fits" evtable="EVENTS" scfile=/scratch/kocevski/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits sctable="SC_DATA" outfile=/scratch/kocevski/677042/ltcube_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.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/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits
.....................!
real 12.28
user 11.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677042/ft1_filtered_4FGL_J2311.0+0205_daily_bin883.fits evtable="EVENTS" scfile=/scratch/kocevski/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits sctable="SC_DATA" expcube=/scratch/kocevski/677042/ltcube_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.fits outfile=/scratch/kocevski/677042/expmap_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.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/677042/ltcube_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.fits
.....................!
real 191.39
user 185.76
sys 5.25

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/677042/ft1_filtered_4FGL_J2311.0+0205_daily_bin883.fits scfile=/scratch/kocevski/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits outfile=/scratch/kocevski/677042/cmap_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.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/677042/ft1_filtered_4FGL_J2311.0+0205_daily_bin883.fits scfile=/scratch/kocevski/677042/ft2_4FGL_J2311.0+0205_daily_bin883.fits outfile=/scratch/kocevski/677042/cmap_HighResolution_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.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.55
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5409       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.509       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9467       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.9902       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.851       1.0000         .10000E-03   10000.    
    12 'norm      '    8.2130       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .42081E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.599       1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.318       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.177       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83609       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0300       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=   5812.091     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2542 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6734        .90712E-02** at limit **
   2  norm          .10000E-03    10.965        .90712E-02** at limit **
   3  Prefactor     9.5226        27.648        .32435E-02    .21827E-03
   4  Prefactor     18.510        17.271        .23274E-02   -.57127E-04
   5  Prefactor     8.9465        9.4674        .33500E-02   -.85652E-03
   6  Prefactor     .10000E-03    33.551        .90712E-02** at limit **
   7  Prefactor     .10000E-03    3.5014        .90712E-02** at limit **
   8  norm          2.9905        1.2203        .58690E-02    .92877E-03
   9  norm          .10000E-03    1.3244        .90712E-02** at limit **
  10  Prefactor     .10000E-03    5.8194        .90712E-02** at limit **
  11  Prefactor     41.854        38.962        .15491E-02   -.10986E-02
  12  norm          8.2135        7.1911        .34973E-02    .11302E-02
  13  Prefactor     .10000E-03    2.9464        .90712E-02** at limit **
  14  Prefactor     .10000E-03    86.300        .90712E-02** at limit **
  15  Prefactor     .10000E-03    7.1145        .92314E-01** at limit **
  16  Prefactor     32.600        27.724        .17545E-02    .38316E-03
  17  norm          .10000E-03    9.1936        .90712E-02** at limit **
  18  Prefactor     .10000E-03    43.226        .90712E-02** at limit **
  19  Prefactor     .10000E-03    2.7052        .90712E-02** at limit **
  20  Prefactor     19.312        40.586        .22782E-02    .25108E-03
  21  Prefactor     23.178        22.415        .20801E-02    .15637E-04
  22  Normalizat    .83620        .22563        .75044E-01    .13758E-03
  23  Prefactor     1.0299        .14012        .41259E-01    .12992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.5226
  Prefactor  = 18.5096
  Prefactor  = 8.94649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99047
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.8541
  norm       = 8.21348
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.5999
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3122
  Prefactor  = 23.1785
  Normalizat = 0.836203
  Prefactor  = 1.02993
 **********
 **   18 **HESSE 
 **********

 FCN=   5812.091     FROM HESSE     STATUS=OK           368 CALLS     2910 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6772        .14270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.5226        27.660        .12974E-03   -1.5091    
   4  Prefactor     18.510        17.267        .93095E-04   -1.4847    
   5  Prefactor     8.9465        9.4691        .13400E-03   -1.5110    
   6  Prefactor     .10000E-03    33.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5210        .13931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9905        1.2204        .50986E-04   -1.5362    
   9  norm          .10000E-03    1.3250        .85682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.8594        .17952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.854        38.966        .61965E-04   -1.4413    
  12  norm          8.2135        7.1809        .13989E-03   -1.5135    
  13  Prefactor     .10000E-03    2.9753        .12772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    86.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.599        .64012E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.600        27.709        .70180E-04   -1.4565    
  17  norm          .10000E-03    9.1999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    43.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7301        .12221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.312        40.604        .91127E-04   -1.4829    
  21  Prefactor     23.178        22.410        .83202E-04   -1.4745    
  22  Normalizat    .83620        .25950        .33213E-03   -.98740    
  23  Prefactor     1.0299        .16156        .19680E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0126e-09
Minuit parameter uncertainties:
  1  1.42472e-05
  2  1.02956e-05
  3  27.6974
  4  17.2717
  5  9.47068
  6  1.7398e-05
  7  9.16078e-06
  8  1.22036
  9  1.03057e-06
  10  3.87353e-05
  11  38.9895
  12  7.18167
  13  9.61452e-07
  14  0.000159927
  15  0.000138379
  16  27.7202
  17  1.37004e-05
  18  1.07438e-05
  19  2.38785e-05
  20  40.6619
  21  22.4179
  22  0.259883
  23  0.161637
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.946e+00  9.471e+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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.030e+00  1.616e-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.362e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 7.74e-06 +/- 8.20e-06

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

Saving results to:
/scratch/kocevski/677042/likelihoodResults_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.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) = 5811.66228151
delta logL = 0.428749230648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5811.64795159
delta logL = 0.443079146722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.777       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4928       1.0000          .0000       10.000    
     3 'Normalizat'    .84664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0261       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=   5811.648     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      243 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.779        11.620        .12205E-03   -.13283E-03
   2  Index         1.4934        .64380        .10807E-01   -.11064E-03
   3  Normalizat    .84664        .24404        .33018E-03   -.30948E-03
   4  Prefactor     1.0261        .16012        .19708E-03   -.39609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7789
  Index      = 1.49343
  Normalizat = 0.846641
  Prefactor  = 1.02611
 **********
 **   18 **HESSE 
 **********

 FCN=   5811.648     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.779        11.703        .48818E-05   -1.5051    
   2  Index         1.4934        .64850        .21614E-02   -.77724    
   3  Normalizat    .84664        .24422        .13207E-04   -.98361    
   4  Prefactor     1.0261        .16023        .39416E-04   -.91864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15488e-10
Minuit parameter uncertainties:
  1  11.7056
  2  0.652128
  3  0.244534
  4  0.160307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677042': 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) = 5811.64795108
delta logL = 0.443079657927

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.078e+01  1.171e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.493e+00  6.521e-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:  1.026e+00  1.603e-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.466e-01  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.80
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.49 +/- 0.65
Photon Flux (Free Index): 8.48e-09 +/- 1.09e-08
Energy Flux (Free Index): 2.74e-05 +/- 4.88e-05

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/677042/cmap_HighResolution_468201601_468460801_4FGL_J2311.0+0205_daily_bin883.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='2.74e-05', photon_flux_error='1.78e-08', dlogl='4.43e-01', energy_flux='7.74e-06', photon_flux2='8.48e-09', job_status='DONE', time_completed='2021-09-29 07:41:43.794352', photon_index_error2='0.65', photon_index2='1.49', ts='2.91', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.43e-08', energy_flux_error2='4.88e-05', EG='0.84', time_epoch_completed='1632926503.79', return_code='0', job_id='677042', GAL2='1.03', EG2='0.85', return_code2='0', energy_flux_error='8.20e-06', photon_flux_error2='1.09e-08', ts2='3.80', photon_index='2.19' WHERE bin_id='883' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:41:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 677042: <4FGL_J2311.0+0205_daily_bin883> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin883 347.766 2.0995 468201601 468460801 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 :                                   625.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            653 sec.

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

