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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin898
RA = 347.766, Dec = 2.0995
tmin = 472089601, tmax = 472348801
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='677066', job_status='RUN', time_executed='2021-09-29 07:33:57.698224', time_epoch_executed='1632926037.7' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='898'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677066

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677066/ft1_4FGL_J2311.0+0205_daily_bin898.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677066/ft2_4FGL_J2311.0+0205_daily_bin898.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677066/ft1_4FGL_J2311.0+0205_daily_bin898.fits outfile=/scratch/kocevski/677066/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin898.fits ra=347.766 dec=2.0995 rad=12.0 tmin=472089601.0 tmax=472348801.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.65
user 3.27
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677066/ft1_filtered_4FGL_J2311.0+0205_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/677066/ft2_4FGL_J2311.0+0205_daily_bin898.fits sctable="SC_DATA" expcube=/scratch/kocevski/677066/ltcube_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.fits outfile=/scratch/kocevski/677066/expmap_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.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/677066/ltcube_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.fits
.....................!
real 190.56
user 185.06
sys 5.11

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/677066/ft1_filtered_4FGL_J2311.0+0205_daily_bin898.fits scfile=/scratch/kocevski/677066/ft2_4FGL_J2311.0+0205_daily_bin898.fits outfile=/scratch/kocevski/677066/cmap_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677066/ft1_filtered_4FGL_J2311.0+0205_daily_bin898.fits scfile=/scratch/kocevski/677066/ft2_4FGL_J2311.0+0205_daily_bin898.fits outfile=/scratch/kocevski/677066/cmap_HighResolution_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0296       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9173       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7146       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6855       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19909E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9995       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0156       1.0000         .10000E-03   10000.    
     9 'norm      '    6.4358       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.913       1.0000         .10000E-03   10000.    
    12 'norm      '    23.139       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9039       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.0871       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.502       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.192       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18557E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.402       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3927       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84216       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=   6497.920     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2530 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0293        8.0403        .27560E-06    .62489E-05
   2  norm          2.9176        10.002       -.13989E-05   -.38175E-04
   3  Prefactor     1.7134        42.338       -.27131E-05   -.21805E-04
   4  Prefactor     .10000E-03    7.3939       -.46106E-07** at limit **
   5  Prefactor     8.6875        23.990       -.51655E-06    .45647E-05
   6  Prefactor     .10012E-03    197.68       -.15296E-04** at limit **
   7  Prefactor     4.9947        13.091       -.16526E-04   -.10048E-03
   8  norm          5.0157        1.6321       -.14517E-06    .20815E-03
   9  norm          6.4394        10.320        .74704E-05    .29858E-03
  10  Prefactor     6.7140        7.6430       -.24691E-06   -.46501E-05
  11  Prefactor     26.912        81.764       -.81137E-06    .31367E-05
  12  norm          23.143        10.149       -.25031E-05   -.12773E-03
  13  Prefactor     1.9010        2.0715        .91291E-06   -.33689E-02
  14  Prefactor     .10000E-03    96.514        .81043E-05** at limit **
  15  Prefactor     .10000E-03    9.5097       -.24918E-06** at limit **
  16  Prefactor     7.0883        19.007       -.36373E-06   -.35045E-05
  17  norm          .10000E-03    12.691        .12380E-06** at limit **
  18  Prefactor     14.489        76.861       -.20562E-04   -.10964E-04
  19  Prefactor     15.192        7.4356        .11920E-05    .11651E-03
  20  Prefactor     .10000E-03    183.97        .45125E-05** at limit **
  21  Prefactor     21.398        29.033        .33134E-06    .42033E-05
  22  Normalizat    1.3925        .25070        .17696E-05   -.14975E-05
  23  Prefactor     .84230        .14445       -.10698E-06    .10885E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.02931
  norm       = 2.91756
  Prefactor  = 1.71335
  Prefactor  = 0.0001
  Prefactor  = 8.68751
  Prefactor  = 0.000100116
  Prefactor  = 4.99467
  norm       = 5.01565
  norm       = 6.43941
  Prefactor  = 6.71401
  Prefactor  = 26.9118
  norm       = 23.1431
  Prefactor  = 1.90099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.08832
  norm       = 0.0001
  Prefactor  = 14.4885
  Prefactor  = 15.1918
  Prefactor  = 0.000100001
  Prefactor  = 21.3979
  Normalizat = 1.3925
  Prefactor  = 0.842297
 **********
 **   18 **HESSE 
 **********

 FCN=   6497.920     FROM HESSE     STATUS=OK           380 CALLS     2910 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0293        8.0401        .14149E-03   -1.5141    
   2  norm          2.9176        9.9996        .23786E-03   -1.5366    
   3  Prefactor     1.7134        42.600        .32095E-03   -1.5446    
   4  Prefactor     .10000E-03    7.4218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6875        24.012        .13601E-03   -1.5118    
   6  Prefactor     .10012E-03    194.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9947        13.057        .17985E-03   -1.5261    
   8  norm          5.0157        1.6315        .54916E-04   -1.5260    
   9  norm          6.4394        10.334        .15821E-03   -1.5200    
  10  Prefactor     6.7140        7.6352        .15485E-03   -1.5190    
  11  Prefactor     26.912        82.133        .77222E-04   -1.4670    
  12  norm          23.143        10.618        .83271E-04   -1.4745    
  13  Prefactor     1.9010        6.1205        .15069E-02   -1.5432    
  14  Prefactor     .10000E-03    96.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.0883        18.975        .15069E-03   -1.5175    
  17  norm          .10000E-03    12.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.489        76.863        .10518E-03   -1.4947    
  19  Prefactor     15.192        7.4941        .10276E-03   -1.4928    
  20  Prefactor     .10000E-03    186.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.398        29.192        .86579E-04   -1.4782    
  22  Normalizat    1.3925        .29964        .30481E-03   -.80846    
  23  Prefactor     .84230        .17063        .23513E-03   -.98188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26372e-08
Minuit parameter uncertainties:
  1  8.04114
  2  10.0054
  3  17.0999
  4  1.04638e-07
  5  24.0383
  6  0.00952017
  7  13.0643
  8  1.63153
  9  10.3367
  10  7.63629
  11  82.4814
  12  10.6188
  13  6.12254
  14  0.000144538
  15  5.50831e-05
  16  18.9915
  17  3.93445e-05
  18  66.8765
  19  7.49458
  20  0.000723947
  21  29.2115
  22  0.300019
  23  0.170736
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.688e+00  2.404e+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:  8.423e-01  1.707e-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.393e+00  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/677066/likelihoodResults_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.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) = 6497.81400819
delta logL = 0.106274308045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6497.80344442
delta logL = 0.116838075688

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4013       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7385       1.0000          .0000       10.000    
     3 'Normalizat'    1.3742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84775       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6497.803     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      272 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3819        23.383        .79319E-03   -.95543E-04
   2  Index         2.7419        1.6273        .94035E-02    .26311E-04
   3  Normalizat    1.3737        .27337        .30658E-03    .18764E-04
   4  Prefactor     .84817        .16781        .23438E-03   -.13048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38186
  Index      = 2.74192
  Normalizat = 1.37374
  Prefactor  = 0.848172
 **********
 **   18 **HESSE 
 **********

 FCN=   6497.803     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3819        16.820        .31727E-04   -1.5203    
   2  Index         2.7419        1.1826        .37614E-03   -.46858    
   3  Normalizat    1.3737        .27370        .12263E-04   -.81391    
   4  Prefactor     .84817        .16762        .93753E-05   -.97976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55491e-10
Minuit parameter uncertainties:
  1  16.8321
  2  1.19696
  3  0.27399
  4  0.167722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677066': 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) = 6497.80343492
delta logL = 0.116847575431

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.382e+00  1.683e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.742e+00  1.197e+00  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:  8.482e-01  1.677e-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.374e+00  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/677066/cmap_HighResolution_472089601_472348801_4FGL_J2311.0+0205_daily_bin898.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 07:45:13.635180', job_id='677066', GAL2='0.85', fit_tolerance='1e-08', EG2='1.37', EG='1.39', time_epoch_completed='1632926713.64', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.17e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='898' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 677066: <4FGL_J2311.0+0205_daily_bin898> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin898 347.766 2.0995 472089601 472348801 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            861 sec.

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

