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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin942
RA = 347.766, Dec = 2.0995
tmin = 483494401, tmax = 483753601
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='677131', job_status='RUN', time_executed='2021-09-29 07:31:19.441374', time_epoch_executed='1632925879.44' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677131

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677131/ft1_4FGL_J2311.0+0205_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677131/ft1_4FGL_J2311.0+0205_daily_bin942.fits outfile=/scratch/kocevski/677131/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin942.fits ra=347.766 dec=2.0995 rad=12.0 tmin=483494401.0 tmax=483753601.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 6.58
user 6.25
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677131/ft1_filtered_4FGL_J2311.0+0205_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/677131/ltcube_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.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/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits
.....................!
real 11.60
user 11.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677131/ft1_filtered_4FGL_J2311.0+0205_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/677131/ltcube_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.fits outfile=/scratch/kocevski/677131/expmap_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.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/677131/ltcube_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.fits
.....................!
real 191.12
user 185.86
sys 4.64

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/677131/ft1_filtered_4FGL_J2311.0+0205_daily_bin942.fits scfile=/scratch/kocevski/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits outfile=/scratch/kocevski/677131/cmap_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.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/677131/ft1_filtered_4FGL_J2311.0+0205_daily_bin942.fits scfile=/scratch/kocevski/677131/ft2_4FGL_J2311.0+0205_daily_bin942.fits outfile=/scratch/kocevski/677131/cmap_HighResolution_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27574       1.0000         .10000E-03   10000.    
     2 'norm      '    9.6729       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7501       1.0000         .10000E-03   10000.    
     8 'norm      '    .88446       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3812       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    122.34       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.695       1.0000         .10000E-03   10000.    
    17 'norm      '    13.903       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6940       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.628       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31988       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83374       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6225.054     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2192 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26433        2.5751        .76649E-05    .41040E-03
   2  norm          9.6553        6.2418        .51937E-05   -.37759E-02
   3  Prefactor     .10000E-03    8.0864       -.66342E-05** at limit **
   4  Prefactor     .10000E-03    7.7897       -.43555E-06** at limit **
   5  Prefactor     7.2803        3.0728        .27708E-05   -.18738E-02
   6  Prefactor     .10060E-03    22.044        .12319E-04** at limit **
   7  Prefactor     1.7474        1.1149       -.52962E-06   -.11259E-02
   8  norm          .88464        .77544       -.23959E-06   -.58722E-04
   9  norm          .10000E-03    1.5253        .56798E-05** at limit **
  10  Prefactor     3.3785        1.8785       -.19817E-05   -.29466E-02
  11  Prefactor     .10086E-03    19.359       -.19243E-04** at limit **
  12  norm          .10000E-03    5.0795        .74725E-06** at limit **
  13  Prefactor     .10000E-03    2.8273        .47835E-05** at limit **
  14  Prefactor     122.34        1.1095       -.88058E-07    .21117E-02
  15  Prefactor     .10000E-03    6.2557       -.19788E-05** at limit **
  16  Prefactor     20.719        2.2014        .41974E-06   -.17390E-02
  17  norm          13.902        1.0450        .81108E-07   -.96070E-04
  18  Prefactor     .10004E-03    19.883       -.48820E-05** at limit **
  19  Prefactor     3.6929        4.5321        .90177E-06   -.17436E-03
  20  Prefactor     14.627        6.0489        .41900E-05   -.96380E-02
  21  Prefactor     .10047E-03    1389.5        .60534E-06** at limit **
  22  Normalizat    .83416        .23838       -.16224E-04   -.61494E-04
  23  Prefactor     .99026        .14857        .16671E-05   -.89426E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.264333
  norm       = 9.65532
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.28032
  Prefactor  = 0.0001006
  Prefactor  = 1.7474
  norm       = 0.884643
  norm       = 0.0001
  Prefactor  = 3.37849
  Prefactor  = 0.000100858
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 122.337
  Prefactor  = 0.0001
  Prefactor  = 20.7193
  norm       = 13.9023
  Prefactor  = 0.000100041
  Prefactor  = 3.69288
  Prefactor  = 14.6269
  Prefactor  = 0.000100467
  Normalizat = 0.834162
  Prefactor  = 0.990258
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.054     FROM HESSE     STATUS=OK           426 CALLS     2618 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26433        5.9401        .72713E-01   -1.5605    
   2  norm          9.6553        16.241        .32212E-02   -1.5086    
   3  Prefactor     .10000E-03    8.1160        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.7505        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2803        17.428        .37135E-02   -1.5168    
   6  Prefactor     .10060E-03    25.284        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7474        5.7632        .79236E-02   -1.5444    
   8  norm          .88464        .82180        .12751E-01   -1.5520    
   9  norm          .10000E-03    1.5251        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3785        8.1630        .55011E-02   -1.5340    
  11  Prefactor     .10086E-03    23.496        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.0108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.8139        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     122.34        208.92        .90968E-03   -1.3491    
  15  Prefactor     .10000E-03    6.2661        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.719        22.906        .22011E-02   -1.4797    
  17  norm          13.902        15.688        .26855E-02   -1.4962    
  18  Prefactor     .10004E-03    20.212        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6929        4.7255        .52533E-02   -1.5324    
  20  Prefactor     14.627        27.472        .26181E-02   -1.4943    
  21  Prefactor     .10047E-03    21.811        .12197       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .83416        .21149        .75080E-01   -.98814    
  23  Prefactor     .99026        .12831        .46145E-01   -.93055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24245e-06
Minuit parameter uncertainties:
  1  2.50593
  2  16.2483
  3  0.000161581
  4  4.03426e-05
  5  17.4398
  6  0.00779148
  7  5.76507
  8  0.821806
  9  5.51536e-06
  10  8.16572
  11  0.00898424
  12  1.31015e-05
  13  7.13786e-06
  14  210.204
  15  5.90996e-05
  16  22.916
  17  15.6922
  18  0.0018119
  19  4.72598
  20  27.496
  21  0.00638371
  22  0.211695
  23  0.128354
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.280e+00  1.744e+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:  9.903e-01  1.284e-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.342e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 9.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677131/likelihoodResults_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.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) = 6224.5578658
delta logL = 0.495953811868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6224.11090149
delta logL = 0.942918121275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33532E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.6576       1.0000          .0000       10.000    
     3 'Normalizat'    .73538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0363       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=   6224.111     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      397 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32356E-03    .58393E-02    .27530E-03** at limit **
   2  Index         7.6726        2.3123        .13811        .16135E-03
   3  Normalizat    .73537        .49023E-01    .79506E-01    .32791E-04
   4  Prefactor     1.0363        .30862E-01    .40786E-01   -.41207E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000323559
  Index      = 7.67257
  Normalizat = 0.735372
  Prefactor  = 1.03634
 **********
 **   18 **HESSE 
 **********

 FCN=   6224.111     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      430 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32356E-03    .15721E-01    .13922E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6726        7.7333        .52749E-02    .56393    
   3  Normalizat    .73537        .18086        .35201E-03   -1.0251    
   4  Prefactor     1.0363        .11201        .18871E-03   -.91528    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.75636e-10
Minuit parameter uncertainties:
  1  0.00374939
  2  4.88866
  3  0.181008
  4  0.112036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677131': 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) = 6224.11089829
delta logL = 0.942921324137

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.236e-04  3.749e-03  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  7.673e+00  4.889e+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.036e+00  1.120e-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:  7.354e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 347.766 2.099
Photon Index (Free Index): 7.67 +/- 4.89
Photon Flux (Free Index): 8.56e-08 +/- 6.74e-08
Energy Flux (Free Index): 1.00e-05 +/- 8.35e-06

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/677131/cmap_HighResolution_483494401_483753601_4FGL_J2311.0+0205_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='9.43e-01', photon_flux2='8.56e-08', job_status='DONE', time_completed='2021-09-29 07:42:25.751037', photon_index_error2='4.89', photon_index2='7.67', ts='0.21', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='9.65e-08', energy_flux_error2='8.35e-06', EG='0.83', time_epoch_completed='1632926545.75', return_code='0', job_id='677131', GAL2='1.04', EG2='0.74', return_code2='102', photon_flux_error2='6.74e-08', ts2='2.27', photon_index='2.19' WHERE bin_id='942' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:42:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 677131: <4FGL_J2311.0+0205_daily_bin942> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin942 347.766 2.0995 483494401 483753601 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 :                                   645.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            688 sec.

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

