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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin1001
RA = 234.902, Dec = 27.7277
tmin = 498787201, tmax = 499046401
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='644795', job_status='RUN', time_executed='2021-09-12 09:52:00.817206', time_epoch_executed='1631465520.82' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='1001'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644795

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644795/ft1_4FGL_J1539.6+2743_daily_bin1001.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644795/ft1_4FGL_J1539.6+2743_daily_bin1001.fits outfile=/scratch/kocevski/644795/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin1001.fits ra=234.902 dec=27.7277 rad=12.0 tmin=498787201.0 tmax=499046401.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 5.07
user 4.79
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644795/ft1_filtered_4FGL_J1539.6+2743_daily_bin1001.fits" evtable="EVENTS" scfile=/scratch/kocevski/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits sctable="SC_DATA" outfile=/scratch/kocevski/644795/ltcube_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.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/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits
.....................!
real 13.94
user 13.51
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644795/ft1_filtered_4FGL_J1539.6+2743_daily_bin1001.fits evtable="EVENTS" scfile=/scratch/kocevski/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits sctable="SC_DATA" expcube=/scratch/kocevski/644795/ltcube_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.fits outfile=/scratch/kocevski/644795/expmap_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.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/644795/ltcube_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.fits
.....................!
real 191.98
user 185.23
sys 5.15

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/644795/ft1_filtered_4FGL_J1539.6+2743_daily_bin1001.fits scfile=/scratch/kocevski/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits outfile=/scratch/kocevski/644795/cmap_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644795/ft1_filtered_4FGL_J1539.6+2743_daily_bin1001.fits scfile=/scratch/kocevski/644795/ft2_4FGL_J1539.6+2743_daily_bin1001.fits outfile=/scratch/kocevski/644795/cmap_HighResolution_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40016E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.677       1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.942       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2639       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2892       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11547E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    24.951       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.088       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .41201E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8014       1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.468       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0758       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94273       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=   6741.216     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1899 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10151E-03    6.6620       -.25057E-06** at limit **
   2  Prefactor     20.645        71.682       -.33544E-04   -.15430E-05
   3  Prefactor     53.936        49.552        .14990E-05    .10706E-04
   4  Prefactor     .10000E-03    13.560       -.55249E-09** at limit **
   5  norm          2.2638        1.3295        .19887E-06   -.40007E-02
   6  Prefactor     5.2853        10.719       -.49730E-05   -.24539E-03
   7  Prefactor     .10000E-03    99.688        .96954E-05** at limit **
   8  Prefactor     .10000E-03    15.530       -.92576E-06** at limit **
   9  norm          24.953        17.490        .11671E-04    .19522E-04
  10  Prefactor     .10000E-03    1.8775        .30246E-06** at limit **
  11  Prefactor     79.075        41.417        .32186E-07    .47386E-04
  12  Prefactor     .10000E-03    22.711        .22012E-06** at limit **
  13  Prefactor     .10295E-03    7.5912       -.27488E-05** at limit **
  14  Prefactor     1.7996        3.6603       -.74104E-06   -.88464E-03
  15  Prefactor     65.464        19.706        .20211E-05    .33688E-03
  16  Normalizat    1.0758        .19865        .32630E-06    .21986E-03
  17  Prefactor     .94291        .12934       -.41992E-07    .40770E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101513
  Prefactor  = 20.6455
  Prefactor  = 53.9362
  Prefactor  = 0.0001
  norm       = 2.26381
  Prefactor  = 5.28528
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  norm       = 24.953
  Prefactor  = 0.0001
  Prefactor  = 79.0754
  Prefactor  = 0.0001
  Prefactor  = 0.00010295
  Prefactor  = 1.79963
  Prefactor  = 65.4643
  Normalizat = 1.07581
  Prefactor  = 0.942912
 **********
 **   18 **HESSE 
 **********

 FCN=   6741.216     FROM HESSE     STATUS=OK           233 CALLS     2132 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10151E-03    10.108        .67165E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.645        71.648        .88082E-04   -1.4799    
   3  Prefactor     53.936        49.528        .54612E-04   -1.4238    
   4  Prefactor     .10000E-03    13.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2638        1.3241        .31468E-03   -1.5407    
   6  Prefactor     5.2853        10.670        .17476E-03   -1.5248    
   7  Prefactor     .10000E-03    100.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          24.953        17.397        .80195E-04   -1.4708    
  10  Prefactor     .10000E-03    3.3235        .21435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.075        41.425        .45158E-04   -1.3927    
  12  Prefactor     .10000E-03    22.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10295E-03    125.27        .42440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7996        3.6613        .21379E-03   -1.5440    
  15  Prefactor     65.464        19.583        .49600E-04   -1.4088    
  16  Normalizat    1.0758        .22782        .29439E-03   -.90532    
  17  Prefactor     .94291        .14908        .21125E-03   -.94657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36759e-08
Minuit parameter uncertainties:
  1  0.00782187
  2  71.9492
  3  49.5659
  4  2.636e-05
  5  1.32409
  6  10.6743
  7  0.00137716
  8  0.000370065
  9  17.4003
  10  4.78412e-05
  11  41.4397
  12  5.07478e-06
  13  0.03853
  14  3.66172
  15  19.5847
  16  0.228032
  17  0.149145
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.784e-05  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.429e-01  1.491e-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:  1.076e+00  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/644795/likelihoodResults_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.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): 102
logL (Free Index) = 6741.21754325
delta logL = -0.00143331296567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6741.21610627
delta logL = 3.66981839761e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4071       1.0000          .0000       10.000    
     3 'Normalizat'    1.0757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94298       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=   6739.472     FROM MIGRAD    STATUS=CONVERGED    178 CALLS      352 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50230E-02    .17535E-01    .90712E-03   -.58627E-02
   2  Index         6.3514        1.4589        .10588        .12370E-03
   3  Normalizat    .92868        .21589        .70914E-01    .10064E-04
   4  Prefactor     .99940        .13239        .45550E-01   -.11415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00502298
  Index      = 6.35139
  Normalizat = 0.928678
  Prefactor  = 0.999395
 **********
 **   18 **HESSE 
 **********

 FCN=   6739.472     FROM HESSE     STATUS=OK            33 CALLS      385 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50230E-02    .85400E-01    .34648E-04   -1.5722    
   2  Index         6.3514        3.5184        .41408E-02    .27368    
   3  Normalizat    .92868        .22764        .31382E-03   -.95460    
   4  Prefactor     .99940        .15001        .20572E-03   -.92750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19451e-07
Minuit parameter uncertainties:
  1  0.0410084
  2  3.9456
  3  0.227873
  4  0.15007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644795': 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) = 6739.4715176
delta logL = 1.7445923433

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  5.023e-03  4.101e-02  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  6.351e+00  3.946e+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:  9.994e-01  1.501e-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.287e-01  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.84
Ra Dec: 234.902 27.728
Photon Index (Free Index): 6.35 +/- 3.95
Photon Flux (Free Index): 1.45e-07 +/- 2.33e-06
Energy Flux (Free Index): 1.78e-05 +/- 2.84e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/644795/cmap_HighResolution_498787201_499046401_4FGL_J1539.6+2743_daily_bin1001.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='1.74e+00', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-09-12 10:02:10.337973', photon_index_error2='3.95', photon_index2='6.35', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='9.29e-08', energy_flux_error2='2.84e-04', EG='1.08', time_epoch_completed='1631466130.34', return_code='0', job_id='644795', GAL2='1.00', EG2='0.93', return_code2='0', photon_flux_error2='2.33e-06', ts2='3.84', photon_index='2.33' WHERE bin_id='1001' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 10:02:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 644795: <4FGL_J1539.6+2743_daily_bin1001> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin1001> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 09:50:35 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:51:50 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:51:50 2021
Terminated at Sun Sep 12 10:02:11 2021
Results reported at Sun Sep 12 10:02:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin1001 234.902 27.7277 498787201 499046401 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 :                                   599.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            696 sec.

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

