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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin928
RA = 347.766, Dec = 2.0995
tmin = 479865601, tmax = 480124801
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='677111', job_status='RUN', time_executed='2021-09-29 07:34:16.285406', time_epoch_executed='1632926056.29' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677111/ft1_4FGL_J2311.0+0205_daily_bin928.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677111/ft1_4FGL_J2311.0+0205_daily_bin928.fits outfile=/scratch/kocevski/677111/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin928.fits ra=347.766 dec=2.0995 rad=12.0 tmin=479865601.0 tmax=480124801.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.46
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677111/ft1_filtered_4FGL_J2311.0+0205_daily_bin928.fits" evtable="EVENTS" scfile=/scratch/kocevski/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits sctable="SC_DATA" outfile=/scratch/kocevski/677111/ltcube_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.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/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits
.....................!
real 11.90
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677111/ft1_filtered_4FGL_J2311.0+0205_daily_bin928.fits evtable="EVENTS" scfile=/scratch/kocevski/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits sctable="SC_DATA" expcube=/scratch/kocevski/677111/ltcube_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.fits outfile=/scratch/kocevski/677111/expmap_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.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/677111/ltcube_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.fits
.....................!
real 190.64
user 185.54
sys 4.78

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/677111/ft1_filtered_4FGL_J2311.0+0205_daily_bin928.fits scfile=/scratch/kocevski/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits outfile=/scratch/kocevski/677111/cmap_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677111/ft1_filtered_4FGL_J2311.0+0205_daily_bin928.fits scfile=/scratch/kocevski/677111/ft2_4FGL_J2311.0+0205_daily_bin928.fits outfile=/scratch/kocevski/677111/cmap_HighResolution_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.256       1.0000         .10000E-03   10000.    
     2 'norm      '    4.9634       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1983       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4271       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9671       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.407       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.1558       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70243E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2022       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9169       1.0000         .10000E-03   10000.    
    17 'norm      '    35.440       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.861       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86035       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2517       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=   8344.224     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     3027 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.256        10.013       -.18528E-07   -.27704E-05
   2  norm          4.9628        6.5249       -.81186E-07    .84619E-04
   3  Prefactor     3.1984        12.765        .63176E-05    .49812E-03
   4  Prefactor     5.4274        8.7501        .15735E-05    .43324E-03
   5  Prefactor     6.9671        7.2501       -.20227E-07    .12279E-05
   6  Prefactor     21.409        40.143       -.19904E-06    .24427E-04
   7  Prefactor     .10000E-03    4.4642        .12563E-06** at limit **
   8  norm          .10000E-03    .28134        .37896E-08** at limit **
   9  norm          .10000E-03    2.0340        .16409E-07** at limit **
  10  Prefactor     .10000E-03    20.719        .64773E-06** at limit **
  11  Prefactor     .10000E-03    13.183        .17348E-07** at limit **
  12  norm          7.1591        8.3943        .75307E-06   -.23328E-03
  13  Prefactor     .10698E-03    8.7826        .37337E-05** at limit **
  14  Prefactor     .10001E-03    125.49        .48322E-05** at limit **
  15  Prefactor     2.2079        34.171       -.33478E-05   -.10459E-03
  16  Prefactor     1.9577        106.65       -.52575E-05   -.19526E-04
  17  norm          35.434        40.029        .21314E-05    .11150E-03
  18  Prefactor     22.863        39.935       -.15208E-06    .20811E-04
  19  Prefactor     .10000E-03    3.5680        .69596E-07** at limit **
  20  Prefactor     .10000E-03    25.970        .28008E-06** at limit **
  21  Prefactor     .10000E-03    114.67        .78310E-06** at limit **
  22  Normalizat    .86029        .20436        .40118E-06   -.11803E-04
  23  Prefactor     1.2517        .13210       -.60969E-07    .95153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2558
  norm       = 4.96277
  Prefactor  = 3.19844
  Prefactor  = 5.42738
  Prefactor  = 6.96705
  Prefactor  = 21.4092
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.15907
  Prefactor  = 0.000106977
  Prefactor  = 0.00010001
  Prefactor  = 2.20794
  Prefactor  = 1.95765
  norm       = 35.4338
  Prefactor  = 22.8628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.860288
  Prefactor  = 1.25175
 **********
 **   18 **HESSE 
 **********

 FCN=   8344.224     FROM HESSE     STATUS=OK           380 CALLS     3407 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.256        10.017        .10254E-03   -1.4927    
   2  norm          4.9628        6.5200        .18052E-03   -1.5262    
   3  Prefactor     3.1984        12.914        .11328E-02   -1.5350    
   4  Prefactor     5.4274        8.7524        .86245E-03   -1.5242    
   5  Prefactor     6.9671        7.2526        .15199E-03   -1.5180    
   6  Prefactor     21.409        40.313        .86570E-04   -1.4782    
   7  Prefactor     .10000E-03    4.4826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .29410        .94428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0470        .12716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.1591        8.4303        .14995E-03   -1.5173    
  13  Prefactor     .10698E-03    7.9248        .55644E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    125.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2079        29.510        .27724E-03   -1.5411    
  16  Prefactor     1.9577        104.56        .30018E-03   -1.5428    
  17  norm          35.434        37.254        .67318E-04   -1.4517    
  18  Prefactor     22.863        39.937        .83776E-04   -1.4751    
  19  Prefactor     .10000E-03    3.6281        .33520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    118.42        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86029        .23232        .35149E-03   -.97870    
  23  Prefactor     1.2517        .15099        .19893E-03   -.84753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67499e-09
Minuit parameter uncertainties:
  1  10.0183
  2  6.52096
  3  12.8582
  4  8.75446
  5  7.25349
  6  40.3641
  7  1.56004e-05
  8  2.09252e-07
  9  1.42473e-06
  10  0.000146179
  11  2.00019e-07
  12  8.43174
  13  0.0148738
  14  0.0022281
  15  16.1531
  16  28.6669
  17  37.2789
  18  39.9834
  19  9.75741e-06
  20  1.37134e-05
  21  0.000689295
  22  0.232591
  23  0.151038
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.967e+00  7.253e+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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.252e+00  1.510e-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.603e-01  2.326e-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): 1.31e-08 +/- 1.36e-08
Energy Flux (Fixed Index): 6.03e-06 +/- 6.28e-06

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

Saving results to:
/scratch/kocevski/677111/likelihoodResults_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.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) = 8343.61250071
delta logL = 0.611426817068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8343.60950721
delta logL = 0.614420324355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5586       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3891       1.0000          .0000       10.000    
     3 'Normalizat'    .86808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2493       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=   8343.610     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5616        8.4081        .36467E-02   -.16257E-02
   2  Index         1.3887        .51836        .31214       -.50093E-04
   3  Normalizat    .86800        .19307        .79069E-01    .31553E-04
   4  Prefactor     1.2494        .12968        .33558E-01   -.51124E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.56164
  Index      = 1.38867
  Normalizat = 0.868004
  Prefactor  = 1.24937
 **********
 **   18 **HESSE 
 **********

 FCN=   8343.610     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5616        8.5522        .72934E-03   -1.5158    
   2  Index         1.3887        .63572        .12445E-01   -.80707    
   3  Normalizat    .86800        .21866        .35001E-03   -.97594    
   4  Prefactor     1.2494        .14731        .19907E-03   -.84825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.19491e-12
Minuit parameter uncertainties:
  1  8.55362
  2  0.639355
  3  0.218883
  4  0.147361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677111': 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) = 8343.60950654
delta logL = 0.614420985139

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.562e+00  8.554e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.389e+00  6.394e-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.249e+00  1.474e-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.680e-01  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.39 +/- 0.64
Photon Flux (Free Index): 5.62e-09 +/- 7.07e-09
Energy Flux (Free Index): 2.58e-05 +/- 4.47e-05

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/677111/cmap_HighResolution_479865601_480124801_4FGL_J2311.0+0205_daily_bin928.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-03', comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='2.58e-05', photon_flux_error='1.36e-08', dlogl='6.14e-01', energy_flux='6.03e-06', photon_flux2='5.62e-09', job_status='DONE', time_completed='2021-09-29 07:47:34.876139', photon_index_error2='0.64', photon_index2='1.39', ts='3.45', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='5.79e-08', energy_flux_error2='4.47e-05', EG='0.86', time_epoch_completed='1632926854.88', return_code='0', job_id='677111', GAL2='1.25', EG2='0.87', return_code2='0', energy_flux_error='6.28e-06', photon_flux_error2='7.07e-09', ts2='4.67', photon_index='2.19' WHERE bin_id='928' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:47:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 677111: <4FGL_J2311.0+0205_daily_bin928> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin928 347.766 2.0995 479865601 480124801 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 :                                   796.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

