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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1064
RA = 347.768, Dec = 34.4223
tmin = 515116801, tmax = 515376001
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='685514', job_status='RUN', time_executed='2021-09-29 07:59:01.868195', time_epoch_executed='1632927541.87' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1064'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685514/ft1_4FGL_J2311.0+3425_daily_bin1064.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685514/ft1_4FGL_J2311.0+3425_daily_bin1064.fits outfile=/scratch/kocevski/685514/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1064.fits ra=347.768 dec=34.4223 rad=12.0 tmin=515116801.0 tmax=515376001.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.53
user 3.29
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.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/685514/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1064.fits evtable="EVENTS" outfile="/scratch/kocevski/685514/ft1_filtered_4FGL_J2311.0+3425_daily_bin1064.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685514/ft1_filtered_4FGL_J2311.0+3425_daily_bin1064.fits" evtable="EVENTS" scfile=/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits sctable="SC_DATA" outfile=/scratch/kocevski/685514/ltcube_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.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/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits
.....................!
real 11.75
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685514/ft1_filtered_4FGL_J2311.0+3425_daily_bin1064.fits evtable="EVENTS" scfile=/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits sctable="SC_DATA" expcube=/scratch/kocevski/685514/ltcube_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.fits outfile=/scratch/kocevski/685514/expmap_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.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/685514/ltcube_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.fits
.....................!
real 190.33
user 185.23
sys 4.73

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/685514/ft1_filtered_4FGL_J2311.0+3425_daily_bin1064.fits scfile=/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits outfile=/scratch/kocevski/685514/cmap_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.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/685514/ft1_filtered_4FGL_J2311.0+3425_daily_bin1064.fits scfile=/scratch/kocevski/685514/ft2_4FGL_J2311.0+3425_daily_bin1064.fits outfile=/scratch/kocevski/685514/cmap_HighResolution_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.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.55
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.571       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.892       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16391E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0842       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6427       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5266       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8068       1.0000         .10000E-03   10000.    
    15 'norm      '    23.080       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4518       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.483       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92410       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0092       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=   10032.71     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2701 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.571        14.843        .15777E-06    .14413E-05
   2  norm          .10000E-03    .22950        .26695E-07** at limit **
   3  Prefactor     .10000E-03    16.579        .11170E-05** at limit **
   4  Prefactor     .10000E-03    5.0471       -.25200E-06** at limit **
   5  Prefactor     .10000E-03    4.9640        .39075E-06** at limit **
   6  norm          15.892        4.6114        .18394E-07    .55585E-04
   7  Prefactor     .10000E-03    6.8626        .22567E-06** at limit **
   8  Prefactor     .10000E-03    4.9036       -.25380E-06** at limit **
   9  Prefactor     .10000E-03    5.7690       -.61118E-06** at limit **
  10  Prefactor     7.0822        26.253       -.12396E-05   -.29208E-04
  11  norm          2.6425        1.4487        .91707E-08   -.16194E-03
  12  Prefactor     20.617        20.119        .70868E-05    .79349E-03
  13  Prefactor     3.5247        7.7649        .39168E-05   -.12938E-02
  14  Prefactor     5.8049        19.071        .85325E-06    .46861E-04
  15  norm          23.080        7.0832        .41124E-07    .52704E-04
  16  norm          .10000E-03    5.8482        .10931E-05** at limit **
  17  Prefactor     .10000E-03    6.0341       -.11711E-05** at limit **
  18  norm          4.4520        2.5537       -.79464E-07   -.85605E-04
  19  Prefactor     .10000E-03    9.3373        .93702E-08** at limit **
  20  Prefactor     13.385        36.420       -.41436E-05   -.11984E-03
  21  Prefactor     .10000E-03    15.383       -.98134E-06** at limit **
  22  Prefactor     .10000E-03    2.6306        .44523E-07** at limit **
  23  Normalizat    .92454        .20436       -.18952E-05    .45679E-04
  24  Prefactor     1.0090        .86716E-01    .96847E-07   -.48911E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.5705
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.8915
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.08224
  norm       = 2.6425
  Prefactor  = 20.6166
  Prefactor  = 3.52471
  Prefactor  = 5.80488
  norm       = 23.0803
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45203
  Prefactor  = 0.0001
  Prefactor  = 13.3848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.924539
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   10032.71     FROM HESSE     STATUS=OK           397 CALLS     3098 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.571        14.839        .98388E-04   -1.4894    
   2  norm          .10000E-03    .23219        .46840E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.892        4.6029        .10047E-03   -1.4910    
   7  Prefactor     .10000E-03    6.8784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.220        .46464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0822        26.277        .15072E-03   -1.5176    
  11  norm          2.6425        1.4417        .84970E-04   -1.5383    
  12  Prefactor     20.617        20.651        .88185E-04   -1.4800    
  13  Prefactor     3.5247        11.388        .10763E-02   -1.5332    
  14  Prefactor     5.8049        19.051        .16667E-03   -1.5226    
  15  norm          23.080        7.0787        .83377E-04   -1.4747    
  16  norm          .10000E-03    5.8844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.0535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4520        2.5620        .11700E-03   -1.5286    
  19  Prefactor     .10000E-03    9.3562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.385        36.849        .10908E-03   -1.4976    
  21  Prefactor     .10000E-03    15.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.6447        .15863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92454        .23313        .39477E-03   -.95603    
  24  Prefactor     1.0090        .99894E-01    .16691E-03   -.92429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45455e-09
Minuit parameter uncertainties:
  1  14.8427
  2  4.46429e-07
  3  0.000102814
  4  7.4967e-06
  5  1.99989e-05
  6  4.60302
  7  1.49459e-05
  8  7.28479e-06
  9  0.000385756
  10  26.3197
  11  1.44169
  12  20.658
  13  11.395
  14  19.0707
  15  7.07895
  16  5.96174e-05
  17  6.46958e-05
  18  2.56205
  19  8.68992e-06
  20  36.9121
  21  8.23741e-05
  22  3.27649e-06
  23  0.233386
  24  0.0999126
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.643e+00  1.442e+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.009e+00  9.991e-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.245e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.08
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 7.31e-08 +/- 3.98e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 1.42e-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) = 10032.5124446
delta logL = 0.1927858032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10032.5052078
delta logL = 0.200022586148

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5379       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9410       1.0000          .0000       5.0000    
     3 'Normalizat'    .94190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0051       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=   10032.51     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5379        1.5791        .64090E-02    .49132E-03
   2  alpha         1.9410        .42496        .39682       -.35402E-04
   3  Normalizat    .94190        .19436        .88421E-01    .36916E-04
   4  Prefactor     1.0051        .85578E-01    .44177E-01    .23444E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53788
  alpha      = 1.94095
  Normalizat = 0.941902
  Prefactor  = 1.00506
 **********
 **   18 **HESSE 
 **********

 FCN=   10032.51     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5379        1.4550        .84636E-04   -1.5389    
   2  alpha         1.9410        .45824        .14977E-01   -.22553    
   3  Normalizat    .94190        .22261        .39156E-03   -.95003    
   4  Prefactor     1.0051        .98092E-01    .16720E-03   -.92561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05772e-10
Minuit parameter uncertainties:
  1  1.45503
  2  0.460988
  3  0.222825
  4  0.0981095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685514': 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) = 10032.5052078
delta logL = 0.20002258794

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.538e+00  1.455e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.941e+00  4.610e-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.005e+00  9.811e-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.419e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.48
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.94 +/- 0.46
Photon Flux (Free Index): 5.67e-08 +/- 4.02e-08
Energy Flux (Free Index): 3.03e-05 +/- 1.88e-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/685514/cmap_HighResolution_515116801_515376001_4FGL_J2311.0+3425_daily_bin1064.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.31e-08', energy_flux2='3.03e-05', photon_flux_error='3.98e-08', dlogl='2.00e-01', energy_flux='2.60e-05', photon_flux2='5.67e-08', job_status='DONE', time_completed='2021-09-29 08:11:57.164113', photon_index_error2='0.46', photon_index2='1.94', ts='6.08', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.88e-05', EG='0.92', time_epoch_completed='1632928317.16', return_code='0', job_id='685514', GAL2='1.01', EG2='0.94', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.02e-08', ts2='6.48', photon_index='2.24' WHERE bin_id='1064' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:11:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 685514: <4FGL_J2311.0+3425_daily_bin1064> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1064> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:55:33 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:55:34 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:55:34 2021
Terminated at Wed Sep 29 08:11:57 2021
Results reported at Wed Sep 29 08:11:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1064 347.768 34.4223 515116801 515376001 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 :                                   770.00 sec.
    Max Memory :                                 1160 MB
    Average Memory :                             267.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

