/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 131 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 = 7670
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin175
RA = 347.766, Dec = 2.0995
tmin = 284688001, tmax = 284947201
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='672963', job_status='RUN', time_executed='2021-09-29 07:18:03.141813', time_epoch_executed='1632925083.14' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672963

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672963/ft1_4FGL_J2311.0+0205_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672963/ft2_4FGL_J2311.0+0205_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672963/ft1_4FGL_J2311.0+0205_daily_bin175.fits outfile=/scratch/kocevski/672963/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin175.fits ra=347.766 dec=2.0995 rad=12.0 tmin=284688001.0 tmax=284947201.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.67
user 3.41
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672963/ft1_filtered_4FGL_J2311.0+0205_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/672963/ft2_4FGL_J2311.0+0205_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/672963/ltcube_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.fits outfile=/scratch/kocevski/672963/expmap_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.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/672963/ltcube_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.fits
.....................!
real 191.31
user 186.03
sys 4.96

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/672963/ft1_filtered_4FGL_J2311.0+0205_daily_bin175.fits scfile=/scratch/kocevski/672963/ft2_4FGL_J2311.0+0205_daily_bin175.fits outfile=/scratch/kocevski/672963/cmap_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.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.52
user 0.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9154       1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0717       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.319       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .40560       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2878       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9911       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    23.139       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9518       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.145       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.911       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1329       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2270       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76363       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=   6259.865     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2537 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9144        7.9780        .12521E-05   -.45859E-03
   2  norm          .10000E-03    5.3078        .51578E-06** at limit **
   3  Prefactor     .10000E-03    10.699       -.26046E-05** at limit **
   4  Prefactor     .10000E-03    11.737        .15072E-05** at limit **
   5  Prefactor     7.0756        19.953       -.53633E-07   -.11620E-04
   6  Prefactor     11.309        28.473       -.25482E-05   -.10592E-03
   7  Prefactor     .10000E-03    5.5710       -.90093E-06** at limit **
   8  norm          .40544        .55702        .25778E-07   -.12429E-03
   9  norm          2.2881        4.4814        .62064E-06    .33305E-04
  10  Prefactor     6.9965        10.939        .10129E-05    .32055E-04
  11  Prefactor     .10000E-03    16.285       -.26190E-05** at limit **
  12  norm          23.143        11.635       -.67458E-06    .10950E-04
  13  Prefactor     4.9518        7.0275        .41833E-05   -.13494E-02
  14  Prefactor     .10000E-03    73.499        .27083E-06** at limit **
  15  Prefactor     .10000E-03    3.6843       -.66504E-08** at limit **
  16  Prefactor     18.116        27.596       -.67213E-05   -.55536E-03
  17  norm          .10000E-03    6.5619        .44104E-06** at limit **
  18  Prefactor     19.902        35.920       -.29200E-05   -.16527E-03
  19  Prefactor     4.1344        4.0079        .71411E-07   -.93915E-04
  20  Prefactor     .10000E-03    27.461        .11972E-05** at limit **
  21  Prefactor     .10000E-03    12.368        .27731E-05** at limit **
  22  Normalizat    1.2267        .21092        .33098E-06   -.61549E-04
  23  Prefactor     .76386        .12811       -.17960E-06   -.17761E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.9144
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 7.07563
  Prefactor  = 11.3087
  Prefactor  = 0.0001
  norm       = 0.405442
  norm       = 2.28815
  Prefactor  = 6.99646
  Prefactor  = 0.000100003
  norm       = 23.1429
  Prefactor  = 4.95182
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1162
  norm       = 0.0001
  Prefactor  = 19.9016
  Prefactor  = 4.13442
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Normalizat = 1.22666
  Prefactor  = 0.763864
 **********
 **   18 **HESSE 
 **********

 FCN=   6259.865     FROM HESSE     STATUS=OK           370 CALLS     2907 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9144        8.0517        .82554E-03   -1.5222    
   2  norm          .10000E-03    5.3278        .17808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0756        20.002        .15085E-03   -1.5176    
   6  Prefactor     11.309        28.454        .11908E-03   -1.5035    
   7  Prefactor     .10000E-03    5.5906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .40544        .51545        .66917E-03   -1.5581    
   9  norm          2.2881        4.4567        .22499E-03   -1.5405    
  10  Prefactor     6.9965        10.917        .15173E-03   -1.5179    
  11  Prefactor     .10000E-03    16.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          23.143        11.860        .83272E-04   -1.4745    
  13  Prefactor     4.9518        7.6677        .90366E-03   -1.5263    
  14  Prefactor     .10000E-03    73.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.6915        .14823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.116        29.012        .94024E-04   -1.4856    
  17  norm          .10000E-03    6.5694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.902        36.161        .89761E-04   -1.4815    
  19  Prefactor     4.1344        4.0129        .14897E-03   -1.5301    
  20  Prefactor     .10000E-03    27.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2267        .25018        .27865E-03   -.85783    
  23  Prefactor     .76386        .15140        .21558E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99641e-09
Minuit parameter uncertainties:
  1  8.05318
  2  3.93031e-05
  3  0.00033309
  4  0.000162113
  5  20.0204
  6  28.4878
  7  3.74171e-05
  8  0.515458
  9  4.45735
  10  10.9201
  11  0.000407267
  12  11.8609
  13  7.66918
  14  8.67711e-05
  15  1.3073e-06
  16  29.0347
  17  4.24538e-05
  18  36.2012
  19  4.01316
  20  0.000263913
  21  0.000397758
  22  0.250421
  23  0.151478
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.076e+00  2.002e+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.639e-01  1.515e-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:  1.227e+00  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672963/likelihoodResults_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.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) = 6259.44365913
delta logL = 0.421336898276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6259.4240026
delta logL = 0.440993421567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8287       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1246       1.0000          .0000       10.000    
     3 'Normalizat'    1.1811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77814       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=   6259.424     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      228 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8137        151.83        .45768E-02    .43581E-03
   2  Index         3.1264        3.7696        .12068        .14831E-03
   3  Normalizat    1.1810        .69025E-01    .64042E-01    .10595E-04
   4  Prefactor     .77820        .42390E-01    .43432E-01    .95810E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.81366
  Index      = 3.12635
  Normalizat = 1.18096
  Prefactor  = 0.778204
 **********
 **   18 **HESSE 
 **********

 FCN=   6259.424     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8137        16.604        .17855E-03   -1.5269    
   2  Index         3.1264        1.6279        .68533E-02   -.38410    
   3  Normalizat    1.1810        .24603        .28329E-03   -.87193    
   4  Prefactor     .77820        .15193        .21373E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33891e-11
Minuit parameter uncertainties:
  1  16.6203
  2  1.66336
  3  0.246272
  4  0.152013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672963': 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) = 6259.42400107
delta logL = 0.440994952894

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  4.814e+00  1.662e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.126e+00  1.663e+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:  7.782e-01  1.520e-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:  1.181e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.13 +/- 1.66
Photon Flux (Free Index): 5.16e-08 +/- 5.70e-08
Energy Flux (Free Index): 9.73e-06 +/- 1.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/672963/cmap_HighResolution_284688001_284947201_4FGL_J2311.0+0205_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', comment='SUCCESS', energy_flux2='9.73e-06', dlogl='4.41e-01', photon_flux2='5.16e-08', job_status='DONE', time_completed='2021-09-29 07:28:55.208796', photon_index_error2='1.66', photon_index2='3.13', ts='0.15', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.24e-05', EG='1.23', time_epoch_completed='1632925735.21', return_code='0', job_id='672963', GAL2='0.78', EG2='1.18', return_code2='0', photon_flux_error2='5.70e-08', ts2='1.08', photon_index='2.19' WHERE bin_id='175' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 672963: <4FGL_J2311.0+0205_daily_bin175> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin175 347.766 2.0995 284688001 284947201 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 :                                   649.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

