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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin710
RA = 347.766, Dec = 2.0995
tmin = 423360001, tmax = 423619201
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='676782', job_status='RUN', time_executed='2021-09-29 07:33:20.825329', time_epoch_executed='1632926000.83' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676782/ft1_4FGL_J2311.0+0205_daily_bin710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676782/ft1_4FGL_J2311.0+0205_daily_bin710.fits outfile=/scratch/kocevski/676782/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin710.fits ra=347.766 dec=2.0995 rad=12.0 tmin=423360001.0 tmax=423619201.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.66
user 5.42
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676782/ft1_filtered_4FGL_J2311.0+0205_daily_bin710.fits" evtable="EVENTS" scfile=/scratch/kocevski/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits sctable="SC_DATA" outfile=/scratch/kocevski/676782/ltcube_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.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/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits
.....................!
real 11.82
user 11.43
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676782/ft1_filtered_4FGL_J2311.0+0205_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits sctable="SC_DATA" expcube=/scratch/kocevski/676782/ltcube_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.fits outfile=/scratch/kocevski/676782/expmap_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.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/676782/ltcube_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.fits
.....................!
real 189.98
user 184.88
sys 4.78

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/676782/ft1_filtered_4FGL_J2311.0+0205_daily_bin710.fits scfile=/scratch/kocevski/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits outfile=/scratch/kocevski/676782/cmap_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676782/ft1_filtered_4FGL_J2311.0+0205_daily_bin710.fits scfile=/scratch/kocevski/676782/ft2_4FGL_J2311.0+0205_daily_bin710.fits outfile=/scratch/kocevski/676782/cmap_HighResolution_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15986E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8595       1.0000         .10000E-03   10000.    
     6 'Prefactor '    55.398       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.6629       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    119.01       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.228       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8015       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .58589E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7409       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5914       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.316       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76221       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86757       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=   5210.595     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2558 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-03    7.9308       -.16964E-05** at limit **
   2  norm          .10000E-03    4.0042       -.27958E-08** at limit **
   3  Prefactor     .10000E-03    51.686        .12261E-05** at limit **
   4  Prefactor     .10000E-03    9.3759        .52626E-07** at limit **
   5  Prefactor     5.8595        10.674        .83412E-09   -.14292E-04
   6  Prefactor     55.408        61.846        .27695E-05    .17059E-03
   7  Prefactor     .10000E-03    5.1286        .13461E-06** at limit **
   8  norm          .10000E-03    .48306       -.27366E-06** at limit **
   9  norm          6.6639        5.7414        .42013E-07    .16976E-03
  10  Prefactor     .10000E-03    3.9981       -.26175E-07** at limit **
  11  Prefactor     119.03        67.573        .24069E-05    .31750E-03
  12  norm          .10000E-03    23.208        .22831E-05** at limit **
  13  Prefactor     14.225        10.596        .51966E-06   -.15023E-03
  14  Prefactor     .10000E-03    92.231        .15677E-05** at limit **
  15  Prefactor     4.8100        13.145        .72279E-05   -.53984E-03
  16  Prefactor     .10004E-03    13.859        .82073E-06** at limit **
  17  norm          .10000E-03    14.925       -.83082E-06** at limit **
  18  Prefactor     .10000E-03    24.441       -.20485E-05** at limit **
  19  Prefactor     6.7424        5.7191       -.12410E-05   -.14511E-03
  20  Prefactor     5.5504        34.872       -.10514E-04   -.27182E-03
  21  Prefactor     17.318        19.796        .52722E-06    .17126E-04
  22  Normalizat    .76190        .22706       -.17571E-05    .55689E-04
  23  Prefactor     .86773        .13405        .52360E-06   -.12278E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100309
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.85948
  Prefactor  = 55.4081
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.66385
  Prefactor  = 0.0001
  Prefactor  = 119.026
  norm       = 0.000100001
  Prefactor  = 14.2253
  Prefactor  = 0.000100001
  Prefactor  = 4.81004
  Prefactor  = 0.000100035
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.74244
  Prefactor  = 5.55041
  Prefactor  = 17.3176
  Normalizat = 0.761897
  Prefactor  = 0.867735
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.595     FROM HESSE     STATUS=OK           370 CALLS     2928 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-03    56.235        .38706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.0090        .14106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    51.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.4111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8595        10.666        .16590E-03   -1.5224    
   6  Prefactor     55.408        62.564        .53894E-04   -1.4218    
   7  Prefactor     .10000E-03    5.1317        .15946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .75534        .95974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.6639        5.7234        .15251E-03   -1.5192    
  10  Prefactor     .10000E-03    4.0066        .14093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     119.03        70.186        .18444E-03   -1.3522    
  12  norm          .10000E-03    23.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.225        10.416        .10619E-03   -1.4953    
  14  Prefactor     .10000E-03    92.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8100        14.449        .91800E-03   -1.5269    
  16  Prefactor     .10004E-03    74.317        .51191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7424        5.7695        .13423E-03   -1.5189    
  20  Prefactor     5.5504        38.646        .16990E-03   -1.5237    
  21  Prefactor     17.318        19.777        .96249E-04   -1.4875    
  22  Normalizat    .76190        .26714        .31686E-03   -1.0150    
  23  Prefactor     .86773        .15838        .18988E-03   -.97278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21486e-09
Minuit parameter uncertainties:
  1  0.00834015
  2  1.13229e-06
  3  0.00034978
  4  4.11447e-06
  5  10.6692
  6  62.6383
  7  1.73203e-05
  8  1.5835e-05
  9  5.72386
  10  5.7125e-06
  11  70.2353
  12  0.000252227
  13  10.417
  14  0.000610934
  15  14.4594
  16  0.00322991
  17  0.000115222
  18  0.000421079
  19  5.76996
  20  29.3187
  21  19.7848
  22  0.267602
  23  0.158464
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.859e+00  1.067e+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:  8.677e-01  1.585e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.619e-01  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/676782/likelihoodResults_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.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): 0
logL (Free Index) = 5210.25353131
delta logL = 0.341120066232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5210.22141597
delta logL = 0.373235397498

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5646       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4477       1.0000          .0000       10.000    
     3 'Normalizat'    .77182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86223       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=   5210.221     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5684        12.022        .13697E-03   -.14749E-03
   2  Index         1.4479        .70623        .11113E-01   -.12553E-03
   3  Normalizat    .77189        .24134        .31488E-03   -.48048E-03
   4  Prefactor     .86223        .15485        .19031E-03   -.64314E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.56844
  Index      = 1.44792
  Normalizat = 0.771892
  Prefactor  = 0.862235
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.221     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5684        12.158        .27395E-04   -1.5122    
   2  Index         1.4479        .71426        .22225E-02   -.79009    
   3  Normalizat    .77189        .24150        .62976E-04   -1.0112    
   4  Prefactor     .86223        .15496        .38062E-04   -.97473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94918e-10
Minuit parameter uncertainties:
  1  12.161
  2  0.719254
  3  0.24184
  4  0.155038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676782': 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) = 5210.22141563
delta logL = 0.373235738462

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.568e+00  1.216e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.448e+00  7.193e-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:  8.622e-01  1.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.719e-01  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.45 +/- 0.72
Photon Flux (Free Index): 6.55e-09 +/- 1.05e-08
Energy Flux (Free Index): 2.47e-05 +/- 4.98e-05

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/676782/cmap_HighResolution_423360001_423619201_4FGL_J2311.0+0205_daily_bin710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', comment='SUCCESS', energy_flux2='2.47e-05', dlogl='3.73e-01', photon_flux2='6.55e-09', job_status='DONE', time_completed='2021-09-29 07:43:27.014996', photon_index_error2='0.72', photon_index2='1.45', ts='0.48', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='7.75e-08', energy_flux_error2='4.98e-05', EG='0.76', time_epoch_completed='1632926607.02', return_code='0', job_id='676782', GAL2='0.86', EG2='0.77', return_code2='0', photon_flux_error2='1.05e-08', ts2='1.22', photon_index='2.19' WHERE bin_id='710' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:43:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 676782: <4FGL_J2311.0+0205_daily_bin710> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin710 347.766 2.0995 423360001 423619201 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 :                                   592.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             293.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

