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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin523
RA = 347.766, Dec = 2.0995
tmin = 374889601, tmax = 375148801
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='675821', job_status='RUN', time_executed='2021-09-29 07:25:48.172000', time_epoch_executed='1632925548.17' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675821/ft1_4FGL_J2311.0+0205_daily_bin523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits


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

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.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/675821/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin523.fits evtable="EVENTS" outfile="/scratch/kocevski/675821/ft1_filtered_4FGL_J2311.0+0205_daily_bin523.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/675821/ft1_filtered_4FGL_J2311.0+0205_daily_bin523.fits" evtable="EVENTS" scfile=/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits sctable="SC_DATA" outfile=/scratch/kocevski/675821/ltcube_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.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/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits
.....................!
real 11.83
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675821/ft1_filtered_4FGL_J2311.0+0205_daily_bin523.fits evtable="EVENTS" scfile=/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits sctable="SC_DATA" expcube=/scratch/kocevski/675821/ltcube_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.fits outfile=/scratch/kocevski/675821/expmap_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.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/675821/ltcube_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.fits
.....................!
real 192.67
user 187.16
sys 5.19

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/675821/ft1_filtered_4FGL_J2311.0+0205_daily_bin523.fits scfile=/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits outfile=/scratch/kocevski/675821/cmap_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675821/ft1_filtered_4FGL_J2311.0+0205_daily_bin523.fits scfile=/scratch/kocevski/675821/ft2_4FGL_J2311.0+0205_daily_bin523.fits outfile=/scratch/kocevski/675821/cmap_HighResolution_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.8434       1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.107       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.349       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.120       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12101E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    4.2020       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7035       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.822       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.9808       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0815       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33674       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4376       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65588       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1753       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=   7042.227     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2589 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7939       -.10106E-07** at limit **
   2  norm          4.8403        9.5526       -.16969E-06   -.64742E-04
   3  Prefactor     56.082        42.804       -.16758E-05   -.89937E-04
   4  Prefactor     5.6162        10.635        .69646E-06    .95064E-05
   5  Prefactor     11.348        11.267       -.60609E-07   -.15388E-04
   6  Prefactor     21.130        74.619       -.94551E-05   -.22863E-03
   7  Prefactor     .10002E-03    10.814        .10688E-05** at limit **
   8  norm          4.2019        1.3523       -.13528E-07   -.60521E-03
   9  norm          5.7126        7.4292        .75936E-06   -.62421E-03
  10  Prefactor     11.845        12.140       -.31241E-05   -.53389E-03
  11  Prefactor     .10000E-03    48.897        .34344E-05** at limit **
  12  norm          4.9874        5.7367        .19241E-05   -.19146E-02
  13  Prefactor     .10000E-03    4.2991       -.16404E-06** at limit **
  14  Prefactor     .10000E-03    94.763       -.68037E-06** at limit **
  15  Prefactor     7.0833        9.1959        .56472E-06    .37902E-04
  16  Prefactor     .10107E-03    28.158        .58095E-06** at limit **
  17  norm          .10000E-03    10.337        .22374E-07** at limit **
  18  Prefactor     .10000E-03    53.309       -.46152E-05** at limit **
  19  Prefactor     2.4342        5.9723       -.44886E-06   -.43141E-03
  20  Prefactor     .10000E-03    27.425        .36500E-06** at limit **
  21  Prefactor     .10000E-03    45.810        .68026E-06** at limit **
  22  Normalizat    .65569        .23077        .21787E-05   -.25159E-03
  23  Prefactor     1.1757        .13936       -.28099E-06   -.28295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.84029
  Prefactor  = 56.0819
  Prefactor  = 5.61616
  Prefactor  = 11.3475
  Prefactor  = 21.1298
  Prefactor  = 0.000100025
  norm       = 4.20189
  norm       = 5.71264
  Prefactor  = 11.8455
  Prefactor  = 0.000100001
  norm       = 4.9874
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.08332
  Prefactor  = 0.000101069
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.4342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.655687
  Prefactor  = 1.17569
 **********
 **   18 **HESSE 
 **********

 FCN=   7042.227     FROM HESSE     STATUS=OK           376 CALLS     2965 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8081        .17945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.8403        9.5453        .18279E-03   -1.5268    
   3  Prefactor     56.082        42.734        .53554E-04   -1.4209    
   4  Prefactor     5.6162        10.631        .16944E-03   -1.5234    
   5  Prefactor     11.348        11.267        .11892E-03   -1.5034    
   6  Prefactor     21.130        70.906        .87156E-04   -1.4788    
   7  Prefactor     .10002E-03    60.061        .42007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.2019        1.3491        .51825E-04   -1.5298    
   9  norm          5.7126        7.0170        .16819E-03   -1.5230    
  10  Prefactor     11.845        12.085        .11651E-03   -1.5019    
  11  Prefactor     .10000E-03    48.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.9874        8.0576        .90098E-03   -1.5261    
  13  Prefactor     .10000E-03    4.3828        .16991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    94.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0833        9.1159        .15075E-03   -1.5176    
  16  Prefactor     .10107E-03    36.359        .10886       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    53.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4342        5.9738        .26207E-03   -1.5396    
  20  Prefactor     .10000E-03    27.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    46.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .65569        .25284        .38752E-03   -1.0567    
  23  Prefactor     1.1757        .15538        .19358E-03   -.87083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48052e-09
Minuit parameter uncertainties:
  1  1.99176e-06
  2  9.54833
  3  42.7571
  4  10.6344
  5  11.2688
  6  71.1906
  7  0.00243469
  8  1.3491
  9  7.01803
  10  12.0879
  11  0.000334344
  12  8.05935
  13  6.8559e-06
  14  0.000100837
  15  9.11773
  16  0.0124793
  17  8.64715e-06
  18  0.000528282
  19  5.97526
  20  5.26244e-07
  21  4.92948e-05
  22  0.253285
  23  0.155443
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.135e+01  1.127e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.176e+00  1.554e-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:  6.557e-01  2.533e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.93
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.13e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 9.82e-06 +/- 9.75e-06

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

Saving results to:
/scratch/kocevski/675821/likelihoodResults_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.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) = 7041.25529488
delta logL = 0.971434697419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7041.22886994
delta logL = 0.997859635724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.323       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3528       1.0000          .0000       10.000    
     3 'Normalizat'    .66831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1703       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=   7041.229     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.327        14.215        .28370E-05   -.19202E-03
   2  Index         1.3532        .49737        .21724E-04    .21922E-04
   3  Normalizat    .66838        .20801       -.28798E-06   -.13910E-03
   4  Prefactor     1.1702        .13642       -.13507E-06   -.21998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3268
  Index      = 1.35318
  Normalizat = 0.668383
  Prefactor  = 1.17023
 **********
 **   18 **HESSE 
 **********

 FCN=   7041.229     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.327        13.973        .10583E-03   -1.4951    
   2  Index         1.3532        .48924        .93913E-02   -.81739    
   3  Normalizat    .66838        .23007        .38396E-03   -1.0515    
   4  Prefactor     1.1702        .15129        .19390E-03   -.87252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27841e-11
Minuit parameter uncertainties:
  1  13.9763
  2  0.490922
  3  0.230398
  4  0.151347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675821': 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) = 7041.22886955
delta logL = 0.997860025142

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.433e+01  1.398e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.353e+00  4.909e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.170e+00  1.513e-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:  6.684e-01  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.92
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.35 +/- 0.49
Photon Flux (Free Index): 1.05e-08 +/- 1.10e-08
Energy Flux (Free Index): 5.42e-05 +/- 7.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/675821/cmap_HighResolution_374889601_375148801_4FGL_J2311.0+0205_daily_bin523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', comment='SUCCESS', photon_flux='2.13e-08', energy_flux2='5.42e-05', photon_flux_error='2.11e-08', dlogl='9.98e-01', energy_flux='9.82e-06', photon_flux2='1.05e-08', job_status='DONE', time_completed='2021-09-29 07:37:22.618244', photon_index_error2='0.49', photon_index2='1.35', ts='2.93', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='8.31e-08', energy_flux_error2='7.52e-05', EG='0.66', time_epoch_completed='1632926242.62', return_code='0', job_id='675821', GAL2='1.17', EG2='0.67', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='1.10e-08', ts2='4.92', photon_index='2.19' WHERE bin_id='523' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:37:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 675821: <4FGL_J2311.0+0205_daily_bin523> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin523 347.766 2.0995 374889601 375148801 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 :                                   676.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            714 sec.

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

