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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin643
RA = 347.766, Dec = 2.0995
tmin = 405993601, tmax = 406252801
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='676683', job_status='RUN', time_executed='2021-09-29 07:32:44.354672', time_epoch_executed='1632925964.35' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='643'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676683/ft1_4FGL_J2311.0+0205_daily_bin643.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676683/ft1_4FGL_J2311.0+0205_daily_bin643.fits outfile=/scratch/kocevski/676683/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin643.fits ra=347.766 dec=2.0995 rad=12.0 tmin=405993601.0 tmax=406252801.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.47
user 3.20
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676683/ft1_filtered_4FGL_J2311.0+0205_daily_bin643.fits" evtable="EVENTS" scfile=/scratch/kocevski/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits sctable="SC_DATA" outfile=/scratch/kocevski/676683/ltcube_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.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/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits
.....................!
real 13.46
user 12.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676683/ft1_filtered_4FGL_J2311.0+0205_daily_bin643.fits evtable="EVENTS" scfile=/scratch/kocevski/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits sctable="SC_DATA" expcube=/scratch/kocevski/676683/ltcube_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.fits outfile=/scratch/kocevski/676683/expmap_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.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/676683/ltcube_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.fits
.....................!
real 191.56
user 186.65
sys 4.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/676683/ft1_filtered_4FGL_J2311.0+0205_daily_bin643.fits scfile=/scratch/kocevski/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits outfile=/scratch/kocevski/676683/cmap_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.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/676683/ft1_filtered_4FGL_J2311.0+0205_daily_bin643.fits scfile=/scratch/kocevski/676683/ft2_4FGL_J2311.0+0205_daily_bin643.fits outfile=/scratch/kocevski/676683/cmap_HighResolution_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3862       1.0000         .10000E-03   10000.    
     2 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1805       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6904       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1992       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4456       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.7351       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17939E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    14.969       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4135       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12426E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    29.025       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27434E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4432       1.0000         .10000E-03   10000.    
    20 'Prefactor '    84.157       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89398       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93970       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7634.294     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2632 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3865        8.1890         .0000        .26420E-03
   2  norm          .10018E-03    14.706         .0000    ** at limit **
   3  Prefactor     2.1796        41.038         .0000       -.14060E-02
   4  Prefactor     3.6885        7.1459         .0000        .18474E-02
   5  Prefactor     .10012E-03    15.144         .0000    ** at limit **
   6  Prefactor     2.0057        625.41         .0000        .14244E-02
   7  Prefactor     2.4747        26.933         .0000        .11937E-01
   8  norm          .10000E-03    .37702         .0000    ** at limit **
   9  norm          2.7318        4.1231         .0000        .48675E-03
  10  Prefactor     .10000E-03    5.3012         .0000    ** at limit **
  11  Prefactor     .10001E-03    14.047         .0000    ** at limit **
  12  norm          14.963        11.280         .0000        .15603E-02
  13  Prefactor     1.4190        15.781         .0000        .12253E-02
  14  Prefactor     .10000E-03    145.95         .0000    ** at limit **
  15  Prefactor     .10000E-03    5.4431         .0000    ** at limit **
  16  Prefactor     .10000E-03    6.5355         .0000    ** at limit **
  17  norm          29.023        21.208         .0000       -.19312E-02
  18  Prefactor     .11898E-03    389.17         .0000    ** at limit **
  19  Prefactor     7.4407        4.4319         .0000        .51902E-03
  20  Prefactor     84.195        44.368         .0000        .17597E-02
  21  Prefactor     .10000E-03    7.4228         .0000    ** at limit **
  22  Normalizat    .89416        .18280         .0000        .54688E-03
  23  Prefactor     .93957        .11251         .0000       -.84911E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38651
  norm       = 0.000100182
  Prefactor  = 2.17962
  Prefactor  = 3.6885
  Prefactor  = 0.000100122
  Prefactor  = 2.00568
  Prefactor  = 2.47471
  norm       = 0.0001
  norm       = 2.73175
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  norm       = 14.9628
  Prefactor  = 1.41904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.0228
  Prefactor  = 0.00011898
  Prefactor  = 7.44069
  Prefactor  = 84.1953
  Prefactor  = 0.0001
  Normalizat = 0.894162
  Prefactor  = 0.939569
 **********
 **   18 **HESSE 
 **********

 FCN=   7634.294     FROM HESSE     STATUS=OK           374 CALLS     3006 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3865        8.1852        .21988E-03   -1.5340    
   2  norm          .10018E-03    15.190        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1796        41.090        .27879E-03   -1.5413    
   4  Prefactor     3.6885        7.1315        .21024E-03   -1.5324    
   5  Prefactor     .10012E-03    15.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0057        322.33        .27746E-03   -1.5425    
   7  Prefactor     2.4747        13.421        .13080E-02   -1.5393    
   8  norm          .10000E-03    .78997        .10332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.7318        3.8815        .18163E-03   -1.5377    
  10  Prefactor     .10000E-03    11.363        .60595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    14.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.963        10.809        .10352E-03   -1.4934    
  13  Prefactor     1.4190        14.171        .36424E-03   -1.5470    
  14  Prefactor     .10000E-03    146.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.5439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          29.023        21.204        .74366E-04   -1.4630    
  18  Prefactor     .11898E-03    401.58        .36637E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.4407        4.4394        .12579E-03   -1.5162    
  20  Prefactor     84.195        44.649        .43788E-04   -1.3870    
  21  Prefactor     .10000E-03    7.4328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89416        .21341        .15024E-02   -.96666    
  23  Prefactor     .93957        .13232        .19285E-03   -.94772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97521e-07
Minuit parameter uncertainties:
  1  8.18787
  2  0.00332615
  3  18.9418
  4  7.13318
  5  0.0027462
  6  51.1331
  7  11.5299
  8  1.43506e-06
  9  3.88187
  10  0.000156682
  11  0.000627001
  12  10.8102
  13  8.97118
  14  9.127e-05
  15  5.17717e-06
  16  1.44007e-05
  17  21.2095
  18  0.175796
  19  4.43955
  20  44.6668
  21  6.57621e-06
  22  0.21361
  23  0.132366
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.001e-04  2.746e-03  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:  9.396e-01  1.324e-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:  8.942e-01  2.136e-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: 5.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676683/likelihoodResults_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.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) = 7634.29413728
delta logL = -0.000307905164846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7634.29382967
delta logL = -2.99195562548e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1867       1.0000          .0000       10.000    
     3 'Normalizat'    .89405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93965       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=   7634.294     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.824        .90712E-02** at limit **
   2  Index         2.1871        7.3899        .50000       -.14934E-06
   3  Normalizat    .89416        .48516E-02    .67922E-01    .27625E-04
   4  Prefactor     .93957        .32019E-02    .45508E-01    .12158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18711
  Normalizat = 0.894162
  Prefactor  = 0.939569
 **********
 **   18 **HESSE 
 **********

 FCN=   7634.294     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    127.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1871        7.6732        .50000       -.59750    
   3  Normalizat    .89416        .12901E-01    .30048E-03   -.96666    
   4  Prefactor     .93957        .85246E-02    .19285E-03   -.94772    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.83083e-10
Minuit parameter uncertainties:
  1  7.5692e-05
  2  307.009
  3  0.012901
  4  0.00852465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676683': 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): 102
logL (Free Index) = 7634.29382937
delta logL = 3.99177224608e-09

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.569e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.187e+00  3.070e+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:  9.396e-01  8.525e-03  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:  8.942e-01  1.290e-02  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/676683/cmap_HighResolution_405993601_406252801_4FGL_J2311.0+0205_daily_bin643.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2021-09-29 07:45:44.047094', job_id='676683', GAL2='0.94', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632926744.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.99e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='643' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 676683: <4FGL_J2311.0+0205_daily_bin643> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin643 347.766 2.0995 405993601 406252801 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 :                                   725.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

