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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin760
RA = 347.766, Dec = 2.0995
tmin = 436320001, tmax = 436579201
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='676860', job_status='RUN', time_executed='2021-09-29 07:32:31.126724', time_epoch_executed='1632925951.13' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676860/ft1_4FGL_J2311.0+0205_daily_bin760.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676860/ft2_4FGL_J2311.0+0205_daily_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676860/ft1_4FGL_J2311.0+0205_daily_bin760.fits outfile=/scratch/kocevski/676860/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin760.fits ra=347.766 dec=2.0995 rad=12.0 tmin=436320001.0 tmax=436579201.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.21
user 4.97
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676860/ft1_filtered_4FGL_J2311.0+0205_daily_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/676860/ft2_4FGL_J2311.0+0205_daily_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/676860/ltcube_436320001_436579201_4FGL_J2311.0+0205_daily_bin760.fits outfile=/scratch/kocevski/676860/expmap_436320001_436579201_4FGL_J2311.0+0205_daily_bin760.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/676860/ltcube_436320001_436579201_4FGL_J2311.0+0205_daily_bin760.fits
.....................!
real 189.95
user 184.97
sys 4.56

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676860/ft1_filtered_4FGL_J2311.0+0205_daily_bin760.fits scfile=/scratch/kocevski/676860/ft2_4FGL_J2311.0+0205_daily_bin760.fits outfile=/scratch/kocevski/676860/cmap_HighResolution_436320001_436579201_4FGL_J2311.0+0205_daily_bin760.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    21.637       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.104       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16588E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0835       1.0000         .10000E-03   10000.    
     9 'norm      '    .10617E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.449       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0406       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4403       1.0000         .10000E-03   10000.    
    16 'Prefactor '    102.75       1.0000         .10000E-03   10000.    
    17 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.571       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .36345       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2952       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=   2948.826     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2529 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.552        .79041E-07** at limit **
   2  norm          21.649        27.800       -.50823E-06    .14532E-04
   3  Prefactor     .10000E-03    38.326        .17332E-06** at limit **
   4  Prefactor     .10000E-03    12.983       -.19274E-06** at limit **
   5  Prefactor     .10000E-03    19.676       -.53013E-06** at limit **
   6  Prefactor     30.027        80.989        .12787E-05   -.42569E-05
   7  Prefactor     .10000E-03    12.531       -.20539E-06** at limit **
   8  norm          2.0839        1.9499        .99571E-07    .60379E-04
   9  norm          .10000E-03    9.0642       -.11865E-06** at limit **
  10  Prefactor     .10000E-03    13.705        .46387E-06** at limit **
  11  Prefactor     .10000E-03    35.016        .25815E-06** at limit **
  12  norm          13.447        17.948        .35071E-06    .24880E-04
  13  Prefactor     4.0454        11.467        .84759E-06   -.12729E-05
  14  Prefactor     .10000E-03    910.42       -.70712E-05** at limit **
  15  Prefactor     3.4165        15.731       -.53846E-09   -.54454E-04
  16  Prefactor     102.77        53.180        .46556E-06    .19438E-04
  17  norm          .10000E-03    31.814        .23313E-06** at limit **
  18  Prefactor     .10000E-03    41.943       -.24370E-07** at limit **
  19  Prefactor     .10000E-03    7.0386        .10809E-05** at limit **
  20  Prefactor     .10000E-03    19.152        .68978E-06** at limit **
  21  Prefactor     10.577        24.386       -.33443E-06    .12495E-05
  22  Normalizat    .36292        .38994       -.15833E-04   -.16028E-04
  23  Prefactor     1.2954        .24720        .49309E-05   -.51936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.6493
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.0269
  Prefactor  = 0.0001
  norm       = 2.08392
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.4469
  Prefactor  = 4.04541
  Prefactor  = 0.0001
  Prefactor  = 3.41648
  Prefactor  = 102.772
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5774
  Normalizat = 0.362922
  Prefactor  = 1.29543
 **********
 **   18 **HESSE 
 **********

 FCN=   2948.826     FROM HESSE     STATUS=OK           366 CALLS     2895 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.571        .18028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.649        27.755        .86110E-04   -1.4777    
   3  Prefactor     .10000E-03    38.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.027        81.086        .73024E-04   -1.4611    
   7  Prefactor     .10000E-03    12.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0839        1.9323        .68983E-04   -1.5419    
   9  norm          .10000E-03    9.1411        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    35.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.447        17.782        .10922E-03   -1.4974    
  13  Prefactor     4.0454        11.356        .20060E-03   -1.5306    
  14  Prefactor     .10000E-03    911.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4165        14.228        .21806E-03   -1.5338    
  16  Prefactor     102.77        53.163        .39665E-04   -1.3677    
  17  norm          .10000E-03    31.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.563        .26453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.577        24.391        .12323E-03   -1.5057    
  22  Normalizat    .36292        .39170        .50671E-03   -1.1926    
  23  Prefactor     1.2954        .24724        .18424E-03   -.83443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40693e-11
Minuit parameter uncertainties:
  1  7.0459e-06
  2  27.7713
  3  3.90178e-06
  4  9.33577e-06
  5  2.45338e-05
  6  81.3854
  7  6.26418e-05
  8  1.93237
  9  2.18022e-05
  10  1.11874e-06
  11  1.53137e-05
  12  17.7892
  13  11.3616
  14  0.000589247
  15  13.9498
  16  53.1875
  17  1.88997e-05
  18  9.92956e-06
  19  5.18841e-06
  20  1.93791e-05
  21  24.4135
  22  0.394705
  23  0.24746
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.453e-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.295e+00  2.475e-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:  3.629e-01  3.947e-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: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676860/likelihoodResults_436320001_436579201_4FGL_J2311.0+0205_daily_bin760.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) = 2948.82596184
delta logL = -0.000241665086833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2948.82572019
delta logL = -1.52822394739e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2778       1.0000          .0000       10.000    
     3 'Normalizat'    .36292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2954       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=   2948.826     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6511.7        .90712E-02** at limit **
   2  Index         2.2767        5.9958        .50000        .45084E-06
   3  Normalizat    .36292        .14692        .11438        .29694E-04
   4  Prefactor     1.2954        .97064E-01    .32690E-01    .13711E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27675
  Normalizat = 0.362922
  Prefactor  = 1.29543
 **********
 **   18 **HESSE 
 **********

 FCN=   2948.826     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2767        6.1375        .50000       -.57597    
   3  Normalizat    .36292        .35965        .50666E-03   -1.1926    
   4  Prefactor     1.2954        .24101        .18424E-03   -.83443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52935e-13
Minuit parameter uncertainties:
  1  2.35327e-06
  2  4.28101
  3  0.361974
  4  0.241214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676860': 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) = 2948.82572019
delta logL = -1.43286342791e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.353e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.277e+00  4.281e+00  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.295e+00  2.412e-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:  3.629e-01  3.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-29 07:41:34.268872', job_id='676860', GAL2='1.30', fit_tolerance='1e-08', EG2='0.36', EG='0.36', time_epoch_completed='1632926494.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='-1.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='760' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:41:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 676860: <4FGL_J2311.0+0205_daily_bin760> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin760 347.766 2.0995 436320001 436579201 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 :                                   474.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            657 sec.

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

