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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin864
RA = 347.931, Dec = 26.0831
tmin = 463276801, tmax = 463536001
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='693494', job_status='RUN', time_executed='2021-09-29 08:20:38.363308', time_epoch_executed='1632928838.36' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='864'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693494

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693494/ft1_4FGL_J2311.7+2604_daily_bin864.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693494/ft1_4FGL_J2311.7+2604_daily_bin864.fits outfile=/scratch/kocevski/693494/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin864.fits ra=347.931 dec=26.0831 rad=12.0 tmin=463276801.0 tmax=463536001.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.68
user 3.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.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/693494/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin864.fits evtable="EVENTS" outfile="/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits" evtable="EVENTS" scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits sctable="SC_DATA" outfile=/scratch/kocevski/693494/ltcube_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.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/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits
.....................!
real 12.24
user 11.80
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits sctable="SC_DATA" expcube=/scratch/kocevski/693494/ltcube_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits outfile=/scratch/kocevski/693494/expmap_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.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/693494/ltcube_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits
.....................!
real 190.72
user 185.74
sys 4.62

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits outfile=/scratch/kocevski/693494/cmap_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.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.931 yref=26.0831 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits outfile=/scratch/kocevski/693494/cmap_HighResolution_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.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.931 yref=26.0831 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693494/Model_4FGL_J2311.7+2604_daily_bin864.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/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits.....................!
real 113.68
user 112.11
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits', '/scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits', expMap='/scratch/kocevski/693494/expmap_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits', expCube='/scratch/kocevski/693494/ltcube_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/693494/Model_4FGL_J2311.7+2604_daily_bin864.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/693494/ft1_filtered_4FGL_J2311.7+2604_daily_bin864.fits
Spacecraft file(s): /scratch/kocevski/693494/ft2_4FGL_J2311.7+2604_daily_bin864.fits
Exposure map: /scratch/kocevski/693494/expmap_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits
Exposure cube: /scratch/kocevski/693494/ltcube_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/693494/Model_4FGL_J2311.7+2604_daily_bin864.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) = 9791.31991089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.841       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10251E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.863       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2077       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1047       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6416       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.266       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.8531       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.168       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4984       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0995       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11708E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11086E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2105       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9791.302     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2396 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.709        85.982        .11363E-04    .41894E-05
   2  Prefactor     .10000E-03    6.9622       -.49023E-07** at limit **
   3  norm          .10000E-03    .26463       -.36913E-06** at limit **
   4  Prefactor     16.864        14.108        .11204E-06    .87489E-04
   5  norm          3.2076        1.8363       -.23854E-06    .51784E-05
   6  Prefactor     22.149        48.938       -.14648E-05    .31933E-05
   7  Prefactor     2.1055        13.842        .92254E-05   -.85489E-05
   8  Prefactor     7.6415        .45779       -.90496E-08   -.30450E-03
   9  Prefactor     15.264        9.8473       -.37237E-07    .68153E-05
  10  Prefactor     .10000E-03    9.6703        .12645E-07** at limit **
  11  Prefactor     .10000E-03    2.5640        .12724E-07** at limit **
  12  norm          3.8525        1.7383        .74150E-07   -.19331E-04
  13  Prefactor     .10000E-03    19.228        .11828E-06** at limit **
  14  Prefactor     32.160        23.210        .14399E-06   -.44130E-05
  15  Prefactor     5.5009        6.9663        .16624E-05   -.31673E-04
  16  norm          2.0994        4.3044        .39920E-06   -.18522E-05
  17  Prefactor     .10000E-03    26.025        .23993E-06** at limit **
  18  Prefactor     .10000E-03    34.205        .51922E-06** at limit **
  19  Prefactor     .10000E-03    6.0765        .11834E-07** at limit **
  20  Prefactor     .10000E-03    105.62        .52525E-06** at limit **
  21  Normalizat    1.2107        .20401       -.90393E-06    .96299E-04
  22  Prefactor     .80879        .10683       -.48803E-06    .10412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.7089
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.8642
  norm       = 3.20764
  Prefactor  = 22.1493
  Prefactor  = 2.10546
  Prefactor  = 7.64146
  Prefactor  = 15.2645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.85248
  Prefactor  = 0.0001
  Prefactor  = 32.1599
  Prefactor  = 5.50086
  norm       = 2.09937
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21071
  Prefactor  = 0.808786
 **********
 **   18 **HESSE 
 **********

 FCN=   9791.302     FROM HESSE     STATUS=OK           344 CALLS     2740 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.709        86.087        .25112E-03   -1.4110    
   2  Prefactor     .10000E-03    7.0057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .34047        .98653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.864        14.072        .97534E-04   -1.4886    
   5  norm          3.2076        1.8368        .96073E-04   -1.5350    
   6  Prefactor     22.149        48.982        .84690E-04   -1.4766    
   7  Prefactor     2.1055        13.942        .14221E-02   -1.5418    
   8  Prefactor     7.6415        .45890        .15650E-04   -1.5155    
   9  Prefactor     15.264        9.8484        .10251E-03   -1.4926    
  10  Prefactor     .10000E-03    9.6757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5682        .15473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8525        1.7347        .82558E-04   -1.5315    
  13  Prefactor     .10000E-03    19.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.160        23.208        .70649E-04   -1.4573    
  15  Prefactor     5.5009        6.9579        .85675E-03   -1.5239    
  16  norm          2.0994        4.2694        .28010E-03   -1.5418    
  17  Prefactor     .10000E-03    26.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    107.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2107        .23872        .35190E-03   -.86273    
  22  Prefactor     .80879        .12527        .22376E-03   -.99405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75526e-10
Minuit parameter uncertainties:
  1  86.2556
  2  7.15747e-06
  3  4.69184e-06
  4  14.0748
  5  1.8368
  6  49.0713
  7  10.8392
  8  0.458904
  9  9.84947
  10  2.52498e-06
  11  5.82878e-07
  12  1.73473
  13  2.17643e-05
  14  23.2146
  15  6.95895
  16  4.27002
  17  3.98824e-05
  18  2.56646e-05
  19  1.85674e-06
  20  0.000212493
  21  0.238935
  22  0.12531
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.176e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.088e-01  1.253e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.211e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 8.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693494/likelihoodResults_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.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) = 9791.30260589
delta logL = -0.000246181938564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9791.30235994
delta logL = -2.3494794732e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3333       1.0000          .0000       10.000    
     3 'Normalizat'    1.2107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80879       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9791.302     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      236 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1511.3        .90712E-02** at limit **
   2  Index         2.3488        7.6326        .50000       -.78672E-05
   3  Normalizat    1.2107        .55819E-01    .79498E-01    .39450E-04
   4  Prefactor     .80879        .29767E-01    .43832E-01    .39487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3488
  Normalizat = 1.21071
  Prefactor  = 0.808786
 **********
 **   18 **HESSE 
 **********

 FCN=   9791.302     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6492.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3488        6.1740        .50000       -.55888    
   3  Normalizat    1.2107        .10451        .35190E-03   -.86273    
   4  Prefactor     .80879        .55852E-01    .22376E-03   -.99405    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.84855e-09
Minuit parameter uncertainties:
  1  0.000884804
  2  57.6382
  3  0.104524
  4  0.0558561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693494': 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) = 9791.30235987
delta logL = -1.64523953572e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  8.848e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.349e+00  5.764e+01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.088e-01  5.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.211e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.931 26.083

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/693494/cmap_HighResolution_463276801_463536001_4FGL_J2311.7+2604_daily_bin864.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.47e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2021-09-29 08:35:45.178910', job_id='693494', GAL2='0.81', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1632929745.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-1.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='864' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:35:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 693494: <4FGL_J2311.7+2604_daily_bin864> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin864> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 08:20:24 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:20:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:20:25 2021
Terminated at Wed Sep 29 08:35:45 2021
Results reported at Wed Sep 29 08:35:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin864 347.931 26.0831 463276801 463536001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   902.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            921 sec.

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

