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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin29
RA = 347.768, Dec = 34.4223
tmin = 246844801, tmax = 247104001
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='680473', job_status='RUN', time_executed='2021-09-29 07:42:42.410396', time_epoch_executed='1632926562.41' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='29'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680473

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680473/ft1_4FGL_J2311.0+3425_daily_bin29.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680473/ft1_4FGL_J2311.0+3425_daily_bin29.fits outfile=/scratch/kocevski/680473/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin29.fits ra=347.768 dec=34.4223 rad=12.0 tmin=246844801.0 tmax=247104001.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.40
user 1.24
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680473/ft1_filtered_4FGL_J2311.0+3425_daily_bin29.fits" evtable="EVENTS" scfile=/scratch/kocevski/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits sctable="SC_DATA" outfile=/scratch/kocevski/680473/ltcube_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.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/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits
.....................!
real 12.69
user 12.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680473/ft1_filtered_4FGL_J2311.0+3425_daily_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits sctable="SC_DATA" expcube=/scratch/kocevski/680473/ltcube_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.fits outfile=/scratch/kocevski/680473/expmap_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.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/680473/ltcube_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.fits
.....................!
real 193.90
user 188.85
sys 4.71

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/680473/ft1_filtered_4FGL_J2311.0+3425_daily_bin29.fits scfile=/scratch/kocevski/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits outfile=/scratch/kocevski/680473/cmap_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680473/ft1_filtered_4FGL_J2311.0+3425_daily_bin29.fits scfile=/scratch/kocevski/680473/ft2_4FGL_J2311.0+3425_daily_bin29.fits outfile=/scratch/kocevski/680473/cmap_HighResolution_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4405       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.721       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.425       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0636       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.228       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5383       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2644       1.0000         .10000E-03   10000.    
    15 'norm      '    24.823       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7441       1.0000         .10000E-03   10000.    
    18 'norm      '    5.5398       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.417       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5305       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79165       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=   8116.447     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2690 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.147        .34216E-05** at limit **
   2  norm          2.4406        1.3074       -.12159E-06   -.12828E-03
   3  Prefactor     46.640        63.239       -.10950E-03    .25922E-05
   4  Prefactor     .10000E-03    7.8383        .41063E-05** at limit **
   5  Prefactor     .10000E-03    10.345       -.31790E-05** at limit **
   6  norm          3.2794        3.8326       -.61517E-07   -.72311E-03
   7  Prefactor     10.418        31.456       -.11263E-04    .51479E-04
   8  Prefactor     .10000E-03    10.301       -.37797E-05** at limit **
   9  Prefactor     6.0639        11.232       -.66070E-06   -.64656E-04
  10  Prefactor     11.226        28.445       -.35688E-05    .23448E-04
  11  norm          2.4233        2.0772       -.36729E-06   -.83069E-03
  12  Prefactor     1.5364        75.341       -.10921E-04   -.92263E-04
  13  Prefactor     .10000E-03    7.2194       -.48319E-05** at limit **
  14  Prefactor     9.2610        21.119       -.67636E-05   -.22147E-04
  15  norm          24.822        11.068       -.39556E-05   -.25067E-03
  16  norm          .10000E-03    4.3895        .25343E-07** at limit **
  17  Prefactor     6.7556        31.717        .28088E-04    .28398E-04
  18  norm          5.5398        3.0066       -.23092E-06    .16607E-03
  19  Prefactor     .10000E-03    8.2938        .52041E-05** at limit **
  20  Prefactor     43.421        38.060        .47207E-05   -.21573E-04
  21  Prefactor     .10000E-03    22.563        .33777E-06** at limit **
  22  Prefactor     .10000E-03    2.1616       -.13265E-07** at limit **
  23  Normalizat    1.5300        .24153       -.24002E-05    .30625E-03
  24  Prefactor     .79188        .97578E-01    .46839E-05   -.44570E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.4406
  Prefactor  = 46.6396
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.27945
  Prefactor  = 10.4184
  Prefactor  = 0.000100001
  Prefactor  = 6.06387
  Prefactor  = 11.2262
  norm       = 2.42334
  Prefactor  = 1.53643
  Prefactor  = 0.0001
  Prefactor  = 9.26103
  norm       = 24.8216
  norm       = 0.0001
  Prefactor  = 6.75563
  norm       = 5.5398
  Prefactor  = 0.0001
  Prefactor  = 43.421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.52997
  Prefactor  = 0.791879
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.447     FROM HESSE     STATUS=OK           397 CALLS     3087 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4406        1.3069        .72124E-04   -1.5396    
   3  Prefactor     46.640        63.256        .29330E-03   -1.4341    
   4  Prefactor     .10000E-03    7.9419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2794        3.7841        .17962E-03   -1.5346    
   7  Prefactor     10.418        31.422        .12409E-03   -1.5062    
   8  Prefactor     .10000E-03    10.631        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.0639        11.230        .16305E-03   -1.5215    
  10  Prefactor     11.226        28.406        .11956E-03   -1.5038    
  11  norm          2.4233        2.0617        .11105E-03   -1.5397    
  12  Prefactor     1.5364        76.612        .34384E-03   -1.5460    
  13  Prefactor     .10000E-03    7.2724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2610        21.086        .13167E-03   -1.5099    
  15  norm          24.822        10.916        .80402E-04   -1.4711    
  16  norm          .10000E-03    4.3955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7556        31.188        .15451E-03   -1.5188    
  18  norm          5.5398        3.0075        .11145E-03   -1.5237    
  19  Prefactor     .10000E-03    8.2967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     43.421        38.242        .60842E-04   -1.4389    
  21  Prefactor     .10000E-03    22.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.1646        .12935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5300        .28506        .33003E-03   -.76940    
  24  Prefactor     .79188        .11518        .18641E-03   -1.0003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63357e-09
Minuit parameter uncertainties:
  1  4.62554e-05
  2  1.30692
  3  63.3468
  4  4.69535e-05
  5  3.11037e-06
  6  3.78437
  7  31.4717
  8  0.000166365
  9  11.2342
  10  28.4401
  11  2.06177
  12  21.7276
  13  5.47944e-06
  14  21.1033
  15  10.9167
  16  8.83283e-06
  17  29.0552
  18  3.00755
  19  2.39989e-05
  20  38.2637
  21  3.5014e-05
  22  5.00709e-06
  23  0.285363
  24  0.115217
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.423e+00  2.062e+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.919e-01  1.152e-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:  1.530e+00  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.70e-08 +/- 5.70e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 2.03e-05

TS (Fixed Index): 1.77
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 1.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/680473/likelihoodResults_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8116.40438608
delta logL = 0.0425860416344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8116.40318868
delta logL = 0.0437834376489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4781       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0663       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78891       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=   8116.403     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4781        85.590        .64928E-02   -.45657E-03
   2  alpha         2.0662        2.5995        .41963       -.18070E-04
   3  Normalizat    1.5393        .18530        .74405E-01   -.10373E-05
   4  Prefactor     .78910        .13622        .43573E-01   -.10786E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.47814
  alpha      = 2.06621
  Normalizat = 1.53929
  Prefactor  = 0.789105
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.403     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4781        2.0458        .11167E-03   -1.5393    
   2  alpha         2.0662        .56463        .16544E-01   -.17440    
   3  Normalizat    1.5393        .25975        .32923E-03   -.76680    
   4  Prefactor     .78910        .10999        .18669E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41921e-10
Minuit parameter uncertainties:
  1  2.04582
  2  0.569702
  3  0.259977
  4  0.110017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680473': 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) = 8116.40318654
delta logL = 0.0437855797327

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.478e+00  2.046e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.066e+00  5.697e-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.891e-01  1.100e-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:  1.539e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.07 +/- 0.57
Photon Flux (Free Index): 6.01e-08 +/- 5.58e-08
Energy Flux (Free Index): 2.66e-05 +/- 2.40e-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/680473/cmap_HighResolution_246844801_247104001_4FGL_J2311.0+3425_daily_bin29.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-05', comment='SUCCESS', photon_flux='6.70e-08', energy_flux2='2.66e-05', photon_flux_error='5.70e-08', dlogl='4.38e-02', energy_flux='2.38e-05', photon_flux2='6.01e-08', job_status='DONE', time_completed='2021-09-29 07:55:38.625136', photon_index_error2='0.57', photon_index2='2.07', ts='1.77', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.77e-07', energy_flux_error2='2.40e-05', EG='1.53', time_epoch_completed='1632927338.63', return_code='0', job_id='680473', GAL2='0.79', EG2='1.54', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='5.58e-08', ts2='1.87', photon_index='2.24' WHERE bin_id='29' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:55:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 680473: <4FGL_J2311.0+3425_daily_bin29> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin29 347.768 34.4223 246844801 247104001 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 :                                   773.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            904 sec.

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

