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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin970
RA = 347.766, Dec = 2.0995
tmin = 490752001, tmax = 491011201
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='677173', job_status='RUN', time_executed='2021-09-29 07:34:44.289171', time_epoch_executed='1632926084.29' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='970'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677173

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677173/ft1_4FGL_J2311.0+0205_daily_bin970.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677173/ft2_4FGL_J2311.0+0205_daily_bin970.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677173/ft1_4FGL_J2311.0+0205_daily_bin970.fits outfile=/scratch/kocevski/677173/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin970.fits ra=347.766 dec=2.0995 rad=12.0 tmin=490752001.0 tmax=491011201.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 5.72
user 5.50
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677173/ft1_filtered_4FGL_J2311.0+0205_daily_bin970.fits evtable="EVENTS" scfile=/scratch/kocevski/677173/ft2_4FGL_J2311.0+0205_daily_bin970.fits sctable="SC_DATA" expcube=/scratch/kocevski/677173/ltcube_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.fits outfile=/scratch/kocevski/677173/expmap_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.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/677173/ltcube_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.fits
.....................!
real 190.20
user 185.42
sys 4.42

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/677173/ft1_filtered_4FGL_J2311.0+0205_daily_bin970.fits scfile=/scratch/kocevski/677173/ft2_4FGL_J2311.0+0205_daily_bin970.fits outfile=/scratch/kocevski/677173/cmap_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677173/ft1_filtered_4FGL_J2311.0+0205_daily_bin970.fits scfile=/scratch/kocevski/677173/ft2_4FGL_J2311.0+0205_daily_bin970.fits outfile=/scratch/kocevski/677173/cmap_HighResolution_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.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.55
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.798       1.0000         .10000E-03   10000.    
     2 'norm      '    43.315       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.049       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.563       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0311       1.0000         .10000E-03   10000.    
     8 'norm      '    .52796       1.0000         .10000E-03   10000.    
     9 'norm      '    19.332       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8521       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    25.164       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.111       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.9961       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.544       1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.792       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0546       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80246       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=   2180.201     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2608 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.796        27.141        .25646E-07   -.10044E-05
   2  norm          43.306        32.320        .21514E-08   -.54372E-05
   3  Prefactor     .10000E-03    25.975        .12397E-06** at limit **
   4  Prefactor     20.054        21.302        .14338E-06   -.17055E-05
   5  Prefactor     39.558        37.129        .15410E-06   -.63574E-05
   6  Prefactor     .10000E-03    605.62       -.87628E-05** at limit **
   7  Prefactor     3.9419        190.85        .23236E-04    .11451E-04
   8  norm          .52810        1.9311        .90020E-06    .20424E-04
   9  norm          19.361        37.154       -.77743E-05    .27685E-04
  10  Prefactor     8.8537        18.031        .27401E-06    .40587E-04
  11  Prefactor     .10000E-03    62.300        .13095E-06** at limit **
  12  norm          25.166        26.482        .35428E-07    .11275E-03
  13  Prefactor     19.111        21.790        .29047E-06    .10334E-03
  14  Prefactor     .10000E-03    155.36        .91582E-06** at limit **
  15  Prefactor     .10000E-03    17.187       -.21845E-06** at limit **
  16  Prefactor     .10000E-03    25.850        .51787E-06** at limit **
  17  norm          10.000        34.266        .20121E-06   -.14374E-04
  18  Prefactor     .10000E-03    113.27       -.88637E-06** at limit **
  19  Prefactor     .10000E-03    3.7879       -.97582E-07** at limit **
  20  Prefactor     22.633        70.302        .98070E-06    .16596E-04
  21  Prefactor     29.791        45.966        .38584E-06   -.22381E-04
  22  Normalizat    1.0543        .40856       -.30564E-05    .19667E-04
  23  Prefactor     .80259        .23579        .11830E-05   -.55886E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.7957
  norm       = 43.3059
  Prefactor  = 0.0001
  Prefactor  = 20.0538
  Prefactor  = 39.5581
  Prefactor  = 0.0001
  Prefactor  = 3.94193
  norm       = 0.528103
  norm       = 19.3609
  Prefactor  = 8.85367
  Prefactor  = 0.0001
  norm       = 25.1663
  Prefactor  = 19.1112
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 22.6325
  Prefactor  = 29.7911
  Normalizat = 1.05429
  Prefactor  = 0.802593
 **********
 **   18 **HESSE 
 **********

 FCN=   2180.201     FROM HESSE     STATUS=OK           376 CALLS     2984 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.796        27.144        .68928E-04   -1.4545    
   2  norm          43.306        32.385        .60913E-04   -1.4391    
   3  Prefactor     .10000E-03    25.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.054        21.302        .89452E-04   -1.4812    
   5  Prefactor     39.558        37.152        .63725E-04   -1.4449    
   6  Prefactor     .10000E-03    606.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9419        192.00        .20084E-03   -1.5311    
   8  norm          .52810        1.8766        .11088E-03   -1.5563    
   9  norm          19.361        37.352        .91094E-04   -1.4828    
  10  Prefactor     8.8537        17.991        .13472E-03   -1.5113    
  11  Prefactor     .10000E-03    62.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.166        26.512        .79856E-04   -1.4704    
  13  Prefactor     19.111        21.837        .91619E-04   -1.4833    
  14  Prefactor     .10000E-03    154.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.000        34.180        .12674E-03   -1.5075    
  18  Prefactor     .10000E-03    113.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7903        .88633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.633        70.306        .84362E-04   -1.4756    
  21  Prefactor     29.791        46.075        .73404E-04   -1.4616    
  22  Normalizat    1.0543        .47228        .31811E-03   -.91233    
  23  Prefactor     .80259        .27230        .22643E-03   -.99633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32954e-10
Minuit parameter uncertainties:
  1  27.1539
  2  32.3978
  3  6.89983e-05
  4  21.31
  5  37.1736
  6  7.96894e-05
  7  55.2094
  8  1.87679
  9  37.3971
  10  18.0024
  11  6.08998e-05
  12  26.5243
  13  21.8456
  14  0.00119671
  15  1.98898e-05
  16  0.000163197
  17  34.247
  18  0.000613091
  19  6.96112e-06
  20  70.5652
  21  46.1298
  22  0.474177
  23  0.272763
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.956e+01  3.717e+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:  8.026e-01  2.728e-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.054e+00  4.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 7.43e-08 +/- 6.98e-08
Energy Flux (Fixed Index): 3.42e-05 +/- 3.22e-05

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

Saving results to:
/scratch/kocevski/677173/likelihoodResults_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.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) = 2180.13537803
delta logL = 0.0653728916932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2180.13477624
delta logL = 0.0659746741121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.492       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80736       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=   2180.135     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      287 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.467        42.771        .73775E-04    .16257E-04
   2  Index         2.4491        .80092        .46995E-02    .16159E-03
   3  Normalizat    1.0418        .42087        .31973E-03    .84449E-05
   4  Prefactor     .80745        .26562        .22578E-03    .45317E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4668
  Index      = 2.44914
  Normalizat = 1.04185
  Prefactor  = 0.807454
 **********
 **   18 **HESSE 
 **********

 FCN=   2180.135     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.467        40.717        .29510E-05   -1.4622    
   2  Index         2.4491        .76271        .93989E-03   -.53538    
   3  Normalizat    1.0418        .42114        .12789E-04   -.91641    
   4  Prefactor     .80745        .26578        .90313E-05   -.99454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73227e-12
Minuit parameter uncertainties:
  1  40.7551
  2  0.766762
  3  0.422499
  4  0.266202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677173': 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) = 2180.1347718
delta logL = 0.0659791165917

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.947e+01  4.076e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.449e+00  7.668e-01  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:  8.075e-01  2.662e-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.042e+00  4.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.13
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.45 +/- 0.77
Photon Flux (Free Index): 8.68e-08 +/- 8.34e-08
Energy Flux (Free Index): 2.67e-05 +/- 2.92e-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/677173/cmap_HighResolution_490752001_491011201_4FGL_J2311.0+0205_daily_bin970.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', comment='SUCCESS', photon_flux='7.43e-08', energy_flux2='2.67e-05', photon_flux_error='6.98e-08', dlogl='6.60e-02', energy_flux='3.42e-05', photon_flux2='8.68e-08', job_status='DONE', time_completed='2021-09-29 07:42:17.690939', photon_index_error2='0.77', photon_index2='2.45', ts='2.02', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='2.92e-05', EG='1.05', time_epoch_completed='1632926537.69', return_code='0', job_id='677173', GAL2='0.81', EG2='1.04', return_code2='0', energy_flux_error='3.22e-05', photon_flux_error2='8.34e-08', ts2='2.13', photon_index='2.19' WHERE bin_id='970' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:42:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 677173: <4FGL_J2311.0+0205_daily_bin970> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin970 347.766 2.0995 490752001 491011201 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 :                                   444.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             238.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            676 sec.

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

