aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 121 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1748
RA = 235.755, Dec = 61.5033
tmin = 692409601, tmax = 692668801
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='889525', job_status='RUN', time_executed='2022-12-14 00:52:47.839833', time_epoch_executed='1671007967.84' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889525/ft1_4FGL_J1543.0+6130_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889525/ft1_4FGL_J1543.0+6130_daily_bin1748.fits outfile=/scratch/kocevski/889525/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1748.fits ra=235.755 dec=61.5033 rad=12.0 tmin=692409601.0 tmax=692668801.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 3.61
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.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/889525/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 669

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889525/ltcube_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.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/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits
.....................!
real 12.18
user 11.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889525/ltcube_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits outfile=/scratch/kocevski/889525/expmap_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.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/889525/ltcube_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits
.....................!
real 190.77
user 185.17
sys 5.00

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/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits scfile=/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits outfile=/scratch/kocevski/889525/cmap_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.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.58
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits scfile=/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits outfile=/scratch/kocevski/889525/cmap_HighResolution_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.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.55
user 0.35
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits', '/scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits', expMap='/scratch/kocevski/889525/expmap_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits', expCube='/scratch/kocevski/889525/ltcube_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/889525/Model_4FGL_J1543.0+6130_daily_bin1748.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  0.000e+00  1.000e+06 ( 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 -5.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/889525/ft1_filtered_4FGL_J1543.0+6130_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/889525/ft2_4FGL_J1543.0+6130_daily_bin1748.fits
Exposure map: /scratch/kocevski/889525/expmap_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits
Exposure cube: /scratch/kocevski/889525/ltcube_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/889525/Model_4FGL_J1543.0+6130_daily_bin1748.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) = 7253.18344919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35213E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36170E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.377       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.2235       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10894E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57463E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35912E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.5693       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14883E-06   1.0000          .0000       .10000E+07
    11 'norm      '    1.4939       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.8282       1.0000          .0000       .10000E+07
    13 'Prefactor '    .87380E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .39655E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12119       1.0000          .0000       .10000E+07
    16 'Prefactor '    .39264E-03   1.0000          .0000       .10000E+07
    17 'norm      '    17.218       1.0000          .0000       .10000E+07
    18 'Prefactor '    .61511E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .23315E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    3.0444       1.0000          .0000       .10000E+07
    21 'Prefactor '    16.549       1.0000          .0000       .10000E+07
    22 'Prefactor '    .33193E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .89881       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1565       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=   7253.170     FROM MIGRAD    STATUS=CONVERGED    660 CALLS     2521 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        53.348        .45440E-07** at limit **
   2  Prefactor      .0000        10.530        .13047E-07** at limit **
   3  Prefactor     11.372        14.470       -.24598E-06    .11130E-02
   4  Prefactor     7.0379        26.766        .48911E-06   -.75738E-03
   5  Prefactor      .0000        3.9928       -.32270E-08** at limit **
   6  Prefactor      .0000        19.088       -.33322E-07** at limit **
   7  Prefactor      .0000        10.000       -.16540E-08** at limit **
   8  norm          1.5844        2.0354       -.65771E-08   -.49617E-02
   9  Prefactor     3.8933        279.03       -.76135E-07    .15882E-04
  10  Prefactor      .0000        1.7398        .13696E-09** at limit **
  11  norm          1.5057        4.9518       -.66118E-07   -.93021E-02
  12  Prefactor     9.7278        32.526       -.10382E-05    .12459E-02
  13  Prefactor      .0000        4.0285        .21962E-08** at limit **
  14  norm           .0000        7.6091       -.35724E-08** at limit **
  15  Prefactor     .12765        2.0833       -.16658E-07** at limit **
  16  Prefactor      .0000        16.255        .65016E-08** at limit **
  17  norm          17.174        9.4108       -.23942E-07   -.57191E-02
  18  Prefactor      .0000        28.692        .18932E-09** at limit **
  19  norm           .0000        .27976        .12698E-08** at limit **
  20  Prefactor     3.0486        9.7449       -.47721E-07   -.26659E-02
  21  Prefactor     16.227        27.526       -.80808E-07    .18464E-03
  22  Prefactor      .0000        5.3790       -.33676E-08** at limit **
  23  Normalizat    .90004        .15192        .65843E-06    .32996E-04
  24  Prefactor     1.1561        .15676        .20460E-06    .65696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 11.3717
  Prefactor  = 7.03791
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.58444
  Prefactor  = 3.89326
  Prefactor  = 0
  norm       = 1.50572
  Prefactor  = 9.72781
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.127652
  Prefactor  = 0
  norm       = 17.1743
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.04857
  Prefactor  = 16.2274
  Prefactor  = 0
  Normalizat = 0.900044
  Prefactor  = 1.15613
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.170     FROM HESSE     STATUS=OK           401 CALLS     2922 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        53.485        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        10.531        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.372        14.393        .11870E-04   -1.5641    
   4  Prefactor     7.0379        26.317        .14919E-04   -1.5655    
   5  Prefactor      .0000        3.9978        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        19.466        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        10.002        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5844        2.0049        .13044E-04   -1.5683    
   9  Prefactor     3.8933        277.20        .15883E-04   -1.5669    
  10  Prefactor      .0000        1.7402        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5057        5.2826        .34421E-04   -1.5683    
  12  Prefactor     9.7278        29.883        .12776E-04   -1.5646    
  13  Prefactor      .0000        4.0450        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        7.6114        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12765        28.552        .23610E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        16.259        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.174        9.4443        .48220E-04   -1.5625    
  18  Prefactor      .0000        29.788        .60433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .28184        .43803E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.0486        9.6185        .23250E-04   -1.5673    
  21  Prefactor     16.227        26.899        .98373E-05   -1.5627    
  22  Prefactor      .0000        5.3916        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90004        .17574        .23906E-03   -.96459    
  24  Prefactor     1.1561        .18178        .22502E-03   -.87692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52758e-09
Minuit parameter uncertainties:
  1  4.86746e-05
  2  5.70376e-06
  3  14.3927
  4  26.3171
  5  9.6153e-07
  6  6.5098e-06
  7  1.99246e-07
  8  2.00487
  9  65.7056
  10  2.04148e-06
  11  5.28261
  12  29.8837
  13  2.04714e-06
  14  2.11827e-07
  15  3.81825
  16  2.4196e-06
  17  9.44432
  18  1.24402e-05
  19  7.22502e-07
  20  9.61856
  21  26.8993
  22  9.6631e-07
  23  0.175855
  24  0.181881
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.584e+00  2.005e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.156e+00  1.819e-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:  9.000e-01  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.95
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 5.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889525/likelihoodResults_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.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) = 7252.00651163
delta logL = 1.16315703561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7251.87781697
delta logL = 1.2918516941

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37455E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .79626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2334       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=   7251.878     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      344 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37455E-01    .66016        .16081E-03** at limit **
   2  alpha         5.0000        4.2670        .46402    ** at limit **
   3  Normalizat    .79612        .98147E-01    .43561E-01    .16083E-04
   4  Prefactor     1.2336        .10156        .49523E-01    .97208E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0374549
  alpha      = 5
  Normalizat = 0.796116
  Prefactor  = 1.23357
 **********
 **   18 **HESSE 
 **********

 FCN=   7251.878     FROM HESSE     STATUS=OK            35 CALLS      379 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37455E-01    .27577E-01    .96116E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .62075        .49145        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .79612        .18223        .25247E-03   -1.0021    
   4  Prefactor     1.2336        .18671        .21893E-03   -.85305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16358e-12
Minuit parameter uncertainties:
  1  0.0275772
  2  7.68439e-07
  3  0.182372
  4  0.186812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889525': 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) = 7251.87781632
delta logL = 1.29185235048

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  3.745e-02  2.758e-02  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  5.000e+00  7.684e-07  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.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:  1.234e+00  1.868e-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:  7.961e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.83
Ra Dec: 235.755 61.503
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.26e-08 +/- 5.32e-08
Energy Flux (Free Index): 9.83e-06 +/- 7.22e-06

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/889525/cmap_HighResolution_692409601_692668801_4FGL_J1543.0+6130_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-05', comment='SUCCESS', energy_flux2='9.83e-06', dlogl='1.29e+00', photon_flux2='7.26e-08', job_status='DONE', time_completed='2022-12-14 01:06:28.838589', photon_index_error2='0.00', photon_index2='5.00', ts='0.95', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='7.22e-06', EG='0.90', time_epoch_completed='1671008788.84', return_code='0', job_id='889525', GAL2='1.23', EG2='0.80', return_code2='0', photon_flux_error2='5.32e-08', ts2='3.83', photon_index='1.90' WHERE bin_id='1748' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:06:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 889525: <4FGL_J1543.0+6130_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:28 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:37 2022
Terminated at Wed Dec 14 01:06:29 2022
Results reported at Wed Dec 14 01:06:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1748 235.755 61.5033 692409601 692668801 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 :                                   822.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             301.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            961 sec.

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

