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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin945
RA = 347.766, Dec = 2.0995
tmin = 484272001, tmax = 484531201
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='677136', job_status='RUN', time_executed='2021-09-29 07:34:53.215644', time_epoch_executed='1632926093.22' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677136/ft1_4FGL_J2311.0+0205_daily_bin945.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677136/ft2_4FGL_J2311.0+0205_daily_bin945.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677136/ft1_4FGL_J2311.0+0205_daily_bin945.fits outfile=/scratch/kocevski/677136/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin945.fits ra=347.766 dec=2.0995 rad=12.0 tmin=484272001.0 tmax=484531201.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 5.12
user 4.88
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677136/ft1_filtered_4FGL_J2311.0+0205_daily_bin945.fits evtable="EVENTS" scfile=/scratch/kocevski/677136/ft2_4FGL_J2311.0+0205_daily_bin945.fits sctable="SC_DATA" expcube=/scratch/kocevski/677136/ltcube_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.fits outfile=/scratch/kocevski/677136/expmap_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.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/677136/ltcube_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.fits
.....................!
real 190.31
user 184.61
sys 5.35

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/677136/ft1_filtered_4FGL_J2311.0+0205_daily_bin945.fits scfile=/scratch/kocevski/677136/ft2_4FGL_J2311.0+0205_daily_bin945.fits outfile=/scratch/kocevski/677136/cmap_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677136/ft1_filtered_4FGL_J2311.0+0205_daily_bin945.fits scfile=/scratch/kocevski/677136/ft2_4FGL_J2311.0+0205_daily_bin945.fits outfile=/scratch/kocevski/677136/cmap_HighResolution_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    13.205       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.894       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.894       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6677       1.0000         .10000E-03   10000.    
     8 'norm      '    .19642       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.038       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.8642       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    128.78       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9903       1.0000         .10000E-03   10000.    
    17 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.863       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10633E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.265       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.744       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93867       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74401       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=   6664.238     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2508 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.677        .18803E-05** at limit **
   2  norm          13.209        10.822        .30151E-06   -.31276E-07
   3  Prefactor     .10000E-03    15.404       -.65959E-05** at limit **
   4  Prefactor     .10000E-03    3.1179       -.55072E-07** at limit **
   5  Prefactor     16.897        14.631        .16738E-05    .57833E-05
   6  Prefactor     50.904        44.588        .12332E-04    .12985E-04
   7  Prefactor     4.6679        5.2604       -.14997E-05   -.34809E-04
   8  norm          .19720        .51150       -.39984E-06   -.30954E-02
   9  norm          .10000E-03    1.2697       -.25910E-06** at limit **
  10  Prefactor     16.043        11.648        .16284E-05    .78775E-04
  11  Prefactor     .10000E-03    13.174        .53609E-05** at limit **
  12  norm          5.8629        9.0125       -.17621E-05    .34248E-04
  13  Prefactor     .10000E-03    3.8630       -.52542E-05** at limit **
  14  Prefactor     128.77        124.68       -.98508E-05   -.31243E-04
  15  Prefactor     .10000E-03    4.8564        .30206E-05** at limit **
  16  Prefactor     2.9925        21.306        .37649E-05   -.44834E-04
  17  norm          .10000E-03    7.0436       -.25015E-05** at limit **
  18  Prefactor     23.863        28.092        .10326E-05   -.72367E-05
  19  Prefactor     .10000E-03    3.5299        .39447E-05** at limit **
  20  Prefactor     28.246        33.147       -.28632E-04   -.36949E-04
  21  Prefactor     15.747        14.679        .34410E-05    .14234E-04
  22  Normalizat    .93804        .18673        .22423E-05   -.10456E-03
  23  Prefactor     .74437        .11354       -.35656E-06    .66139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 13.2086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.8969
  Prefactor  = 50.9038
  Prefactor  = 4.66788
  norm       = 0.197198
  norm       = 0.0001
  Prefactor  = 16.0427
  Prefactor  = 0.0001
  norm       = 5.86285
  Prefactor  = 0.0001
  Prefactor  = 128.771
  Prefactor  = 0.0001
  Prefactor  = 2.99248
  norm       = 0.0001
  Prefactor  = 23.8635
  Prefactor  = 0.0001
  Prefactor  = 28.2461
  Prefactor  = 15.7471
  Normalizat = 0.938044
  Prefactor  = 0.744365
 **********
 **   18 **HESSE 
 **********

 FCN=   6664.238     FROM HESSE     STATUS=OK           372 CALLS     2880 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.226        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.209        10.844        .11023E-03   -1.4981    
   3  Prefactor     .10000E-03    15.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1225        .14077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.897        14.639        .97442E-04   -1.4886    
   6  Prefactor     50.904        44.603        .56216E-04   -1.4280    
   7  Prefactor     4.6679        5.2478        .18516E-03   -1.5276    
   8  norm          .19720        .47433        .89686E-03   -1.5619    
   9  norm          .10000E-03    1.2718        .89824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.043        11.595        .10001E-03   -1.4907    
  11  Prefactor     .10000E-03    13.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.8629        8.9338        .16584E-03   -1.5224    
  13  Prefactor     .10000E-03    3.8789        .15617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     128.77        124.14        .17739E-03   -1.3434    
  15  Prefactor     .10000E-03    4.8850        .17576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9925        21.011        .23476E-03   -1.5362    
  17  norm          .10000E-03    7.0458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.863        28.096        .82000E-04   -1.4731    
  19  Prefactor     .10000E-03    3.6636        .29925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.246        33.145        .75356E-04   -1.4645    
  21  Prefactor     15.747        14.677        .10094E-03   -1.4914    
  22  Normalizat    .93804        .21310        .28190E-03   -.95136    
  23  Prefactor     .74437        .13032        .19860E-03   -1.0181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0268e-09
Minuit parameter uncertainties:
  1  4.34661e-05
  2  10.8456
  3  1.28629e-05
  4  1.63777e-06
  5  14.6421
  6  44.6324
  7  5.24829
  8  0.474339
  9  6.14823e-06
  10  11.5966
  11  3.61089e-05
  12  8.93588
  13  2.02094e-05
  14  124.396
  15  3.96408e-05
  16  15.8665
  17  2.28336e-05
  18  28.1115
  19  3.28993e-05
  20  33.1668
  21  14.6799
  22  0.213288
  23  0.130372
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.690e+01  1.464e+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.444e-01  1.304e-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:  9.380e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.73
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.17e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/677136/likelihoodResults_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.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) = 6664.09538719
delta logL = 0.14229227596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6664.09239233
delta logL = 0.145287133396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.633       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6366       1.0000          .0000       10.000    
     3 'Normalizat'    .91612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75249       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=   6664.092     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      315 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.621        18.706        .58728E-03   -.22262E-05
   2  Index         2.6371        1.0744        .74542E-02    .52545E-03
   3  Normalizat    .91583        .21111        .28519E-03    .10245E-04
   4  Prefactor     .75305        .13162        .19757E-03   -.17896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6207
  Index      = 2.63708
  Normalizat = 0.91583
  Prefactor  = 0.753049
 **********
 **   18 **HESSE 
 **********

 FCN=   6664.092     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.621        15.650        .23491E-04   -1.5026    
   2  Index         2.6371        .90050        .14908E-02   -.49222    
   3  Normalizat    .91583        .20973        .11408E-04   -.95906    
   4  Prefactor     .75305        .13112        .79027E-05   -1.0148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75616e-11
Minuit parameter uncertainties:
  1  15.6558
  2  0.906892
  3  0.209921
  4  0.131173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677136': 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) = 6664.09237284
delta logL = 0.145306625684

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.162e+01  1.566e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.637e+00  9.069e-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.530e-01  1.312e-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:  9.158e-01  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.64 +/- 0.91
Photon Flux (Free Index): 4.82e-08 +/- 4.77e-08
Energy Flux (Free Index): 1.22e-05 +/- 9.94e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/677136/cmap_HighResolution_484272001_484531201_4FGL_J2311.0+0205_daily_bin945.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-03', comment='SUCCESS', photon_flux='3.17e-08', energy_flux2='1.22e-05', photon_flux_error='2.75e-08', dlogl='1.45e-01', energy_flux='1.46e-05', photon_flux2='4.82e-08', job_status='DONE', time_completed='2021-09-29 07:46:29.000825', photon_index_error2='0.91', photon_index2='2.64', ts='2.73', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='9.86e-08', energy_flux_error2='9.94e-06', EG='0.94', time_epoch_completed='1632926789.0', return_code='0', job_id='677136', GAL2='0.75', EG2='0.92', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='4.77e-08', ts2='3.03', photon_index='2.19' WHERE bin_id='945' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:46:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 677136: <4FGL_J2311.0+0205_daily_bin945> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin945 347.766 2.0995 484272001 484531201 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 :                                   692.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

