/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 0 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 = 7389
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin386
RA = 347.768, Dec = 34.4223
tmin = 339379201, tmax = 339638401
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='683569', job_status='RUN', time_executed='2021-09-29 07:50:21.242460', time_epoch_executed='1632927021.24' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='386'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683569

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683569/ft1_4FGL_J2311.0+3425_daily_bin386.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683569/ft2_4FGL_J2311.0+3425_daily_bin386.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683569/ft1_4FGL_J2311.0+3425_daily_bin386.fits outfile=/scratch/kocevski/683569/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin386.fits ra=347.768 dec=34.4223 rad=12.0 tmin=339379201.0 tmax=339638401.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.95
user 5.65
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683569/ft1_filtered_4FGL_J2311.0+3425_daily_bin386.fits evtable="EVENTS" scfile=/scratch/kocevski/683569/ft2_4FGL_J2311.0+3425_daily_bin386.fits sctable="SC_DATA" expcube=/scratch/kocevski/683569/ltcube_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.fits outfile=/scratch/kocevski/683569/expmap_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.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/683569/ltcube_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.fits
.....................!
real 189.75
user 184.94
sys 4.30

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/683569/ft1_filtered_4FGL_J2311.0+3425_daily_bin386.fits scfile=/scratch/kocevski/683569/ft2_4FGL_J2311.0+3425_daily_bin386.fits outfile=/scratch/kocevski/683569/cmap_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683569/ft1_filtered_4FGL_J2311.0+3425_daily_bin386.fits scfile=/scratch/kocevski/683569/ft2_4FGL_J2311.0+3425_daily_bin386.fits outfile=/scratch/kocevski/683569/cmap_HighResolution_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.155       1.0000         .10000E-03   10000.    
     2 'norm      '    .10220E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6177       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3442       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0557       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.159       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6926       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.630       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.6061       1.0000         .10000E-03   10000.    
    16 'norm      '    8.7559       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.4668       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.313       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23730E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57517       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0455       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=   8040.868     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2725 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.165        20.674       -.91657E-07    .26648E-04
   2  norm          .10000E-03    .44938       -.85340E-08** at limit **
   3  Prefactor     .10000E-03    82.946        .22665E-05** at limit **
   4  Prefactor     3.6166        5.7770        .39099E-06   -.46095E-04
   5  Prefactor     2.3465        30.034        .15021E-05    .16069E-04
   6  norm          .10000E-03    2.3782       -.51661E-07** at limit **
   7  Prefactor     9.0529        21.488        .19141E-06   -.46083E-05
   8  Prefactor     12.159        6.8332        .22792E-07   -.40079E-05
   9  Prefactor     .10000E-03    3.1599        .57585E-08** at limit **
  10  Prefactor     .10000E-03    7.9241       -.94242E-08** at limit **
  11  norm          .10000E-03    .46833       -.49971E-07** at limit **
  12  Prefactor     4.6906        15.610        .20885E-07   -.24444E-04
  13  Prefactor     19.628        10.088       -.79965E-06   -.44649E-03
  14  Prefactor     .10000E-03    6.4430        .75520E-07** at limit **
  15  norm          5.6054        4.0182        .10582E-05   -.45596E-03
  16  norm          8.7557        8.6722       -.21519E-06   -.96082E-04
  17  Prefactor     .10000E-03    6.1177        .41310E-07** at limit **
  18  norm          5.4668        2.9677        .85111E-07    .71511E-05
  19  Prefactor     .10000E-03    6.2980       -.18018E-06** at limit **
  20  Prefactor     30.308        33.770       -.28014E-06   -.25693E-04
  21  Prefactor     .10000E-03    102.74       -.27380E-05** at limit **
  22  Prefactor     .10000E-03    3.1357        .28692E-07** at limit **
  23  Normalizat    .57532        .20296       -.69334E-07   -.81162E-05
  24  Prefactor     1.0455        .92130E-01   -.13636E-06    .22697E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.1646
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.61663
  Prefactor  = 2.34645
  norm       = 0.0001
  Prefactor  = 9.05288
  Prefactor  = 12.1591
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.69062
  Prefactor  = 19.6284
  Prefactor  = 0.0001
  norm       = 5.60536
  norm       = 8.75573
  Prefactor  = 0.0001
  norm       = 5.46684
  Prefactor  = 0.0001
  Prefactor  = 30.3082
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.575324
  Prefactor  = 1.04549
 **********
 **   18 **HESSE 
 **********

 FCN=   8040.868     FROM HESSE     STATUS=OK           399 CALLS     3124 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.165        20.609        .87083E-04   -1.4788    
   2  norm          .10000E-03    2.3068        .11367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    83.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6166        5.7577        .21242E-03   -1.5328    
   5  Prefactor     2.3465        28.950        .26776E-03   -1.5402    
   6  norm          .10000E-03    2.4305        .26900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0529        21.520        .13319E-03   -1.5106    
   8  Prefactor     12.159        6.8245        .11488E-03   -1.5010    
   9  Prefactor     .10000E-03    3.1662        .15567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.9275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .48212        .11970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6906        15.616        .18577E-03   -1.5275    
  13  Prefactor     19.628        10.551        .90400E-04   -1.4822    
  14  Prefactor     .10000E-03    6.4488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6054        4.1243        .75712E-03   -1.5234    
  16  norm          8.7557        8.7007        .13546E-03   -1.5116    
  17  Prefactor     .10000E-03    6.1401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.4668        2.9690        .10945E-03   -1.5240    
  19  Prefactor     .10000E-03    6.3074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.308        33.866        .72772E-04   -1.4606    
  21  Prefactor     .10000E-03    105.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.1474        .15493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .57532        .22109        .42460E-03   -1.0904    
  24  Prefactor     1.0455        .10245        .15036E-03   -.91228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43223e-10
Minuit parameter uncertainties:
  1  20.6154
  2  2.11168e-05
  3  0.000594705
  4  5.7586
  5  16.4934
  6  4.00958e-06
  7  21.5386
  8  6.82496
  9  2.76289e-07
  10  5.06014e-06
  11  3.93616e-07
  12  15.6293
  13  10.552
  14  4.79603e-06
  15  4.12453
  16  8.70192
  17  1.78627e-06
  18  2.96908
  19  1.32461e-05
  20  33.8872
  21  0.000715833
  22  3.10395e-06
  23  0.221426
  24  0.102472
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.000e-04  3.936e-07  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.045e+00  1.025e-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:  5.753e-01  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/683569/likelihoodResults_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.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) = 8040.87766198
delta logL = -0.00983157002247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8039.56955132
delta logL = 1.29827909022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12085       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .45399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0772       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=   8039.570     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      285 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12086        2.8934        .46040E-02    .31581E-02
   2  alpha         5.0000        4.9446        .46267    ** at limit **
   3  Normalizat    .45400        .22608        .10714        .61014E-04
   4  Prefactor     1.0772        .63619E-01    .38524E-01   -.16846E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.120864
  alpha      = 5
  Normalizat = 0.454002
  Prefactor  = 1.0772
 **********
 **   18 **HESSE 
 **********

 FCN=   8039.570     FROM HESSE     STATUS=OK            33 CALLS      318 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12086        .86690E-01    .20979E-03   -1.5638    
   2  alpha         5.0000        .73668        .57655E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .45400        .22208        .47493E-03   -1.1460    
   4  Prefactor     1.0772        .10122        .14823E-03   -.90199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96591e-10
Minuit parameter uncertainties:
  1  0.0866901
  2  3.04234e-08
  3  0.222515
  4  0.10124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683569': 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) = 8039.56955129
delta logL = 1.29827912309

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.209e-01  8.669e-02  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  5.000e+00  3.042e-08  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.077e+00  1.012e-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:  4.540e-01  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.90
Ra Dec: 347.768 34.422
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.82e-08 +/- 6.29e-08
Energy Flux (Free Index): 1.19e-05 +/- 8.53e-06

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/683569/cmap_HighResolution_339379201_339638401_4FGL_J2311.0+3425_daily_bin386.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='1.30e+00', photon_flux2='8.82e-08', job_status='DONE', time_completed='2021-09-29 08:03:22.593316', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='5.72e-08', energy_flux_error2='8.53e-06', EG='0.58', time_epoch_completed='1632927802.59', return_code='0', job_id='683569', GAL2='1.08', EG2='0.45', return_code2='0', photon_flux_error2='6.29e-08', ts2='2.90', photon_index='2.24' WHERE bin_id='386' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:03:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 683569: <4FGL_J2311.0+3425_daily_bin386> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin386> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:50:11 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:50:13 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:50:13 2021
Terminated at Wed Sep 29 08:03:23 2021
Results reported at Wed Sep 29 08:03:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin386 347.768 34.4223 339379201 339638401 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 :                                   782.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            792 sec.

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

