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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin991
RA = 347.766, Dec = 2.0995
tmin = 496195201, tmax = 496454401
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='677205', job_status='RUN', time_executed='2021-09-29 07:31:24.015656', time_epoch_executed='1632925884.02' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='991'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677205/ft1_4FGL_J2311.0+0205_daily_bin991.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677205/ft1_4FGL_J2311.0+0205_daily_bin991.fits outfile=/scratch/kocevski/677205/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin991.fits ra=347.766 dec=2.0995 rad=12.0 tmin=496195201.0 tmax=496454401.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.51
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677205/ft1_filtered_4FGL_J2311.0+0205_daily_bin991.fits" evtable="EVENTS" scfile=/scratch/kocevski/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits sctable="SC_DATA" outfile=/scratch/kocevski/677205/ltcube_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.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/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits
.....................!
real 12.17
user 11.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677205/ft1_filtered_4FGL_J2311.0+0205_daily_bin991.fits evtable="EVENTS" scfile=/scratch/kocevski/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits sctable="SC_DATA" expcube=/scratch/kocevski/677205/ltcube_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.fits outfile=/scratch/kocevski/677205/expmap_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.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/677205/ltcube_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.fits
.....................!
real 189.52
user 184.83
sys 4.37

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/677205/ft1_filtered_4FGL_J2311.0+0205_daily_bin991.fits scfile=/scratch/kocevski/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits outfile=/scratch/kocevski/677205/cmap_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677205/ft1_filtered_4FGL_J2311.0+0205_daily_bin991.fits scfile=/scratch/kocevski/677205/ft2_4FGL_J2311.0+0205_daily_bin991.fits outfile=/scratch/kocevski/677205/cmap_HighResolution_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.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.53
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1686       1.0000         .10000E-03   10000.    
     2 'norm      '    26.448       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6857       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.236       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    52.576       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.9711       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    7.8203       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8827       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11323E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.830       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11207E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69740       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1066       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=   5885.939     FROM MIGRAD    STATUS=CONVERGED    938 CALLS     2977 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1692        8.7242        .13236E-03   -.17093E-04
   2  norm          26.442        15.674        .77897E-04    .88589E-04
   3  Prefactor     1.6967        242.28        .32434E-03    .11217E-05
   4  Prefactor     28.241        17.725        .75394E-04    .12139E-03
   5  Prefactor     24.547        20.526        .80871E-04    .92725E-04
   6  Prefactor     52.605        58.366        .55313E-04    .76664E-04
   7  Prefactor     .10000E-03    5.4535        .17463E-02** at limit **
   8  norm          .10000E-03    .58236        .78188E-03** at limit **
   9  norm          8.9679        5.8724        .13382E-03    .28554E-03
  10  Prefactor     .10000E-03    7.1300        .18142E-02** at limit **
  11  Prefactor     .10003E-03    52.609        .16385    ** at limit **
  12  norm          7.8428        10.776        .14339E-03    .47445E-03
  13  Prefactor     1.8667        13.349        .30336E-03    .11108E-03
  14  Prefactor     .10000E-03    75.897        .18142E-02** at limit **
  15  Prefactor     .10000E-03    5.0016        .16725E-02** at limit **
  16  Prefactor     .10005E-03    18.612        .96475E-01** at limit **
  17  norm          .10000E-03    12.932        .18142E-02** at limit **
  18  Prefactor     .10000E-03    24.270        .18142E-02** at limit **
  19  Prefactor     .10000E-03    2.4352        .23076E-03** at limit **
  20  Prefactor     14.867        44.754        .10401E-03    .14781E-03
  21  Prefactor     .10001E-03    58.237        .18142E-02** at limit **
  22  Normalizat    .69754        .27016        .36514E-03    .57404E-03
  23  Prefactor     1.1066        .16421        .19245E-03    .13128E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16918
  norm       = 26.4416
  Prefactor  = 1.69675
  Prefactor  = 28.2413
  Prefactor  = 24.5468
  Prefactor  = 52.6048
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 8.96791
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  norm       = 7.84276
  Prefactor  = 1.86669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8674
  Prefactor  = 0.000100006
  Normalizat = 0.697538
  Prefactor  = 1.10661
 **********
 **   18 **HESSE 
 **********

 FCN=   5885.939     FROM HESSE     STATUS=OK           366 CALLS     3343 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1692        8.7242        .52944E-05   -1.5102    
   2  norm          26.442        15.672        .31159E-05   -1.4679    
   3  Prefactor     1.6967        241.97        .12973E-04   -1.5447    
   4  Prefactor     28.241        17.723        .30158E-05   -1.4645    
   5  Prefactor     24.547        20.525        .16174E-04   -1.4717    
   6  Prefactor     52.605        58.363        .11063E-04   -1.4256    
   7  Prefactor     .10000E-03    5.4537        .34926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .58414        .15638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.9679        5.8722        .53527E-05   -1.5109    
  10  Prefactor     .10000E-03    7.1308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10003E-03    53.755        .16124       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8428        10.759        .57355E-05   -1.5148    
  13  Prefactor     1.8667        13.294        .12135E-04   -1.5435    
  14  Prefactor     .10000E-03    75.897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0021        .33451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    17.991        .99141E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    12.934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.270        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4353        .46152E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.867        44.750        .20801E-04   -1.4937    
  21  Prefactor     .10001E-03    58.279        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69754        .27022        .73029E-04   -1.0399    
  23  Prefactor     1.1066        .16429        .38489E-04   -.89256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9554e-09
Minuit parameter uncertainties:
  1  8.72544
  2  15.6749
  3  40.6924
  4  17.7264
  5  20.5307
  6  58.4267
  7  0.000131231
  8  5.2807e-05
  9  5.87261
  10  7.98733e-05
  11  0.00272611
  12  10.7615
  13  9.96606
  14  8.03479e-05
  15  7.71326e-06
  16  0.00190679
  17  5.97233e-06
  18  1.0275e-06
  19  2.07647e-06
  20  44.8509
  21  0.00121196
  22  0.270733
  23  0.164368
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.455e+01  2.053e+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:  1.107e+00  1.644e-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.975e-01  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.61e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 2.12e-05 +/- 1.78e-05

TS (Fixed Index): 3.20
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677205/likelihoodResults_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.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) = 5885.89755617
delta logL = 0.0415066729456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5885.88850593
delta logL = 0.0505569204488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.924       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3998       1.0000          .0000       10.000    
     3 'Normalizat'    .68311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1111       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=   5885.889     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      257 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.923        21.521        .85544E-04    .13556E-03
   2  Index         2.3999        .70246        .76160E-02    .10269E-03
   3  Normalizat    .68310        .25271        .36871E-03   -.72768E-05
   4  Prefactor     1.1111        .16249        .19209E-03   -.46223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9228
  Index      = 2.39993
  Normalizat = 0.683096
  Prefactor  = 1.11108
 **********
 **   18 **HESSE 
 **********

 FCN=   5885.889     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.923        20.515        .34218E-05   -1.4771    
   2  Index         2.3999        .66873        .30464E-03   -.54687    
   3  Normalizat    .68310        .25244        .14748E-04   -1.0456    
   4  Prefactor     1.1111        .16245        .38418E-04   -.89113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30743e-10
Minuit parameter uncertainties:
  1  20.5214
  2  0.671491
  3  0.252869
  4  0.162527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677205': 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) = 5885.8885059
delta logL = 0.050556945901

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.192e+01  2.052e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.400e+00  6.715e-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.111e+00  1.625e-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.831e-01  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.40 +/- 0.67
Photon Flux (Free Index): 5.92e-08 +/- 6.03e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.57e-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/677205/cmap_HighResolution_496195201_496454401_4FGL_J2311.0+0205_daily_bin991.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.61e-08', energy_flux2='1.94e-05', photon_flux_error='3.85e-08', dlogl='5.06e-02', energy_flux='2.12e-05', photon_flux2='5.92e-08', job_status='DONE', time_completed='2021-09-29 07:42:30.197344', photon_index_error2='0.67', photon_index2='2.40', ts='3.20', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.57e-05', EG='0.70', time_epoch_completed='1632926550.2', return_code='0', job_id='677205', GAL2='1.11', EG2='0.68', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='6.03e-08', ts2='3.30', photon_index='2.19' WHERE bin_id='991' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:42:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 677205: <4FGL_J2311.0+0205_daily_bin991> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin991 347.766 2.0995 496195201 496454401 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 :                                   646.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            686 sec.

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

