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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin690
RA = 347.766, Dec = 2.0995
tmin = 418176001, tmax = 418435201
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='676753', job_status='RUN', time_executed='2021-09-29 07:34:06.022821', time_epoch_executed='1632926046.02' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676753/ft1_4FGL_J2311.0+0205_daily_bin690.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676753/ft2_4FGL_J2311.0+0205_daily_bin690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676753/ft1_4FGL_J2311.0+0205_daily_bin690.fits outfile=/scratch/kocevski/676753/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin690.fits ra=347.766 dec=2.0995 rad=12.0 tmin=418176001.0 tmax=418435201.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.90
user 4.65
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676753/ft1_filtered_4FGL_J2311.0+0205_daily_bin690.fits evtable="EVENTS" scfile=/scratch/kocevski/676753/ft2_4FGL_J2311.0+0205_daily_bin690.fits sctable="SC_DATA" expcube=/scratch/kocevski/676753/ltcube_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.fits outfile=/scratch/kocevski/676753/expmap_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.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/676753/ltcube_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.fits
.....................!
real 190.02
user 185.20
sys 4.38

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/676753/ft1_filtered_4FGL_J2311.0+0205_daily_bin690.fits scfile=/scratch/kocevski/676753/ft2_4FGL_J2311.0+0205_daily_bin690.fits outfile=/scratch/kocevski/676753/cmap_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.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/676753/ft1_filtered_4FGL_J2311.0+0205_daily_bin690.fits scfile=/scratch/kocevski/676753/ft2_4FGL_J2311.0+0205_daily_bin690.fits outfile=/scratch/kocevski/676753/cmap_HighResolution_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.600       1.0000         .10000E-03   10000.    
     2 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.819       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.503       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .17911E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.2179       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.101       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10474E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0710       1.0000         .10000E-03   10000.    
    14 'Prefactor '    209.00       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10881E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.730       1.0000         .10000E-03   10000.    
    17 'norm      '    11.700       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .79211       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    44.480       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77492       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77394       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=   3493.592     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     3009 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.603        13.949        .15187E-06   -.74091E-05
   2  norm          .10000E-03    4.5624        .54549E-06** at limit **
   3  Prefactor     69.817        54.096       -.10498E-05   -.59630E-04
   4  Prefactor     .10000E-03    9.1333        .13031E-05** at limit **
   5  Prefactor     34.502        25.762       -.29544E-06   -.30441E-04
   6  Prefactor     .10000E-03    83.433        .33907E-05** at limit **
   7  Prefactor     .10000E-03    7.8255        .16136E-05** at limit **
   8  norm          .10002E-03    1.6373       -.16650E-05** at limit **
   9  norm          7.2165        7.6064       -.45005E-06    .12102E-03
  10  Prefactor     13.103        11.496       -.23911E-08   -.98434E-04
  11  Prefactor     .10000E-03    19.583       -.71307E-08** at limit **
  12  norm          .10001E-03    15.061        .36760E-05** at limit **
  13  Prefactor     2.0671        7.7231        .31066E-06    .57702E-04
  14  Prefactor     209.66        345.87        .10279E-05    .33982E-04
  15  Prefactor     .10000E-03    25.147       -.15987E-05** at limit **
  16  Prefactor     14.718        31.776       -.51834E-06   -.33175E-04
  17  norm          11.784        45.128        .18648E-05    .60929E-04
  18  Prefactor     .10000E-03    32.703       -.21807E-07** at limit **
  19  Prefactor     .74800        33.934       -.34036E-05    .17721E-03
  20  Prefactor     .10000E-03    25.217        .18633E-05** at limit **
  21  Prefactor     44.484        32.629       -.38103E-06   -.56603E-04
  22  Normalizat    .77527        .31142        .92914E-05    .10667E-03
  23  Prefactor     .77381        .18250       -.62027E-05   -.11175E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6029
  norm       = 0.0001
  Prefactor  = 69.817
  Prefactor  = 0.000100001
  Prefactor  = 34.5023
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  norm       = 0.000100022
  norm       = 7.21653
  Prefactor  = 13.1031
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 2.06707
  Prefactor  = 209.663
  Prefactor  = 0.000100001
  Prefactor  = 14.7179
  norm       = 11.7839
  Prefactor  = 0.0001
  Prefactor  = 0.748001
  Prefactor  = 0.000100002
  Prefactor  = 44.4838
  Normalizat = 0.775268
  Prefactor  = 0.77381
 **********
 **   18 **HESSE 
 **********

 FCN=   3493.592     FROM HESSE     STATUS=OK           366 CALLS     3375 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.603        13.951        .98304E-04   -1.4893    
   2  norm          .10000E-03    4.5789        .12350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     69.817        54.269        .48040E-04   -1.4035    
   4  Prefactor     .10000E-03    9.2486        .17524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.502        25.778        .68222E-04   -1.4533    
   6  Prefactor     .10000E-03    84.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9893        .16264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    3.7020        .10344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.2165        7.5754        .14930E-03   -1.5171    
  10  Prefactor     13.103        11.471        .55332E-03   -1.4984    
  11  Prefactor     .10000E-03    19.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    15.946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0671        7.6866        .28705E-03   -1.5420    
  14  Prefactor     209.66        352.99        .13981E-03   -1.2802    
  15  Prefactor     .10000E-03    25.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.718        31.707        .10436E-03   -1.4940    
  17  norm          11.784        47.689        .11712E-03   -1.5021    
  18  Prefactor     .10000E-03    32.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .74800        40.861        .23905E-02   -1.5535    
  20  Prefactor     .10000E-03    25.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     44.484        32.661        .60114E-04   -1.4373    
  22  Normalizat    .77527        .33646        .30593E-03   -1.0099    
  23  Prefactor     .77381        .19677        .19426E-03   -1.0070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31633e-09
Minuit parameter uncertainties:
  1  13.9541
  2  5.27432e-05
  3  54.3071
  4  0.000174877
  5  25.7858
  6  0.00129062
  7  0.000206662
  8  0.000568003
  9  7.57639
  10  11.4727
  11  3.72182e-05
  12  0.000648382
  13  7.69031
  14  356.662
  15  0.000359933
  16  31.7435
  17  47.4771
  18  3.93584e-05
  19  11.0642
  20  0.00046051
  21  32.674
  22  0.337362
  23  0.196952
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.450e+01  2.579e+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:  7.738e-01  1.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.753e-01  3.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 6.48e-08 +/- 4.84e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 2.23e-05

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) = 3493.59156245
delta logL = 0.000181351688298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3493.5914996
delta logL = 0.000244207015839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.219       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2001       1.0000          .0000       10.000    
     3 'Normalizat'    .77423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77408       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=   3493.591     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      255 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.190        29.778        .68504E-04    .46202E-04
   2  Index         2.1990        .59041        .55737E-02    .19007E-03
   3  Normalizat    .77434        .30202        .30608E-03   -.21598E-04
   4  Prefactor     .77415        .19132        .19423E-03    .58795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.1896
  Index      = 2.19902
  Normalizat = 0.774337
  Prefactor  = 0.774146
 **********
 **   18 **HESSE 
 **********

 FCN=   3493.591     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.190        29.214        .13701E-04   -1.4538    
   2  Index         2.1990        .57900        .11147E-02   -.59462    
   3  Normalizat    .77434        .30220        .12243E-04   -1.0103    
   4  Prefactor     .77415        .19147        .77692E-05   -1.0069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8501e-11
Minuit parameter uncertainties:
  1  29.2259
  2  0.580908
  3  0.302861
  4  0.191631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676753': 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) = 3493.59149488
delta logL = 0.000248926066433

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.419e+01  2.923e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.199e+00  5.809e-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:  7.741e-01  1.916e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.743e-01  3.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.97
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.20 +/- 0.58
Photon Flux (Free Index): 6.56e-08 +/- 5.97e-08
Energy Flux (Free Index): 2.95e-05 +/- 2.72e-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/676753/cmap_HighResolution_418176001_418435201_4FGL_J2311.0+0205_daily_bin690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.48e-08', energy_flux2='2.95e-05', photon_flux_error='4.84e-08', dlogl='2.49e-04', energy_flux='2.99e-05', photon_flux2='6.56e-08', job_status='DONE', time_completed='2021-09-29 07:42:24.925618', photon_index_error2='0.58', photon_index2='2.20', ts='4.99', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='0.78', time_epoch_completed='1632926544.93', return_code='0', job_id='676753', GAL2='0.77', EG2='0.77', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='5.97e-08', ts2='4.97', photon_index='2.19' WHERE bin_id='690' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:42:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 676753: <4FGL_J2311.0+0205_daily_bin690> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin690 347.766 2.0995 418176001 418435201 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 :                                   492.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             220.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            720 sec.

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

