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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin524
RA = 347.766, Dec = 2.0995
tmin = 375148801, tmax = 375408001
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='675822', job_status='RUN', time_executed='2021-09-29 07:25:51.804934', time_epoch_executed='1632925551.8' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675822

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675822/ft1_4FGL_J2311.0+0205_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675822/ft1_4FGL_J2311.0+0205_daily_bin524.fits outfile=/scratch/kocevski/675822/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin524.fits ra=347.766 dec=2.0995 rad=12.0 tmin=375148801.0 tmax=375408001.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.60
user 4.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.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/675822/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin524.fits evtable="EVENTS" outfile="/scratch/kocevski/675822/ft1_filtered_4FGL_J2311.0+0205_daily_bin524.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.57
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675822/ft1_filtered_4FGL_J2311.0+0205_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/675822/ltcube_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.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/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits
.....................!
real 12.24
user 11.91
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675822/ft1_filtered_4FGL_J2311.0+0205_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/675822/ltcube_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.fits outfile=/scratch/kocevski/675822/expmap_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.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/675822/ltcube_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.fits
.....................!
real 190.15
user 185.88
sys 3.88

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/675822/ft1_filtered_4FGL_J2311.0+0205_daily_bin524.fits scfile=/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits outfile=/scratch/kocevski/675822/cmap_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675822/ft1_filtered_4FGL_J2311.0+0205_daily_bin524.fits scfile=/scratch/kocevski/675822/ft2_4FGL_J2311.0+0205_daily_bin524.fits outfile=/scratch/kocevski/675822/cmap_HighResolution_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    43.798       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.993       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.869       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .94321       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3241       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    129.82       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1334       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35927E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.515       1.0000         .10000E-03   10000.    
    17 'norm      '    6.4512       1.0000         .10000E-03   10000.    
    18 'Prefactor '    54.268       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3760       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5254       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .59403       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.

 FCN=   5803.031     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2523 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4407         .0000    ** at limit **
   2  norm          43.796        19.992         .0000        .43630E-04
   3  Prefactor     32.993        43.054         .0000       -.36876E-04
   4  Prefactor     .10000E-03    13.282         .0000    ** at limit **
   5  Prefactor     14.869        17.006         .0000       -.79528E-04
   6  Prefactor     .10000E-03    29.952         .0000    ** at limit **
   7  Prefactor     .10000E-03    6.4339         .0000    ** at limit **
   8  norm          .94327        .86918         .0000        .14706E-03
   9  norm          1.3244        6.7699         .0000        .24764E-01
  10  Prefactor     .10000E-03    14.153         .0000    ** at limit **
  11  Prefactor     129.82        82.356         .0000       -.38847E-03
  12  norm          4.1383        7.2923         .0000        .45168E-02
  13  Prefactor     .10001E-03    6.9410         .0000    ** at limit **
  14  Prefactor     .10000E-03    75.654         .0000    ** at limit **
  15  Prefactor     .10000E-03    12.856         .0000    ** at limit **
  16  Prefactor     33.519        31.052         .0000       -.16650E-02
  17  norm          6.4540        12.679         .0000        .17046E-03
  18  Prefactor     54.268        59.114         .0000        .20680E-03
  19  Prefactor     4.3761        4.0831         .0000        .14248E-03
  20  Prefactor     .10000E-03    14.647         .0000    ** at limit **
  21  Prefactor     .10000E-03    9.8770         .0000    ** at limit **
  22  Normalizat    1.5255        .23818         .0000        .10627E-05
  23  Prefactor     .59404        .13560         .0000        .20983E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 43.7956
  Prefactor  = 32.9931
  Prefactor  = 0.000100004
  Prefactor  = 14.8685
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.943266
  norm       = 1.32438
  Prefactor  = 0.000100001
  Prefactor  = 129.817
  norm       = 4.13834
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 33.5191
  norm       = 6.45401
  Prefactor  = 54.268
  Prefactor  = 4.3761
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.52551
  Prefactor  = 0.594038
 **********
 **   18 **HESSE 
 **********

 FCN=   5803.031     FROM HESSE     STATUS=OK           368 CALLS     2891 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4598        .17354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          43.796        20.070        .60578E-04   -1.4383    
   3  Prefactor     32.993        43.245        .69762E-04   -1.4559    
   4  Prefactor     .10000E-03    13.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.869        17.007        .10387E-03   -1.4937    
   6  Prefactor     .10000E-03    29.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .94327        .86143        .64976E-04   -1.5514    
   9  norm          1.3244        6.7303        .18761E-02   -1.5478    
  10  Prefactor     .10000E-03    14.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     129.82        82.543        .35337E-04   -1.3424    
  12  norm          4.1383        7.0174        .99133E-03   -1.5301    
  13  Prefactor     .10001E-03    21.656        .36889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    75.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.519        30.934        .69218E-04   -1.4549    
  17  norm          6.4540        12.647        .15802E-03   -1.5200    
  18  Prefactor     54.268        59.084        .27224E-03   -1.4233    
  19  Prefactor     4.3761        4.0940        .70860E-03   -1.5290    
  20  Prefactor     .10000E-03    14.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.8911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.5255        .27801        .26917E-03   -.77064    
  23  Prefactor     .59404        .15731        .24511E-03   -1.0784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04717e-08
Minuit parameter uncertainties:
  1  3.76468e-06
  2  20.073
  3  43.2857
  4  0.000462821
  5  17.0126
  6  5.56693e-06
  7  5.07613e-06
  8  0.861443
  9  5.97194
  10  0.000266317
  11  82.6168
  12  7.01876
  13  0.000787364
  14  0.00016408
  15  0.00037512
  16  30.9487
  17  12.6527
  18  59.1475
  19  4.09425
  20  0.000294192
  21  9.49533e-06
  22  0.278291
  23  0.157423
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.487e+01  1.701e+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:  5.940e-01  1.574e-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.526e+00  2.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.79e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/675822/likelihoodResults_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.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) = 5802.82871232
delta logL = 0.20231905428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5802.81453606
delta logL = 0.216495321007

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.292       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8188       1.0000          .0000       10.000    
     3 'Normalizat'    1.4915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60526       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=   5802.815     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      281 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.291        17.393        .12490E-03   -.11105E-03
   2  Index         2.8189        1.1051        .78707E-02   -.24518E-04
   3  Normalizat    1.4915        .26764        .27154E-03   -.23757E-03
   4  Prefactor     .60526        .15703        .24294E-03   -.23903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2915
  Index      = 2.81886
  Normalizat = 1.4915
  Prefactor  = 0.605262
 **********
 **   18 **HESSE 
 **********

 FCN=   5802.815     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.291        14.945        .49958E-05   -1.5066    
   2  Index         2.8189        .95016        .31483E-03   -.45140    
   3  Normalizat    1.4915        .26653        .54308E-04   -.78017    
   4  Prefactor     .60526        .15669        .97176E-05   -1.0737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35013e-11
Minuit parameter uncertainties:
  1  14.9502
  2  0.957364
  3  0.266777
  4  0.156798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675822': 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) = 5802.81453606
delta logL = 0.216495323171

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.029e+01  1.495e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.819e+00  9.574e-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:  6.053e-01  1.568e-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.492e+00  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.82 +/- 0.96
Photon Flux (Free Index): 6.03e-08 +/- 7.17e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.26e-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/675822/cmap_HighResolution_375148801_375408001_4FGL_J2311.0+0205_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', comment='SUCCESS', photon_flux='2.79e-08', energy_flux2='1.33e-05', photon_flux_error='3.19e-08', dlogl='2.16e-01', energy_flux='1.29e-05', photon_flux2='6.03e-08', job_status='DONE', time_completed='2021-09-29 07:36:19.250598', photon_index_error2='0.96', photon_index2='2.82', ts='1.63', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.26e-05', EG='1.53', time_epoch_completed='1632926179.25', return_code='0', job_id='675822', GAL2='0.61', EG2='1.49', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='7.17e-08', ts2='2.12', photon_index='2.19' WHERE bin_id='524' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:36:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 675822: <4FGL_J2311.0+0205_daily_bin524> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin524 347.766 2.0995 375148801 375408001 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 :                                   618.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            650 sec.

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

