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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin914
RA = 347.766, Dec = 2.0995
tmin = 476236801, tmax = 476496001
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='677090', job_status='RUN', time_executed='2021-09-29 07:33:07.106596', time_epoch_executed='1632925987.11' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='914'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677090

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677090/ft1_4FGL_J2311.0+0205_daily_bin914.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677090/ft1_4FGL_J2311.0+0205_daily_bin914.fits outfile=/scratch/kocevski/677090/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin914.fits ra=347.766 dec=2.0995 rad=12.0 tmin=476236801.0 tmax=476496001.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.26
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.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/677090/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin914.fits evtable="EVENTS" outfile="/scratch/kocevski/677090/ft1_filtered_4FGL_J2311.0+0205_daily_bin914.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677090/ft1_filtered_4FGL_J2311.0+0205_daily_bin914.fits" evtable="EVENTS" scfile=/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits sctable="SC_DATA" outfile=/scratch/kocevski/677090/ltcube_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.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/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits
.....................!
real 12.12
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677090/ft1_filtered_4FGL_J2311.0+0205_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits sctable="SC_DATA" expcube=/scratch/kocevski/677090/ltcube_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.fits outfile=/scratch/kocevski/677090/expmap_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.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/677090/ltcube_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.fits
.....................!
real 190.07
user 184.58
sys 4.96

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/677090/ft1_filtered_4FGL_J2311.0+0205_daily_bin914.fits scfile=/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits outfile=/scratch/kocevski/677090/cmap_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677090/ft1_filtered_4FGL_J2311.0+0205_daily_bin914.fits scfile=/scratch/kocevski/677090/ft2_4FGL_J2311.0+0205_daily_bin914.fits outfile=/scratch/kocevski/677090/cmap_HighResolution_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.397       1.0000         .10000E-03   10000.    
     2 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.622       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18894E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .40129       1.0000         .10000E-03   10000.    
     9 'norm      '    .94565       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0748       1.0000         .10000E-03   10000.    
    12 'norm      '    .10589E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21095E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10430E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8917       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    24.044       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6097       1.0000         .10000E-03   10000.    
    21 'Prefactor '    68.947       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69537       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1956       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=   6406.409     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     3400 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.397        11.809       -.79259E-07   -.34506E-05
   2  norm          .10000E-03    6.9976       -.76637E-07** at limit **
   3  Prefactor     .10000E-03    77.652        .23510E-05** at limit **
   4  Prefactor     3.2925        12.031       -.72122E-06   -.20196E-04
   5  Prefactor     20.627        18.749       -.78812E-07   -.22962E-04
   6  Prefactor     .10000E-03    39.076       -.85314E-06** at limit **
   7  Prefactor     .10001E-03    24.305       -.74234E-05** at limit **
   8  norm          .40151        .56248       -.45061E-06   -.52665E-03
   9  norm          .94407        3.5191       -.59909E-06   -.14344E-03
  10  Prefactor     .10000E-03    5.5483       -.10888E-07** at limit **
  11  Prefactor     6.0817        97.919        .19812E-05   -.54727E-06
  12  norm          .10020E-03    28.816        .80003E-05** at limit **
  13  Prefactor     .10004E-03    12.360       -.44245E-05** at limit **
  14  Prefactor     .10002E-03    521.85        .14415E-04** at limit **
  15  Prefactor     1.9247        31.350       -.53791E-06   -.88396E-04
  16  Prefactor     .10000E-03    11.304       -.20448E-07** at limit **
  17  norm          24.000        29.446        .44003E-06   -.24790E-03
  18  Prefactor     .10000E-03    18.593        .14532E-07** at limit **
  19  Prefactor     .10000E-03    4.6804        .54733E-06** at limit **
  20  Prefactor     7.6251        65.705        .16436E-05   -.39080E-05
  21  Prefactor     68.942        34.986       -.21278E-06   -.16223E-04
  22  Normalizat    .69521        .23606        .56989E-06   -.34751E-04
  23  Prefactor     1.1956        .14702        .31890E-06   -.25209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.397
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.29254
  Prefactor  = 20.6271
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 0.401513
  norm       = 0.944073
  Prefactor  = 0.0001
  Prefactor  = 6.08172
  norm       = 0.000100199
  Prefactor  = 0.000100036
  Prefactor  = 0.000100016
  Prefactor  = 1.92472
  Prefactor  = 0.0001
  norm       = 24.0003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.62506
  Prefactor  = 68.9419
  Normalizat = 0.695214
  Prefactor  = 1.19561
 **********
 **   18 **HESSE 
 **********

 FCN=   6406.409     FROM HESSE     STATUS=OK           386 CALLS     3786 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.397        11.813        .10556E-03   -1.4949    
   2  norm          .10000E-03    7.0511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    78.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2925        12.011        .22311E-03   -1.5345    
   5  Prefactor     20.627        18.747        .88201E-04   -1.4799    
   6  Prefactor     .10000E-03    39.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    36.100        .36692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .40151        .56310        .84087E-03   -1.5581    
   9  norm          .94407        3.4151        .27865E-03   -1.5514    
  10  Prefactor     .10000E-03    5.5687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0817        97.554        .16290E-03   -1.5215    
  12  norm          .10020E-03    6.8203        .56754E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10004E-03    57.558        .37122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    527.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9247        32.523        .30251E-03   -1.5430    
  16  Prefactor     .10000E-03    11.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          24.000        29.622        .81691E-04   -1.4728    
  18  Prefactor     .10000E-03    18.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.7073        .16753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.6251        65.429        .14537E-03   -1.5156    
  21  Prefactor     68.942        34.914        .48341E-04   -1.4045    
  22  Normalizat    .69521        .26190        .37654E-03   -1.0408    
  23  Prefactor     1.1956        .16444        .19231E-03   -.86466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34916e-09
Minuit parameter uncertainties:
  1  11.8147
  2  1.92009e-05
  3  0.000252208
  4  12.0195
  5  18.7523
  6  0.000136034
  7  0.00129066
  8  0.563112
  9  3.41579
  10  1.45013e-05
  11  48.8094
  12  0.00232825
  13  0.00286168
  14  0.00593453
  15  15.8334
  16  2.38242e-05
  17  29.6403
  18  2.31785e-06
  19  5.56874e-05
  20  44.7377
  21  34.9243
  22  0.26237
  23  0.16451
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.063e+01  1.875e+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.196e+00  1.645e-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.952e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.45
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.87e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/677090/likelihoodResults_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.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) = 6406.34843178
delta logL = 0.0609418707945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6406.34103243
delta logL = 0.0683412167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.086       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9652       1.0000          .0000       10.000    
     3 'Normalizat'    .70403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1927       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=   6406.341     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      213 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.086        907.43        .20842E-02    .19754E-03
   2  Index         1.9650        5.2359        .17795        .29338E-04
   3  Normalizat    .70404        .19632        .84512E-01    .30625E-04
   4  Prefactor     1.1927        .93586E-01    .34806E-01   -.16347E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0856
  Index      = 1.96498
  Normalizat = 0.704036
  Prefactor  = 1.19267
 **********
 **   18 **HESSE 
 **********

 FCN=   6406.341     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.086        21.564        .83367E-04   -1.4747    
   2  Index         1.9650        .58788        .94926E-02   -.65229    
   3  Normalizat    .70404        .24604        .37430E-03   -1.0373    
   4  Prefactor     1.1927        .16160        .19250E-03   -.86557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33991e-10
Minuit parameter uncertainties:
  1  21.5713
  2  0.590051
  3  0.246429
  4  0.161665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677090': 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) = 6406.34103237
delta logL = 0.0683412837789

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.309e+01  2.157e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.965e+00  5.901e-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.193e+00  1.617e-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:  7.040e-01  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.96 +/- 0.59
Photon Flux (Free Index): 3.08e-08 +/- 3.56e-08
Energy Flux (Free Index): 2.32e-05 +/- 2.86e-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/677090/cmap_HighResolution_476236801_476496001_4FGL_J2311.0+0205_daily_bin914.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', comment='SUCCESS', photon_flux='3.87e-08', energy_flux2='2.32e-05', photon_flux_error='3.52e-08', dlogl='6.83e-02', energy_flux='1.79e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2021-09-29 07:45:41.972123', photon_index_error2='0.59', photon_index2='1.96', ts='3.45', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.86e-05', EG='0.70', time_epoch_completed='1632926741.97', return_code='0', job_id='677090', GAL2='1.19', EG2='0.70', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='3.56e-08', ts2='3.58', photon_index='2.19' WHERE bin_id='914' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 677090: <4FGL_J2311.0+0205_daily_bin914> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin914 347.766 2.0995 476236801 476496001 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 :                                   710.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

