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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1776
RA = 235.755, Dec = 61.5033
tmin = 699667201, tmax = 699926401
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='837025', job_status='RUN', time_executed='2023-03-08 00:51:38.176487', time_epoch_executed='1678265498.18' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837025

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837025/ft1_4FGL_J1543.0+6130_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837025/ft2_4FGL_J1543.0+6130_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837025/ft1_4FGL_J1543.0+6130_daily_bin1776.fits outfile=/scratch/kocevski/837025/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1776.fits ra=235.755 dec=61.5033 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.67
sys 0.21

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

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

Number of photons that the gtmktime cut: 711

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837025/ft1_filtered_4FGL_J1543.0+6130_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/837025/ft2_4FGL_J1543.0+6130_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/837025/ltcube_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.fits outfile=/scratch/kocevski/837025/expmap_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.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/837025/ltcube_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.fits
.....................!
real 190.49
user 185.99
sys 4.17

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/837025/ft1_filtered_4FGL_J1543.0+6130_daily_bin1776.fits scfile=/scratch/kocevski/837025/ft2_4FGL_J1543.0+6130_daily_bin1776.fits outfile=/scratch/kocevski/837025/cmap_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837025/ft1_filtered_4FGL_J1543.0+6130_daily_bin1776.fits scfile=/scratch/kocevski/837025/ft2_4FGL_J1543.0+6130_daily_bin1776.fits outfile=/scratch/kocevski/837025/cmap_HighResolution_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.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.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.350       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.792       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25693E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    34.089       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18989E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23222E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .81596       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.245       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.5548       1.0000          .0000       .10000E+07
    11 'norm      '    1.8466       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10080E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.9653       1.0000          .0000       .10000E+07
    14 'norm      '    19.593       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3268       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10574E-05   1.0000          .0000       .10000E+07
    17 'norm      '    8.5530       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14092E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .38247E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .81143E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .84640E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.6365       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3188       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74251       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=   7763.556     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1611 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.186        3.6476        .22534E-05   -.59419E-01
   2  Prefactor     25.195        27.940        .11146E-04    .33839E-01
   3  Prefactor      .0000        5.9164        .27162E-08** at limit **
   4  Prefactor     34.061        5.4171        .17809E-05    .40327E-01
   5  Prefactor     .27756E-09    3.1691       -.14226E-05** at limit **
   6  Prefactor     .33307E-09    3.1898        .12772E-06** at limit **
   7  Prefactor     .99920E-09    25.147        .60597E-05** at limit **
   8  norm          .81173        1.2238       -.40706E-06   -.15974E-01
   9  Prefactor     12.650        17.928       -.12296E-04    .98159E-01
  10  Prefactor     7.5541        5.6104       -.46343E-06   -.48717E-02
  11  norm          1.8444        4.3242        .19408E-05   -.65282E-02
  12  Prefactor     .41129E-04    142.81        .40790E-04** at limit **
  13  Prefactor     7.9825        6.8122       -.37456E-06   -.24708E-02
  14  norm          19.623        2.4066        .86699E-06    .27067E-01
  15  Prefactor     4.2909        5.4685        .80102E-06   -.47455E-02
  16  Prefactor     .27756E-09    10.291       -.18325E-05** at limit **
  17  norm          8.5673        7.6625        .15940E-05    .23707E-03
  18  Prefactor     .37914E-07    20.606       -.46448E-05** at limit **
  19  norm          .22204E-09    1.0902        .15580E-05** at limit **
  20  Prefactor      .0000        4.0654       -.11228E-05** at limit **
  21  Prefactor     .27756E-08    12.373        .49064E-06** at limit **
  22  Prefactor     4.6424        5.4221        .11743E-05    .43478E-02
  23  Normalizat    1.3186        .18126       -.21160E-04   -.10800E-02
  24  Prefactor     .74259        .18131        .22263E-04   -.69871E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1857
  Prefactor  = 25.1955
  Prefactor  = 0
  Prefactor  = 34.0609
  Prefactor  = 2.77556e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 9.99201e-10
  norm       = 0.811728
  Prefactor  = 12.6497
  Prefactor  = 7.5541
  norm       = 1.8444
  Prefactor  = 4.1129e-05
  Prefactor  = 7.98248
  norm       = 19.6226
  Prefactor  = 4.29091
  Prefactor  = 2.77556e-10
  norm       = 8.56735
  Prefactor  = 3.79141e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-09
  Prefactor  = 4.64235
  Normalizat = 1.31864
  Prefactor  = 0.742589
 **********
 **   18 **HESSE 
 **********

 FCN=   7763.556     FROM HESSE     STATUS=OK           457 CALLS     2068 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.186        44.360        .23353E-03   -1.5623    
   2  Prefactor     25.195        28.910        .19694E-03   -1.5608    
   3  Prefactor      .0000        5.9267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.061        26.256        .17130E-03   -1.5591    
   5  Prefactor     .27756E-09    3.1661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    3.1831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .99920E-09    24.893        .16833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .81173        1.2467        .51753E-03   -1.5690    
   9  Prefactor     12.650        55.153        .29851E-03   -1.5637    
  10  Prefactor     7.5541        5.6255        .36463E-03   -1.5653    
  11  norm          1.8444        4.3594        .76708E-03   -1.5681    
  12  Prefactor     .41129E-04    157.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9825        7.2931        .35503E-03   -1.5651    
  14  norm          19.623        23.474        .22600E-03   -1.5619    
  15  Prefactor     4.2909        5.4859        .48404E-03   -1.5667    
  16  Prefactor     .27756E-09    10.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.5673        7.6703        .34252E-03   -1.5649    
  18  Prefactor     .37914E-07    20.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22204E-09    .26770        .24874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        4.0442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .27756E-08    12.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.6424        5.4321        .46717E-03   -1.5665    
  23  Normalizat    1.3186        .15235        .48676E-01   -.83012    
  24  Prefactor     .74259        .15361        .62857E-01   -1.0188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38655e-06
Minuit parameter uncertainties:
  1  44.3612
  2  28.9104
  3  9.26319e-06
  4  26.2562
  5  5.67762e-05
  6  6.36583e-05
  7  0.000316604
  8  1.24668
  9  52.8279
  10  5.62555
  11  4.35936
  12  0.1611
  13  7.29313
  14  23.474
  15  5.48595
  16  0.000105776
  17  7.67029
  18  0.00176663
  19  1.48355e-05
  20  5.93763e-06
  21  0.000369015
  22  5.43214
  23  0.152401
  24  0.153702
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  8.117e-01  1.247e+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.426e-01  1.537e-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.319e+00  1.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/837025/likelihoodResults_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.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) = 7763.48027164
delta logL = 0.0754224463572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7763.4779354
delta logL = 0.0777586918448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73262       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4767       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74067       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=   7763.478     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73259        1.1056        .58099E-03    .54936E-01
   2  alpha         1.4769        .75149        .46683       -.82367E-05
   3  Normalizat    1.3221        .14994        .48620E-01    .89058E-04
   4  Prefactor     .74054        .15055        .62930E-01    .11177E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.732595
  alpha      = 1.47686
  Normalizat = 1.32209
  Prefactor  = 0.740538
 **********
 **   18 **HESSE 
 **********

 FCN=   7763.478     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73259        1.1369        .10733E-04   -1.5691    
   2  alpha         1.4769        .93058        .27867E-01   -.42164    
   3  Normalizat    1.3221        .17896        .21494E-03   -.82909    
   4  Prefactor     .74054        .17961        .27837E-03   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65439e-09
Minuit parameter uncertainties:
  1  1.13689
  2  0.958548
  3  0.179049
  4  0.179747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837025': 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) = 7763.47793511
delta logL = 0.0777589770514

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  7.326e-01  1.137e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.477e+00  9.585e-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:  7.405e-01  1.797e-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.322e+00  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
Ra Dec: 235.755 61.503

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/837025/cmap_HighResolution_699667201_699926401_4FGL_J1543.0+6130_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='3.73e-08', time_completed='2023-03-08 01:03:49.498802', job_id='837025', GAL2='0.74', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1678266229.5', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='7.78e-02', ts2='0.96', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1776' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:03:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 837025: <4FGL_J1543.0+6130_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:50:17 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:50:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:50:17 2023
Terminated at Wed Mar  8 01:03:50 2023
Results reported at Wed Mar  8 01:03:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1776 235.755 61.5033 699667201 699926401 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 :                                   733.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            813 sec.

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

