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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin14
RA = 347.768, Dec = 34.4223
tmin = 242956801, tmax = 243216001
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='680451', job_status='RUN', time_executed='2021-09-29 07:43:14.525392', time_epoch_executed='1632926594.53' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680451/ft1_4FGL_J2311.0+3425_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680451/ft2_4FGL_J2311.0+3425_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680451/ft1_4FGL_J2311.0+3425_daily_bin14.fits outfile=/scratch/kocevski/680451/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin14.fits ra=347.768 dec=34.4223 rad=12.0 tmin=242956801.0 tmax=243216001.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.46
user 1.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680451/ft2_4FGL_J2311.0+3425_daily_bin14.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/680451/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin14.fits evtable="EVENTS" outfile="/scratch/kocevski/680451/ft1_filtered_4FGL_J2311.0+3425_daily_bin14.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.52
user 0.34
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680451/ft1_filtered_4FGL_J2311.0+3425_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/680451/ft2_4FGL_J2311.0+3425_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/680451/ltcube_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.fits outfile=/scratch/kocevski/680451/expmap_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.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/680451/ltcube_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.fits
.....................!
real 192.92
user 187.49
sys 5.06

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/680451/ft1_filtered_4FGL_J2311.0+3425_daily_bin14.fits scfile=/scratch/kocevski/680451/ft2_4FGL_J2311.0+3425_daily_bin14.fits outfile=/scratch/kocevski/680451/cmap_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680451/ft1_filtered_4FGL_J2311.0+3425_daily_bin14.fits scfile=/scratch/kocevski/680451/ft2_4FGL_J2311.0+3425_daily_bin14.fits outfile=/scratch/kocevski/680451/cmap_HighResolution_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3305       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6658       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7785       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .81957E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7860       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.764       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.6815       1.0000         .10000E-03   10000.    
    16 'norm      '    5.8753       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .70790       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0815       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92352       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=   8126.090     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2678 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.179       -.68633E-06** at limit **
   2  norm          1.3304        1.1042        .27126E-06   -.87962E-03
   3  Prefactor     15.485        39.158       -.15196E-05   -.11190E-03
   4  Prefactor     7.6671        9.5674       -.38842E-06   -.66785E-04
   5  Prefactor     .10000E-03    29.898        .16339E-06** at limit **
   6  norm          2.7764        5.7831        .66145E-06   -.15290E-03
   7  Prefactor     .10000E-03    5.3277       -.43082E-06** at limit **
   8  Prefactor     .10000E-03    3.4127       -.50311E-07** at limit **
   9  Prefactor     .10008E-03    8.8291        .20199E-05** at limit **
  10  Prefactor     .10000E-03    11.953       -.69058E-06** at limit **
  11  norm          1.7861        1.3488        .34344E-07   -.12208E-03
  12  Prefactor     .10000E-03    11.611       -.44178E-06** at limit **
  13  Prefactor     12.758        12.550       -.15735E-06   -.94314E-04
  14  Prefactor     .10000E-03    7.6249        .50841E-07** at limit **
  15  norm          4.6811        4.0172        .49080E-07   -.15509E-03
  16  norm          5.8752        5.9443       -.72581E-07    .59205E-05
  17  Prefactor     .10000E-03    5.2677        .39148E-06** at limit **
  18  norm          .70982        1.3723        .58799E-06    .87464E-03
  19  Prefactor     .10000E-03    30.327       -.10827E-05** at limit **
  20  Prefactor     .10000E-03    10.375        .79911E-06** at limit **
  21  Prefactor     .10000E-03    14.956        .11436E-05** at limit **
  22  Prefactor     .10000E-03    2.9898       -.71222E-08** at limit **
  23  Normalizat    1.0816        .19926       -.24762E-06   -.16919E-03
  24  Prefactor     .92348        .88156E-01   -.61126E-07   -.26942E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 1.33044
  Prefactor  = 15.4849
  Prefactor  = 7.66714
  Prefactor  = 0.0001
  norm       = 2.77636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100081
  Prefactor  = 0.000100001
  norm       = 1.78606
  Prefactor  = 0.0001
  Prefactor  = 12.7581
  Prefactor  = 0.0001
  norm       = 4.68111
  norm       = 5.87522
  Prefactor  = 0.0001
  norm       = 0.709818
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.0816
  Prefactor  = 0.923484
 **********
 **   18 **HESSE 
 **********

 FCN=   8126.090     FROM HESSE     STATUS=OK           395 CALLS     3073 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3304        1.1207        .19037E-03   -1.5477    
   3  Prefactor     15.485        39.708        .10177E-03   -1.4921    
   4  Prefactor     7.6671        9.3819        .14484E-03   -1.5154    
   5  Prefactor     .10000E-03    30.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7764        5.6990        .21274E-03   -1.5375    
   7  Prefactor     .10000E-03    5.3768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4452        .16252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10008E-03    27.306        .43501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7861        1.3430        .87017E-04   -1.5441    
  12  Prefactor     .10000E-03    11.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.758        12.528        .11212E-03   -1.4993    
  14  Prefactor     .10000E-03    7.6316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6811        4.0193        .16239E-03   -1.5275    
  16  norm          5.8752        5.9499        .16568E-03   -1.5223    
  17  Prefactor     .10000E-03    5.3266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .70982        1.2551        .16982E-02   -1.5539    
  19  Prefactor     .10000E-03    31.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.0078        .15221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0816        .22952        .34224E-03   -.90345    
  24  Prefactor     .92348        .10239        .16403E-03   -.95325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82201e-09
Minuit parameter uncertainties:
  1  0.00017692
  2  1.12076
  3  39.776
  4  9.38368
  5  8.57536e-05
  6  5.70013
  7  7.10564e-05
  8  4.21422e-06
  9  0.00296948
  10  0.000171692
  11  1.34304
  12  0.000113719
  13  12.5311
  14  9.37315e-06
  15  4.01953
  16  5.9505
  17  6.58136e-05
  18  1.25515
  19  0.000408923
  20  0.000186051
  21  0.000322162
  22  1.14725e-06
  23  0.229732
  24  0.102415
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.786e+00  1.343e+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:  9.235e-01  1.024e-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.082e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.71
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.94e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/680451/likelihoodResults_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.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) = 8125.91703694
delta logL = 0.172692617134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8125.90995621
delta logL = 0.179773351216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7090       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92910       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=   8125.910     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7090        24.410        .80396E-02    .11043E-02
   2  alpha         2.6714        3.3930        .41274        .30720E-04
   3  Normalizat    1.0575        .84614E-01    .78064E-01   -.16097E-04
   4  Prefactor     .92910        .35074E-01    .45375E-01   -.89140E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70904
  alpha      = 2.67137
  Normalizat = 1.05749
  Prefactor  = 0.929099
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.910     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7090        1.2981        .75431E-04   -1.5447    
   2  alpha         2.6714        .74017        .19099E-01    .68600E-01
   3  Normalizat    1.0575        .23016        .34553E-03   -.91129    
   4  Prefactor     .92910        .10165        .16355E-03   -.95132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53502e-09
Minuit parameter uncertainties:
  1  1.29807
  2  0.751493
  3  0.230378
  4  0.101668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680451': 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) = 8125.9099562
delta logL = 0.179773359618

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.709e+00  1.298e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.671e+00  7.515e-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:  9.291e-01  1.017e-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.057e+00  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.09
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.67 +/- 0.75
Photon Flux (Free Index): 7.01e-08 +/- 5.44e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.16e-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/680451/cmap_HighResolution_242956801_243216001_4FGL_J2311.0+3425_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-05', comment='SUCCESS', photon_flux='4.94e-08', energy_flux2='1.71e-05', photon_flux_error='3.71e-08', dlogl='1.80e-01', energy_flux='1.75e-05', photon_flux2='7.01e-08', job_status='DONE', time_completed='2021-09-29 07:55:49.131954', photon_index_error2='0.75', photon_index2='2.67', ts='3.71', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.16e-05', EG='1.08', time_epoch_completed='1632927349.13', return_code='0', job_id='680451', GAL2='0.93', EG2='1.06', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.44e-08', ts2='4.09', photon_index='2.24' WHERE bin_id='14' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:55:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 680451: <4FGL_J2311.0+3425_daily_bin14> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin14 347.768 34.4223 242956801 243216001 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 :                                   754.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

