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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin575
RA = 347.766, Dec = 2.0995
tmin = 388368001, tmax = 388627201
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='675898', job_status='RUN', time_executed='2021-09-29 07:28:40.856488', time_epoch_executed='1632925720.86' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675898/ft1_4FGL_J2311.0+0205_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675898/ft2_4FGL_J2311.0+0205_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675898/ft1_4FGL_J2311.0+0205_daily_bin575.fits outfile=/scratch/kocevski/675898/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin575.fits ra=347.766 dec=2.0995 rad=12.0 tmin=388368001.0 tmax=388627201.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 4.42
user 4.18
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675898/ft1_filtered_4FGL_J2311.0+0205_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/675898/ft2_4FGL_J2311.0+0205_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/675898/ltcube_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.fits outfile=/scratch/kocevski/675898/expmap_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.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/675898/ltcube_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.fits
.....................!
real 189.78
user 185.05
sys 4.43

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/675898/ft1_filtered_4FGL_J2311.0+0205_daily_bin575.fits scfile=/scratch/kocevski/675898/ft2_4FGL_J2311.0+0205_daily_bin575.fits outfile=/scratch/kocevski/675898/cmap_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.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.55
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675898/ft1_filtered_4FGL_J2311.0+0205_daily_bin575.fits scfile=/scratch/kocevski/675898/ft2_4FGL_J2311.0+0205_daily_bin575.fits outfile=/scratch/kocevski/675898/cmap_HighResolution_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0431       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0308       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.445       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1724       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11647E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3387       1.0000         .10000E-03   10000.    
     8 'norm      '    11.897       1.0000         .10000E-03   10000.    
     9 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.639       1.0000         .10000E-03   10000.    
    12 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.347       1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7902       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0151       1.0000         .10000E-03   10000.    
    20 'Prefactor '    91.559       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80747       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93209       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=   7983.127     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2175 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0424        7.0802       -.13075E-08   -.81066E-04
   2  norm          1.0263        16.134       -.45666E-06   -.68104E-04
   3  Prefactor     15.443        29.369       -.22871E-05    .17346E-05
   4  Prefactor     1.1696        2.7339        .69975E-06   -.99076E-03
   5  Prefactor     .10000E-03    13.754       -.14413E-05** at limit **
   6  Prefactor     .10000E-03    73.425        .30911E-04** at limit **
   7  Prefactor     4.3432        6.8315       -.37823E-06   -.64550E-03
   8  norm          11.897        1.7024        .10004E-07   -.53836E-04
   9  norm          .10000E-03    2.6162       -.51416E-07** at limit **
  10  Prefactor     15.422        11.419       -.80449E-07    .77246E-05
  11  Prefactor     12.638        28.311       -.10054E-05    .18421E-05
  12  norm          .10000E-03    5.5186       -.12385E-06** at limit **
  13  Prefactor     .10000E-03    3.2837       -.10147E-07** at limit **
  14  Prefactor     .10000E-03    79.816       -.36581E-04** at limit **
  15  Prefactor     .10000E-03    4.6160       -.62560E-07** at limit **
  16  Prefactor     15.343        19.960       -.10516E-06    .16720E-05
  17  norm          .10000E-03    9.3855       -.69391E-06** at limit **
  18  Prefactor     4.7929        94.416        .75034E-05   -.52193E-05
  19  Prefactor     3.0183        4.2012       -.52610E-07   -.65138E-05
  20  Prefactor     91.552        41.177       -.39285E-05   -.10792E-04
  21  Prefactor     .10000E-03    11.387        .16103E-05** at limit **
  22  Normalizat    .80720        .19360        .88579E-06   -.61933E-04
  23  Prefactor     .93226        .11734        .72221E-07   -.29602E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.04245
  norm       = 1.0263
  Prefactor  = 15.4433
  Prefactor  = 1.16963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.34317
  norm       = 11.8973
  norm       = 0.0001
  Prefactor  = 15.4224
  Prefactor  = 12.6378
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3428
  norm       = 0.0001
  Prefactor  = 4.7929
  Prefactor  = 3.01826
  Prefactor  = 91.5524
  Prefactor  = 0.0001
  Normalizat = 0.807197
  Prefactor  = 0.932264
 **********
 **   18 **HESSE 
 **********

 FCN=   7983.127     FROM HESSE     STATUS=OK           372 CALLS     2547 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0424        7.0874        .81665E-03   -1.5216    
   2  norm          1.0263        16.618        .49994E-03   -1.5505    
   3  Prefactor     15.443        29.399        .10191E-03   -1.4922    
   4  Prefactor     1.1696        16.307        .21177E-02   -1.5492    
   5  Prefactor     .10000E-03    13.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    73.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3432        6.9153        .96692E-03   -1.5291    
   8  norm          11.897        1.7040        .41521E-04   -1.5018    
   9  norm          .10000E-03    2.6271        .14097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.422        11.401        .10199E-03   -1.4922    
  11  Prefactor     12.638        28.306        .11267E-03   -1.4997    
  12  norm          .10000E-03    5.5881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3146        .15803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    79.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.6291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.343        19.943        .10224E-03   -1.4924    
  17  norm          .10000E-03    9.3959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7929        94.284        .18382E-03   -1.5270    
  19  Prefactor     3.0183        4.1884        .20343E-03   -1.5360    
  20  Prefactor     91.552        41.249        .41997E-04   -1.3791    
  21  Prefactor     .10000E-03    11.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80720        .22514        .33651E-03   -.99802    
  23  Prefactor     .93226        .13743        .20128E-03   -.95023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64761e-09
Minuit parameter uncertainties:
  1  7.0884
  2  8.26178
  3  29.4261
  4  8.73699
  5  3.05482e-06
  6  7.83348e-05
  7  6.91654
  8  1.70397
  9  4.66585e-06
  10  11.4031
  11  28.3365
  12  2.50508e-07
  13  9.76399e-07
  14  0.000161706
  15  5.03398e-06
  16  19.9517
  17  5.42151e-06
  18  42.5926
  19  4.18882
  20  41.2616
  21  2.26794e-05
  22  0.225405
  23  0.137484
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.055e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.323e-01  1.375e-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.072e-01  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/675898/likelihoodResults_388368001_388627201_4FGL_J2311.0+0205_daily_bin575.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7983.12741663
delta logL = -0.000343703931321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7983.12707302
delta logL = -9.87074599834e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1871       1.0000          .0000       10.000    
     3 'Normalizat'    .80712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93232       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=   7983.127     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6450.8        .90712E-02** at limit **
   2  Index         2.1881        7.0677        .50000       -.69954E-06
   3  Normalizat    .80720        .14710        .76024E-01    .31286E-04
   4  Prefactor     .93226        .93335E-01    .45416E-01    .65520E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18808
  Normalizat = 0.807198
  Prefactor  = 0.932264
 **********
 **   18 **HESSE 
 **********

 FCN=   7983.127     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .52E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6373.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1881        5.7607        .50000       -.59727    
   3  Normalizat    .80720        .12647        .33651E-03   -.99802    
   4  Prefactor     .93226        .81400E-01    .20128E-03   -.95023    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.22986e-13
Minuit parameter uncertainties:
  1  0.000298129
  2  61.3942
  3  0.126513
  4  0.0814105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675898': 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): 102
logL (Free Index) = 7983.12707292
delta logL = 2.93766788673e-10

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.981e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.188e+00  6.139e+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:  9.323e-01  8.141e-02  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.072e-01  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.30e-08', time_completed='2021-09-29 07:40:21.025481', job_id='675898', GAL2='0.93', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632926421.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.94e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='575' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:40:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 675898: <4FGL_J2311.0+0205_daily_bin575> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin575> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:36 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:38 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:25:38 2021
Terminated at Wed Sep 29 07:40:21 2021
Results reported at Wed Sep 29 07:40:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin575 347.766 2.0995 388368001 388627201 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 :                                   697.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            885 sec.

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

