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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin512
RA = 347.766, Dec = 2.0995
tmin = 372038401, tmax = 372297601
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='675805', job_status='RUN', time_executed='2021-09-29 07:29:20.524464', time_epoch_executed='1632925760.52' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675805

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675805/ft1_4FGL_J2311.0+0205_daily_bin512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675805/ft1_4FGL_J2311.0+0205_daily_bin512.fits outfile=/scratch/kocevski/675805/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin512.fits ra=347.766 dec=2.0995 rad=12.0 tmin=372038401.0 tmax=372297601.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.43
user 4.17
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.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/675805/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin512.fits evtable="EVENTS" outfile="/scratch/kocevski/675805/ft1_filtered_4FGL_J2311.0+0205_daily_bin512.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/675805/ft1_filtered_4FGL_J2311.0+0205_daily_bin512.fits" evtable="EVENTS" scfile=/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits sctable="SC_DATA" outfile=/scratch/kocevski/675805/ltcube_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.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/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits
.....................!
real 11.70
user 11.32
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675805/ft1_filtered_4FGL_J2311.0+0205_daily_bin512.fits evtable="EVENTS" scfile=/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits sctable="SC_DATA" expcube=/scratch/kocevski/675805/ltcube_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.fits outfile=/scratch/kocevski/675805/expmap_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.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/675805/ltcube_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.fits
.....................!
real 192.61
user 187.46
sys 3.95

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/675805/ft1_filtered_4FGL_J2311.0+0205_daily_bin512.fits scfile=/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits outfile=/scratch/kocevski/675805/cmap_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.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.61
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675805/ft1_filtered_4FGL_J2311.0+0205_daily_bin512.fits scfile=/scratch/kocevski/675805/ft2_4FGL_J2311.0+0205_daily_bin512.fits outfile=/scratch/kocevski/675805/cmap_HighResolution_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.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.61
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.636       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40863E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.683       1.0000         .10000E-03   10000.    
     8 'norm      '    3.2723       1.0000         .10000E-03   10000.    
     9 'norm      '    .67552       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8039       1.0000         .10000E-03   10000.    
    11 'Prefactor '    114.40       1.0000         .10000E-03   10000.    
    12 'norm      '    31.501       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12371E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2510       1.0000         .10000E-03   10000.    
    17 'norm      '    .10873E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.307       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.621       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50821       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0364       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=   5320.962     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2887 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7772       -.58628E-07** at limit **
   2  norm          .10000E-03    6.5587       -.23896E-06** at limit **
   3  Prefactor     43.667        36.061        .87584E-06    .13038E-03
   4  Prefactor     .10000E-03    6.8455       -.45737E-07** at limit **
   5  Prefactor     .10000E-03    7.3742        .16895E-06** at limit **
   6  Prefactor     .10034E-03    811.57       -.10393E-05** at limit **
   7  Prefactor     16.689        14.052       -.88210E-05    .29021E-03
   8  norm          3.2724        1.2833       -.90727E-07   -.67199E-03
   9  norm          .62305        5.6426        .41150E-05    .66647E-03
  10  Prefactor     4.8015        10.035        .32432E-06    .37386E-04
  11  Prefactor     114.48        69.618        .14781E-05    .24015E-03
  12  norm          31.495        11.317        .13682E-06    .70775E-04
  13  Prefactor     .10000E-03    3.3230       -.47836E-07** at limit **
  14  Prefactor     .10000E-03    79.267        .89705E-06** at limit **
  15  Prefactor     .10000E-03    4.5053        .31002E-06** at limit **
  16  Prefactor     3.2523        51.894        .11956E-05    .16477E-04
  17  norm          .10000E-03    20.801        .50007E-06** at limit **
  18  Prefactor     10.406        176.83       -.15507E-05    .63097E-04
  19  Prefactor     .10000E-03    3.0281        .46098E-06** at limit **
  20  Prefactor     12.611        39.503        .94054E-06   -.19027E-04
  21  Prefactor     .10000E-03    41.340       -.14452E-05** at limit **
  22  Normalizat    .50804        .23973       -.65166E-05    .33716E-04
  23  Prefactor     1.0365        .14562        .17189E-05   -.24098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.6667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010034
  Prefactor  = 16.6894
  norm       = 3.27243
  norm       = 0.623054
  Prefactor  = 4.80146
  Prefactor  = 114.476
  norm       = 31.4948
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.25234
  norm       = 0.0001
  Prefactor  = 10.4056
  Prefactor  = 0.0001
  Prefactor  = 12.6105
  Prefactor  = 0.0001
  Normalizat = 0.508042
  Prefactor  = 1.0365
 **********
 **   18 **HESSE 
 **********

 FCN=   5320.962     FROM HESSE     STATUS=OK           364 CALLS     3251 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7945        .17124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.5824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.667        36.048        .60690E-04   -1.4385    
   4  Prefactor     .10000E-03    6.8876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10034E-03    822.77        .38936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.689        15.188        .98058E-04   -1.4891    
   8  norm          3.2724        1.2818        .49060E-04   -1.5346    
   9  norm          .62305        25.627        .29133E-02   -1.5550    
  10  Prefactor     4.8015        9.9857        .18355E-03   -1.5270    
  11  Prefactor     114.48        69.697        .18807E-03   -1.3564    
  12  norm          31.495        11.250        .71390E-04   -1.4585    
  13  Prefactor     .10000E-03    3.3385        .12973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    79.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5126        .15120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2523        51.007        .22462E-03   -1.5347    
  17  norm          .10000E-03    20.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.406        174.78        .12480E-03   -1.5063    
  19  Prefactor     .10000E-03    3.0683        .12390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.611        39.485        .11275E-03   -1.4998    
  21  Prefactor     .10000E-03    41.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .50804        .26235        .38642E-03   -1.1204    
  23  Prefactor     1.0365        .16204        .18115E-03   -.91523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86485e-09
Minuit parameter uncertainties:
  1  6.44961e-06
  2  1.90835e-05
  3  36.0655
  4  3.02274e-05
  5  2.32319e-06
  6  0.0339158
  7  15.1913
  8  1.28183
  9  7.99481
  10  9.98917
  11  69.7473
  12  11.2505
  13  7.15748e-06
  14  0.000681093
  15  4.84763e-06
  16  25.7856
  17  1.77436e-05
  18  85.5866
  19  1.42942e-05
  20  39.5666
  21  0.00014185
  22  0.262995
  23  0.162113
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.323e-06  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.036e+00  1.621e-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.080e-01  2.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/675805/likelihoodResults_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.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) = 5320.96220896
delta logL = -0.000644261370326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5320.96156469
delta logL = 1.18843672681e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1780       1.0000          .0000       10.000    
     3 'Normalizat'    .50804       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0365       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=   5320.962     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      196 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1068.7        .90712E-02** at limit **
   2  Index         2.1700        5.7139        .50000        .87576E-05
   3  Normalizat    .50804        .82688E-01    .87231E-01    .25899E-04
   4  Prefactor     1.0365        .54332E-01    .40774E-01   -.13679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16998
  Normalizat = 0.508038
  Prefactor  = 1.0365
 **********
 **   18 **HESSE 
 **********

 FCN=   5320.962     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1700        6.0632        .50000       -.60165    
   3  Normalizat    .50804        .23868        .38645E-03   -1.1204    
   4  Prefactor     1.0365        .15771        .18115E-03   -.91523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.25523e-11
Minuit parameter uncertainties:
  1  2.51123e-05
  2  4.5396
  3  0.239167
  4  0.157778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675805': 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) = 5320.96156466
delta logL = 3.54993971996e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.511e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.170e+00  4.540e+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:  1.036e+00  1.578e-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.080e-01  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/675805/cmap_HighResolution_372038401_372297601_4FGL_J2311.0+0205_daily_bin512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-29 07:39:38.315573', job_id='675805', GAL2='1.04', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1632926378.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.55e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='512' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 675805: <4FGL_J2311.0+0205_daily_bin512> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin512> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:28 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:25:31 2021
Terminated at Wed Sep 29 07:39:39 2021
Results reported at Wed Sep 29 07:39:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin512 347.766 2.0995 372038401 372297601 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 :                                   609.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            851 sec.

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

