aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 2 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 = 17088
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1539.6+2743_weekly_bin247
RA = 234.902, Dec = 27.7277
tmin = 388368001, tmax = 388972801
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='117210', job_status='RUN', time_executed='2021-07-23 13:26:21.818287', time_epoch_executed='1627071981.82' WHERE source_name='4FGL J1539.6+2743' and cadence='weekly' and bin_id='247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117210

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117210/ft1_4FGL_J1539.6+2743_weekly_bin247.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117210/ft1_4FGL_J1539.6+2743_weekly_bin247.fits outfile=/scratch/kocevski/117210/ft1_filteredMKT_4FGL_J1539.6+2743_weekly_bin247.fits ra=234.902 dec=27.7277 rad=12.0 tmin=388368001.0 tmax=388972801.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 8.94
user 8.65
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.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/117210/ft1_filteredMKT_4FGL_J1539.6+2743_weekly_bin247.fits evtable="EVENTS" outfile="/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.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.55
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits" evtable="EVENTS" scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits sctable="SC_DATA" outfile=/scratch/kocevski/117210/ltcube_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.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/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits
.....................!
real 31.04
user 30.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits evtable="EVENTS" scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits sctable="SC_DATA" expcube=/scratch/kocevski/117210/ltcube_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits outfile=/scratch/kocevski/117210/expmap_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.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/117210/ltcube_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits
.....................!
real 191.45
user 186.21
sys 4.82

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
Added 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J1539.6+2743 @ 234.902 27.7277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits outfile=/scratch/kocevski/117210/cmap_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.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=234.902 yref=27.7277 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.59
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits outfile=/scratch/kocevski/117210/cmap_HighResolution_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.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=234.902 yref=27.7277 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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits evtable="EVENTS" scfile=/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117210/Model_4FGL_J1539.6+2743_weekly_bin247.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 GAL_V02
Working on...
/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits.....................!
real 97.75
user 96.31
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits', '/scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits', expMap='/scratch/kocevski/117210/expmap_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits', expCube='/scratch/kocevski/117210/ltcube_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117210/Model_4FGL_J1539.6+2743_weekly_bin247.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1539.6+2743'

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/117210/ft1_filtered_4FGL_J1539.6+2743_weekly_bin247.fits
Spacecraft file(s): /scratch/kocevski/117210/ft2_4FGL_J1539.6+2743_weekly_bin247.fits
Exposure map: /scratch/kocevski/117210/expmap_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits
Exposure cube: /scratch/kocevski/117210/ltcube_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117210/Model_4FGL_J1539.6+2743_weekly_bin247.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) = 14733.4860069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2482       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.084       1.0000         .10000E-03   10000.    
     3 'Prefactor '    55.613       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4592       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7340       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.923       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0862       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6321       1.0000         .10000E-03   10000.    
    11 'Prefactor '    69.904       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1540       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.614       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0293       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88686       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14733.48     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1576 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2483        4.5818       -.20174E-06   -.11565E-03
   2  Prefactor     19.082        29.014       -.29947E-05   -.11939E-04
   3  Prefactor     55.614        34.559        .16462E-05    .13797E-05
   4  Prefactor     .10000E-03    4.4368       -.16880E-06** at limit **
   5  norm          2.4591        1.1683        .14517E-06   -.95002E-03
   6  Prefactor     9.7353        8.1009       -.92967E-06   -.16400E-03
   7  Prefactor     .10000E-03    8.5397       -.27321E-06** at limit **
   8  Prefactor     12.906        17.612       -.23819E-04   -.25750E-03
   9  norm          5.0913        12.692        .25675E-04    .99212E-04
  10  Prefactor     1.6321        1.3300        .22212E-08   -.15465E-03
  11  Prefactor     69.902        27.472       -.18978E-05   -.95241E-05
  12  Prefactor     .10000E-03    23.845        .96164E-06** at limit **
  13  Prefactor     .10000E-03    1.5336        .91524E-07** at limit **
  14  Prefactor     1.1540        1.1755       -.27823E-08    .39638E-04
  15  Prefactor     10.614        8.5245       -.48763E-06   -.11170E-03
  16  Normalizat    1.0293        .12910        .26019E-06   -.12349E-03
  17  Prefactor     .88684        .84426E-01    .15453E-06   -.97310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.24833
  Prefactor  = 19.0822
  Prefactor  = 55.6143
  Prefactor  = 0.0001
  norm       = 2.45913
  Prefactor  = 9.73535
  Prefactor  = 0.0001
  Prefactor  = 12.9056
  norm       = 5.09127
  Prefactor  = 1.63212
  Prefactor  = 69.9018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.15405
  Prefactor  = 10.614
  Normalizat = 1.02927
  Prefactor  = 0.886842
 **********
 **   18 **HESSE 
 **********

 FCN=   14733.48     FROM HESSE     STATUS=OK           229 CALLS     1805 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2483        4.5821        .17546E-03   -1.5250    
   2  Prefactor     19.082        29.023        .91683E-04   -1.4834    
   3  Prefactor     55.614        34.578        .53790E-04   -1.4215    
   4  Prefactor     .10000E-03    4.5201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4591        1.1714        .70230E-04   -1.5394    
   6  Prefactor     9.7353        8.1594        .12844E-03   -1.5084    
   7  Prefactor     .10000E-03    8.5620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.906        17.606        .11142E-03   -1.4989    
   9  norm          5.0913        12.622        .17828E-03   -1.5257    
  10  Prefactor     1.6321        1.3363        .12138E-03   -1.5452    
  11  Prefactor     69.902        27.472        .48011E-04   -1.4034    
  12  Prefactor     .10000E-03    24.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.5378        .14678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1540        1.1765        .43013E-04   -1.5493    
  15  Prefactor     10.614        8.5342        .12298E-03   -1.5056    
  16  Normalizat    1.0293        .15244        .28325E-03   -.92056    
  17  Prefactor     .88684        .99752E-01    .20382E-03   -.96602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24486e-10
Minuit parameter uncertainties:
  1  4.58243
  2  29.0441
  3  34.5908
  4  2.41849e-06
  5  1.17146
  6  8.1603
  7  9.51894e-06
  8  17.6129
  9  12.6288
  10  1.33633
  11  27.477
  12  6.65304e-05
  13  2.16836e-07
  14  1.17651
  15  8.53516
  16  0.152502
  17  0.0997728
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.632e+00  1.336e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.868e-01  9.977e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.029e+00  1.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.00
Ra Dec: 234.902 27.728
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.28e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 8.24e-06 +/- 6.75e-06

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) = 14730.4048355
delta logL = 3.07397010198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14730.3678761
delta logL = 3.11092956515

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3252       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2083       1.0000          .0000       10.000    
     3 'Normalizat'    1.0456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14730.37     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      215 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3244        .93231        .95471E-02   -.18124E-03
   2  Index         1.2079        .24849        .22013       -.17317E-03
   3  Normalizat    1.0454        .12261        .63566E-01    .41159E-04
   4  Prefactor     .88103        .82983E-01    .44761E-01    .21411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32437
  Index      = 1.20785
  Normalizat = 1.04541
  Prefactor  = 0.881025
 **********
 **   18 **HESSE 
 **********

 FCN=   14730.37     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3244        1.2832        .93287E-04   -1.5478    
   2  Index         1.2079        .37665        .87977E-02   -.86090    
   3  Normalizat    1.0454        .14384        .28116E-03   -.91524    
   4  Prefactor     .88103        .97460E-01    .20432E-03   -.96807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28163e-11
Minuit parameter uncertainties:
  1  1.28324
  2  0.377496
  3  0.143894
  4  0.097479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117210': 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) = 14730.3678746
delta logL = 3.11093105137

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.324e+00  1.283e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  1.208e+00  3.775e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.810e-01  9.748e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.045e+00  1.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.22
Ra Dec: 234.902 27.728
Photon Index (Free Index): 1.21 +/- 0.38
Photon Flux (Free Index): 7.28e-09 +/- 6.31e-09
Energy Flux (Free Index): 5.94e-05 +/- 5.48e-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/117210/cmap_HighResolution_388368001_388972801_4FGL_J1539.6+2743_weekly_bin247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.28e-08', energy_flux2='5.94e-05', photon_flux_error='1.87e-08', dlogl='3.11e+00', energy_flux='8.24e-06', photon_flux2='7.28e-09', job_status='DONE', time_completed='2021-07-23 13:39:52.820699', photon_index_error2='0.38', photon_index2='1.21', ts='7.00', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='5.48e-05', EG='1.03', time_epoch_completed='1627072792.82', return_code='0', job_id='117210', GAL2='0.88', EG2='1.05', return_code2='0', energy_flux_error='6.75e-06', photon_flux_error2='6.31e-09', ts2='13.22', photon_index='2.33' WHERE bin_id='247' AND source_name='4FGL J1539.6+2743' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 23 13:39:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 117210: <4FGL_J1539.6+2743_weekly_bin247> in cluster <slac> Done

Job <4FGL_J1539.6+2743_weekly_bin247> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Jul 23 13:25:48 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 23 13:26:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 23 13:26:10 2021
Terminated at Fri Jul 23 13:39:53 2021
Results reported at Fri Jul 23 13:39:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_weekly_bin247 234.902 27.7277 388368001 388972801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1539.6+2743 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   796.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            845 sec.

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

