/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 59 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 = 7459
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin875
RA = 347.766, Dec = 2.0995
tmin = 466128001, tmax = 466387201
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='677029', job_status='RUN', time_executed='2021-09-29 07:32:03.580222', time_epoch_executed='1632925923.58' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='875'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677029

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677029/ft1_4FGL_J2311.0+0205_daily_bin875.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677029/ft1_4FGL_J2311.0+0205_daily_bin875.fits outfile=/scratch/kocevski/677029/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin875.fits ra=347.766 dec=2.0995 rad=12.0 tmin=466128001.0 tmax=466387201.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.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677029/ft1_filtered_4FGL_J2311.0+0205_daily_bin875.fits" evtable="EVENTS" scfile=/scratch/kocevski/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits sctable="SC_DATA" outfile=/scratch/kocevski/677029/ltcube_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.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/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits
.....................!
real 12.15
user 11.75
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677029/ft1_filtered_4FGL_J2311.0+0205_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits sctable="SC_DATA" expcube=/scratch/kocevski/677029/ltcube_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.fits outfile=/scratch/kocevski/677029/expmap_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.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/677029/ltcube_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.fits
.....................!
real 191.23
user 186.26
sys 4.62

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/677029/ft1_filtered_4FGL_J2311.0+0205_daily_bin875.fits scfile=/scratch/kocevski/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits outfile=/scratch/kocevski/677029/cmap_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677029/ft1_filtered_4FGL_J2311.0+0205_daily_bin875.fits scfile=/scratch/kocevski/677029/ft2_4FGL_J2311.0+0205_daily_bin875.fits outfile=/scratch/kocevski/677029/cmap_HighResolution_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2432       1.0000         .10000E-03   10000.    
     2 'norm      '    47.235       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7307       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.312       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.8176       1.0000         .10000E-03   10000.    
     9 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4702       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.9054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3308       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24597E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18052       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.958       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3875       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.090       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.458       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0379       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77547       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=   7890.112     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2576 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2430        6.3013        .92215E-06   -.10374E-05
   2  norm          47.235        15.414       -.43749E-06   -.23474E-06
   3  Prefactor     .10000E-03    23.235       -.26352E-06** at limit **
   4  Prefactor     2.7326        7.9466        .13700E-05    .36497E-06
   5  Prefactor     .10000E-03    7.4368        .18805E-06** at limit **
   6  Prefactor     40.295        41.117       -.32304E-05   -.42173E-05
   7  Prefactor     .10000E-03    6.0073        .14865E-06** at limit **
   8  norm          8.8169        1.5482       -.16509E-07   -.20955E-03
   9  norm          .10000E-03    5.8639       -.50250E-07** at limit **
  10  Prefactor     1.4699        .46933       -.90523E-08   -.23655E-03
  11  Prefactor     .10000E-03    15.653       -.41811E-06** at limit **
  12  norm          9.9061        9.7156       -.68798E-07    .38158E-05
  13  Prefactor     9.3323        9.6336       -.57856E-06   -.63177E-06
  14  Prefactor     .10000E-03    98.932        .11194E-05** at limit **
  15  Prefactor     .66497E-01    7.3926        .32848E-06    .37019E-04
  16  Prefactor     .10000E-03    9.5295       -.26890E-07** at limit **
  17  norm          20.034        19.444       -.10977E-05   -.65869E-04
  18  Prefactor     .10000E-03    14.302        .28850E-06** at limit **
  19  Prefactor     1.3913        5.0963        .30516E-07   -.68090E-04
  20  Prefactor     13.093        25.879        .13571E-06   -.36611E-05
  21  Prefactor     11.471        16.373       -.32816E-05   -.12289E-05
  22  Normalizat    1.0378        .19445        .71280E-06   -.63914E-04
  23  Prefactor     .77548        .11460        .72279E-07   -.97767E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.24305
  norm       = 47.2354
  Prefactor  = 0.0001
  Prefactor  = 2.73264
  Prefactor  = 0.0001
  Prefactor  = 40.2947
  Prefactor  = 0.0001
  norm       = 8.81689
  norm       = 0.0001
  Prefactor  = 1.4699
  Prefactor  = 0.0001
  norm       = 9.90614
  Prefactor  = 9.3323
  Prefactor  = 0.0001
  Prefactor  = 0.0664965
  Prefactor  = 0.0001
  norm       = 20.0336
  Prefactor  = 0.0001
  Prefactor  = 1.39128
  Prefactor  = 13.0933
  Prefactor  = 11.471
  Normalizat = 1.03779
  Prefactor  = 0.775475
 **********
 **   18 **HESSE 
 **********

 FCN=   7890.112     FROM HESSE     STATUS=OK           382 CALLS     2958 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2430        6.2989        .16066E-03   -1.5208    
   2  norm          47.235        15.433        .58342E-04   -1.4332    
   3  Prefactor     .10000E-03    23.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7326        7.9272        .24641E-03   -1.5377    
   5  Prefactor     .10000E-03    7.4537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.295        41.061        .63133E-04   -1.4438    
   7  Prefactor     .10000E-03    6.0751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.8169        1.5492        .43400E-04   -1.5114    
   9  norm          .10000E-03    6.1181        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4699        5.4637        .17722E-02   -1.5465    
  11  Prefactor     .10000E-03    15.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.9061        9.7469        .12732E-03   -1.5078    
  13  Prefactor     9.3323        9.5947        .13120E-03   -1.5097    
  14  Prefactor     .10000E-03    98.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .66497E-01    15.109        .64036E-01   -1.5656    
  16  Prefactor     .10000E-03    9.5496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.034        20.445        .89655E-04   -1.4812    
  18  Prefactor     .10000E-03    14.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3913        4.9617        .30779E-03   -1.5472    
  20  Prefactor     13.093        25.907        .11071E-03   -1.4984    
  21  Prefactor     11.471        16.314        .11835E-03   -1.5030    
  22  Normalizat    1.0378        .22534        .30345E-03   -.91775    
  23  Prefactor     .77548        .13332        .21811E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54047e-10
Minuit parameter uncertainties:
  1  6.29958
  2  15.4347
  3  1.50471e-05
  4  7.93021
  5  1.83488e-06
  6  41.0896
  7  5.37239e-05
  8  1.54919
  9  2.38828e-05
  10  5.4656
  11  7.97222e-07
  12  9.74844
  13  9.59628
  14  1.16751e-05
  15  2.00372
  16  7.39735e-06
  17  20.4518
  18  1.90218e-06
  19  4.96317
  20  25.9292
  21  16.3208
  22  0.22555
  23  0.133379
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.835e-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:  7.755e-01  1.334e-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:  1.038e+00  2.256e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677029/likelihoodResults_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.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) = 7890.11222773
delta logL = -0.000639136454083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7890.1115886
delta logL = -6.53744791634e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1868       1.0000          .0000       10.000    
     3 'Normalizat'    1.0378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77548       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=   7890.112     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.654        .90712E-02** at limit **
   2  Index         2.1874        7.7537        .50000       -.67687E-06
   3  Normalizat    1.0378        .71180E-02    .68590E-01    .45662E-05
   4  Prefactor     .77548        .45086E-02    .43397E-01   -.27917E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18742
  Normalizat = 1.03779
  Prefactor  = 0.775475
 **********
 **   18 **HESSE 
 **********

 FCN=   7890.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    120.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1874        5.6136        .50000       -.59742    
   3  Normalizat    1.0378        .19429E-01    .30345E-03   -.91775    
   4  Prefactor     .77548        .12318E-01    .21811E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08104e-09
Minuit parameter uncertainties:
  1  5.25467e-06
  2  546.879
  3  0.0194294
  4  0.0123184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677029': 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) = 7890.11158859
delta logL = 2.35559127759e-10

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.255e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.187e+00  5.469e+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:  7.755e-01  1.232e-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:  1.038e+00  1.943e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/677029/cmap_HighResolution_466128001_466387201_4FGL_J2311.0+0205_daily_bin875.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2021-09-29 07:44:51.252196', job_id='677029', GAL2='0.78', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632926691.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.36e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='875' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 677029: <4FGL_J2311.0+0205_daily_bin875> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin875 347.766 2.0995 466128001 466387201 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 :                                   740.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            842 sec.

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

