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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin81
RA = 347.768, Dec = 34.4223
tmin = 260323201, tmax = 260582401
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='680574', job_status='RUN', time_executed='2021-09-29 07:43:33.240157', time_epoch_executed='1632926613.24' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='81'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680574/ft1_4FGL_J2311.0+3425_daily_bin81.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680574/ft1_4FGL_J2311.0+3425_daily_bin81.fits outfile=/scratch/kocevski/680574/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin81.fits ra=347.768 dec=34.4223 rad=12.0 tmin=260323201.0 tmax=260582401.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.52
user 1.33
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits" evtable="EVENTS" scfile=/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits sctable="SC_DATA" outfile=/scratch/kocevski/680574/ltcube_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.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/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits
.....................!
real 12.32
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits sctable="SC_DATA" expcube=/scratch/kocevski/680574/ltcube_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits outfile=/scratch/kocevski/680574/expmap_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.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/680574/ltcube_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits
.....................!
real 190.94
user 185.77
sys 4.78

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/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits scfile=/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits outfile=/scratch/kocevski/680574/cmap_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.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.52
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680574/Model_4FGL_J2311.0+3425_daily_bin81.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/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits.....................!
real 102.54
user 101.15
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits', '/scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits', expMap='/scratch/kocevski/680574/expmap_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits', expCube='/scratch/kocevski/680574/ltcube_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/680574/Model_4FGL_J2311.0+3425_daily_bin81.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/680574/ft1_filtered_4FGL_J2311.0+3425_daily_bin81.fits
Spacecraft file(s): /scratch/kocevski/680574/ft2_4FGL_J2311.0+3425_daily_bin81.fits
Exposure map: /scratch/kocevski/680574/expmap_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits
Exposure cube: /scratch/kocevski/680574/ltcube_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/680574/Model_4FGL_J2311.0+3425_daily_bin81.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) = 9636.38193844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10487E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.6006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .96166       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.950       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9693       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3752       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9434       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .35310E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.319       1.0000         .10000E-03   10000.    
    18 'norm      '    4.9724       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39599E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.112       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19507E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88999       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0896       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=   9636.364     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2842 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    67.834        .12677E-04** at limit **
   2  norm          8.6002        1.7796       -.21197E-06    .98112E-03
   3  Prefactor     .10000E-03    17.227        .40726E-07** at limit **
   4  Prefactor     .96254        2.4915       -.43271E-05   -.42667E-05
   5  Prefactor     .10000E-03    9.2554       -.22386E-07** at limit **
   6  norm          .10000E-03    .79896        .26957E-06** at limit **
   7  Prefactor     25.758        18.365        .19954E-06    .12388E-03
   8  Prefactor     .10000E-03    1.7746        .10450E-06** at limit **
   9  Prefactor     15.950        9.8506       -.31900E-06   -.40095E-04
  10  Prefactor     4.9702        32.611       -.14263E-05    .44411E-04
  11  norm          2.3752        1.2197       -.37618E-07    .36604E-03
  12  Prefactor     .10000E-03    6.1079       -.13358E-06** at limit **
  13  Prefactor     5.9418        12.979       -.93456E-06    .19401E-03
  14  Prefactor     .10000E-03    5.7940       -.12304E-06** at limit **
  15  norm          .10014E-03    3.2098        .50985E-06** at limit **
  16  norm          .10000E-03    3.3296        .15121E-08** at limit **
  17  Prefactor     12.324        19.479        .13499E-05    .93322E-04
  18  norm          4.9726        3.4581       -.25907E-06    .16101E-03
  19  Prefactor     .10000E-03    89.962        .27507E-04** at limit **
  20  Prefactor     48.143        45.098       -.15546E-05   -.10183E-03
  21  Prefactor     .10000E-03    370.26        .22310E-04** at limit **
  22  Prefactor     .10000E-03    7.8676        .12707E-05** at limit **
  23  Normalizat    .89010        .22460        .50901E-05   -.32739E-04
  24  Prefactor     1.0896        .94308E-01    .59021E-06    .24225E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100008
  norm       = 8.60022
  Prefactor  = 0.0001
  Prefactor  = 0.962544
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.7576
  Prefactor  = 0.0001
  Prefactor  = 15.9499
  Prefactor  = 4.97019
  norm       = 2.37517
  Prefactor  = 0.0001
  Prefactor  = 5.94177
  Prefactor  = 0.0001
  norm       = 0.000100136
  norm       = 0.0001
  Prefactor  = 12.3242
  norm       = 4.97261
  Prefactor  = 0.0001
  Prefactor  = 48.1427
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.890097
  Prefactor  = 1.08961
 **********
 **   18 **HESSE 
 **********

 FCN=   9636.364     FROM HESSE     STATUS=OK           399 CALLS     3241 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    68.755        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.6002        1.7793        .28495E-03   -1.5121    
   3  Prefactor     .10000E-03    17.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .96254        2.4828        .25657E-02   -1.5512    
   5  Prefactor     .10000E-03    9.2654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .80265        .85724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.758        18.369        .78929E-04   -1.4692    
   8  Prefactor     .10000E-03    1.7814        .12769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.950        9.8511        .10029E-03   -1.4909    
  10  Prefactor     4.9702        32.567        .18041E-03   -1.5262    
  11  norm          2.3752        1.2162        .74552E-04   -1.5400    
  12  Prefactor     .10000E-03    6.1152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9418        12.909        .16471E-03   -1.5220    
  14  Prefactor     .10000E-03    5.7959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10014E-03    39.556        .29404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3342        .17493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.324        17.707        .11413E-03   -1.5006    
  18  norm          4.9726        3.4535        .14294E-03   -1.5262    
  19  Prefactor     .10000E-03    87.486        .63997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.143        45.293        .57810E-04   -1.4319    
  21  Prefactor     .10000E-03    374.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.9844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89010        .25198        .41265E-03   -.96809    
  24  Prefactor     1.0896        .10706        .16809E-03   -.89799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33193e-08
Minuit parameter uncertainties:
  1  0.00144351
  2  1.77934
  3  1.72725e-06
  4  2.4831
  5  1.98043e-05
  6  5.12961e-06
  7  18.3731
  8  2.684e-06
  9  9.85209
  10  25.4651
  11  1.21624
  12  2.21959e-05
  13  12.9147
  14  1.04102e-05
  15  0.0046404
  16  5.24612e-06
  17  17.7147
  18  3.45363
  19  1.53024e-05
  20  45.3256
  21  0.000154733
  22  0.00030065
  23  0.252312
  24  0.107083
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.375e+00  1.216e+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:  1.090e+00  1.071e-01  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:  8.901e-01  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.19
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.57e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 2.33e-05 +/- 1.19e-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) = 9635.7850397
delta logL = 0.578857346934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9635.73384281
delta logL = 0.630054239498

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0116       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6385       1.0000          .0000       5.0000    
     3 'Normalizat'    .92380       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0816       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=   9635.734     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0112        1.0847        .72970E-02   -.89080E-04
   2  alpha         1.6383        .35112        .38420       -.28401E-04
   3  Normalizat    .92386        .20662        .91633E-01   -.17284E-04
   4  Prefactor     1.0816        .92375E-01    .38332E-01    .45267E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01123
  alpha      = 1.63826
  Normalizat = 0.923862
  Prefactor  = 1.08157
 **********
 **   18 **HESSE 
 **********

 FCN=   9635.734     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0112        1.2948        .73021E-04   -1.5424    
   2  alpha         1.6383        .49392        .14343E-01   -.35192    
   3  Normalizat    .92386        .23275        .40585E-03   -.95627    
   4  Prefactor     1.0816        .10422        .16864E-03   -.90058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88388e-10
Minuit parameter uncertainties:
  1  1.29482
  2  0.49764
  3  0.233004
  4  0.104243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680574': 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) = 9635.7338427
delta logL = 0.63005435438

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.011e+00  1.295e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.638e+00  4.976e-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:  1.082e+00  1.042e-01  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:  9.239e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.45
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.64 +/- 0.50
Photon Flux (Free Index): 3.90e-08 +/- 2.88e-08
Energy Flux (Free Index): 3.70e-05 +/- 2.93e-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/680574/cmap_HighResolution_260323201_260582401_4FGL_J2311.0+3425_daily_bin81.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.57e-08', energy_flux2='3.70e-05', photon_flux_error='3.36e-08', dlogl='6.30e-01', energy_flux='2.33e-05', photon_flux2='3.90e-08', job_status='DONE', time_completed='2021-09-29 07:56:20.324587', photon_index_error2='0.50', photon_index2='1.64', ts='11.19', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.93e-05', EG='0.89', time_epoch_completed='1632927380.32', return_code='0', job_id='680574', GAL2='1.08', EG2='0.92', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='2.88e-08', ts2='12.45', photon_index='2.24' WHERE bin_id='81' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:56:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 680574: <4FGL_J2311.0+3425_daily_bin81> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin81 347.768 34.4223 260323201 260582401 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 :                                   766.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            938 sec.

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

