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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin87
RA = 234.902, Dec = 27.7277
tmin = 261878401, tmax = 262137601
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='639028', job_status='RUN', time_executed='2021-09-12 09:31:32.274390', time_epoch_executed='1631464292.27' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='87'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639028

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639028/ft1_4FGL_J1539.6+2743_daily_bin87.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639028/ft1_4FGL_J1539.6+2743_daily_bin87.fits outfile=/scratch/kocevski/639028/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin87.fits ra=234.902 dec=27.7277 rad=12.0 tmin=261878401.0 tmax=262137601.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.39
user 1.21
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.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/639028/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin87.fits evtable="EVENTS" outfile="/scratch/kocevski/639028/ft1_filtered_4FGL_J1539.6+2743_daily_bin87.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/639028/ft1_filtered_4FGL_J1539.6+2743_daily_bin87.fits" evtable="EVENTS" scfile=/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits sctable="SC_DATA" outfile=/scratch/kocevski/639028/ltcube_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.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/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits
.....................!
real 14.44
user 14.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639028/ft1_filtered_4FGL_J1539.6+2743_daily_bin87.fits evtable="EVENTS" scfile=/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits sctable="SC_DATA" expcube=/scratch/kocevski/639028/ltcube_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.fits outfile=/scratch/kocevski/639028/expmap_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.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/639028/ltcube_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.fits
.....................!
real 191.27
user 186.01
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/639028/ft1_filtered_4FGL_J1539.6+2743_daily_bin87.fits scfile=/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits outfile=/scratch/kocevski/639028/cmap_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639028/ft1_filtered_4FGL_J1539.6+2743_daily_bin87.fits scfile=/scratch/kocevski/639028/ft2_4FGL_J1539.6+2743_daily_bin87.fits outfile=/scratch/kocevski/639028/cmap_HighResolution_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4524       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    18.082       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5658       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.3359       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0352       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.182       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3145       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .79825       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0667       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=   7099.317     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1575 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4525        5.1797        .43021E-02    .76270E-03
   2  Prefactor     .10000E-03    69.032        .90712E-02** at limit **
   3  Prefactor     6.1923        63.162        .40330E-02    .14689E-03
   4  Prefactor     .10000E-03    3.8560        .90712E-02** at limit **
   5  norm          18.082        2.5105        .23547E-02   -.12334E-03
   6  Prefactor     6.5661        9.9173        .39154E-02    .27350E-02
   7  Prefactor     .10000E-03    13.660        .90712E-02** at limit **
   8  Prefactor     .10000E-03    29.833        .90712E-02** at limit **
   9  norm          8.3279        9.5684        .34713E-02    .27049E-03
  10  Prefactor     1.0349        2.3942        .12392E-01    .11508E-02
  11  Prefactor     33.182        29.609        .17391E-02    .81467E-04
  12  Prefactor     .10000E-03    15.163        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6.9624        .90712E-02** at limit **
  14  Prefactor     4.3146        3.0466        .48485E-02    .15680E-03
  15  Prefactor     .10000E-03    4.0335        .90712E-02** at limit **
  16  Normalizat    .79818        .19412        .72888E-01    .17619E-03
  17  Prefactor     1.0668        .13360        .39017E-01    .26655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45254
  Prefactor  = 0.0001
  Prefactor  = 6.19228
  Prefactor  = 0.0001
  norm       = 18.0821
  Prefactor  = 6.5661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.32793
  Prefactor  = 1.03492
  Prefactor  = 33.1822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31458
  Prefactor  = 0.0001
  Normalizat = 0.79818
  Prefactor  = 1.06677
 **********
 **   18 **HESSE 
 **********

 FCN=   7099.317     FROM HESSE     STATUS=OK           221 CALLS     1796 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4525        5.1825        .17208E-03   -1.5241    
   2  Prefactor     .10000E-03    69.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.1923        63.092        .16132E-03   -1.5210    
   4  Prefactor     .10000E-03    3.8756        .16156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          18.082        2.5166        .44007E-04   -1.4857    
   6  Prefactor     6.5661        9.9049        .78308E-03   -1.5195    
   7  Prefactor     .10000E-03    13.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.3279        9.5372        .13885E-03   -1.5131    
  10  Prefactor     1.0349        2.3479        .18769E-03   -1.5505    
  11  Prefactor     33.182        29.616        .69563E-04   -1.4555    
  12  Prefactor     .10000E-03    15.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3146        3.0483        .11922E-03   -1.5293    
  15  Prefactor     .10000E-03    4.0423        .16525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .79818        .22589        .32258E-03   -1.0014    
  17  Prefactor     1.0668        .15645        .19872E-03   -.90536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61758e-10
Minuit parameter uncertainties:
  1  5.18288
  2  9.90831e-06
  3  39.585
  4  1.14205e-06
  5  2.51659
  6  9.90737
  7  2.61488e-05
  8  6.15714e-05
  9  9.53895
  10  2.34811
  11  29.6287
  12  9.06698e-06
  13  4.87853e-06
  14  3.04837
  15  1.00236e-06
  16  0.226153
  17  0.156519
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.035e+00  2.348e+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.067e+00  1.565e-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:  7.982e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 234.902 27.728
Photon Flux Upper Limit: 9.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639028/likelihoodResults_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.txt

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) = 7099.31647845
delta logL = 0.000680784520227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7099.31636662
delta logL = 0.000792611616816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0672       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2831       1.0000          .0000       10.000    
     3 'Normalizat'    .79888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0665       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7099.316     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      245 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0680        2.6127        .19070E-03    .44460E-04
   2  Index         2.2847        1.1585        .15118E-01    .62099E-05
   3  Normalizat    .79884        .21973        .32246E-03    .32436E-05
   4  Prefactor     1.0665        .15517        .19874E-03    .53771E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.06795
  Index      = 2.28474
  Normalizat = 0.798837
  Prefactor  = 1.06647
 **********
 **   18 **HESSE 
 **********

 FCN=   7099.316     FROM HESSE     STATUS=OK            27 CALLS      272 TOTAL
                     EDM=   .26E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0680        2.5200        .38141E-04   -1.5501    
   2  Index         2.2847        1.1188        .60473E-03   -.57407    
   3  Normalizat    .79884        .21987        .12898E-04   -1.0011    
   4  Prefactor     1.0665        .15524        .79498E-05   -.90546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57095e-14
Minuit parameter uncertainties:
  1  2.52025
  2  1.13252
  3  0.22012
  4  0.155308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639028': 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) = 7099.31636526
delta logL = 0.000793974845692

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.068e+00  2.520e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.285e+00  1.133e+00  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.066e+00  1.553e-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:  7.988e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 234.902 27.728

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/639028/cmap_HighResolution_261878401_262137601_4FGL_J1539.6+2743_daily_bin87.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.65e-08', time_completed='2021-09-12 09:40:59.859160', job_id='639028', GAL2='1.07', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631464859.86', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.94e-04', ts2='0.24', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='87' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 09:40:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 639028: <4FGL_J1539.6+2743_daily_bin87> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin87> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 09:30:23 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:31:14 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:31:14 2021
Terminated at Sun Sep 12 09:41:00 2021
Results reported at Sun Sep 12 09:41:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin87 234.902 27.7277 261878401 262137601 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 :                                   564.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            637 sec.

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

