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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin828
RA = 347.766, Dec = 2.0995
tmin = 453945601, tmax = 454204801
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='676960', job_status='RUN', time_executed='2021-09-29 07:34:52.780847', time_epoch_executed='1632926092.78' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676960

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676960/ft1_4FGL_J2311.0+0205_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676960/ft1_4FGL_J2311.0+0205_daily_bin828.fits outfile=/scratch/kocevski/676960/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin828.fits ra=347.766 dec=2.0995 rad=12.0 tmin=453945601.0 tmax=454204801.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 4.04
user 3.80
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676960/ft1_filtered_4FGL_J2311.0+0205_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/676960/ltcube_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.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/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits
.....................!
real 13.56
user 13.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676960/ft1_filtered_4FGL_J2311.0+0205_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/676960/ltcube_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.fits outfile=/scratch/kocevski/676960/expmap_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.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/676960/ltcube_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.fits
.....................!
real 189.15
user 184.28
sys 4.51

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/676960/ft1_filtered_4FGL_J2311.0+0205_daily_bin828.fits scfile=/scratch/kocevski/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits outfile=/scratch/kocevski/676960/cmap_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676960/ft1_filtered_4FGL_J2311.0+0205_daily_bin828.fits scfile=/scratch/kocevski/676960/ft2_4FGL_J2311.0+0205_daily_bin828.fits outfile=/scratch/kocevski/676960/cmap_HighResolution_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6596       1.0000         .10000E-03   10000.    
     2 'norm      '    9.3546       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.187       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.336       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0484       1.0000         .10000E-03   10000.    
     9 'norm      '    .28397E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.8123       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    17.291       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6093       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.189       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .32663       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2761       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=   6016.978     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2523 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6596        8.8910        .32234E-02   -.33484E-04
   2  norm          9.3563        13.506        .32758E-02    .12344E-02
   3  Prefactor     17.191        41.715        .24152E-02   -.53402E-04
   4  Prefactor     .10000E-03    6.9394        .90712E-02** at limit **
   5  Prefactor     .10012E-03    21.192        .90712E-02** at limit **
   6  Prefactor     .10000E-03    81.607        .90712E-02** at limit **
   7  Prefactor     15.342        10.740        .25569E-02    .40319E-04
   8  norm          1.0482        .80335        .12115E-01    .63857E-04
   9  norm          .10000E-03    4.5708        .50586E-01** at limit **
  10  Prefactor     7.8129        10.043        .35866E-02    .15911E-03
  11  Prefactor     .10000E-03    18.026        .90712E-02** at limit **
  12  norm          17.292        9.8186        .24080E-02    .56055E-03
  13  Prefactor     .10000E-03    8.0980        .90712E-02** at limit **
  14  Prefactor     .10001E-03    344.66        .90712E-02** at limit **
  15  Prefactor     .10000E-03    5.9388        .90712E-02** at limit **
  16  Prefactor     .10010E-03    22.512        .90712E-02** at limit **
  17  norm          .10000E-03    10.646        .90712E-02** at limit **
  18  Prefactor     .10000E-03    34.939        .90712E-02** at limit **
  19  Prefactor     6.6051        5.3393        .39023E-02    .25833E-03
  20  Prefactor     10.194        38.565        .31382E-02    .70895E-04
  21  Prefactor     .10000E-03    12.359        .90712E-02** at limit **
  22  Normalizat    .32648        .26701        .10775        .54397E-04
  23  Prefactor     1.2762        .16171        .33040E-01   -.23105E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.65956
  norm       = 9.35634
  Prefactor  = 17.1905
  Prefactor  = 0.0001
  Prefactor  = 0.000100125
  Prefactor  = 0.000100001
  Prefactor  = 15.3418
  norm       = 1.0482
  norm       = 0.0001
  Prefactor  = 7.8129
  Prefactor  = 0.000100004
  norm       = 17.2918
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100101
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.60508
  Prefactor  = 10.1943
  Prefactor  = 0.0001
  Normalizat = 0.326485
  Prefactor  = 1.27615
 **********
 **   18 **HESSE 
 **********

 FCN=   6016.978     FROM HESSE     STATUS=OK           370 CALLS     2893 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6596        8.8949        .12894E-03   -1.5086    
   2  norm          9.3563        13.377        .65516E-03   -1.5096    
   3  Prefactor     17.191        41.250        .96609E-04   -1.4878    
   4  Prefactor     .10000E-03    6.9771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10012E-03    21.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    81.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.342        10.403        .10228E-03   -1.4924    
   8  norm          1.0482        .79768        .57953E-04   -1.5503    
   9  norm          .10000E-03    10.216        .30972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.8129        10.012        .14346E-03   -1.5149    
  11  Prefactor     .10000E-03    18.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.292        9.7076        .96318E-04   -1.4876    
  13  Prefactor     .10000E-03    8.2860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    345.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10010E-03    22.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6051        5.2662        .14764E-03   -1.5194    
  20  Prefactor     10.194        38.064        .12553E-03   -1.5069    
  21  Prefactor     .10000E-03    12.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .32648        .24267        .47715E-03   -1.2129    
  23  Prefactor     1.2762        .15396        .17213E-03   -.84019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0782e-08
Minuit parameter uncertainties:
  1  8.89613
  2  13.3815
  3  41.3183
  4  9.44862e-07
  5  0.00327407
  6  0.000491473
  7  10.4045
  8  0.797689
  9  7.4936e-05
  10  10.0144
  11  0.000525572
  12  9.70853
  13  5.92912e-06
  14  0.00326057
  15  1.23791e-06
  16  0.00302724
  17  3.21954e-05
  18  0.000395938
  19  5.26661
  20  38.1544
  21  5.74474e-05
  22  0.243457
  23  0.154018
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.001e-04  3.274e-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:  1.276e+00  1.540e-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:  3.265e-01  2.435e-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: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676960/likelihoodResults_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.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) = 6016.97845559
delta logL = -0.00022166513736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6016.97823584
delta logL = -1.90921673493e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6016.978     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      302 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11387E-03    .21862        .81285E-01** at limit **
   2  Index         2.3562        6.1543        .50000        .23058E-04
   3  Normalizat    .32648        .79532E-03    .47715E-03   -.33833E-05
   4  Prefactor     1.2762        .54835E-03    .17213E-03   -.24437E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00011387
  Index      = 2.35625
  Normalizat = 0.326484
  Prefactor  = 1.27615
 **********
 **   18 **HESSE 
 **********

 FCN=   6016.978     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      333 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11387E-03    55.120        .43768E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3562        6.0998        .50000       -.55713    
   3  Normalizat    .32648        .89984E-02    .19086E-04   -1.2129    
   4  Prefactor     1.2762        .62042E-02    .68854E-05   -.84019    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.97207e-08
Minuit parameter uncertainties:
  1  0.0553516
  2  277.242
  3  0.00899847
  4  0.00620418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676960': 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) = 6016.97823502
delta logL = -1.0948997442e-06

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.139e-04  5.535e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.356e+00  2.772e+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:  1.276e+00  6.204e-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:  3.265e-01  8.998e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/676960/cmap_HighResolution_453945601_454204801_4FGL_J2311.0+0205_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-09-29 07:45:17.250115', job_id='676960', GAL2='1.28', fit_tolerance='1e-08', EG2='0.33', EG='0.33', time_epoch_completed='1632926717.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='-1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='828' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:17 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin828 347.766 2.0995 453945601 454204801 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 :                                   623.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            874 sec.

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

