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 8 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 = 16901
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1539.6+2743_weekly_bin172
RA = 234.902, Dec = 27.7277
tmin = 343008001, tmax = 343612801
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='115909', job_status='RUN', time_executed='2021-07-23 13:21:43.405216', time_epoch_executed='1627071703.41' WHERE source_name='4FGL J1539.6+2743' and cadence='weekly' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115909

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115909/ft1_4FGL_J1539.6+2743_weekly_bin172.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115909/ft1_4FGL_J1539.6+2743_weekly_bin172.fits outfile=/scratch/kocevski/115909/ft1_filteredMKT_4FGL_J1539.6+2743_weekly_bin172.fits ra=234.902 dec=27.7277 rad=12.0 tmin=343008001.0 tmax=343612801.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 7.85
user 7.46
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.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/115909/ft1_filteredMKT_4FGL_J1539.6+2743_weekly_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.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.57
user 0.40
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/115909/ltcube_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.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/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits
.....................!
real 31.33
user 30.75
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/115909/ltcube_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits outfile=/scratch/kocevski/115909/expmap_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.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/115909/ltcube_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits
.....................!
real 193.24
user 186.83
sys 5.17

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/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits outfile=/scratch/kocevski/115909/cmap_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.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.62
user 0.45
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits outfile=/scratch/kocevski/115909/cmap_HighResolution_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115909/Model_4FGL_J1539.6+2743_weekly_bin172.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/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits.....................!
real 119.83
user 118.32
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits', '/scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits', expMap='/scratch/kocevski/115909/expmap_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits', expCube='/scratch/kocevski/115909/ltcube_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115909/Model_4FGL_J1539.6+2743_weekly_bin172.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/115909/ft1_filtered_4FGL_J1539.6+2743_weekly_bin172.fits
Spacecraft file(s): /scratch/kocevski/115909/ft2_4FGL_J1539.6+2743_weekly_bin172.fits
Exposure map: /scratch/kocevski/115909/expmap_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits
Exposure cube: /scratch/kocevski/115909/ltcube_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115909/Model_4FGL_J1539.6+2743_weekly_bin172.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) = 17566.5677117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3028       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .72271E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .77343       1.0000         .10000E-03   10000.    
     5 'norm      '    15.067       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1955       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.884       1.0000         .10000E-03   10000.    
     9 'norm      '    7.4866       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.425       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0332       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93708       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=   17565.96     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1422 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3020        3.5028       -.93933E-07   -.46826E-04
   2  Prefactor     .10000E-03    29.204        .43431E-05** at limit **
   3  Prefactor     .10001E-03    50.442       -.21319E-04** at limit **
   4  Prefactor     .78697        2.9910        .88012E-07   -.33755E-03
   5  norm          15.068        1.6128       -.54923E-07   -.64603E-04
   6  Prefactor     4.1961        4.1573        .12109E-05   -.24793E-02
   7  Prefactor     .10000E-03    8.0462       -.24788E-07** at limit **
   8  Prefactor     18.887        13.292        .29819E-06    .37203E-04
   9  norm          7.4878        7.4481        .25799E-06    .33283E-04
  10  Prefactor     10.425        2.5181       -.77816E-08   -.10155E-03
  11  Prefactor     4.3648        21.525        .54738E-05    .69608E-04
  12  Prefactor     .10000E-03    19.399       -.92040E-06** at limit **
  13  Prefactor     3.5836        7.0347        .15629E-05    .85062E-05
  14  Prefactor     4.3176        2.4890        .45254E-07   -.16277E-03
  15  Prefactor     .10000E-03    3.1258        .54101E-08** at limit **
  16  Normalizat    1.0330        .13204       -.28301E-06    .11443E-03
  17  Prefactor     .93700        .84120E-01   -.31083E-06    .23899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.30204
  Prefactor  = 0.000100001
  Prefactor  = 0.000100011
  Prefactor  = 0.786972
  norm       = 15.0675
  Prefactor  = 4.19614
  Prefactor  = 0.0001
  Prefactor  = 18.887
  norm       = 7.48779
  Prefactor  = 10.4252
  Prefactor  = 4.36485
  Prefactor  = 0.0001
  Prefactor  = 3.5836
  Prefactor  = 4.31758
  Prefactor  = 0.0001
  Normalizat = 1.03305
  Prefactor  = 0.937004
 **********
 **   18 **HESSE 
 **********

 FCN=   17565.96     FROM HESSE     STATUS=OK           231 CALLS     1653 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3020        3.5011        .19421E-03   -1.5293    
   2  Prefactor     .10000E-03    29.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    51.602        .20962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78697        7.8379        .42245E-02   -1.5531    
   5  norm          15.068        1.7322        .50278E-04   -1.4931    
   6  Prefactor     4.1961        7.5142        .98375E-03   -1.5298    
   7  Prefactor     .10000E-03    8.0573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.887        13.286        .92166E-04   -1.4839    
   9  norm          7.4878        7.4422        .14657E-03   -1.5161    
  10  Prefactor     10.425        2.5201        .98162E-04   -1.5062    
  11  Prefactor     4.3648        21.580        .19288E-03   -1.5290    
  12  Prefactor     .10000E-03    19.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.5836        7.0270        .21361E-03   -1.5329    
  14  Prefactor     4.3176        2.4956        .15174E-03   -1.5292    
  15  Prefactor     .10000E-03    3.1444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0330        .15533        .31445E-03   -.91931    
  17  Prefactor     .93700        .99414E-01    .21530E-03   -.94860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08973e-07
Minuit parameter uncertainties:
  1  3.50123
  2  0.000268786
  3  0.00147384
  4  4.96769
  5  1.73219
  6  7.51592
  7  1.37926e-06
  8  13.2876
  9  7.44311
  10  2.52016
  11  19.4219
  12  0.000108176
  13  7.02858
  14  2.4957
  15  1.06172e-06
  16  0.155396
  17  0.0994328
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.043e+01  2.520e+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:  9.370e-01  9.943e-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.033e+00  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.41
Ra Dec: 234.902 27.728
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.46e-07 +/- 3.52e-08
Energy Flux (Fixed Index): 5.27e-05 +/- 1.27e-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) = 17565.3367821
delta logL = 0.623094488914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17565.3367503
delta logL = 0.623126305512

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.894       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0869       1.0000          .0000       10.000    
     3 'Normalizat'    1.0612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92580       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=   17565.34     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      269 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.890        40.523        .29039E-02    .20554E-03
   2  Index         2.0866        2.3177        .14258        .11807E-03
   3  Normalizat    1.0613        .15316        .70258E-01    .42328E-04
   4  Prefactor     .92581        .72970E-01    .45333E-01    .19597E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8904
  Index      = 2.0866
  Normalizat = 1.06128
  Prefactor  = 0.925808
 **********
 **   18 **HESSE 
 **********

 FCN=   17565.34     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.890        3.0609        .10871E-03   -1.5018    
   2  Index         2.0866        .21180        .55211E-02   -.62202    
   3  Normalizat    1.0613        .14938        .31087E-03   -.91005    
   4  Prefactor     .92581        .97164E-01    .21646E-03   -.95245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29446e-10
Minuit parameter uncertainties:
  1  3.06097
  2  0.211894
  3  0.149442
  4  0.0971817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115909': 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) = 17565.3367485
delta logL = 0.623128105355

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.189e+01  3.061e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.087e+00  2.119e-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:  9.258e-01  9.718e-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.061e+00  1.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.55
Ra Dec: 234.902 27.728
Photon Index (Free Index): 2.09 +/- 0.21
Photon Flux (Free Index): 1.18e-07 +/- 3.85e-08
Energy Flux (Free Index): 6.65e-05 +/- 2.35e-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/115909/cmap_HighResolution_343008001_343612801_4FGL_J1539.6+2743_weekly_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-07', energy_flux2='6.65e-05', photon_flux_error='3.52e-08', dlogl='6.23e-01', energy_flux='5.27e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-07-23 13:36:32.862377', photon_index_error2='0.21', photon_index2='2.09', ts='38.41', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='1.03', time_epoch_completed='1627072592.86', return_code='0', job_id='115909', GAL2='0.93', EG2='1.06', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.85e-08', ts2='39.55', photon_index='2.33' WHERE bin_id='172' AND source_name='4FGL J1539.6+2743' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 23 13:36:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 115909: <4FGL_J1539.6+2743_weekly_bin172> in cluster <slac> Done

Job <4FGL_J1539.6+2743_weekly_bin172> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Jul 23 13:21:03 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 23 13:21:26 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:21:26 2021
Terminated at Fri Jul 23 13:36:33 2021
Results reported at Fri Jul 23 13:36:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_weekly_bin172 234.902 27.7277 343008001 343612801 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 :                                   864.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            930 sec.

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

