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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin47
RA = 234.902, Dec = 27.7277
tmin = 251510401, tmax = 251769601
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='638973', job_status='RUN', time_executed='2021-09-12 09:33:08.600893', time_epoch_executed='1631464388.6' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='47'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638973

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638973/ft1_4FGL_J1539.6+2743_daily_bin47.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638973/ft2_4FGL_J1539.6+2743_daily_bin47.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638973/ft1_4FGL_J1539.6+2743_daily_bin47.fits outfile=/scratch/kocevski/638973/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin47.fits ra=234.902 dec=27.7277 rad=12.0 tmin=251510401.0 tmax=251769601.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.50
user 1.28
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638973/ft1_filtered_4FGL_J1539.6+2743_daily_bin47.fits evtable="EVENTS" scfile=/scratch/kocevski/638973/ft2_4FGL_J1539.6+2743_daily_bin47.fits sctable="SC_DATA" expcube=/scratch/kocevski/638973/ltcube_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.fits outfile=/scratch/kocevski/638973/expmap_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.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/638973/ltcube_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.fits
.....................!
real 192.84
user 185.87
sys 5.68

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/638973/ft1_filtered_4FGL_J1539.6+2743_daily_bin47.fits scfile=/scratch/kocevski/638973/ft2_4FGL_J1539.6+2743_daily_bin47.fits outfile=/scratch/kocevski/638973/cmap_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638973/ft1_filtered_4FGL_J1539.6+2743_daily_bin47.fits scfile=/scratch/kocevski/638973/ft2_4FGL_J1539.6+2743_daily_bin47.fits outfile=/scratch/kocevski/638973/cmap_HighResolution_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.700       1.0000         .10000E-03   10000.    
     3 'Prefactor '    98.246       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7955       1.0000         .10000E-03   10000.    
     5 'norm      '    9.3470       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8302       1.0000         .10000E-03   10000.    
     9 'norm      '    22.284       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9594       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.493       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98212       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1028       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=   10490.13     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1612 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0462        7.6431        .21175E-05   -.10399E-03
   2  Prefactor     23.672        49.569        .49379E-05   -.65245E-04
   3  Prefactor     98.244        43.718        .18067E-06   -.68120E-05
   4  Prefactor     2.7944        6.2047        .36575E-05   -.19269E-03
   5  norm          9.3471        1.6004       -.12952E-07   -.12206E-03
   6  Prefactor     .10000E-03    2.8279       -.39685E-08** at limit **
   7  Prefactor     .10000E-03    6.9997        .14351E-07** at limit **
   8  Prefactor     2.8129        32.177        .11182E-04    .41144E-04
   9  norm          22.300        18.800       -.38420E-05   -.19267E-03
  10  Prefactor     2.9594        2.0109        .37230E-07   -.11081E-04
  11  Prefactor     .10000E-03    24.326       -.33418E-06** at limit **
  12  Prefactor     7.9067        18.322        .82514E-06   -.13340E-04
  13  Prefactor     .10000E-03    3.6865       -.28613E-07** at limit **
  14  Prefactor     .10000E-03    1.0584        .95582E-07** at limit **
  15  Prefactor     11.491        11.431        .29094E-06   -.47944E-05
  16  Normalizat    .98209        .17050       -.48340E-06   -.59979E-04
  17  Prefactor     1.1028        .11401       -.40143E-06   -.60429E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.04617
  Prefactor  = 23.6719
  Prefactor  = 98.2443
  Prefactor  = 2.79441
  norm       = 9.34707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.81286
  norm       = 22.3004
  Prefactor  = 2.95942
  Prefactor  = 0.0001
  Prefactor  = 7.90669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4911
  Normalizat = 0.982088
  Prefactor  = 1.1028
 **********
 **   18 **HESSE 
 **********

 FCN=   10490.13     FROM HESSE     STATUS=OK           227 CALLS     1839 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0462        7.6349        .10022E-02   -1.5306    
   2  Prefactor     23.672        49.130        .82281E-04   -1.4735    
   3  Prefactor     98.244        43.726        .40556E-04   -1.3722    
   4  Prefactor     2.7944        6.2153        .12167E-02   -1.5374    
   5  norm          9.3471        1.6064        .50661E-04   -1.5096    
   6  Prefactor     .10000E-03    2.8355        .16806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.0010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8129        32.394        .24173E-03   -1.5373    
   9  norm          22.300        18.901        .84851E-04   -1.4763    
  10  Prefactor     2.9594        2.0061        .11484E-03   -1.5364    
  11  Prefactor     .10000E-03    24.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9067        18.316        .14256E-03   -1.5146    
  13  Prefactor     .10000E-03    3.7023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9607        .20442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.491        11.433        .11817E-03   -1.5030    
  16  Normalizat    .98209        .19725        .31424E-03   -.93633    
  17  Prefactor     1.1028        .13233        .20549E-03   -.89377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22133e-10
Minuit parameter uncertainties:
  1  7.63669
  2  49.2136
  3  43.7402
  4  6.21675
  5  1.60637
  6  7.13322e-07
  7  3.43024e-07
  8  19.104
  9  18.9059
  10  2.00619
  11  1.52515e-05
  12  18.3287
  13  5.03347e-08
  14  5.29688e-06
  15  11.4352
  16  0.197399
  17  0.132372
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  2.959e+00  2.006e+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:  1.103e+00  1.324e-01  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:  9.821e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.06
Ra Dec: 234.902 27.728
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 4.13e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.01e-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) = 10490.0998081
delta logL = 0.0317201508424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10490.094636
delta logL = 0.0368922475645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1745       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1751       1.0000          .0000       10.000    
     3 'Normalizat'    .98921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1001       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=   10490.09     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1734        44.617        .56864E-02    .32690E-03
   2  Index         2.1751        3.3615        .24870        .42289E-04
   3  Normalizat    .98923        .70526E-01    .70800E-01    .28897E-04
   4  Prefactor     1.1001        .38619E-01    .37583E-01    .36299E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17339
  Index      = 2.17511
  Normalizat = 0.989235
  Prefactor  = 1.10007
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1734        2.2696        .12158E-03   -1.5352    
   2  Index         2.1751        .56649        .86274E-02   -.60041    
   3  Normalizat    .98923        .18981        .31323E-03   -.93392    
   4  Prefactor     1.1001        .13034        .20571E-03   -.89464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47506e-10
Minuit parameter uncertainties:
  1  2.26962
  2  0.568284
  3  0.18994
  4  0.130376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638973': 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) = 10490.0946359
delta logL = 0.036892375083

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  3.173e+00  2.270e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.175e+00  5.683e-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:  1.100e+00  1.304e-01  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:  9.892e-01  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 234.902 27.728
Photon Index (Free Index): 2.18 +/- 0.57
Photon Flux (Free Index): 3.54e-08 +/- 3.24e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.41e-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/638973/cmap_HighResolution_251510401_251769601_4FGL_J1539.6+2743_daily_bin47.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.13e-08', energy_flux2='1.67e-05', photon_flux_error='2.80e-08', dlogl='3.69e-02', energy_flux='1.49e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-09-12 09:43:45.412650', photon_index_error2='0.57', photon_index2='2.18', ts='4.06', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.98', time_epoch_completed='1631465025.41', return_code='0', job_id='638973', GAL2='1.10', EG2='0.99', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.24e-08', ts2='4.13', photon_index='2.33' WHERE bin_id='47' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 09:43:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 638973: <4FGL_J1539.6+2743_daily_bin47> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin47> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 09:30:20 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:30:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 09:30:51 2021
Terminated at Sun Sep 12 09:43:46 2021
Results reported at Sun Sep 12 09:43:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin47 234.902 27.7277 251510401 251769601 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 :                                   635.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             267.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            806 sec.

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

