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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin644
RA = 347.766, Dec = 2.0995
tmin = 406252801, tmax = 406512001
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='676684', job_status='RUN', time_executed='2021-09-29 07:32:35.100959', time_epoch_executed='1632925955.1' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676684

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676684/ft1_4FGL_J2311.0+0205_daily_bin644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676684/ft2_4FGL_J2311.0+0205_daily_bin644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676684/ft1_4FGL_J2311.0+0205_daily_bin644.fits outfile=/scratch/kocevski/676684/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin644.fits ra=347.766 dec=2.0995 rad=12.0 tmin=406252801.0 tmax=406512001.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.13
user 3.60
sys 0.51

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676684/ft1_filtered_4FGL_J2311.0+0205_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/676684/ft2_4FGL_J2311.0+0205_daily_bin644.fits sctable="SC_DATA" expcube=/scratch/kocevski/676684/ltcube_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.fits outfile=/scratch/kocevski/676684/expmap_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.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/676684/ltcube_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.fits
.....................!
real 191.89
user 186.69
sys 4.86

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/676684/ft1_filtered_4FGL_J2311.0+0205_daily_bin644.fits scfile=/scratch/kocevski/676684/ft2_4FGL_J2311.0+0205_daily_bin644.fits outfile=/scratch/kocevski/676684/cmap_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676684/ft1_filtered_4FGL_J2311.0+0205_daily_bin644.fits scfile=/scratch/kocevski/676684/ft2_4FGL_J2311.0+0205_daily_bin644.fits outfile=/scratch/kocevski/676684/cmap_HighResolution_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9678       1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.694       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12979E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3442       1.0000         .10000E-03   10000.    
     9 'norm      '    .17109E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3736       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13683E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    47.342       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3930       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.6514       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .60095       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98110       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=   6909.389     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2507 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3153        .99582E-07** at limit **
   2  norm          .10000E-03    5.0069       -.93389E-07** at limit **
   3  Prefactor     .10000E-03    7.6707       -.10919E-06** at limit **
   4  Prefactor     .10000E-03    2.8590        .17870E-07** at limit **
   5  Prefactor     9.9622        19.489       -.17915E-06   -.15357E-04
   6  Prefactor     44.673        37.860       -.18943E-05   -.23880E-03
   7  Prefactor     .10000E-03    5.9821       -.69509E-06** at limit **
   8  norm          3.3444        1.1362        .77330E-07   -.32045E-04
   9  norm          .10000E-03    3.5371        .65684E-07** at limit **
  10  Prefactor     7.3747        10.930        .31013E-05   -.24893E-03
  11  Prefactor     .10000E-03    16.778       -.12721E-05** at limit **
  12  norm          .10000E-03    2.9266       -.13553E-06** at limit **
  13  Prefactor     .10000E-03    3.3278       -.15211E-07** at limit **
  14  Prefactor     .10000E-03    72.756       -.28833E-06** at limit **
  15  Prefactor     .10000E-03    12.237       -.75138E-06** at limit **
  16  Prefactor     .10000E-03    28.443       -.11449E-07** at limit **
  17  norm          47.336        29.243       -.54669E-06   -.17249E-03
  18  Prefactor     .10000E-03    12.113       -.25976E-06** at limit **
  19  Prefactor     5.3908        4.9261       -.19810E-06   -.45134E-03
  20  Prefactor     .10000E-03    14.111        .90710E-06** at limit **
  21  Prefactor     6.6445        20.221       -.26194E-06   -.21360E-04
  22  Normalizat    .60128        .18568        .12615E-05   -.51247E-04
  23  Prefactor     .98092        .11675       -.76293E-06    .95667E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.96217
  Prefactor  = 44.673
  Prefactor  = 0.0001
  norm       = 3.34437
  norm       = 0.000100001
  Prefactor  = 7.37468
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 47.3356
  Prefactor  = 0.0001
  Prefactor  = 5.39081
  Prefactor  = 0.0001
  Prefactor  = 6.64445
  Normalizat = 0.601284
  Prefactor  = 0.980915
 **********
 **   18 **HESSE 
 **********

 FCN=   6909.389     FROM HESSE     STATUS=OK           360 CALLS     2867 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3284        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.0498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.6774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.8623        .13726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9622        19.497        .12692E-03   -1.5077    
   6  Prefactor     44.673        39.266        .59970E-04   -1.4370    
   7  Prefactor     .10000E-03    5.9886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3444        1.1258        .47897E-04   -1.5342    
   9  norm          .10000E-03    15.314        .29572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3747        11.251        .73851E-03   -1.5165    
  11  Prefactor     .10000E-03    16.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.9461        .13901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3642        .14806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    72.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          47.336        29.287        .58276E-04   -1.4331    
  18  Prefactor     .10000E-03    12.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.3908        4.9680        .14509E-03   -1.5244    
  20  Prefactor     .10000E-03    14.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.6445        20.238        .15559E-03   -1.5192    
  22  Normalizat    .60128        .21152        .33620E-03   -1.0793    
  23  Prefactor     .98092        .13407        .17837E-03   -.93368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14136e-10
Minuit parameter uncertainties:
  1  5.80803e-06
  2  1.28987e-05
  3  1.38701e-05
  4  8.42725e-07
  5  19.5091
  6  39.2889
  7  6.28667e-05
  8  1.12577
  9  0.000294756
  10  11.2542
  11  0.000164928
  12  1.48548e-05
  13  9.50079e-06
  14  3.18532e-05
  15  5.0348e-05
  16  7.83519e-05
  17  29.2962
  18  2.43193e-05
  19  4.96834
  20  0.000110732
  21  20.2585
  22  0.211807
  23  0.134111
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  9.962e+00  1.951e+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:  9.809e-01  1.341e-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:  6.013e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/676684/likelihoodResults_406252801_406512001_4FGL_J2311.0+0205_daily_bin644.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) = 6909.11214591
delta logL = 0.276474577857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6909.09434125
delta logL = 0.294279233197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0789       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0809       1.0000          .0000       10.000    
     3 'Normalizat'    .57106       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99323       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=   6909.094     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      259 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0858        139.88        .49907E-02    .48956E-03
   2  Index         3.0805        3.7852        .12085        .16091E-03
   3  Normalizat    .57117        .54514E-01    .77807E-01    .10902E-05
   4  Prefactor     .99313        .35975E-01    .46182E-01   -.72066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08576
  Index      = 3.08047
  Normalizat = 0.571168
  Prefactor  = 0.99313
 **********
 **   18 **HESSE 
 **********

 FCN=   6909.094     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      290 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0858        263.06        .18501E-03   -1.5304    
   2  Index         3.0805        6.2651        .74928E-02   -.39402    
   3  Normalizat    .57117        .19052        .34454E-03   -1.0922    
   4  Prefactor     .99313        .13674        .17739E-03   -.92959    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23253e-06
Minuit parameter uncertainties:
  1  65.872
  2  7.61946
  3  0.190734
  4  0.136784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676684': 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): 102
logL (Free Index) = 6909.09434069
delta logL = 0.294279799848

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  4.086e+00  6.587e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.080e+00  7.619e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.931e-01  1.368e-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:  5.712e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-29 07:44:07.702008', job_id='676684', GAL2='0.99', fit_tolerance='1e-08', EG2='0.57', EG='0.60', time_epoch_completed='1632926647.7', return_code2='102', ts='0.31', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.94e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='644' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 676684: <4FGL_J2311.0+0205_daily_bin644> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin644 347.766 2.0995 406252801 406512001 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 :                                   673.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            829 sec.

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

