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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin590
RA = 347.766, Dec = 2.0995
tmin = 392256001, tmax = 392515201
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='675920', job_status='RUN', time_executed='2021-09-29 07:28:43.197956', time_epoch_executed='1632925723.2' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675920

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675920/ft1_4FGL_J2311.0+0205_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675920/ft1_4FGL_J2311.0+0205_daily_bin590.fits outfile=/scratch/kocevski/675920/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin590.fits ra=347.766 dec=2.0995 rad=12.0 tmin=392256001.0 tmax=392515201.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.35
user 3.14
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675920/ft1_filtered_4FGL_J2311.0+0205_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/675920/ltcube_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.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/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits
.....................!
real 11.86
user 11.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675920/ft1_filtered_4FGL_J2311.0+0205_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/675920/ltcube_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.fits outfile=/scratch/kocevski/675920/expmap_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.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/675920/ltcube_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.fits
.....................!
real 190.83
user 185.24
sys 5.21

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/675920/ft1_filtered_4FGL_J2311.0+0205_daily_bin590.fits scfile=/scratch/kocevski/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits outfile=/scratch/kocevski/675920/cmap_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675920/ft1_filtered_4FGL_J2311.0+0205_daily_bin590.fits scfile=/scratch/kocevski/675920/ft2_4FGL_J2311.0+0205_daily_bin590.fits outfile=/scratch/kocevski/675920/cmap_HighResolution_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.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.57
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4069       1.0000         .10000E-03   10000.    
     2 'norm      '    22.283       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5352       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7313       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4886       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.554       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.5306       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .12713E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    62.349       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.616       1.0000         .10000E-03   10000.    
    20 'Prefactor '    110.17       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.297       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .48800       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1128       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=   8079.113     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2520 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4061        8.4110        .14583E-07    .75644E-05
   2  norm          22.279        12.162        .17113E-06    .12074E-04
   3  Prefactor     4.4923        52.419        .44452E-06   -.34424E-04
   4  Prefactor     .10000E-03    2.3111       -.26186E-08** at limit **
   5  Prefactor     .10000E-03    26.044       -.28180E-06** at limit **
   6  Prefactor     .10000E-03    15.854        .26940E-06** at limit **
   7  Prefactor     2.7310        3.7656        .19398E-06   -.61592E-05
   8  norm          4.4883        1.1178       -.10953E-07    .71241E-04
   9  norm          .10000E-03    1.3687        .44226E-07** at limit **
  10  Prefactor     11.554        9.4514       -.16801E-07    .24954E-05
  11  Prefactor     .10000E-03    25.303       -.26843E-06** at limit **
  12  norm          4.5331        6.3528        .33969E-06   -.20337E-04
  13  Prefactor     .10000E-03    9.2278       -.11391E-06** at limit **
  14  Prefactor     .10000E-03    51.954       -.81905E-07** at limit **
  15  Prefactor     .10000E-03    7.7135       -.49332E-06** at limit **
  16  Prefactor     .10000E-03    12.738       -.11748E-06** at limit **
  17  norm          .10000E-03    39.428       -.91588E-06** at limit **
  18  Prefactor     62.339        52.931       -.31974E-07   -.16072E-04
  19  Prefactor     11.610        4.7284        .11045E-05   -.89483E-04
  20  Prefactor     110.14        44.697       -.11345E-06   -.81099E-04
  21  Prefactor     24.294        20.897        .17957E-06    .30123E-05
  22  Normalizat    .48819        .20178       -.28434E-05    .16654E-04
  23  Prefactor     1.1128        .12675        .63714E-06   -.30998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.40609
  norm       = 22.2791
  Prefactor  = 4.49228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.73096
  norm       = 4.48833
  norm       = 0.0001
  Prefactor  = 11.5543
  Prefactor  = 0.0001
  norm       = 4.53309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 62.3391
  Prefactor  = 11.61
  Prefactor  = 110.143
  Prefactor  = 24.2942
  Normalizat = 0.488191
  Prefactor  = 1.1128
 **********
 **   18 **HESSE 
 **********

 FCN=   8079.113     FROM HESSE     STATUS=OK           370 CALLS     2890 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4061        8.4182        .13067E-03   -1.5094    
   2  norm          22.279        12.149        .84853E-04   -1.4764    
   3  Prefactor     4.4923        52.315        .18904E-03   -1.5284    
   4  Prefactor     .10000E-03    2.3124        .13345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.925        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7310        3.7515        .19859E-03   -1.5377    
   8  norm          4.4883        1.1161        .44919E-04   -1.5284    
   9  norm          .10000E-03    1.3745        .10266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.554        9.4306        .11785E-03   -1.5028    
  11  Prefactor     .10000E-03    25.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.5331        6.3118        .18914E-03   -1.5282    
  13  Prefactor     .10000E-03    9.4329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    51.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.8441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    40.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     62.339        52.885        .50818E-04   -1.4127    
  19  Prefactor     11.610        4.7401        .58325E-03   -1.5026    
  20  Prefactor     110.14        44.548        .19160E-03   -1.3605    
  21  Prefactor     24.294        20.892        .81265E-04   -1.4722    
  22  Normalizat    .48819        .21132        .40753E-03   -1.1297    
  23  Prefactor     1.1128        .13598        .18670E-03   -.89058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26427e-11
Minuit parameter uncertainties:
  1  8.41931
  2  12.1505
  3  30.6937
  4  8.31775e-07
  5  1.98835e-05
  6  3.59141e-05
  7  3.75181
  8  1.11612
  9  4.93034e-08
  10  9.43185
  11  4.18186e-05
  12  6.31276
  13  1.07109e-05
  14  5.04938e-05
  15  5.78956e-05
  16  7.65945e-06
  17  0.000289121
  18  52.9245
  19  4.74028
  20  44.5611
  21  20.8982
  22  0.211671
  23  0.136018
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.988e-05  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.113e+00  1.360e-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:  4.882e-01  2.117e-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: 6.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675920/likelihoodResults_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.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) = 8079.11367208
delta logL = -0.000177206238732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8079.11349372
delta logL = 1.15234161058e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4737       1.0000          .0000       10.000    
     3 'Normalizat'    .48819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1128       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=   8079.113     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10028E-03    .91415E-01    .90712E-01** at limit **
   2  Index         2.5977        7.3140        .50000       -.12985E-04
   3  Normalizat    .48819        .62832E-03    .91973E-01    .10801E-03
   4  Prefactor     1.1128        .42445E-03    .37119E-01    .54427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100276
  Index      = 2.5977
  Normalizat = 0.488191
  Prefactor  = 1.1128
 **********
 **   18 **HESSE 
 **********

 FCN=   8079.113     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      303 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10028E-03    .17888        .64043E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5977        8.0625        .50000       -.50118    
   3  Normalizat    .48819        .70278E-03    .40752E-03   -1.1297    
   4  Prefactor     1.1128        .47614E-03    .18670E-03   -.89058    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.93019e-09
Minuit parameter uncertainties:
  1  0.000444624
  2  15.2613
  3  0.00070278
  4  0.000476144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675920': 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) = 8079.1134933
delta logL = 1.5727500795e-06

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.003e-04  4.446e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.598e+00  1.526e+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.113e+00  4.761e-04  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:  4.882e-01  7.028e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/675920/cmap_HighResolution_392256001_392515201_4FGL_J2311.0+0205_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2021-09-29 07:40:56.256459', job_id='675920', GAL2='1.11', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1632926456.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.57e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='590' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:40:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 675920: <4FGL_J2311.0+0205_daily_bin590> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin590 347.766 2.0995 392256001 392515201 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 :                                   729.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            919 sec.

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

