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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin890
RA = 347.766, Dec = 2.0995
tmin = 470016001, tmax = 470275201
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='677054', job_status='RUN', time_executed='2021-09-29 07:33:01.351985', time_epoch_executed='1632925981.35' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='890'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677054

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677054/ft1_4FGL_J2311.0+0205_daily_bin890.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677054/ft1_4FGL_J2311.0+0205_daily_bin890.fits outfile=/scratch/kocevski/677054/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin890.fits ra=347.766 dec=2.0995 rad=12.0 tmin=470016001.0 tmax=470275201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.54
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677054/ft1_filtered_4FGL_J2311.0+0205_daily_bin890.fits" evtable="EVENTS" scfile=/scratch/kocevski/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits sctable="SC_DATA" outfile=/scratch/kocevski/677054/ltcube_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.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/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits
.....................!
real 11.89
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677054/ft1_filtered_4FGL_J2311.0+0205_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits sctable="SC_DATA" expcube=/scratch/kocevski/677054/ltcube_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.fits outfile=/scratch/kocevski/677054/expmap_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.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/677054/ltcube_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.fits
.....................!
real 191.43
user 185.24
sys 5.69

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/677054/ft1_filtered_4FGL_J2311.0+0205_daily_bin890.fits scfile=/scratch/kocevski/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits outfile=/scratch/kocevski/677054/cmap_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677054/ft1_filtered_4FGL_J2311.0+0205_daily_bin890.fits scfile=/scratch/kocevski/677054/ft2_4FGL_J2311.0+0205_daily_bin890.fits outfile=/scratch/kocevski/677054/cmap_HighResolution_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.697       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .62137       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6501       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.950       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.302       1.0000         .10000E-03   10000.    
    12 'norm      '    16.302       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2142       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0235       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.492       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .45567       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1543       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=   8294.119     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2211 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.697        7.9173        .30626E-02    .26672E-03
   2  norm          .10000E-03    3.8513        .90712E-02** at limit **
   3  Prefactor     .39868        35.421        .14372        .12580E-03
   4  Prefactor     8.6517        13.139        .34073E-02    .84530E-03
   5  Prefactor     .10000E-03    4.1374        .90712E-02** at limit **
   6  Prefactor     .10000E-03    6.4752        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.3935        .90712E-02** at limit **
   8  norm          14.950        1.7343        .25897E-02   -.84767E-04
   9  norm          .10000E-03    .95421        .90712E-02** at limit **
  10  Prefactor     .10000E-03    8.6040        .90712E-02** at limit **
  11  Prefactor     24.295        35.440        .20314E-02    .77185E-04
  12  norm          16.299        8.7806        .24799E-02    .14169E-02
  13  Prefactor     .10000E-03    3.3435        .90712E-02** at limit **
  14  Prefactor     .10000E-03    102.87        .90712E-02** at limit **
  15  Prefactor     9.2133        8.3084        .33008E-02   -.16823E-02
  16  Prefactor     .10000E-03    30.845        .90712E-02** at limit **
  17  norm          .10000E-03    8.3674        .90712E-02** at limit **
  18  Prefactor     .10000E-03    11.548        .90712E-02** at limit **
  19  Prefactor     2.0238        3.4863        .72724E-02    .10415E-02
  20  Prefactor     .10000E-03    22.825        .90712E-02** at limit **
  21  Prefactor     29.485        20.642        .18444E-02   -.12310E-02
  22  Normalizat    .45561        .19927        .97358E-01    .33447E-04
  23  Prefactor     1.1543        .12740        .35814E-01   -.57089E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6966
  norm       = 0.0001
  Prefactor  = 0.398679
  Prefactor  = 8.65175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.9502
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2947
  norm       = 16.299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.21328
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02378
  Prefactor  = 0.0001
  Prefactor  = 29.4853
  Normalizat = 0.455614
  Prefactor  = 1.15433
 **********
 **   18 **HESSE 
 **********

 FCN=   8294.119     FROM HESSE     STATUS=OK           368 CALLS     2579 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.697        7.9196        .12250E-03   -1.5054    
   2  norm          .10000E-03    3.8601        .17452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .39868        40.878        .13171       -1.5582    
   4  Prefactor     8.6517        13.126        .13629E-03   -1.5120    
   5  Prefactor     .10000E-03    4.1403        .18091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.4758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3952        .10499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.950        1.7316        .38529E-04   -1.4934    
   9  norm          .10000E-03    .95660        .86876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.295        35.426        .81258E-04   -1.4722    
  12  norm          16.299        8.7515        .99198E-04   -1.4900    
  13  Prefactor     .10000E-03    3.3605        .16245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    102.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.2133        8.2557        .13203E-03   -1.5101    
  16  Prefactor     .10000E-03    31.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.3759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0238        3.4394        .20200E-03   -1.5423    
  20  Prefactor     .10000E-03    22.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.485        20.619        .73775E-04   -1.4621    
  22  Normalizat    .45561        .20689        .43151E-03   -1.1452    
  23  Prefactor     1.1543        .13501        .18890E-03   -.87749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63097e-09
Minuit parameter uncertainties:
  1  7.92038
  2  7.0813e-07
  3  8.07859
  4  13.13
  5  1.88932e-06
  6  3.57917e-06
  7  7.41444e-07
  8  1.73159
  9  6.95642e-07
  10  2.78762e-06
  11  35.457
  12  8.75221
  13  2.54431e-07
  14  0.000264097
  15  8.25668
  16  2.12722e-05
  17  6.31714e-06
  18  1.46273e-06
  19  3.43971
  20  1.15579e-05
  21  20.6244
  22  0.207239
  23  0.135051
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.889e-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.154e+00  1.351e-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:  4.556e-01  2.072e-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: 4.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677054/likelihoodResults_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.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): 102
logL (Free Index) = 8294.12050966
delta logL = -0.00114250502884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8294.1193671
delta logL = 5.00131136505e-08

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 'Index     '    2.1758       1.0000          .0000       10.000    
     3 'Normalizat'    .45562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1543       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8294.119     FROM MIGRAD    STATUS=FAILED        87 CALLS      239 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10168E-03    178.80        .18142E-02** at limit **
   2  Index         2.0464        5.8918        .50000        .13304E-04
   3  Normalizat    .45561        .29999E-01    .43151E-03   -.67974E-05
   4  Prefactor     1.1543        .20414E-01    .18890E-03    .16611E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8294.119     FROM SIMPLEX   STATUS=UNCHANGED    135 CALLS      374 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10168E-03    178.80        .31318E-03** at limit **
   2  Index         2.0464        5.8918        .69849E-04    .13304E-04
   3  Normalizat    .45561        .29999E-01    .14522E-05   -.67974E-05
   4  Prefactor     1.1543        .20414E-01    .35136E-06    .16611E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8294.119     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      416 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    866.49        .36285E-03** at limit **
   2  Index         1.8267        5.7381        .50000       -.48431E-07
   3  Normalizat    .45561        .98123E-01    .17260E-04    .13964E-04
   4  Prefactor     1.1543        .66749E-01    .75558E-05    .48750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.82671
  Normalizat = 0.455614
  Prefactor  = 1.15433
 **********
 **   18 **HESSE 
 **********

 FCN=   8294.119     FROM HESSE     STATUS=OK            29 CALLS      445 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9513        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8267        5.8000        .50000       -.68757    
   3  Normalizat    .45561        .19649        .34521E-05   -1.1452    
   4  Prefactor     1.1543        .13392        .15112E-05   -.87749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30146e-12
Minuit parameter uncertainties:
  1  3.08843e-06
  2  168.526
  3  0.196793
  4  0.133959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677054': 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) = 8294.1193662
delta logL = 9.51258698478e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.088e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.827e+00  1.685e+02  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.154e+00  1.340e-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:  4.556e-01  1.968e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/677054/cmap_HighResolution_470016001_470275201_4FGL_J2311.0+0205_daily_bin890.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-03', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2021-09-29 07:45:43.271179', job_id='677054', GAL2='1.15', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1632926743.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='890' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 677054: <4FGL_J2311.0+0205_daily_bin890> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin890 347.766 2.0995 470016001 470275201 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 :                                   744.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

