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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin70
RA = 347.768, Dec = 34.4223
tmin = 257472001, tmax = 257731201
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='680556', job_status='RUN', time_executed='2021-09-29 07:42:44.498030', time_epoch_executed='1632926564.5' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680556

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680556/ft1_4FGL_J2311.0+3425_daily_bin70.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680556/ft1_4FGL_J2311.0+3425_daily_bin70.fits outfile=/scratch/kocevski/680556/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin70.fits ra=347.768 dec=34.4223 rad=12.0 tmin=257472001.0 tmax=257731201.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 2.00
user 1.77
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.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/680556/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin70.fits evtable="EVENTS" outfile="/scratch/kocevski/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/680556/ltcube_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits outfile=/scratch/kocevski/680556/expmap_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.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/680556/ltcube_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits
.....................!
real 189.82
user 185.01
sys 4.44

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/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits scfile=/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits outfile=/scratch/kocevski/680556/cmap_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits scfile=/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits outfile=/scratch/kocevski/680556/cmap_HighResolution_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.768 yref=34.4223 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits', '/scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits', expMap='/scratch/kocevski/680556/expmap_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits', expCube='/scratch/kocevski/680556/ltcube_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/680556/Model_4FGL_J2311.0+3425_daily_bin70.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/680556/ft1_filtered_4FGL_J2311.0+3425_daily_bin70.fits
Spacecraft file(s): /scratch/kocevski/680556/ft2_4FGL_J2311.0+3425_daily_bin70.fits
Exposure map: /scratch/kocevski/680556/expmap_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits
Exposure cube: /scratch/kocevski/680556/ltcube_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/680556/Model_4FGL_J2311.0+3425_daily_bin70.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9953.2424747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.333       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2464       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2780       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6969       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5273       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .97847       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11130E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .82137       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.121       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.5318       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1551       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95267       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=   9953.107     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2395 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.335        21.176       -.44338E-06   -.54189E-04
   2  norm          2.2467        1.2007        .33979E-07   -.20443E-03
   3  Prefactor     .10000E-03    19.214        .25019E-05** at limit **
   4  Prefactor     2.2766        4.7524        .10377E-07   -.34090E-03
   5  Prefactor     .10000E-03    52.023        .14473E-05** at limit **
   6  norm          .10000E-03    1.1041       -.10168E-06** at limit **
   7  Prefactor     9.6969        9.5070       -.10307E-06    .10626E-05
   8  Prefactor     5.7447        5.1177        .15238E-05   -.21056E-02
   9  Prefactor     .10000E-03    5.7605        .85407E-08** at limit **
  10  Prefactor     .10000E-03    8.4301        .61175E-06** at limit **
  11  norm          1.5276        1.6831        .48036E-07   -.56032E-03
  12  Prefactor     .10000E-03    12.359       -.22947E-05** at limit **
  13  Prefactor     .10001E-03    9.6888        .53459E-05** at limit **
  14  Prefactor     .10000E-03    4.8010       -.29036E-08** at limit **
  15  norm          .98235        3.9166        .13358E-05   -.51332E-03
  16  norm          .10000E-03    3.1220       -.67657E-08** at limit **
  17  Prefactor     .10013E-03    12.685       -.10031E-05** at limit **
  18  norm          .82232        1.7789        .44229E-06   -.80923E-04
  19  Prefactor     .10000E-03    9.1797       -.44428E-05** at limit **
  20  Prefactor     29.110        30.574        .38348E-06    .29306E-04
  21  Prefactor     .10000E-03    24.183       -.23687E-05** at limit **
  22  Prefactor     7.5316        7.2225        .86306E-07   -.45041E-04
  23  Normalizat    1.1549        .19670       -.38080E-06   -.63930E-04
  24  Prefactor     .95282        .82418E-01   -.17968E-06   -.11280E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3351
  norm       = 2.24671
  Prefactor  = 0.000100001
  Prefactor  = 2.27659
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.69685
  Prefactor  = 5.74468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52757
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.982351
  norm       = 0.0001
  Prefactor  = 0.000100128
  norm       = 0.82232
  Prefactor  = 0.000100004
  Prefactor  = 29.1103
  Prefactor  = 0.000100001
  Prefactor  = 7.53164
  Normalizat = 1.15486
  Prefactor  = 0.952821
 **********
 **   18 **HESSE 
 **********

 FCN=   9953.107     FROM HESSE     STATUS=OK           407 CALLS     2802 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.335        21.155        .99104E-04   -1.4899    
   2  norm          2.2467        1.1969        .76394E-04   -1.5408    
   3  Prefactor     .10000E-03    19.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2766        4.7232        .27205E-03   -1.5406    
   5  Prefactor     .10000E-03    54.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1066        .10211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.6969        9.5136        .12869E-03   -1.5085    
   8  Prefactor     5.7447        5.9727        .83780E-03   -1.5229    
   9  Prefactor     .10000E-03    5.8021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.4433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5276        1.6661        .12477E-03   -1.5461    
  12  Prefactor     .10000E-03    12.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    10.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.8025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98235        4.0655        .37157E-03   -1.5510    
  16  norm          .10000E-03    3.1257        .17215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10013E-03    16.930        .86184E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .82232        1.4522        .19169E-02   -1.5527    
  19  Prefactor     .10000E-03    9.6375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.110        30.724        .74243E-04   -1.4628    
  21  Prefactor     .10000E-03    24.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5316        7.2070        .14613E-03   -1.5159    
  23  Normalizat    1.1549        .22903        .34677E-03   -.88009    
  24  Prefactor     .95282        .96460E-01    .16772E-03   -.94319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1115e-08
Minuit parameter uncertainties:
  1  21.1649
  2  1.19694
  3  0.000315901
  4  4.72399
  5  0.000254467
  6  2.42064e-06
  7  9.51508
  8  5.97334
  9  1.52043e-06
  10  5.05173e-05
  11  1.66614
  12  0.000218467
  13  0.000454904
  14  5.59252e-07
  15  3.99714
  16  1.28129e-06
  17  0.0029445
  18  1.45226
  19  0.000386939
  20  30.7411
  21  0.000322329
  22  7.20781
  23  0.229233
  24  0.0964774
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.528e+00  1.666e+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.528e-01  9.648e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.155e+00  2.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.02
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.22e-08 +/- 4.61e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/680556/likelihoodResults_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.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) = 9946.88439728
delta logL = 6.22270637951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9946.85684629
delta logL = 6.25025737039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29198       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .93256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0125       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=   9946.857     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      316 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29188        1.6275        .39080E-02    .31795E-03
   2  alpha         5.0000        2.5021        .46268    ** at limit **
   3  Normalizat    .93226        .14228        .85760E-01    .25193E-03
   4  Prefactor     1.0126        .62460E-01    .42989E-01    .57709E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.29188
  alpha      = 5
  Normalizat = 0.932263
  Prefactor  = 1.01259
 **********
 **   18 **HESSE 
 **********

 FCN=   9946.857     FROM HESSE     STATUS=OK            33 CALLS      349 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29188        .14286        .17449E-04   -1.5600    
   2  alpha         5.0000        .56275        .42765        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93226        .22153        .37972E-03   -.95336    
   4  Prefactor     1.0126        .96199E-01    .16297E-03   -.92311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15825e-10
Minuit parameter uncertainties:
  1  0.142857
  2  2.36296e-06
  3  0.221744
  4  0.0962151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680556': 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) = 9946.85683741
delta logL = 6.25026624922

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.919e-01  1.429e-01  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  5.000e+00  2.363e-06  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.013e+00  9.622e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.323e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.79
Ra Dec: 347.768 34.422
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.13e-07 +/- 1.04e-07
Energy Flux (Free Index): 2.88e-05 +/- 1.41e-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/680556/cmap_HighResolution_257472001_257731201_4FGL_J2311.0+3425_daily_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-05', comment='SUCCESS', photon_flux='4.22e-08', energy_flux2='2.88e-05', photon_flux_error='4.61e-08', dlogl='6.25e+00', energy_flux='1.50e-05', photon_flux2='2.13e-07', job_status='DONE', time_completed='2021-09-29 07:56:55.101154', photon_index_error2='0.00', photon_index2='5.00', ts='1.02', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.41e-05', EG='1.15', time_epoch_completed='1632927415.1', return_code='0', job_id='680556', GAL2='1.01', EG2='0.93', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='1.04e-07', ts2='14.79', photon_index='2.24' WHERE bin_id='70' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 680556: <4FGL_J2311.0+3425_daily_bin70> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin70 347.768 34.4223 257472001 257731201 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 :                                   848.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            974 sec.

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

