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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin745
RA = 347.766, Dec = 2.0995
tmin = 432432001, tmax = 432691201
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='676835', job_status='RUN', time_executed='2021-09-29 07:33:42.130902', time_epoch_executed='1632926022.13' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676835

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676835/ft1_4FGL_J2311.0+0205_daily_bin745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676835/ft2_4FGL_J2311.0+0205_daily_bin745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676835/ft1_4FGL_J2311.0+0205_daily_bin745.fits outfile=/scratch/kocevski/676835/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin745.fits ra=347.766 dec=2.0995 rad=12.0 tmin=432432001.0 tmax=432691201.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.18
user 4.81
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676835/ft1_filtered_4FGL_J2311.0+0205_daily_bin745.fits evtable="EVENTS" scfile=/scratch/kocevski/676835/ft2_4FGL_J2311.0+0205_daily_bin745.fits sctable="SC_DATA" expcube=/scratch/kocevski/676835/ltcube_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.fits outfile=/scratch/kocevski/676835/expmap_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.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/676835/ltcube_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.fits
.....................!
real 190.05
user 185.20
sys 4.31

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/676835/ft1_filtered_4FGL_J2311.0+0205_daily_bin745.fits scfile=/scratch/kocevski/676835/ft2_4FGL_J2311.0+0205_daily_bin745.fits outfile=/scratch/kocevski/676835/cmap_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.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.60
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676835/ft1_filtered_4FGL_J2311.0+0205_daily_bin745.fits scfile=/scratch/kocevski/676835/ft2_4FGL_J2311.0+0205_daily_bin745.fits outfile=/scratch/kocevski/676835/cmap_HighResolution_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.496       1.0000         .10000E-03   10000.    
     2 'norm      '    41.108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10689E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5776       1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.922       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.404       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20039E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.661       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3934       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    42.618       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.209       1.0000         .10000E-03   10000.    
    17 'norm      '    .11168E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.685       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15962E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    58.525       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .41571E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .43769       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1374       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=   3119.784     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2955 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.499        15.015       -.12255E-06   -.37369E-05
   2  norm          41.118        30.770       -.10635E-05   -.36250E-04
   3  Prefactor     .10000E-03    76.369       -.23842E-05** at limit **
   4  Prefactor     1.5713        35.877       -.85633E-06   -.13871E-04
   5  Prefactor     54.931        36.722       -.61605E-06   -.93965E-05
   6  Prefactor     16.488        135.79       -.14998E-04   -.54214E-04
   7  Prefactor     .10000E-03    37.244        .14565E-04** at limit **
   8  norm          .10000E-03    .81892        .24474E-06** at limit **
   9  norm          .10000E-03    4.8010        .17136E-05** at limit **
  10  Prefactor     21.665        21.608       -.63919E-06    .12505E-04
  11  Prefactor     .10000E-03    56.113       -.94271E-07** at limit **
  12  norm          .10000E-03    10.631       -.71203E-06** at limit **
  13  Prefactor     7.3934        8.7286       -.23253E-06   -.33706E-04
  14  Prefactor     .10000E-03    126.51        .44225E-06** at limit **
  15  Prefactor     42.638        27.196       -.69037E-06   -.11260E-03
  16  Prefactor     42.191        51.808        .35485E-06    .34843E-04
  17  norm          .10000E-03    35.793       -.14225E-06** at limit **
  18  Prefactor     19.877        187.58       -.39064E-05    .89141E-05
  19  Prefactor     .10000E-03    14.472        .45114E-06** at limit **
  20  Prefactor     58.537        61.884        .72048E-06    .31498E-04
  21  Prefactor     .10006E-03    50.524       -.31391E-05** at limit **
  22  Normalizat    .43720        .39348        .85681E-05   -.11346E-04
  23  Prefactor     1.1376        .22321       -.15557E-05    .20837E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4989
  norm       = 41.1182
  Prefactor  = 0.0001
  Prefactor  = 1.57128
  Prefactor  = 54.9314
  Prefactor  = 16.4883
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 21.6651
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.39339
  Prefactor  = 0.0001
  Prefactor  = 42.6379
  Prefactor  = 42.1913
  norm       = 0.0001
  Prefactor  = 19.8767
  Prefactor  = 0.0001
  Prefactor  = 58.5372
  Prefactor  = 0.000100061
  Normalizat = 0.437205
  Prefactor  = 1.13758
 **********
 **   18 **HESSE 
 **********

 FCN=   3119.784     FROM HESSE     STATUS=OK           366 CALLS     3321 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.499        15.023        .10175E-03   -1.4920    
   2  norm          41.118        30.547        .62521E-04   -1.4425    
   3  Prefactor     .10000E-03    76.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5713        35.930        .33824E-03   -1.5457    
   5  Prefactor     54.931        36.680        .54125E-04   -1.4224    
   6  Prefactor     16.488        144.79        .98888E-04   -1.4896    
   7  Prefactor     .10000E-03    37.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .83910        .98338E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.7910        .11926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.665        21.568        .86061E-04   -1.4777    
  11  Prefactor     .10000E-03    56.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.685        .17771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3934        8.7148        .14750E-03   -1.5164    
  14  Prefactor     .10000E-03    126.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.638        26.685        .61407E-04   -1.4401    
  16  Prefactor     42.191        51.231        .61703E-04   -1.4408    
  17  norm          .10000E-03    35.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.877        182.13        .90273E-04   -1.4816    
  19  Prefactor     .10000E-03    14.686        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     58.537        61.367        .52442E-04   -1.4176    
  21  Prefactor     .10006E-03    368.61        .72793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .43720        .38811        .46640E-03   -1.1542    
  23  Prefactor     1.1376        .22935        .19274E-03   -.88274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8536e-10
Minuit parameter uncertainties:
  1  15.0269
  2  30.5586
  3  0.000384538
  4  15.0372
  5  36.6954
  6  98.039
  7  0.000153969
  8  2.71948e-06
  9  1.10574e-05
  10  21.5754
  11  0.000155879
  12  1.78953e-07
  13  8.71626
  14  0.000332201
  15  26.6923
  16  51.2841
  17  8.29227e-05
  18  120.824
  19  2.58049e-05
  20  61.4337
  21  0.009545
  22  0.390531
  23  0.229549
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.493e+01  3.670e+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.138e+00  2.295e-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:  4.372e-01  3.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.17
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.03e-07 +/- 6.89e-08
Energy Flux (Fixed Index): 4.75e-05 +/- 3.18e-05

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) = 3119.40665032
delta logL = 0.377685139814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3119.36130526
delta logL = 0.423030204548

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.270       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7469       1.0000          .0000       10.000    
     3 'Normalizat'    .47680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1222       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=   3119.361     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.261        44.015       -.22657E-05    .15555E-04
   2  Index         1.7471        .43730       -.91552E-05    .32235E-04
   3  Normalizat    .47675        .32344        .33897E-05    .12021E-03
   4  Prefactor     1.1224        .21122       -.41078E-06    .19017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.2613
  Index      = 1.74711
  Normalizat = 0.476751
  Prefactor  = 1.12236
 **********
 **   18 **HESSE 
 **********

 FCN=   3119.361     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.261        44.061        .24468E-03   -1.4066    
   2  Index         1.7471        .43728        .58251E-02   -.70835    
   3  Normalizat    .47675        .34136        .44753E-03   -1.1351    
   4  Prefactor     1.1224        .22241        .19376E-03   -.88755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14001e-10
Minuit parameter uncertainties:
  1  44.0824
  2  0.438248
  3  0.342866
  4  0.222592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676835': 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) = 3119.36130477
delta logL = 0.423030692802

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.726e+01  4.408e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.747e+00  4.382e-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:  1.122e+00  2.226e-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:  4.768e-01  3.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.02
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 6.73e-08 +/- 5.61e-08
Energy Flux (Free Index): 9.47e-05 +/- 1.02e-04

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/676835/cmap_HighResolution_432432001_432691201_4FGL_J2311.0+0205_daily_bin745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-07', energy_flux2='9.47e-05', photon_flux_error='6.89e-08', dlogl='4.23e-01', energy_flux='4.75e-05', photon_flux2='6.73e-08', job_status='DONE', time_completed='2021-09-29 07:41:43.703529', photon_index_error2='0.44', photon_index2='1.75', ts='6.17', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.02e-04', EG='0.44', time_epoch_completed='1632926503.7', return_code='0', job_id='676835', GAL2='1.12', EG2='0.48', return_code2='0', energy_flux_error='3.18e-05', photon_flux_error2='5.61e-08', ts2='7.02', photon_index='2.19' WHERE bin_id='745' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:41:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 676835: <4FGL_J2311.0+0205_daily_bin745> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin745 347.766 2.0995 432432001 432691201 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 :                                   469.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             244.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            671 sec.

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

