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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1773
RA = 235.755, Dec = 61.5033
tmin = 698889601, tmax = 699148801
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='795382', job_status='RUN', time_executed='2023-02-27 10:03:17.267154', time_epoch_executed='1677520997.27' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795382/ft1_4FGL_J1543.0+6130_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795382/ft1_4FGL_J1543.0+6130_daily_bin1773.fits outfile=/scratch/kocevski/795382/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1773.fits ra=235.755 dec=61.5033 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.93
user 2.72
sys 0.20

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

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

Number of photons that the gtmktime cut: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/795382/ltcube_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.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/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits
.....................!
real 13.89
user 13.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/795382/ltcube_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits outfile=/scratch/kocevski/795382/expmap_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.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/795382/ltcube_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits
.....................!
real 190.93
user 185.89
sys 4.69

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/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits scfile=/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits outfile=/scratch/kocevski/795382/cmap_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits scfile=/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits outfile=/scratch/kocevski/795382/cmap_HighResolution_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits', '/scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits', expMap='/scratch/kocevski/795382/expmap_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits', expCube='/scratch/kocevski/795382/ltcube_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795382/Model_4FGL_J1543.0+6130_daily_bin1773.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/795382/ft1_filtered_4FGL_J1543.0+6130_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/795382/ft2_4FGL_J1543.0+6130_daily_bin1773.fits
Exposure map: /scratch/kocevski/795382/expmap_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits
Exposure cube: /scratch/kocevski/795382/ltcube_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795382/Model_4FGL_J1543.0+6130_daily_bin1773.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) = 9861.21897297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10196E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.579       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.0612       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7322       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11447E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38831E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18939E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.4323       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22379E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4512       1.0000          .0000       .10000E+07
    11 'norm      '    .23189E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .58743E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17140E-05   1.0000          .0000       .10000E+07
    14 'norm      '    18.821       1.0000          .0000       .10000E+07
    15 'Prefactor '    .92417E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .38145       1.0000          .0000       .10000E+07
    17 'norm      '    .53362E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .92785E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .68223E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11349E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    15.207       1.0000          .0000       .10000E+07
    22 'Prefactor '    2.7232       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1785       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9861.058     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1645 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16132E-06    9.7841       -.32237E-06** at limit **
   2  Prefactor     15.978        5.9004       -.12549E-06    .32063E-01
   3  Prefactor     8.8295        2.3627        .12784E-06    .69175E-02
   4  Prefactor     4.8084        2.0108       -.11399E-06   -.54975E-03
   5  Prefactor     .27756E-09    3.5952        .27292E-06** at limit **
   6  Prefactor     .27756E-09    3.5998       -.18602E-06** at limit **
   7  Prefactor     .18413E-06    14.514        .82244E-06** at limit **
   8  norm          1.4315        1.3853       -.63515E-07   -.20879E-03
   9  Prefactor     .69028E-06    24.735       -.70269E-06** at limit **
  10  Prefactor     4.5019        4.5771       -.18940E-06   -.96800E-04
  11  norm          .55511E-10    8.1377       -.55950E-06** at limit **
  12  Prefactor     .62617E-07    79.273       -.33572E-05** at limit **
  13  Prefactor      .0000        1.1138       -.11413E-06** at limit **
  14  norm          18.959        2.1596        .31782E-07    .13260E-01
  15  Prefactor     .10231E-05    10.256        .96145E-06** at limit **
  16  Prefactor     .32378E-04    50.763        .10349E-05** at limit **
  17  norm          .11085        61.257       -.40595E-06** at limit **
  18  Prefactor     .55511E-09    4.0229       -.45871E-06** at limit **
  19  norm           .0000        .44400        .69399E-07** at limit **
  20  Prefactor      .0000        2.2209        .11786E-06** at limit **
  21  Prefactor     15.226        12.005        .15970E-06    .32630E-01
  22  Prefactor     2.7170        3.9198        .13076E-06    .18266E-03
  23  Normalizat    1.1780        .15485       -.15699E-05   -.48557E-05
  24  Prefactor     .90695        .15664       -.42511E-05   -.12961E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61315e-07
  Prefactor  = 15.9779
  Prefactor  = 8.82949
  Prefactor  = 4.80843
  Prefactor  = 2.77556e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 1.8413e-07
  norm       = 1.4315
  Prefactor  = 6.90281e-07
  Prefactor  = 4.50187
  norm       = 5.55112e-11
  Prefactor  = 6.26166e-08
  Prefactor  = 0
  norm       = 18.9588
  Prefactor  = 1.02313e-06
  Prefactor  = 3.2378e-05
  norm       = 0.110855
  Prefactor  = 5.55112e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 15.2261
  Prefactor  = 2.71703
  Normalizat = 1.17803
  Prefactor  = 0.906951
 **********
 **   18 **HESSE 
 **********

 FCN=   9861.058     FROM HESSE     STATUS=OK           459 CALLS     2104 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16132E-06    10.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.978        30.257        .25349E-03   -1.5628    
   3  Prefactor     8.8295        16.537        .33272E-03   -1.5649    
   4  Prefactor     4.8084        21.472        .46231E-03   -1.5664    
   5  Prefactor     .27756E-09    3.5990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    3.5914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .18413E-06    15.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4315        1.3750        .90208E-03   -1.5684    
   9  Prefactor     .69028E-06    26.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5019        4.5920        .47704E-03   -1.5666    
  11  norm          .55511E-10    8.1039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .62617E-07    78.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.959        14.087        .23059E-03   -1.5621    
  15  Prefactor     .10231E-05    12.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32378E-04    18.745        .13291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11085        2.1149        .98298E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-09    4.0257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .24726        .16827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        2.2316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.226        12.523        .25657E-03   -1.5630    
  22  Prefactor     2.7170        3.9320        .61685E-03   -1.5675    
  23  Normalizat    1.1780        .13395        .35441E-01   -.87285    
  24  Prefactor     .90695        .13574        .45090E-01   -.95899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59614e-07
Minuit parameter uncertainties:
  1  0.00257602
  2  30.2572
  3  16.5369
  4  20.3221
  5  6.60025e-05
  6  6.01818e-05
  7  0.00332712
  8  1.37499
  9  0.00856447
  10  4.59201
  11  3.38931e-05
  12  0.00444115
  13  2.83389e-06
  14  14.0869
  15  0.00725138
  16  0.0492721
  17  0.968398
  18  9.23796e-05
  19  2.29842e-08
  20  1.14552e-05
  21  12.5228
  22  3.93203
  23  0.133991
  24  0.135787
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.431e+00  1.375e+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:  9.070e-01  1.358e-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.178e+00  1.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.53
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.08e-08 +/- 1.04e-08
Energy Flux (Fixed Index): 8.27e-06 +/- 7.94e-06

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) = 9860.93455636
delta logL = 0.123415468935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9860.89280786
delta logL = 0.165163970174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98572       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3916       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90493       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=   9860.893     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98540        .99722        .43259E-03   -.65631E-02
   2  alpha         1.3915        .50081        .48007       -.54898E-04
   3  Normalizat    1.1843        .13227        .35287E-01    .72562E-05
   4  Prefactor     .90492        .13359        .45068E-01    .20500E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.985398
  alpha      = 1.39151
  Normalizat = 1.18435
  Prefactor  = 0.90492
 **********
 **   18 **HESSE 
 **********

 FCN=   9860.893     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98540        1.3223        .97139E-05   -1.5688    
   2  alpha         1.3915        .78743        .21768E-01   -.45938    
   3  Normalizat    1.1843        .15362        .21909E-03   -.87088    
   4  Prefactor     .90492        .15517        .24845E-03   -.95969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9293e-11
Minuit parameter uncertainties:
  1  1.32228
  2  0.804609
  3  0.153677
  4  0.155243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795382': 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) = 9860.89280782
delta logL = 0.165164007731

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  9.854e-01  1.322e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.392e+00  8.046e-01  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:  9.049e-01  1.552e-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.184e+00  1.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.39 +/- 0.80
Photon Flux (Free Index): 4.95e-09 +/- 7.67e-09
Energy Flux (Free Index): 1.44e-05 +/- 2.22e-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/795382/cmap_HighResolution_698889601_699148801_4FGL_J1543.0+6130_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-08', energy_flux2='1.44e-05', photon_flux_error='1.04e-08', dlogl='1.65e-01', energy_flux='8.27e-06', photon_flux2='4.95e-09', job_status='DONE', time_completed='2023-02-27 10:15:58.008583', photon_index_error2='0.80', photon_index2='1.39', ts='4.53', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.18', time_epoch_completed='1677521758.01', return_code='0', job_id='795382', GAL2='0.90', EG2='1.18', return_code2='0', energy_flux_error='7.94e-06', photon_flux_error2='7.67e-09', ts2='4.85', photon_index='1.90' WHERE bin_id='1773' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:15:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 795382: <4FGL_J1543.0+6130_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 10:00:19 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:00:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:00:20 2023
Terminated at Mon Feb 27 10:16:02 2023
Results reported at Mon Feb 27 10:16:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1773 235.755 61.5033 698889601 699148801 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 :                                   762.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            943 sec.

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

