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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin140
RA = 347.766, Dec = 2.0995
tmin = 275616001, tmax = 275875201
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='672910', job_status='RUN', time_executed='2021-09-29 07:18:33.224057', time_epoch_executed='1632925113.22' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672910

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672910/ft1_4FGL_J2311.0+0205_daily_bin140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672910/ft2_4FGL_J2311.0+0205_daily_bin140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672910/ft1_4FGL_J2311.0+0205_daily_bin140.fits outfile=/scratch/kocevski/672910/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin140.fits ra=347.766 dec=2.0995 rad=12.0 tmin=275616001.0 tmax=275875201.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.17
user 3.95
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672910/ft2_4FGL_J2311.0+0205_daily_bin140.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/672910/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin140.fits evtable="EVENTS" outfile="/scratch/kocevski/672910/ft1_filtered_4FGL_J2311.0+0205_daily_bin140.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.48
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672910/ft1_filtered_4FGL_J2311.0+0205_daily_bin140.fits evtable="EVENTS" scfile=/scratch/kocevski/672910/ft2_4FGL_J2311.0+0205_daily_bin140.fits sctable="SC_DATA" expcube=/scratch/kocevski/672910/ltcube_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.fits outfile=/scratch/kocevski/672910/expmap_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.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/672910/ltcube_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.fits
.....................!
real 191.23
user 185.41
sys 5.52

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/672910/ft1_filtered_4FGL_J2311.0+0205_daily_bin140.fits scfile=/scratch/kocevski/672910/ft2_4FGL_J2311.0+0205_daily_bin140.fits outfile=/scratch/kocevski/672910/cmap_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6885       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.161       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9682       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.168       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2824       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6047       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88518E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .14096E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4933       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11376E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.978       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.456       1.0000         .10000E-03   10000.    
    17 'norm      '    6.5842       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9740       1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.915       1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.198       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .56939       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0128       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5297.900     FROM MIGRAD    STATUS=CONVERGED    899 CALLS     2983 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.998        .36285E-03** at limit **
   2  norm          5.6894        14.327        .16842E-03    .73646E-04
   3  Prefactor     28.164        30.252        .75494E-04    .42316E-04
   4  Prefactor     1.9693        23.125        .29559E-03    .11162E-03
   5  Prefactor     23.167        22.986        .83218E-04    .52186E-04
   6  Prefactor     .10000E-03    72.045        .18142E-02** at limit **
   7  Prefactor     .10000E-03    7.8092        .18142E-02** at limit **
   8  norm          .10000E-03    .23421        .34075E-03** at limit **
   9  norm          2.2821        3.3868        .15935E-03    .11694E-03
  10  Prefactor     1.5822        34.348        .33455E-03   -.81286E-04
  11  Prefactor     .10001E-03    52.928        .15924    ** at limit **
  12  norm          .10000E-03    25.421        .36285E-03** at limit **
  13  Prefactor     3.4767        9.1371        .21633E-03   -.16071E-03
  14  Prefactor     .10000E-03    136.40        .18142E-02** at limit **
  15  Prefactor     17.976        15.087        .94461E-04    .18691E-03
  16  Prefactor     45.441        38.449        .59468E-04    .94555E-04
  17  norm          6.5871        33.901        .15639E-03    .48195E-04
  18  Prefactor     .10000E-03    101.06        .18142E-02** at limit **
  19  Prefactor     6.9735        5.9434        .14339E-03    .41973E-03
  20  Prefactor     32.921        32.258        .69845E-04    .16993E-04
  21  Prefactor     26.199        23.097        .78267E-04    .25565E-04
  22  Normalizat    .56933        .25445        .37076E-03    .29519E-03
  23  Prefactor     1.0128        .15346        .18433E-03    .65377E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.68938
  Prefactor  = 28.1644
  Prefactor  = 1.96925
  Prefactor  = 23.1674
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.28213
  Prefactor  = 1.58225
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 3.4767
  Prefactor  = 0.0001
  Prefactor  = 17.9763
  Prefactor  = 45.4409
  norm       = 6.58712
  Prefactor  = 0.000100001
  Prefactor  = 6.9735
  Prefactor  = 32.9211
  Prefactor  = 26.199
  Normalizat = 0.569332
  Prefactor  = 1.01277
 **********
 **   18 **HESSE 
 **********

 FCN=   5297.900     FROM HESSE     STATUS=OK           356 CALLS     3339 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.999        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6894        14.325        .67366E-05   -1.5231    
   3  Prefactor     28.164        30.246        .30198E-05   -1.4646    
   4  Prefactor     1.9693        23.114        .11823E-04   -1.5427    
   5  Prefactor     23.167        22.986        .33287E-05   -1.4745    
   6  Prefactor     .10000E-03    72.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.8133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .23422        .68150E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2821        3.3867        .63738E-05   -1.5406    
  10  Prefactor     1.5822        34.235        .13382E-04   -1.5456    
  11  Prefactor     .10001E-03    53.517        .15786       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    25.421        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4767        9.1326        .86532E-05   -1.5335    
  14  Prefactor     .10000E-03    136.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.976        15.085        .37784E-05   -1.4860    
  16  Prefactor     45.441        38.409        .11894E-04   -1.4359    
  17  norm          6.5871        33.896        .62557E-05   -1.5195    
  18  Prefactor     .10000E-03    101.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.9735        5.9423        .57356E-05   -1.5180    
  20  Prefactor     32.921        32.258        .13969E-04   -1.4560    
  21  Prefactor     26.199        23.097        .31307E-05   -1.4684    
  22  Normalizat    .56933        .25450        .14831E-04   -1.0930    
  23  Prefactor     1.0128        .15352        .36866E-04   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20242e-09
Minuit parameter uncertainties:
  1  7.70067e-05
  2  14.3334
  3  30.262
  4  13.4995
  5  22.9946
  6  0.000404952
  7  3.26752e-05
  8  1.12567e-06
  9  3.38697
  10  14.729
  11  0.00138128
  12  0.000147673
  13  9.13623
  14  0.00022259
  15  15.0877
  16  38.4304
  17  29.9115
  18  0.000650839
  19  5.94282
  20  32.2747
  21  23.1048
  22  0.255019
  23  0.153589
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.317e+01  2.299e+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:  1.013e+00  1.536e-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.693e-01  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.35e-08 +/- 4.31e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.99e-05

TS (Fixed Index): 1.40
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672910/likelihoodResults_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.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) = 5297.2916964
delta logL = 0.608017851389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5297.28451191
delta logL = 0.61520234411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7473       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0854       1.0000          .0000       10.000    
     3 'Normalizat'    .51841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0328       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=   5297.285     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      254 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7385        137.05        .33882E-02    .62872E-03
   2  Index         3.0859        3.0903        .12772        .25487E-03
   3  Normalizat    .51843        .79521E-01    .87444E-01    .14560E-03
   4  Prefactor     1.0328        .48111E-01    .41041E-01    .39437E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.73851
  Index      = 3.08594
  Normalizat = 0.51843
  Prefactor  = 1.03282
 **********
 **   18 **HESSE 
 **********

 FCN=   5297.285     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7385        24.341        .13553E-03   -1.5117    
   2  Index         3.0859        1.4283        .46584E-02   -.39284    
   3  Normalizat    .51843        .23950        .38740E-03   -1.1157    
   4  Prefactor     1.0328        .15448        .18265E-03   -.91643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81693e-10
Minuit parameter uncertainties:
  1  24.3685
  2  1.45206
  3  0.23998
  4  0.154543
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672910': 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) = 5297.28451174
delta logL = 0.615202519741

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.739e+00  2.437e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.086e+00  1.452e+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.033e+00  1.545e-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.184e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.09 +/- 1.45
Photon Flux (Free Index): 8.65e-08 +/- 6.65e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.42e-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/672910/cmap_HighResolution_275616001_275875201_4FGL_J2311.0+0205_daily_bin140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='4.35e-08', energy_flux2='1.66e-05', photon_flux_error='4.31e-08', dlogl='6.15e-01', energy_flux='2.01e-05', photon_flux2='8.65e-08', job_status='DONE', time_completed='2021-09-29 07:28:45.238500', photon_index_error2='1.45', photon_index2='3.09', ts='1.40', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.42e-05', EG='0.57', time_epoch_completed='1632925725.24', return_code='0', job_id='672910', GAL2='1.03', EG2='0.52', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='6.65e-08', ts2='2.71', photon_index='2.19' WHERE bin_id='140' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 672910: <4FGL_J2311.0+0205_daily_bin140> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin140 347.766 2.0995 275616001 275875201 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 :                                   611.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            787 sec.

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

