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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin734
RA = 347.766, Dec = 2.0995
tmin = 429580801, tmax = 429840001
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='676819', job_status='RUN', time_executed='2021-09-29 07:31:54.137463', time_epoch_executed='1632925914.14' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676819/ft1_4FGL_J2311.0+0205_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676819/ft1_4FGL_J2311.0+0205_daily_bin734.fits outfile=/scratch/kocevski/676819/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin734.fits ra=347.766 dec=2.0995 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.40
user 5.99
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.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/676819/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/676819/ft1_filtered_4FGL_J2311.0+0205_daily_bin734.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.54
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676819/ft1_filtered_4FGL_J2311.0+0205_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/676819/ltcube_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.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/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits
.....................!
real 13.02
user 12.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676819/ft1_filtered_4FGL_J2311.0+0205_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/676819/ltcube_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.fits outfile=/scratch/kocevski/676819/expmap_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.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/676819/ltcube_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.fits
.....................!
real 191.72
user 185.18
sys 6.20

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/676819/ft1_filtered_4FGL_J2311.0+0205_daily_bin734.fits scfile=/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits outfile=/scratch/kocevski/676819/cmap_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676819/ft1_filtered_4FGL_J2311.0+0205_daily_bin734.fits scfile=/scratch/kocevski/676819/ft2_4FGL_J2311.0+0205_daily_bin734.fits outfile=/scratch/kocevski/676819/cmap_HighResolution_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0856       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14385E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.419       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.965       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.614       1.0000         .10000E-03   10000.    
    12 'norm      '    8.3716       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.054       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0239       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10720E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3580       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63723       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4013.990     FROM MIGRAD    STATUS=CONVERGED    897 CALLS     2947 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3449        .14305E-02** at limit **
   2  norm          1.0886        23.103        .23036E-02    .15030E-03
   3  Prefactor     .10005E-03    77.971        .14192    ** at limit **
   4  Prefactor     21.419        23.663        .86545E-04    .23645E-04
   5  Prefactor     .10000E-03    19.291        .18142E-02** at limit **
   6  Prefactor     33.939        55.885        .68760E-04    .41285E-04
   7  Prefactor     .10000E-03    4.8501        .13614E-02** at limit **
   8  norm          .10000E-03    1.2861        .10811E-02** at limit **
   9  norm          .10000E-03    3.8639        .12126E-02** at limit **
  10  Prefactor     .10000E-03    7.3493        .16753E-02** at limit **
  11  Prefactor     37.576        71.760        .65349E-04   -.37003E-04
  12  norm          8.3670        18.798        .13855E-03    .40206E-04
  13  Prefactor     12.969        19.035        .11122E-03    .19983E-04
  14  Prefactor     .10000E-03    193.92        .18142E-02** at limit **
  15  Prefactor     27.060        23.853        .77020E-04   -.38060E-03
  16  Prefactor     .10000E-03    11.787        .18142E-02** at limit **
  17  norm          .10000E-03    14.594        .18142E-02** at limit **
  18  Prefactor     .10003E-03    227.76        .18142E-02** at limit **
  19  Prefactor     4.0233        8.0179        .18926E-03   -.19570E-03
  20  Prefactor     .10001E-03    50.235        .18142E-02** at limit **
  21  Prefactor     3.4048        65.245        .22084E-03    .95236E-05
  22  Normalizat    .63719        .33672        .39969E-03   -.89739E-05
  23  Prefactor     1.2935        .21557        .19474E-03    .98825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.0886
  Prefactor  = 0.00010005
  Prefactor  = 21.4189
  Prefactor  = 0.000100001
  Prefactor  = 33.9386
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.5759
  norm       = 8.36701
  Prefactor  = 12.9686
  Prefactor  = 0.000100003
  Prefactor  = 27.0601
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.00010003
  Prefactor  = 4.02326
  Prefactor  = 0.000100006
  Prefactor  = 3.40476
  Normalizat = 0.637185
  Prefactor  = 1.29349
 **********
 **   18 **HESSE 
 **********

 FCN=   4013.990     FROM HESSE     STATUS=OK           358 CALLS     3305 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3449        .28610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0886        23.072        .92145E-04   -1.5499    
   3  Prefactor     .10005E-03    78.607        .14116       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.419        23.663        .34618E-05   -1.4782    
   5  Prefactor     .10000E-03    19.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.939        55.883        .13752E-04   -1.4542    
   7  Prefactor     .10000E-03    4.8502        .27229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2885        .21623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.8643        .24252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.3497        .33506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.576        71.759        .13070E-04   -1.4481    
  12  norm          8.3670        18.787        .55421E-05   -1.5129    
  13  Prefactor     12.969        19.026        .44489E-05   -1.4988    
  14  Prefactor     .10000E-03    193.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.060        23.843        .15404E-04   -1.4667    
  16  Prefactor     .10000E-03    11.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    227.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0233        8.0137        .75705E-05   -1.5307    
  20  Prefactor     .10001E-03    50.239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4048        65.225        .88337E-05   -1.5339    
  22  Normalizat    .63719        .33685        .15988E-04   -1.0643    
  23  Prefactor     1.2935        .21564        .38948E-04   -.83501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72867e-09
Minuit parameter uncertainties:
  1  1.83512e-06
  2  10.0271
  3  0.00397903
  4  23.6737
  5  0.000209581
  6  55.9695
  7  0.000184679
  8  5.277e-05
  9  7.65286e-05
  10  1.81536e-05
  11  71.9246
  12  18.8006
  13  19.0344
  14  0.00150165
  15  23.8512
  16  4.81181e-05
  17  0.00034134
  18  0.00520884
  19  8.01587
  20  0.00114061
  21  29.8415
  22  0.337941
  23  0.215786
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.096e-04  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.293e+00  2.158e-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.372e-01  3.379e-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.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676819/likelihoodResults_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.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) = 4013.98976626
delta logL = -0.000246863521625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4013.97411803
delta logL = 0.0154013636702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35826       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7052       1.0000          .0000       10.000    
     3 'Normalizat'    .63229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2914       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=   4013.974     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      322 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37299        12.308        .29827E-01    .11644E-02
   2  Index         3.7062        1.3447        .35269        .37820E-04
   3  Normalizat    .62187        .19484E-01    .91275E-01   -.76579E-04
   4  Prefactor     1.2984        .13144E-01    .32762E-01   -.51901E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.372987
  Index      = 3.70622
  Normalizat = 0.62187
  Prefactor  = 1.29844
 **********
 **   18 **HESSE 
 **********

 FCN=   4013.974     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      355 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37299        537.11        .15721E-02   -1.5586    
   2  Index         3.7062        5.3303        .63204E-02   -.26173    
   3  Normalizat    .62187        .23266        .40441E-03   -1.0706    
   4  Prefactor     1.2984        .14111        .19444E-03   -.83353    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21007e-09
Minuit parameter uncertainties:
  1  28.5645
  2  31.0214
  3  0.233022
  4  0.141148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676819': 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) = 4013.97354684
delta logL = 0.015972552631

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.730e-01  2.856e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.706e+00  3.102e+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.298e+00  1.411e-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.219e-01  2.330e-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/676819/cmap_HighResolution_429580801_429840001_4FGL_J2311.0+0205_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-29 07:41:40.390484', job_id='676819', GAL2='1.30', fit_tolerance='1e-08', EG2='0.62', EG='0.64', time_epoch_completed='1632926500.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='1.60e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='734' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:41:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 676819: <4FGL_J2311.0+0205_daily_bin734> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin734 347.766 2.0995 429580801 429840001 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 :                                   559.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            671 sec.

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

