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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin82
RA = 347.768, Dec = 34.4223
tmin = 260582401, tmax = 260841601
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='680576', job_status='RUN', time_executed='2021-09-29 07:44:22.176158', time_epoch_executed='1632926662.18' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680576

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680576/ft1_4FGL_J2311.0+3425_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680576/ft1_4FGL_J2311.0+3425_daily_bin82.fits outfile=/scratch/kocevski/680576/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin82.fits ra=347.768 dec=34.4223 rad=12.0 tmin=260582401.0 tmax=260841601.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.61
user 1.43
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.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/680576/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin82.fits evtable="EVENTS" outfile="/scratch/kocevski/680576/ft1_filtered_4FGL_J2311.0+3425_daily_bin82.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/680576/ft1_filtered_4FGL_J2311.0+3425_daily_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/680576/ltcube_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.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/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits
.....................!
real 12.26
user 11.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680576/ft1_filtered_4FGL_J2311.0+3425_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/680576/ltcube_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.fits outfile=/scratch/kocevski/680576/expmap_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.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/680576/ltcube_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.fits
.....................!
real 190.41
user 185.43
sys 4.62

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/680576/ft1_filtered_4FGL_J2311.0+3425_daily_bin82.fits scfile=/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits outfile=/scratch/kocevski/680576/cmap_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680576/ft1_filtered_4FGL_J2311.0+3425_daily_bin82.fits scfile=/scratch/kocevski/680576/ft2_4FGL_J2311.0+3425_daily_bin82.fits outfile=/scratch/kocevski/680576/cmap_HighResolution_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.9805       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7007       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.0152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .73885E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2041       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3306       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0824       1.0000         .10000E-03   10000.    
    11 'norm      '    3.1074       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2898       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4484       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.2727       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10244E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96530       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0207       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=   9085.120     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2355 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.3100        .24165E-06** at limit **
   2  norm          5.9806        1.5595        .63878E-07    .80503E-03
   3  Prefactor     .10000E-03    24.042       -.64569E-06** at limit **
   4  Prefactor     4.7010        6.4600        .13963E-05    .10268E-03
   5  Prefactor     .10000E-03    11.702       -.14411E-06** at limit **
   6  norm          6.0156        3.8915       -.68208E-06    .12108E-03
   7  Prefactor     .10000E-03    10.095       -.47203E-05** at limit **
   8  Prefactor     2.2081        6.5336        .63486E-05    .97875E-04
   9  Prefactor     3.3309        8.1665        .23353E-06    .45502E-05
  10  Prefactor     9.0629        26.324        .75909E-06   -.28701E-04
  11  norm          3.1074        1.6348       -.18850E-07   -.34198E-03
  12  Prefactor     7.2781        15.834        .27783E-06    .19683E-05
  13  Prefactor     8.4509        10.167        .72346E-07   -.17174E-04
  14  Prefactor     .10000E-03    7.2989        .88247E-08** at limit **
  15  norm          .10000E-03    2.4218        .38618E-07** at limit **
  16  norm          9.2725        9.1798       -.12892E-07    .31420E-05
  17  Prefactor     .10000E-03    13.178        .60301E-07** at limit **
  18  norm          .10000E-03    1.3666       -.15087E-05** at limit **
  19  Prefactor     .10000E-03    5.0643       -.63489E-08** at limit **
  20  Prefactor     .10000E-03    21.403        .95107E-07** at limit **
  21  Prefactor     .10000E-03    17.347        .65622E-06** at limit **
  22  Prefactor     .10000E-03    6.5651        .85474E-08** at limit **
  23  Normalizat    .96506        .20798       -.12449E-05    .13357E-03
  24  Prefactor     1.0209        .91690E-01    .54769E-07    .71303E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.9806
  Prefactor  = 0.0001
  Prefactor  = 4.70099
  Prefactor  = 0.0001
  norm       = 6.01562
  Prefactor  = 0.000100005
  Prefactor  = 2.20807
  Prefactor  = 3.33094
  Prefactor  = 9.06291
  norm       = 3.1074
  Prefactor  = 7.2781
  Prefactor  = 8.45088
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.27249
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.96506
  Prefactor  = 1.02087
 **********
 **   18 **HESSE 
 **********

 FCN=   9085.120     FROM HESSE     STATUS=OK           399 CALLS     2754 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.3206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9806        1.5606        .58426E-04   -1.5219    
   3  Prefactor     .10000E-03    24.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7010        6.4278        .92801E-03   -1.5274    
   5  Prefactor     .10000E-03    11.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.0156        3.8919        .13454E-03   -1.5217    
   7  Prefactor     .10000E-03    53.604        .53102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2081        6.7172        .13855E-02   -1.5411    
   9  Prefactor     3.3309        8.1534        .22179E-03   -1.5343    
  10  Prefactor     9.0629        26.344        .13299E-03   -1.5106    
  11  norm          3.1074        1.6313        .83808E-04   -1.5355    
  12  Prefactor     7.2781        15.829        .14856E-03   -1.5168    
  13  Prefactor     8.4509        10.092        .68960E-03   -1.5126    
  14  Prefactor     .10000E-03    7.3033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4523        .14481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.2725        9.1725        .65806E-03   -1.5099    
  17  Prefactor     .10000E-03    13.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.0357        .19828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.0664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.6428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96506        .23768        .38418E-03   -.94210    
  24  Prefactor     1.0209        .10588        .16674E-03   -.92037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49696e-10
Minuit parameter uncertainties:
  1  1.44205e-05
  2  1.56057
  3  0.00012985
  4  6.42875
  5  8.13779e-05
  6  3.89204
  7  0.00102145
  8  6.71954
  9  8.15613
  10  26.3777
  11  1.63128
  12  15.8377
  13  10.0941
  14  3.67638e-06
  15  4.51299e-06
  16  9.1739
  17  2.86036e-05
  18  0.000110693
  19  3.18762e-06
  20  7.22382e-06
  21  8.93133e-05
  22  6.3046e-05
  23  0.237939
  24  0.1059
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  3.107e+00  1.631e+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:  1.021e+00  1.059e-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:  9.651e-01  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.25
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 1.60e-05

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) = 9084.65249784
delta logL = 0.467053361079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9084.64580716
delta logL = 0.473744038185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5850       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8103       1.0000          .0000       5.0000    
     3 'Normalizat'    .91256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0358       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=   9084.646     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5846        18.576        .63454E-02    .51039E-03
   2  alpha         2.8104        3.8950        .37628        .58749E-04
   3  Normalizat    .91259        .88531E-01    .88900E-01    .34442E-04
   4  Prefactor     1.0358        .36795E-01    .40824E-01   -.11749E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.58465
  alpha      = 2.81039
  Normalizat = 0.912591
  Prefactor  = 1.0358
 **********
 **   18 **HESSE 
 **********

 FCN=   9084.646     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5846        1.7943        .68682E-04   -1.5386    
   2  alpha         2.8104        .67471        .14487E-01    .12448    
   3  Normalizat    .91259        .24083        .39370E-03   -.96019    
   4  Prefactor     1.0358        .10564        .16565E-03   -.91546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84245e-12
Minuit parameter uncertainties:
  1  1.79433
  2  0.683318
  3  0.241112
  4  0.10566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680576': 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) = 9084.64580713
delta logL = 0.473744069068

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.585e+00  1.794e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.810e+00  6.833e-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:  1.036e+00  1.057e-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:  9.126e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.30
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.81 +/- 0.68
Photon Flux (Free Index): 1.22e-07 +/- 6.34e-08
Energy Flux (Free Index): 2.75e-05 +/- 1.38e-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/680576/cmap_HighResolution_260582401_260841601_4FGL_J2311.0+3425_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.75e-05', photon_flux_error='4.51e-08', dlogl='4.74e-01', energy_flux='3.05e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-29 07:55:52.323318', photon_index_error2='0.68', photon_index2='2.81', ts='6.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.38e-05', EG='0.97', time_epoch_completed='1632927352.32', return_code='0', job_id='680576', GAL2='1.04', EG2='0.91', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='6.34e-08', ts2='7.30', photon_index='2.24' WHERE bin_id='82' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:55:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 680576: <4FGL_J2311.0+3425_daily_bin82> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin82 347.768 34.4223 260582401 260841601 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 :                                   690.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

