/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 217 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin348
RA = 347.766, Dec = 2.0995
tmin = 329529601, tmax = 329788801
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='674498', job_status='RUN', time_executed='2021-09-29 07:24:16.379081', time_epoch_executed='1632925456.38' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674498/ft1_4FGL_J2311.0+0205_daily_bin348.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674498/ft2_4FGL_J2311.0+0205_daily_bin348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674498/ft1_4FGL_J2311.0+0205_daily_bin348.fits outfile=/scratch/kocevski/674498/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin348.fits ra=347.766 dec=2.0995 rad=12.0 tmin=329529601.0 tmax=329788801.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.53
user 3.31
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674498/ft1_filtered_4FGL_J2311.0+0205_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/674498/ft2_4FGL_J2311.0+0205_daily_bin348.fits sctable="SC_DATA" expcube=/scratch/kocevski/674498/ltcube_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.fits outfile=/scratch/kocevski/674498/expmap_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.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/674498/ltcube_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.fits
.....................!
real 190.12
user 185.12
sys 4.63

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/674498/ft1_filtered_4FGL_J2311.0+0205_daily_bin348.fits scfile=/scratch/kocevski/674498/ft2_4FGL_J2311.0+0205_daily_bin348.fits outfile=/scratch/kocevski/674498/cmap_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.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/674498/ft1_filtered_4FGL_J2311.0+0205_daily_bin348.fits scfile=/scratch/kocevski/674498/ft2_4FGL_J2311.0+0205_daily_bin348.fits outfile=/scratch/kocevski/674498/cmap_HighResolution_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.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.61
user 0.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .65108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2818       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0556       1.0000         .10000E-03   10000.    
     9 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.467       1.0000         .10000E-03   10000.    
    11 'Prefactor '    57.481       1.0000         .10000E-03   10000.    
    12 'norm      '    .69985E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.134       1.0000         .10000E-03   10000.    
    17 'norm      '    7.7563       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11675E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.962       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99464       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82799       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=   6259.751     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2553 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3990        .14662E-07** at limit **
   2  norm          1.7570        19.894        .30068E-05    .95209E-04
   3  Prefactor     .10000E-03    12.972        .62411E-07** at limit **
   4  Prefactor     .10007E-03    9.3056       -.37293E-05** at limit **
   5  Prefactor     .10000E-03    5.0908        .17479E-07** at limit **
   6  Prefactor     .10000E-03    32.050        .23105E-06** at limit **
   7  Prefactor     1.2805        6.2195        .43286E-05    .53605E-03
   8  norm          2.0552        1.0031        .34182E-07   -.46899E-04
   9  norm          .10000E-03    2.9943        .10637E-06** at limit **
  10  Prefactor     21.465        13.929       -.25049E-06    .19589E-03
  11  Prefactor     57.479        50.987        .25860E-06   -.20537E-04
  12  norm          .10041E-03    8.2751       -.13406E-05** at limit **
  13  Prefactor     .10000E-03    5.3951        .57111E-08** at limit **
  14  Prefactor     .10001E-03    151.33       -.21015E-05** at limit **
  15  Prefactor     18.000        23.789       -.21440E-05   -.15412E-03
  16  Prefactor     29.131        25.720       -.19862E-07    .56745E-04
  17  norm          7.7158        68.204        .65696E-05    .43922E-05
  18  Prefactor     .10002E-03    106.28        .35493E-05** at limit **
  19  Prefactor     .10000E-03    4.1693       -.72008E-06** at limit **
  20  Prefactor     .10000E-03    16.667        .13052E-06** at limit **
  21  Prefactor     19.961        16.473        .14055E-06    .62723E-05
  22  Normalizat    .99468        .20336       -.22304E-05    .86195E-04
  23  Prefactor     .82800        .12408        .84698E-06    .15710E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.75704
  Prefactor  = 0.0001
  Prefactor  = 0.000100066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.2805
  norm       = 2.0552
  norm       = 0.0001
  Prefactor  = 21.4654
  Prefactor  = 57.4785
  norm       = 0.000100405
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 18.0001
  Prefactor  = 29.1311
  norm       = 7.71579
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9613
  Normalizat = 0.994678
  Prefactor  = 0.828002
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4089        .16206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7570        20.027        .31592E-03   -1.5443    
   3  Prefactor     .10000E-03    12.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    18.791        .36765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0935        .17435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2805        6.5195        .39194E-03   -1.5482    
   8  norm          2.0552        .99827        .52611E-04   -1.5421    
   9  norm          .10000E-03    3.0564        .13346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.465        13.168        .86448E-04   -1.4781    
  11  Prefactor     57.479        50.980        .52913E-04   -1.4190    
  12  norm          .10041E-03    59.487        .37775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4681        .17883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    151.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.000        23.484        .94415E-04   -1.4859    
  16  Prefactor     29.131        25.522        .74226E-04   -1.4628    
  17  norm          7.7158        66.747        .14398E-03   -1.5152    
  18  Prefactor     .10002E-03    107.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.2335        .31348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.961        16.474        .89647E-04   -1.4814    
  22  Normalizat    .99468        .22852        .29048E-03   -.93209    
  23  Prefactor     .82800        .14071        .20143E-03   -.98704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10285e-08
Minuit parameter uncertainties:
  1  1.22507e-06
  2  11.8686
  3  2.48886e-05
  4  0.00222615
  5  1.55355e-06
  6  5.75704e-05
  7  5.77942
  8  0.998274
  9  7.79401e-06
  10  13.1697
  11  51.0187
  12  0.0098276
  13  3.39431e-05
  14  0.00276665
  15  23.4962
  16  25.532
  17  45.4554
  18  0.00266477
  19  3.8902e-05
  20  3.66545e-05
  21  16.4781
  22  0.228744
  23  0.140771
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.554e-06  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:  8.280e-01  1.408e-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:  9.947e-01  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/674498/likelihoodResults_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.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) = 6259.7520205
delta logL = -0.0009332794898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6259.75108719
delta logL = 3.31747287419e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1651       1.0000          .0000       10.000    
     3 'Normalizat'    .99473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82798       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=   6259.751     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      247 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.677        .17734E-01** at limit **
   2  Index         1.6793        7.5918        .50000        .36337E-06
   3  Normalizat    .99468        .84890E-02    .29049E-03    .37407E-03
   4  Prefactor     .82800        .54482E-02    .20143E-03    .54272E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.67932
  Normalizat = 0.994679
  Prefactor  = 0.828002
 **********
 **   18 **HESSE 
 **********

 FCN=   6259.751     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    186.99        .19727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6793        5.8385        .50000       -.72634    
   3  Normalizat    .99468        .27675E-01    .58097E-04   -.93209    
   4  Prefactor     .82800        .17762E-01    .40286E-04   -.98704    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28809e-09
Minuit parameter uncertainties:
  1  0.000307448
  2  731.364
  3  0.0276754
  4  0.0177618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674498': 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) = 6259.75108506
delta logL = 2.159313226e-06

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.074e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.679e+00  7.314e+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:  8.280e-01  1.776e-02  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:  9.947e-01  2.768e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/674498/cmap_HighResolution_329529601_329788801_4FGL_J2311.0+0205_daily_bin348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-03', job_status='DONE', photon_flux_upper_limit='5.12e-08', time_completed='2021-09-29 07:35:02.162359', job_id='674498', GAL2='0.83', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632926102.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='348' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:35:02 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin348 347.766 2.0995 329529601 329788801 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.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            875 sec.

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

