/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 158 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin95
RA = 347.768, Dec = 34.4223
tmin = 263952001, tmax = 264211201
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='680597', job_status='RUN', time_executed='2021-09-29 07:43:31.931842', time_epoch_executed='1632926611.93' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680597

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680597/ft1_4FGL_J2311.0+3425_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680597/ft1_4FGL_J2311.0+3425_daily_bin95.fits outfile=/scratch/kocevski/680597/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin95.fits ra=347.768 dec=34.4223 rad=12.0 tmin=263952001.0 tmax=264211201.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 1.71
user 1.54
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.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/680597/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin95.fits evtable="EVENTS" outfile="/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/680597/ltcube_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.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/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits
.....................!
real 12.31
user 11.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/680597/ltcube_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits outfile=/scratch/kocevski/680597/expmap_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.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/680597/ltcube_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits
.....................!
real 190.92
user 185.45
sys 4.96

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2311.0+3425 @ 347.768 34.4223

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits outfile=/scratch/kocevski/680597/cmap_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.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.768 yref=34.4223 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/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits outfile=/scratch/kocevski/680597/cmap_HighResolution_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.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.768 yref=34.4223 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/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680597/Model_4FGL_J2311.0+3425_daily_bin95.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits.....................!
real 130.13
user 128.49
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits', '/scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits', expMap='/scratch/kocevski/680597/expmap_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits', expCube='/scratch/kocevski/680597/ltcube_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/680597/Model_4FGL_J2311.0+3425_daily_bin95.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+3425'

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.866e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/680597/ft1_filtered_4FGL_J2311.0+3425_daily_bin95.fits
Spacecraft file(s): /scratch/kocevski/680597/ft2_4FGL_J2311.0+3425_daily_bin95.fits
Exposure map: /scratch/kocevski/680597/expmap_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits
Exposure cube: /scratch/kocevski/680597/ltcube_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/680597/Model_4FGL_J2311.0+3425_daily_bin95.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) = 11972.4333164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.341       1.0000         .10000E-03   10000.    
     2 'norm      '    9.0449       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0206       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6055       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.413       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9436       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18487E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.065       1.0000         .10000E-03   10000.    
    16 'norm      '    4.8752       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6045       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2577       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.4622       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3912       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11972.35     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2321 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.340        28.292       -.60892E-06   -.27530E-03
   2  norm          9.0446        1.5772       -.46656E-07   -.57226E-04
   3  Prefactor     .10000E-03    25.448       -.22220E-05** at limit **
   4  Prefactor     .10000E-03    5.8480       -.92064E-07** at limit **
   5  Prefactor     7.0198        9.9550        .26483E-05    .53937E-03
   6  norm          .10000E-03    1.0174        .45856E-08** at limit **
   7  Prefactor     .10000E-03    15.337       -.37584E-06** at limit **
   8  Prefactor     2.6053        3.1185        .51432E-07   -.61286E-04
   9  Prefactor     .10000E-03    2.9586       -.25884E-07** at limit **
  10  Prefactor     17.415        16.441        .21236E-06   -.13666E-04
  11  norm          1.9434        1.0879        .29931E-07   -.11863E-03
  12  Prefactor     .10000E-03    5.1004        .33491E-08** at limit **
  13  Prefactor     .10010E-03    7.5149        .28915E-05** at limit **
  14  Prefactor     .10000E-03    14.543       -.12623E-05** at limit **
  15  norm          10.066        5.2138        .15373E-06    .10389E-03
  16  norm          4.8754        5.2365       -.23418E-07   -.68153E-04
  17  Prefactor     .10000E-03    22.230        .11121E-05** at limit **
  18  norm          3.6047        1.8868        .30313E-08   -.37318E-03
  19  Prefactor     .10000E-03    9.1405        .24299E-06** at limit **
  20  Prefactor     .10000E-03    23.273        .49506E-06** at limit **
  21  Prefactor     3.2256        222.79       -.25799E-05   -.68304E-04
  22  Prefactor     8.4622        12.178       -.61948E-06   -.40594E-03
  23  Normalizat    1.3914        .18084       -.23498E-06   -.33424E-03
  24  Prefactor     .79792        .75420E-01    .54499E-07   -.51853E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.3396
  norm       = 9.04463
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 7.01975
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.60534
  Prefactor  = 0.0001
  Prefactor  = 17.4153
  norm       = 1.94339
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 0.000100001
  norm       = 10.0663
  norm       = 4.87544
  Prefactor  = 0.0001
  norm       = 3.60475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.22558
  Prefactor  = 8.46216
  Normalizat = 1.39135
  Prefactor  = 0.797921
 **********
 **   18 **HESSE 
 **********

 FCN=   11972.35     FROM HESSE     STATUS=OK           399 CALLS     2720 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.340        28.180        .67411E-04   -1.4518    
   2  norm          9.0446        1.5790        .54806E-04   -1.5106    
   3  Prefactor     .10000E-03    25.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0813        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0198        10.296        .75702E-03   -1.5178    
   6  norm          .10000E-03    1.0279        .10773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6053        3.1123        .20533E-03   -1.5385    
   9  Prefactor     .10000E-03    2.9691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.415        16.426        .95981E-04   -1.4873    
  11  norm          1.9434        1.0865        .81934E-04   -1.5429    
  12  Prefactor     .10000E-03    5.1067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10010E-03    18.175        .41759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.066        5.2016        .12630E-03   -1.5073    
  16  norm          4.8754        5.2372        .18218E-03   -1.5266    
  17  Prefactor     .10000E-03    22.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6047        1.8840        .10556E-03   -1.5328    
  19  Prefactor     .10000E-03    9.1896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2256        225.63        .22438E-03   -1.5349    
  22  Prefactor     8.4622        12.007        .13781E-03   -1.5126    
  23  Normalizat    1.3914        .20970        .33511E-03   -.80879    
  24  Prefactor     .79792        .87718E-01    .18112E-03   -.99805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33539e-09
Minuit parameter uncertainties:
  1  28.191
  2  1.57902
  3  0.00048443
  4  1.25724e-05
  5  10.2984
  6  1.7197e-07
  7  6.65487e-05
  8  3.11249
  9  1.82283e-06
  10  16.4301
  11  1.08651
  12  5.63206e-07
  13  0.00269929
  14  0.000205641
  15  5.20181
  16  5.23769
  17  0.000198452
  18  1.88403
  19  3.31819e-05
  20  0.000107145
  21  54.1676
  22  12.0105
  23  0.209834
  24  0.0877334
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.943e+00  1.087e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  7.979e-01  8.773e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.391e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.41
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 5.37e-08 +/- 3.00e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.07e-05

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) = 11971.7253555
delta logL = 0.619698335973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11971.647852
delta logL = 0.697201789757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2769       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5453       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11971.65     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      216 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2763        .79088        .98284E-02   -.12523E-03
   2  alpha         1.5447        .33802        .40322       -.73656E-04
   3  Normalizat    1.4239        .17675        .75011E-01    .15870E-04
   4  Prefactor     .79169        .74957E-01    .43609E-01    .11747E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27632
  alpha      = 1.54474
  Normalizat = 1.42392
  Prefactor  = 0.791687
 **********
 **   18 **HESSE 
 **********

 FCN=   11971.65     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2763        1.0672        .72440E-04   -1.5482    
   2  alpha         1.5447        .53002        .15221E-01   -.39207    
   3  Normalizat    1.4239        .20566        .33194E-03   -.79939    
   4  Prefactor     .79169        .87241E-01    .18179E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48038e-12
Minuit parameter uncertainties:
  1  1.06722
  2  0.534781
  3  0.205782
  4  0.0872563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680597': 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) = 11971.6478513
delta logL = 0.697202555082

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.276e+00  1.067e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.545e+00  5.348e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  7.917e-01  8.726e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.424e+00  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.81
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.54 +/- 0.53
Photon Flux (Free Index): 2.42e-08 +/- 2.20e-08
Energy Flux (Free Index): 2.83e-05 +/- 2.34e-05

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/680597/cmap_HighResolution_263952001_264211201_4FGL_J2311.0+3425_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.37e-08', energy_flux2='2.83e-05', photon_flux_error='3.00e-08', dlogl='6.97e-01', energy_flux='1.91e-05', photon_flux2='2.42e-08', job_status='DONE', time_completed='2021-09-29 07:57:07.772972', photon_index_error2='0.53', photon_index2='1.54', ts='10.41', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.34e-05', EG='1.39', time_epoch_completed='1632927427.77', return_code='0', job_id='680597', GAL2='0.79', EG2='1.42', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='2.20e-08', ts2='11.81', photon_index='2.24' WHERE bin_id='95' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:57:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 680597: <4FGL_J2311.0+3425_daily_bin95> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin95> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep 29 07:40:44 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:40:46 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:40:46 2021
Terminated at Wed Sep 29 07:57:08 2021
Results reported at Wed Sep 29 07:57:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin95 347.768 34.4223 263952001 264211201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   814.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

