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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin118
RA = 235.755, Dec = 61.5033
tmin = 269913601, tmax = 270172801
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='661758', job_status='RUN', time_executed='2021-09-12 10:45:41.472037', time_epoch_executed='1631468741.47' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/661758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/661758/ft1_4FGL_J1543.0+6130_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/661758/ft1_4FGL_J1543.0+6130_daily_bin118.fits outfile=/scratch/kocevski/661758/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin118.fits ra=235.755 dec=61.5033 rad=12.0 tmin=269913601.0 tmax=270172801.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.72
user 1.48
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.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/661758/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/661758/ltcube_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.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/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits
.....................!
real 15.29
user 14.84
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/661758/ltcube_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits outfile=/scratch/kocevski/661758/expmap_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.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/661758/ltcube_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits
.....................!
real 192.58
user 186.71
sys 5.09

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits outfile=/scratch/kocevski/661758/cmap_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.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=235.755 yref=61.5033 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits outfile=/scratch/kocevski/661758/cmap_HighResolution_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.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=235.755 yref=61.5033 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/661758/Model_4FGL_J1543.0+6130_daily_bin118.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/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits.....................!
real 62.12
user 60.81
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits', '/scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits', expMap='/scratch/kocevski/661758/expmap_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits', expCube='/scratch/kocevski/661758/ltcube_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/661758/Model_4FGL_J1543.0+6130_daily_bin118.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/661758/ft1_filtered_4FGL_J1543.0+6130_daily_bin118.fits
Spacecraft file(s): /scratch/kocevski/661758/ft2_4FGL_J1543.0+6130_daily_bin118.fits
Exposure map: /scratch/kocevski/661758/expmap_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits
Exposure cube: /scratch/kocevski/661758/ltcube_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/661758/Model_4FGL_J1543.0+6130_daily_bin118.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) = 7258.79093224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.583       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.675       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18929E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2377       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.289       1.0000         .10000E-03   10000.    
    10 'Prefactor '    67.879       1.0000         .10000E-03   10000.    
    11 'norm      '    12.461       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11494       1.0000         .10000E-03   10000.    
    14 'norm      '    20.143       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19311E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.6917       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3180       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1443       1.0000         .10000E-03   10000.    
    22 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.3990       1.0000         .10000E-03   10000.    
    24 'Prefactor '    28.457       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.447       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91739       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7258.761     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3350 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.197       -.15647E-07** at limit **
   2  Prefactor     29.977        492.47       -.24669E-04    .55672E-05
   3  Prefactor     .10000E-03    17.761       -.54075E-06** at limit **
   4  Prefactor     15.674        16.629        .23896E-07    .28194E-05
   5  Prefactor     .10000E-03    7.9509        .93185E-07** at limit **
   6  Prefactor     .10001E-03    198.52       -.79248E-05** at limit **
   7  Prefactor     1.2393        6.9482        .34763E-06    .10464E-03
   8  Prefactor     .10000E-03    4.7886        .43949E-06** at limit **
   9  Prefactor     11.299        15.934       -.10868E-06    .15621E-04
  10  Prefactor     67.828        39.314        .59215E-06   -.11563E-04
  11  norm          12.461        3.9244        .45718E-07   -.51579E-04
  12  Prefactor     .10000E-03    65.957        .53570E-06** at limit **
  13  Prefactor     .11397E-03    4.9194        .73013E-06** at limit **
  14  norm          20.243        9.3169       -.12535E-05   -.20061E-03
  15  Prefactor     .10000E-03    24.715        .75147E-06** at limit **
  16  Prefactor     .10002E-03    4.2566       -.29878E-06** at limit **
  17  norm          9.6906        10.624       -.13210E-06    .25648E-04
  18  Prefactor     8.3168        6.2111        .19355E-07   -.11239E-03
  19  Prefactor     .10000E-03    9.7032        .60834E-07** at limit **
  20  norm          .10000E-03    1.8718        .50925E-07** at limit **
  21  Prefactor     1.1391        16.137        .14333E-05   -.10579E-03
  22  norm          .10000E-03    .47196       -.15092E-07** at limit **
  23  Prefactor     1.3970        9.1610        .40672E-06    .38838E-04
  24  Prefactor     28.449        29.033        .12105E-05   -.49680E-04
  25  Prefactor     16.447        10.976       -.21623E-06   -.16960E-03
  26  Normalizat    1.0932        .16871       -.16395E-05    .26044E-04
  27  Prefactor     .91742        .16553        .54110E-06   -.11868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.977
  Prefactor  = 0.0001
  Prefactor  = 15.6735
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 1.23934
  Prefactor  = 0.0001
  Prefactor  = 11.2987
  Prefactor  = 67.8276
  norm       = 12.4613
  Prefactor  = 0.0001
  Prefactor  = 0.000113975
  norm       = 20.2429
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 9.69056
  Prefactor  = 8.31678
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.13915
  norm       = 0.0001
  Prefactor  = 1.39699
  Prefactor  = 28.4486
  Prefactor  = 16.4465
  Normalizat = 1.09319
  Prefactor  = 0.917424
 **********
 **   18 **HESSE 
 **********

 FCN=   7258.761     FROM HESSE     STATUS=OK           508 CALLS     3858 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.977        484.20        .36831E-03   -1.4612    
   3  Prefactor     .10000E-03    17.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.674        16.630        .10116E-03   -1.4916    
   5  Prefactor     .10000E-03    7.9644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    202.22        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2393        6.9030        .20169E-02   -1.5485    
   8  Prefactor     .10000E-03    4.8489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.299        15.934        .11923E-03   -1.5036    
  10  Prefactor     67.828        39.254        .24359E-03   -1.4059    
  11  norm          12.461        3.9255        .91157E-04   -1.5002    
  12  Prefactor     .10000E-03    66.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11397E-03    13.556        .55376E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          20.243        10.745        .89243E-04   -1.4808    
  15  Prefactor     .10000E-03    24.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    16.994        .33227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.6906        10.590        .12872E-03   -1.5085    
  18  Prefactor     8.3168        6.1943        .13900E-03   -1.5131    
  19  Prefactor     .10000E-03    9.7081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.8739        .11383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1391        84.118        .59425E-02   -1.5495    
  22  norm          .10000E-03    .68501        .10176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.3970        9.1734        .18347E-02   -1.5472    
  24  Prefactor     28.449        26.539        .75102E-04   -1.4641    
  25  Prefactor     16.447        10.910        .98759E-04   -1.4897    
  26  Normalizat    1.0932        .19262        .23597E-03   -.89971    
  27  Prefactor     .91742        .19033        .25773E-03   -.95535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13063e-09
Minuit parameter uncertainties:
  1  3.43757e-06
  2  243.321
  3  4.57783e-05
  4  16.6345
  5  3.49178e-06
  6  0.00239222
  7  5.85063
  8  8.40487e-06
  9  15.9397
  10  39.2686
  11  3.92558
  12  1.95865e-05
  13  0.0275336
  14  10.7464
  15  4.69586e-05
  16  0.00104228
  17  10.5923
  18  6.19483
  19  2.00778e-06
  20  7.15756e-08
  21  19.6056
  22  1.85257e-05
  23  7.16099
  24  26.5495
  25  10.9109
  26  0.19274
  27  0.190467
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.246e+01  3.926e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  9.174e-01  1.905e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.093e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 40.34
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 9.44e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 7.19e-05 +/- 2.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) = 7258.75795278
delta logL = 0.0025747465761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7258.75781119
delta logL = 0.00271634057299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.461       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8791       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7258.758     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      190 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.477        5.9813        .28369E-02    .46162E-04
   2  alpha         1.8791        .38907        .20953        .27867E-04
   3  Normalizat    1.0956        .16462        .38169E-01   -.22935E-04
   4  Prefactor     .91625        .16373        .45208E-01   -.20285E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.4771
  alpha      = 1.87913
  Normalizat = 1.09556
  Prefactor  = 0.916246
 **********
 **   18 **HESSE 
 **********

 FCN=   7258.758     FROM HESSE     STATUS=OK            33 CALLS      223 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.477        3.9525        .91763E-04   -1.5001    
   2  alpha         1.8791        .27764        .85287E-02   -.25098    
   3  Normalizat    1.0956        .18844        .23577E-03   -.89894    
   4  Prefactor     .91625        .18837        .25789E-03   -.95576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74025e-12
Minuit parameter uncertainties:
  1  3.95263
  2  0.278248
  3  0.188559
  4  0.188505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/661758': 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) = 7258.75780217
delta logL = 0.00272536445118

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.248e+01  3.953e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.879e+00  2.782e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  9.162e-01  1.885e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.096e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 40.28
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.88 +/- 0.28
Photon Flux (Free Index): 9.23e-08 +/- 4.01e-08
Energy Flux (Free Index): 7.36e-05 +/- 3.33e-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/661758/cmap_HighResolution_269913601_270172801_4FGL_J1543.0+6130_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.44e-08', energy_flux2='7.36e-05', photon_flux_error='2.97e-08', dlogl='2.73e-03', energy_flux='7.19e-05', photon_flux2='9.23e-08', job_status='DONE', time_completed='2021-09-12 11:00:14.299573', photon_index_error2='0.28', photon_index2='1.88', ts='40.34', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='3.33e-05', EG='1.09', time_epoch_completed='1631469614.3', return_code='0', job_id='661758', GAL2='0.92', EG2='1.10', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='4.01e-08', ts2='40.28', photon_index='1.90' WHERE bin_id='118' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 11:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 661758: <4FGL_J1543.0+6130_daily_bin118> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin118> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 10:45:17 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 10:45:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 10:45:31 2021
Terminated at Sun Sep 12 11:00:15 2021
Results reported at Sun Sep 12 11:00:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin118 235.755 61.5033 269913601 270172801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.0+6130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   871.36 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             335.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            898 sec.

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

