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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1749
RA = 235.755, Dec = 61.5033
tmin = 692668801, tmax = 692928001
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='956827', job_status='RUN', time_executed='2022-12-17 01:01:00.493898', time_epoch_executed='1671267660.49' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/956827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/956827/ft1_4FGL_J1543.0+6130_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/956827/ft2_4FGL_J1543.0+6130_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/956827/ft1_4FGL_J1543.0+6130_daily_bin1749.fits outfile=/scratch/kocevski/956827/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1749.fits ra=235.755 dec=61.5033 rad=12.0 tmin=692668801.0 tmax=692928001.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.76
user 3.46
sys 0.24

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

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

Number of photons that the gtmktime cut: 601

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/956827/ft1_filtered_4FGL_J1543.0+6130_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/956827/ft2_4FGL_J1543.0+6130_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/956827/ltcube_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.fits outfile=/scratch/kocevski/956827/expmap_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.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/956827/ltcube_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.fits
.....................!
real 190.79
user 184.99
sys 5.30

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/956827/ft1_filtered_4FGL_J1543.0+6130_daily_bin1749.fits scfile=/scratch/kocevski/956827/ft2_4FGL_J1543.0+6130_daily_bin1749.fits outfile=/scratch/kocevski/956827/cmap_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.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/956827/ft1_filtered_4FGL_J1543.0+6130_daily_bin1749.fits scfile=/scratch/kocevski/956827/ft2_4FGL_J1543.0+6130_daily_bin1749.fits outfile=/scratch/kocevski/956827/cmap_HighResolution_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.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/956827/ft1_filtered_4FGL_J1543.0+6130_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/956827/ft2_4FGL_J1543.0+6130_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/956827/Model_4FGL_J1543.0+6130_daily_bin1749.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/956827/ft1_filtered_4FGL_J1543.0+6130_daily_bin1749.fits.....................!
real 54.99
user 53.63
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.034       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.065       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10425E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .97848E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4017       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.865       1.0000          .0000       .10000E+07
     8 'norm      '    3.5081       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25956E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19591E-04   1.0000          .0000       .10000E+07
    11 'norm      '    7.2488       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15657       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3601       1.0000          .0000       .10000E+07
    14 'norm      '    .23703E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2652       1.0000          .0000       .10000E+07
    17 'norm      '    4.4512       1.0000          .0000       .10000E+07
    18 'Prefactor '    .98565E-02   1.0000          .0000       .10000E+07
    19 'norm      '    1.1328       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8993       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16292E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .83200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3093       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .59494       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=   6487.255     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1575 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.538        33.834       -.89864E-05    .85282E-01
   2  Prefactor     26.090        1.0581       -.56929E-07    .21283E-02
   3  Prefactor     .15138E-06    18.925        .50482E-05** at limit **
   4  Prefactor     .22077E-06    35.429       -.22510E-05** at limit **
   5  Prefactor     .16653E-09    6.0428       -.17914E-05** at limit **
   6  Prefactor     4.3919        6.5187        .67181E-06   -.18319E-03
   7  Prefactor     16.704        15.102        .34323E-05    .55562E-01
   8  norm          3.5086        2.6064       -.76469E-07    .76050E-02
   9  Prefactor     .13878E-08    48.624        .10968E-06** at limit **
  10  Prefactor     .55511E-10    2.2067       -.25115E-06** at limit **
  11  norm          7.2980        6.2470       -.62679E-07    .48986E-02
  12  Prefactor     .12039E-03    78.087       -.23684E-04** at limit **
  13  Prefactor     4.3732        6.3028       -.28177E-07   -.25234E-02
  14  norm          .16653E-09    9.6703        .15361E-05** at limit **
  15  Prefactor     11.540        7.2396       -.24561E-06   -.33467E-02
  16  Prefactor     3.2426        1.7034       -.24256E-06    .33592E-02
  17  norm          4.4326        7.4797        .85079E-06    .19983E-02
  18  Prefactor     .13789E-06    325.56       -.95931E-06** at limit **
  19  norm          1.1329        .66296       -.10593E-06   -.21458E-01
  20  Prefactor     2.9235        7.7766       -.85121E-06   -.24509E-03
  21  Prefactor     .43909E-07    17.376       -.43294E-05** at limit **
  22  Prefactor     .87135        4.4010       -.63836E-06   -.35951E-01
  23  Normalizat    1.3090        .18851        .11149E-04   -.52903E-03
  24  Prefactor     .59512        .17984        .45004E-06   -.52744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.5376
  Prefactor  = 26.0901
  Prefactor  = 1.51379e-07
  Prefactor  = 2.20768e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 4.39193
  Prefactor  = 16.7037
  norm       = 3.50855
  Prefactor  = 1.38778e-09
  Prefactor  = 5.55112e-11
  norm       = 7.298
  Prefactor  = 0.000120394
  Prefactor  = 4.37319
  norm       = 1.66533e-10
  Prefactor  = 11.5396
  Prefactor  = 3.24259
  norm       = 4.43264
  Prefactor  = 1.3789e-07
  norm       = 1.13285
  Prefactor  = 2.92348
  Prefactor  = 4.39093e-08
  Prefactor  = 0.871345
  Normalizat = 1.30896
  Prefactor  = 0.595121
 **********
 **   18 **HESSE 
 **********

 FCN=   6487.255     FROM HESSE     STATUS=OK           459 CALLS     2034 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.538        40.677        .15425E-03   -1.5578    
   2  Prefactor     26.090        21.595        .19591E-03   -1.5606    
   3  Prefactor     .15138E-06    19.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22077E-06    36.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    6.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3919        6.5112        .47979E-03   -1.5666    
   7  Prefactor     16.704        16.351        .24361E-03   -1.5626    
   8  norm          3.5086        2.6112        .53953E-03   -1.5671    
   9  Prefactor     .13878E-08    48.523        .16672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.2163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.2980        6.3154        .37231E-03   -1.5654    
  12  Prefactor     .12039E-03    21.984        .12606E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.3732        6.3182        .48213E-03   -1.5666    
  14  norm          .16653E-09    9.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.540        7.2633        .29505E-03   -1.5640    
  16  Prefactor     3.2426        26.178        .56018E-03   -1.5672    
  17  norm          4.4326        7.5550        .47704E-03   -1.5666    
  18  Prefactor     .13789E-06    21.054        .76067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1329        .68065        .10694E-02   -1.5687    
  20  Prefactor     2.9235        7.8991        .59652E-03   -1.5674    
  21  Prefactor     .43909E-07    17.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .87135        21.970        .50580E-03   -1.5689    
  23  Normalizat    1.3090        .16563        .32640E-01   -.83299    
  24  Prefactor     .59512        .15894        .65061E-01   -1.0779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52818e-07
Minuit parameter uncertainties:
  1  40.6773
  2  21.5951
  3  0.00339682
  4  0.00565881
  5  6.10049e-05
  6  6.51118
  7  16.3512
  8  2.61124
  9  0.000523058
  10  1.57924e-05
  11  6.31544
  12  0.102893
  13  6.31819
  14  7.70342e-05
  15  7.26329
  16  18.4267
  17  7.55497
  18  0.00340784
  19  0.680649
  20  7.89913
  21  0.00175208
  22  8.75068
  23  0.165698
  24  0.159056
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  3.509e+00  2.611e+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:  5.951e-01  1.591e-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.309e+00  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.36
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.51e-05

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

Saving results to:
/scratch/kocevski/956827/likelihoodResults_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.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) = 6486.61651284
delta logL = 0.638929973707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6486.60732779
delta logL = 0.648115026442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7516       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5265       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60883       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6486.607     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      271 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7515        2.4145        .78505E-05    .12919E-01
   2  alpha         2.5267        .59674        .11014E-01    .84839E-04
   3  Normalizat    1.2818        .18140        .20513E-03   -.16433E-03
   4  Prefactor     .60883        .17825        .28471E-03   -.15505E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.75148
  alpha      = 2.52668
  Normalizat = 1.28177
  Prefactor  = 0.608832
 **********
 **   18 **HESSE 
 **********

 FCN=   6486.607     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7515        2.2879        .31402E-06   -1.5675    
   2  alpha         2.5267        .56561        .44055E-03    .10672E-01
   3  Normalizat    1.2818        .18141        .41026E-04   -.84112    
   4  Prefactor     .60883        .17828        .11388E-04   -1.0722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55064e-10
Minuit parameter uncertainties:
  1  2.28794
  2  0.570545
  3  0.181498
  4  0.178448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/956827': 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) = 6486.60732765
delta logL = 0.648115158778

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.751e+00  2.288e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.527e+00  5.705e-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:  6.088e-01  1.784e-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.282e+00  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.65
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.53 +/- 0.57
Photon Flux (Free Index): 5.03e-08 +/- 3.54e-08
Energy Flux (Free Index): 1.48e-05 +/- 9.51e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/956827/cmap_HighResolution_692668801_692928001_4FGL_J1543.0+6130_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.48e-05', photon_flux_error='1.98e-08', dlogl='6.48e-01', energy_flux='2.03e-05', photon_flux2='5.03e-08', job_status='DONE', time_completed='2022-12-17 01:12:04.576997', photon_index_error2='0.57', photon_index2='2.53', ts='3.36', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='7.19e-08', energy_flux_error2='9.51e-06', EG='1.31', time_epoch_completed='1671268324.58', return_code='0', job_id='956827', GAL2='0.61', EG2='1.28', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='3.54e-08', ts2='4.65', photon_index='1.90' WHERE bin_id='1749' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:12:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 956827: <4FGL_J1543.0+6130_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 01:00:21 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:00:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:00:22 2022
Terminated at Sat Dec 17 01:12:05 2022
Results reported at Sat Dec 17 01:12:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1749 235.755 61.5033 692668801 692928001 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 :                                   665.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

