/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 9 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 = 7385
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1249
RA = 347.768, Dec = 34.4223
tmin = 563068801, tmax = 563328001
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='686856', job_status='RUN', time_executed='2021-09-29 08:00:42.122337', time_epoch_executed='1632927642.12' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/686856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/686856/ft1_4FGL_J2311.0+3425_daily_bin1249.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/686856/ft2_4FGL_J2311.0+3425_daily_bin1249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/686856/ft1_4FGL_J2311.0+3425_daily_bin1249.fits outfile=/scratch/kocevski/686856/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1249.fits ra=347.768 dec=34.4223 rad=12.0 tmin=563068801.0 tmax=563328001.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 3.52
user 3.23
sys 0.22

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/686856/ft1_filtered_4FGL_J2311.0+3425_daily_bin1249.fits evtable="EVENTS" scfile=/scratch/kocevski/686856/ft2_4FGL_J2311.0+3425_daily_bin1249.fits sctable="SC_DATA" expcube=/scratch/kocevski/686856/ltcube_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.fits outfile=/scratch/kocevski/686856/expmap_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.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/686856/ltcube_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.fits
.....................!
real 190.97
user 185.40
sys 5.18

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/686856/ft1_filtered_4FGL_J2311.0+3425_daily_bin1249.fits scfile=/scratch/kocevski/686856/ft2_4FGL_J2311.0+3425_daily_bin1249.fits outfile=/scratch/kocevski/686856/cmap_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/686856/ft1_filtered_4FGL_J2311.0+3425_daily_bin1249.fits scfile=/scratch/kocevski/686856/ft2_4FGL_J2311.0+3425_daily_bin1249.fits outfile=/scratch/kocevski/686856/cmap_HighResolution_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.896       1.0000         .10000E-03   10000.    
     2 'norm      '    .96218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41109E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1691       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .57246       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4844       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2709       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.668       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6500       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.220       1.0000         .10000E-03   10000.    
    20 'Prefactor '    83.147       1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.180       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.914       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7397       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66713       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=   8873.259     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2796 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.882        34.515       -.40320E-05   -.10132E-05
   2  norm          .96204        .83518       -.35764E-07   -.35966E-03
   3  Prefactor     .10000E-03    17.090        .23100E-05** at limit **
   4  Prefactor     .10007E-03    3.6718        .75091E-06** at limit **
   5  Prefactor     .10000E-03    26.650       -.70115E-06** at limit **
   6  norm          2.4568        4.2089       -.26498E-05   -.16827E-02
   7  Prefactor     .10001E-03    12.450       -.10259E-05** at limit **
   8  Prefactor     6.1695        5.0955        .37447E-05   -.33883E-04
   9  Prefactor     .10000E-03    7.7943       -.33773E-07** at limit **
  10  Prefactor     .10000E-03    46.799        .10738E-05** at limit **
  11  norm          .57235        1.1430       -.55216E-06   -.21331E-02
  12  Prefactor     9.4796        22.952       -.72542E-06   -.14089E-04
  13  Prefactor     8.2680        12.108       -.38342E-06   -.80482E-04
  14  Prefactor     28.666        28.238       -.56064E-06    .10706E-04
  15  norm          2.6498        3.1580       -.24390E-07   -.62534E-04
  16  norm          .10000E-03    3.2280        .37632E-07** at limit **
  17  Prefactor     .10000E-03    16.177       -.15701E-05** at limit **
  18  norm          .10000E-03    .99890        .26823E-07** at limit **
  19  Prefactor     12.221        12.466        .14966E-06    .22306E-04
  20  Prefactor     83.150        57.931        .22944E-05    .63630E-05
  21  Prefactor     55.137        70.697       -.44446E-04    .16634E-06
  22  Prefactor     16.918        13.223        .69435E-05    .92802E-05
  23  Normalizat    1.7399        .22078        .23658E-06    .12712E-04
  24  Prefactor     .66704        .84859E-01    .58262E-06   -.81916E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.8815
  norm       = 0.962037
  Prefactor  = 0.0001
  Prefactor  = 0.000100069
  Prefactor  = 0.0001
  norm       = 2.45683
  Prefactor  = 0.000100005
  Prefactor  = 6.16948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.572354
  Prefactor  = 9.47956
  Prefactor  = 8.26796
  Prefactor  = 28.6662
  norm       = 2.64981
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.2212
  Prefactor  = 83.1501
  Prefactor  = 55.1366
  Prefactor  = 16.9183
  Normalizat = 1.73986
  Prefactor  = 0.667036
 **********
 **   18 **HESSE 
 **********

 FCN=   8873.259     FROM HESSE     STATUS=OK           405 CALLS     3201 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.882        34.488        .80283E-04   -1.4710    
   2  norm          .96204        .83105        .77211E-04   -1.5512    
   3  Prefactor     .10000E-03    17.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    39.875        .28766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4568        3.6264        .20045E-03   -1.5394    
   7  Prefactor     .10001E-03    100.19        .63622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1695        5.0771        .16163E-03   -1.5211    
   9  Prefactor     .10000E-03    7.8598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    47.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .57235        1.1220        .13638E-03   -1.5557    
  12  Prefactor     9.4796        22.981        .13013E-03   -1.5092    
  13  Prefactor     8.2680        12.125        .13940E-03   -1.5133    
  14  Prefactor     28.666        28.238        .74825E-04   -1.4637    
  15  norm          2.6498        3.1492        .17743E-03   -1.5382    
  16  norm          .10000E-03    3.2306        .16528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.0185        .91883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.221        12.468        .11459E-03   -1.5009    
  20  Prefactor     83.150        58.373        .44051E-04   -1.3882    
  21  Prefactor     55.137        69.876        .54000E-04   -1.4222    
  22  Prefactor     16.918        13.176        .97386E-04   -1.4885    
  23  Normalizat    1.7399        .25838        .30832E-03   -.71244    
  24  Prefactor     .66704        .98846E-01    .18687E-03   -1.0483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67756e-09
Minuit parameter uncertainties:
  1  34.5152
  2  0.831056
  3  3.15142e-06
  4  0.00331017
  5  1.61999e-05
  6  3.62672
  7  0.00145226
  8  5.07748
  9  4.78763e-06
  10  5.1561e-05
  11  1.12201
  12  23.0022
  13  12.1283
  14  28.2513
  15  3.14943
  16  1.26103e-06
  17  6.21144e-06
  18  5.83265e-07
  19  12.4708
  20  58.4131
  21  69.9801
  22  13.1783
  23  0.258585
  24  0.0988721
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.724e-01  1.122e+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:  6.670e-01  9.887e-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.740e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/686856/likelihoodResults_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.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) = 8873.20662658
delta logL = 0.0519539277593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8873.20580502
delta logL = 0.0527754959312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59422       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6452       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7302       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66912       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=   8873.206     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59436        39.935        .11650E-01    .13012E-02
   2  alpha         2.6453        3.3400        .41240        .61142E-04
   3  Normalizat    1.7302        .64927E-01    .69852E-01    .45975E-05
   4  Prefactor     .66912        .27006E-01    .41989E-01    .19896E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.594356
  alpha      = 2.64533
  Normalizat = 1.73024
  Prefactor  = 0.669117
 **********
 **   18 **HESSE 
 **********

 FCN=   8873.206     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59436        1.1171        .11791E-03   -1.5554    
   2  alpha         2.6453        1.2841        .37501E-01    .58163E-01
   3  Normalizat    1.7302        .24416        .30900E-03   -.71499    
   4  Prefactor     .66912        .96753E-01    .18660E-03   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06227e-10
Minuit parameter uncertainties:
  1  1.11714
  2  1.34876
  3  0.24433
  4  0.0967777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/686856': 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) = 8873.205805
delta logL = 0.0527755129206

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.944e-01  1.117e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.645e+00  1.349e+00  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:  6.691e-01  9.678e-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.730e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 347.768 34.422

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/686856/cmap_HighResolution_563068801_563328001_4FGL_J2311.0+3425_daily_bin1249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-05', job_status='DONE', photon_flux_upper_limit='9.15e-08', time_completed='2021-09-29 08:14:43.469975', job_id='686856', GAL2='0.67', fit_tolerance='1e-08', EG2='1.73', EG='1.74', time_epoch_completed='1632928483.47', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='5.28e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1249' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:14:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 686856: <4FGL_J2311.0+3425_daily_bin1249> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1249> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:00:23 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:00:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:00:25 2021
Terminated at Wed Sep 29 08:14:44 2021
Results reported at Wed Sep 29 08:14:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1249 347.768 34.4223 563068801 563328001 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 :                                   833.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             374.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            861 sec.

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

