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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1735
RA = 235.755, Dec = 61.5033
tmin = 689040001, tmax = 689299201
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='987839', job_status='RUN', time_executed='2022-11-05 08:34:12.394095', time_epoch_executed='1667662452.39' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/987839

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/987839/ft1_4FGL_J1543.0+6130_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/987839/ft1_4FGL_J1543.0+6130_daily_bin1735.fits outfile=/scratch/kocevski/987839/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1735.fits ra=235.755 dec=61.5033 rad=12.0 tmin=689040001.0 tmax=689299201.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.69
user 3.43
sys 0.21

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

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

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/987839/ft1_filtered_4FGL_J1543.0+6130_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/987839/ltcube_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.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/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits
.....................!
real 11.85
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/987839/ft1_filtered_4FGL_J1543.0+6130_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/987839/ltcube_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.fits outfile=/scratch/kocevski/987839/expmap_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.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/987839/ltcube_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.fits
.....................!
real 190.99
user 185.53
sys 5.03

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/987839/ft1_filtered_4FGL_J1543.0+6130_daily_bin1735.fits scfile=/scratch/kocevski/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits outfile=/scratch/kocevski/987839/cmap_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/987839/ft1_filtered_4FGL_J1543.0+6130_daily_bin1735.fits scfile=/scratch/kocevski/987839/ft2_4FGL_J1543.0+6130_daily_bin1735.fits outfile=/scratch/kocevski/987839/cmap_HighResolution_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.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.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95914       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60995E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.2162       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54039E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6129       1.0000          .0000       .10000E+07
     6 'Prefactor '    .52589E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11147       1.0000          .0000       .10000E+07
     8 'norm      '    2.5717       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20084E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33574E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .99254E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10211E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24369E-07   1.0000          .0000       .10000E+07
    14 'norm      '    16.485       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.1912       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32035E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .75492E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.355       1.0000          .0000       .10000E+07
    19 'norm      '    .34530       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4227       1.0000          .0000       .10000E+07
    21 'Prefactor '    17.792       1.0000          .0000       .10000E+07
    22 'Prefactor '    6.0770       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1895       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79165       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=   6664.477     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1608 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    1339.9        .94796E-06** at limit **
   2  Prefactor     .12873E-06    16.193        .37301E-06** at limit **
   3  Prefactor     5.1944        12.790        .53907E-05    .53208E-03
   4  Prefactor     .44196E-05    12.595        .19440E-05** at limit **
   5  Prefactor     2.6021        8.4823       -.53887E-06    .14191E-02
   6  Prefactor     .52180E-08    10.319        .28886E-05** at limit **
   7  Prefactor     .10906E-05    97.223       -.41468E-04** at limit **
   8  norm          2.5715        2.1173        .10849E-06    .57855E-03
   9  Prefactor     .12879E-07    70.955        .24360E-05** at limit **
  10  Prefactor     .27756E-09    2.0030        .96953E-06** at limit **
  11  norm          .66613E-09    2.7874        .12538E-05** at limit **
  12  Prefactor     .18865E-05    21.959       -.56557E-05** at limit **
  13  Prefactor     .55511E-10    1.2912       -.11317E-05** at limit **
  14  norm          16.558        11.849       -.46236E-06   -.94870E-03
  15  Prefactor     6.1728        5.6694       -.65632E-07    .98861E-03
  16  Prefactor      .0000        13.185        .26230E-05** at limit **
  17  norm          .24024E-05    17.262        .14174E-05** at limit **
  18  Prefactor     17.594        6.5968        .31757E-05    .16405E-02
  19  norm          .34613        .51169       -.84753E-07    .21902E-01
  20  Prefactor     8.4239        7.0374       -.36416E-06    .16003E-02
  21  Prefactor     17.654        1.4738        .80083E-07   -.11208E-01
  22  Prefactor     6.0571        7.5607       -.51769E-06   -.18788E-02
  23  Normalizat    1.1895        .18325       -.10888E-04    .10790E-02
  24  Prefactor     .79200        .18271        .30146E-04    .10111E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.2873e-07
  Prefactor  = 5.19441
  Prefactor  = 4.41963e-06
  Prefactor  = 2.60206
  Prefactor  = 5.21805e-09
  Prefactor  = 1.09063e-06
  norm       = 2.57147
  Prefactor  = 1.28786e-08
  Prefactor  = 2.77556e-10
  norm       = 6.66134e-10
  Prefactor  = 1.88649e-06
  Prefactor  = 5.55112e-11
  norm       = 16.5576
  Prefactor  = 6.17279
  Prefactor  = 0
  norm       = 2.40241e-06
  Prefactor  = 17.5936
  norm       = 0.346127
  Prefactor  = 8.42391
  Prefactor  = 17.6539
  Prefactor  = 6.05705
  Normalizat = 1.1895
  Prefactor  = 0.792
 **********
 **   18 **HESSE 
 **********

 FCN=   6664.477     FROM HESSE     STATUS=OK           453 CALLS     2061 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    33.338        .12944E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12873E-06    16.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.1944        12.852        .43989E-03   -1.5662    
   4  Prefactor     .44196E-05    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6021        8.5094        .63076E-03   -1.5676    
   6  Prefactor     .52180E-08    10.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10906E-05    113.57        .13631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5715        2.1211        .63622E-03   -1.5676    
   9  Prefactor     .12879E-07    71.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    2.0050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .66613E-09    2.7872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18865E-05    27.091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    1.2909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.558        11.851        .24641E-03   -1.5627    
  15  Prefactor     6.1728        5.6950        .40322E-03   -1.5658    
  16  Prefactor      .0000        13.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .24024E-05    23.616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.594        16.243        .24015E-03   -1.5624    
  19  norm          .34613        .64463        .16128E-02   -1.5696    
  20  Prefactor     8.4239        7.3267        .34518E-03   -1.5650    
  21  Prefactor     17.654        24.063        .23717E-03   -1.5624    
  22  Prefactor     6.0571        7.7474        .40704E-03   -1.5659    
  23  Normalizat    1.1895        .15942        .35155E-01   -.86928    
  24  Prefactor     .79200        .15893        .43608E-01   -1.0002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8858e-07
Minuit parameter uncertainties:
  1  0.000189046
  2  0.00291132
  3  12.8523
  4  0.0208898
  5  8.50941
  6  0.00046316
  7  0.0222587
  8  2.12115
  9  0.00191564
  10  4.5153e-05
  11  8.46596e-05
  12  0.0142979
  13  1.85244e-05
  14  11.8513
  15  5.695
  16  6.10178e-06
  17  0.0150646
  18  16.2427
  19  0.644633
  20  7.32673
  21  24.0634
  22  7.74739
  23  0.159488
  24  0.159024
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.571e+00  2.121e+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:  7.920e-01  1.590e-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.189e+00  1.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.51
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 1.61e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/987839/likelihoodResults_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6664.25279392
delta logL = 0.224702118774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6664.24569177
delta logL = 0.23180426821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3595       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4042       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80344       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=   6664.246     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3600        41.487        .66692E-03    .20215E-02
   2  alpha         2.4040        3.4010        .28948        .52941E-04
   3  Normalizat    1.1681        .75767E-01    .35725E-01    .38186E-05
   4  Prefactor     .80343        .58250E-01    .43762E-01    .16944E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35998
  alpha      = 2.40397
  Normalizat = 1.16812
  Prefactor  = 0.803428
 **********
 **   18 **HESSE 
 **********

 FCN=   6664.246     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3600        2.1010        .87962E-05   -1.5677    
   2  alpha         2.4040        .73917        .15220E-01   -.38420E-01
   3  Normalizat    1.1681        .18451        .21471E-03   -.87594    
   4  Prefactor     .80343        .18263        .25474E-03   -.99602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55674e-12
Minuit parameter uncertainties:
  1  2.10097
  2  0.750406
  3  0.184609
  4  0.18277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/987839': 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) = 6664.24569172
delta logL = 0.231804323669

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.360e+00  2.101e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.404e+00  7.504e-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:  8.034e-01  1.828e-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.168e+00  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.97
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.40 +/- 0.75
Photon Flux (Free Index): 3.56e-08 +/- 3.46e-08
Energy Flux (Free Index): 1.19e-05 +/- 9.04e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/987839/cmap_HighResolution_689040001_689299201_4FGL_J1543.0+6130_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-05', comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='1.19e-05', photon_flux_error='1.61e-08', dlogl='2.32e-01', energy_flux='1.48e-05', photon_flux2='3.56e-08', job_status='DONE', time_completed='2022-11-05 08:45:39.683699', photon_index_error2='0.75', photon_index2='2.40', ts='3.51', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='6.15e-08', energy_flux_error2='9.04e-06', EG='1.19', time_epoch_completed='1667663139.68', return_code='0', job_id='987839', GAL2='0.80', EG2='1.17', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.46e-08', ts2='3.97', photon_index='1.90' WHERE bin_id='1735' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 08:45:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 987839: <4FGL_J1543.0+6130_daily_bin1735> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1735> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Nov  5 08:30:19 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 08:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 08:30:21 2022
Terminated at Sat Nov  5 08:45:40 2022
Results reported at Sat Nov  5 08:45:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1735 235.755 61.5033 689040001 689299201 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 :                                   687.24 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             251.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

