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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin273
RA = 347.766, Dec = 2.0995
tmin = 310089601, tmax = 310348801
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='674389', job_status='RUN', time_executed='2021-09-29 07:22:22.127922', time_epoch_executed='1632925342.13' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674389

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674389/ft1_4FGL_J2311.0+0205_daily_bin273.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674389/ft1_4FGL_J2311.0+0205_daily_bin273.fits outfile=/scratch/kocevski/674389/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin273.fits ra=347.766 dec=2.0995 rad=12.0 tmin=310089601.0 tmax=310348801.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.36
user 3.16
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits" evtable="EVENTS" scfile=/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits sctable="SC_DATA" outfile=/scratch/kocevski/674389/ltcube_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.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/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits
.....................!
real 11.89
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits sctable="SC_DATA" expcube=/scratch/kocevski/674389/ltcube_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.fits outfile=/scratch/kocevski/674389/expmap_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.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/674389/ltcube_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.fits
.....................!
real 191.73
user 186.39
sys 5.01

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/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits scfile=/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits outfile=/scratch/kocevski/674389/cmap_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits scfile=/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits outfile=/scratch/kocevski/674389/cmap_HighResolution_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.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/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/674389/ft2_4FGL_J2311.0+0205_daily_bin273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/674389/Model_4FGL_J2311.0+0205_daily_bin273.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/674389/ft1_filtered_4FGL_J2311.0+0205_daily_bin273.fits.....................!
real 81.22
user 79.86
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.818       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.758       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .52754       1.0000         .10000E-03   10000.    
     9 'norm      '    1.5093       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.904       1.0000         .10000E-03   10000.    
    12 'norm      '    8.9206       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.096       1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6210       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.361       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.9444       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76138       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=   7898.410     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2199 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3108       -.23922E-06** at limit **
   2  norm          .10000E-03    7.7817        .28036E-05** at limit **
   3  Prefactor     .10000E-03    52.590       -.30096E-04** at limit **
   4  Prefactor     10.811        17.849       -.27400E-05    .31210E-04
   5  Prefactor     15.774        14.113        .14576E-04    .73926E-04
   6  Prefactor     .10000E-03    12.746        .84157E-06** at limit **
   7  Prefactor     .10000E-03    2.4574        .16961E-06** at limit **
   8  norm          .52784        .76240       -.11564E-07   -.88816E-03
   9  norm          1.5103        3.1604        .27442E-06   -.58890E-03
  10  Prefactor     .10000E-03    8.2257       -.31504E-05** at limit **
  11  Prefactor     24.966        25.994       -.32940E-04    .29156E-05
  12  norm          8.9229        8.0557        .95784E-06    .28992E-04
  13  Prefactor     .10000E-03    4.8522        .13183E-05** at limit **
  14  Prefactor     .10000E-03    54.577        .34346E-04** at limit **
  15  Prefactor     .10000E-03    3.8569        .39320E-06** at limit **
  16  Prefactor     41.111        25.636       -.81703E-05    .73752E-04
  17  norm          .10000E-03    5.0854       -.10814E-05** at limit **
  18  Prefactor     6.4760        65.528       -.14313E-03    .10540E-04
  19  Prefactor     .10000E-03    2.0807        .78712E-06** at limit **
  20  Prefactor     12.356        35.581       -.13207E-04    .71729E-05
  21  Prefactor     8.9464        17.262       -.63964E-06    .46808E-05
  22  Normalizat    1.1929        .18511        .60128E-05   -.17282E-03
  23  Prefactor     .76155        .11018       -.19428E-06    .41572E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.8115
  Prefactor  = 15.7736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.527837
  norm       = 1.51032
  Prefactor  = 0.0001
  Prefactor  = 24.9662
  norm       = 8.9229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.1111
  norm       = 0.0001
  Prefactor  = 6.476
  Prefactor  = 0.000100002
  Prefactor  = 12.3556
  Prefactor  = 8.94639
  Normalizat = 1.19292
  Prefactor  = 0.761549
 **********
 **   18 **HESSE 
 **********

 FCN=   7898.410     FROM HESSE     STATUS=OK           370 CALLS     2569 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3117        .13194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.8663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    52.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.811        17.823        .12181E-03   -1.5050    
   5  Prefactor     15.774        14.139        .10090E-03   -1.4913    
   6  Prefactor     .10000E-03    12.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4633        .13600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .52784        .67280        .87558E-03   -1.5563    
   9  norm          1.5103        3.1127        .22030E-03   -1.5462    
  10  Prefactor     .10000E-03    8.2976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.966        25.986        .80270E-04   -1.4708    
  12  norm          8.9229        8.0318        .13420E-03   -1.5110    
  13  Prefactor     .10000E-03    4.8849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8692        .17034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.111        25.594        .62530E-04   -1.4425    
  17  norm          .10000E-03    5.0874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4760        65.867        .15595E-03   -1.5199    
  19  Prefactor     .10000E-03    4.0978        .24562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.356        35.643        .11394E-03   -1.5005    
  21  Prefactor     8.9464        17.243        .13402E-03   -1.5110    
  22  Normalizat    1.1929        .21233        .27955E-03   -.86822    
  23  Prefactor     .76155        .12766        .21367E-03   -1.0116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71969e-09
Minuit parameter uncertainties:
  1  2.25389e-06
  2  0.000102605
  3  0.000446617
  4  17.8315
  5  14.1425
  6  3.1781e-05
  7  2.00588e-05
  8  0.672812
  9  3.11308
  10  5.92576e-05
  11  25.9975
  12  8.0328
  13  4.90739e-06
  14  3.50526e-05
  15  2.62792e-05
  16  25.6007
  17  1.14172e-05
  18  41.365
  19  0.000170398
  20  35.7045
  21  17.2525
  22  0.212486
  23  0.12771
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.577e+01  1.414e+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:  7.615e-01  1.277e-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.193e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.72
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/674389/likelihoodResults_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.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) = 7898.39775299
delta logL = 0.0127373289624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7898.3964584
delta logL = 0.014031919618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.170       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3196       1.0000          .0000       10.000    
     3 'Normalizat'    1.1861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76352       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=   7898.396     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      245 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.170        369.76        .25708E-02    .67768E-03
   2  Index         2.3196        5.9830        .17409        .91081E-04
   3  Normalizat    1.1862        .11376        .63353E-01    .11121E-04
   4  Prefactor     .76346        .45849E-01    .43241E-01    .13969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.1703
  Index      = 2.31957
  Normalizat = 1.18624
  Prefactor  = 0.763459
 **********
 **   18 **HESSE 
 **********

 FCN=   7898.396     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.170        14.495        .10283E-03   -1.4929    
   2  Index         2.3196        .80974        .10076E-01   -.56579    
   3  Normalizat    1.1862        .20820        .28023E-03   -.87029    
   4  Prefactor     .76346        .12806        .21343E-03   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02603e-09
Minuit parameter uncertainties:
  1  14.4984
  2  0.814796
  3  0.208347
  4  0.12811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674389': 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) = 7898.39645829
delta logL = 0.0140320324072

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.517e+01  1.450e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.320e+00  8.148e-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:  7.635e-01  1.281e-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.186e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.77
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.32 +/- 0.81
Photon Flux (Free Index): 3.56e-08 +/- 4.62e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.17e-05

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/674389/cmap_HighResolution_310089601_310348801_4FGL_J2311.0+0205_daily_bin273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='1.31e-05', photon_flux_error='2.65e-08', dlogl='1.40e-02', energy_flux='1.37e-05', photon_flux2='3.56e-08', job_status='DONE', time_completed='2021-09-29 07:34:09.066114', photon_index_error2='0.81', photon_index2='2.32', ts='3.72', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='9.61e-08', energy_flux_error2='1.17e-05', EG='1.19', time_epoch_completed='1632926049.07', return_code='0', job_id='674389', GAL2='0.76', EG2='1.19', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.62e-08', ts2='3.77', photon_index='2.19' WHERE bin_id='273' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:34:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 674389: <4FGL_J2311.0+0205_daily_bin273> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin273 347.766 2.0995 310089601 310348801 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 :                                   706.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

