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 12 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.1+4209_daily_bin1773
RA = 235.799, Dec = 42.1549
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='795383', job_status='RUN', time_executed='2023-02-27 10:00:44.782519', time_epoch_executed='1677520844.78' WHERE source_name='4FGL J1543.1+4209' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795383

Creating custom pfile directory:
/scratch/kocevski/795383/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/795383/ft1_4FGL_J1543.1+4209_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/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795383/ft1_4FGL_J1543.1+4209_daily_bin1773.fits outfile=/scratch/kocevski/795383/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1773.fits ra=235.799 dec=42.1549 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.97
user 2.73
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_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/795383/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_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: 786

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/795383/ltcube_698889601_699148801_4FGL_J1543.1+4209_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/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits
.....................!
real 14.15
user 13.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/795383/ltcube_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits outfile=/scratch/kocevski/795383/expmap_698889601_699148801_4FGL_J1543.1+4209_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/795383/ltcube_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits
.....................!
real 191.12
user 185.64
sys 4.97

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 200 point sources and 0 extended sources

Setting source of interest to:
4FGL J1543.1+4209 @ 235.799 42.1549

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits outfile=/scratch/kocevski/795383/cmap_698889601_699148801_4FGL_J1543.1+4209_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.799 yref=42.1549 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits outfile=/scratch/kocevski/795383/cmap_HighResolution_698889601_699148801_4FGL_J1543.1+4209_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.799 yref=42.1549 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795383/Model_4FGL_J1543.1+4209_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/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits.....................!
real 59.96
user 58.64
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits', '/scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits', expMap='/scratch/kocevski/795383/expmap_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits', expCube='/scratch/kocevski/795383/ltcube_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795383/Model_4FGL_J1543.1+4209_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.1+4209'

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  1.981e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795383/ft1_filtered_4FGL_J1543.1+4209_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/795383/ft2_4FGL_J1543.1+4209_daily_bin1773.fits
Exposure map: /scratch/kocevski/795383/expmap_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits
Exposure cube: /scratch/kocevski/795383/ltcube_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795383/Model_4FGL_J1543.1+4209_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) = 8578.34167289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46432E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15405E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.5070       1.0000          .0000       .10000E+07
     4 'norm      '    3.3946       1.0000          .0000       .10000E+07
     5 'norm      '    2.4657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12903E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2171       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12164E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .79981E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.5608       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33916E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .19276E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.8253       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48533E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .46485E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.3439       1.0000          .0000       .10000E+07
    17 'Prefactor '    19.895       1.0000          .0000       .10000E+07
    18 'Prefactor '    .91443E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.0011       1.0000          .0000       .10000E+07
    20 'norm      '    .15081       1.0000          .0000       .10000E+07
    21 'norm      '    5.2687       1.0000          .0000       .10000E+07
    22 'Prefactor '    13.971       1.0000          .0000       .10000E+07
    23 'Prefactor '    .82659E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .67022E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .72497       1.0000          .0000       .10000E+07
    26 'Prefactor '    .73670       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0085       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8578.307     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2563 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45937E-04    29.196       -.17479E-05** at limit **
   2  Prefactor      .0000        7.6239        .96324E-07** at limit **
   3  Prefactor     5.4824        4.8442       -.85989E-07    .75138E-03
   4  norm          3.4016        1.6718        .22182E-06    .61852E-02
   5  norm          2.4626        2.3170        .41146E-07    .41784E-02
   6  Prefactor     .55511E-10    4.8310       -.11978E-06** at limit **
   7  Prefactor     .27248        1390.6       -.45967E-04    .16283E-02
   8  Prefactor     .23037E-07    20.481       -.57769E-06** at limit **
   9  Prefactor     .24064E-06    61.661        .22091E-05** at limit **
  10  norm          1.5597        .97602       -.63704E-07   -.38429E-03
  11  Prefactor      .0000        3.7517       -.25802E-06** at limit **
  12  norm           .0000        2.2363       -.64495E-07** at limit **
  13  Prefactor     1.8230        35.659       -.47868E-05   -.10588E-01
  14  Prefactor     .27756E-09    35.452       -.11671E-05** at limit **
  15  Prefactor      .0000        1.1235        .16371E-06** at limit **
  16  Prefactor     1.3293        4.8649       -.13112E-05   -.36431E-02
  17  Prefactor     19.831        5.5665       -.94478E-07    .65396E-01
  18  Prefactor      .0000        1.2494        .10893E-06** at limit **
  19  Prefactor     2.9988        2.6285        .69079E-07    .17912E-03
  20  norm          .15074        .82709E-01    .61652E-08** at limit **
  21  norm          5.2573        10.087        .12231E-05    .18548E-01
  22  Prefactor     13.969        4.2981        .44085E-07    .51899E-01
  23  Prefactor      .0000        6.5531        .11283E-06** at limit **
  24  norm          .12046E-07    15.527        .19100E-05** at limit **
  25  Prefactor     .72404        1.0340       -.76454E-07   -.25187E-02
  26  Prefactor     .73749        1.0160        .17595E-06    .11201E-03
  27  Normalizat    1.0091        .17330        .69770E-05    .25092E-03
  28  Prefactor     .94238        .17247       -.14275E-05    .17770E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.59368e-05
  Prefactor  = 0
  Prefactor  = 5.48235
  norm       = 3.40156
  norm       = 2.46261
  Prefactor  = 5.55112e-11
  Prefactor  = 0.272482
  Prefactor  = 2.30371e-08
  Prefactor  = 2.40641e-07
  norm       = 1.55969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.82299
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1.32933
  Prefactor  = 19.8305
  Prefactor  = 0
  Prefactor  = 2.99884
  norm       = 0.150742
  norm       = 5.25735
  Prefactor  = 13.9688
  Prefactor  = 0
  norm       = 1.20459e-08
  Prefactor  = 0.724038
  Prefactor  = 0.737492
  Normalizat = 1.00909
  Prefactor  = 0.942378
 **********
 **   18 **HESSE 
 **********

 FCN=   8578.307     FROM HESSE     STATUS=OK           587 CALLS     3150 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45937E-04    12.799        .15686E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        7.6376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4824        4.8488        .42791E-03   -1.5661    
   4  norm          3.4016        1.7281        .54888E-03   -1.5671    
   5  norm          2.4626        2.3278        .65098E-03   -1.5677    
   6  Prefactor     .55511E-10    4.8691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27248        40.521        .17198E-01   -1.5698    
   8  Prefactor     .23037E-07    20.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24064E-06    60.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5597        .98911        .85139E-03   -1.5683    
  11  Prefactor      .0000        3.7797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.2415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8230        40.575        .77241E-03   -1.5681    
  14  Prefactor     .27756E-09    35.220        .15599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3293        11.959        .94458E-03   -1.5685    
  17  Prefactor     19.831        30.172        .22427E-03   -1.5619    
  18  Prefactor      .0000        1.2499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9988        2.6579        .58567E-03   -1.5673    
  20  norm          .15074        .86225E-01    .42218E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.2573        10.639        .43766E-03   -1.5662    
  22  Prefactor     13.969        12.000        .26771E-03   -1.5633    
  23  Prefactor      .0000        6.4298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .12046E-07    15.607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .72404        1.0353        .58704E-03   -1.5691    
  26  Prefactor     .73749        1.0111        .57777E-03   -1.5691    
  27  Normalizat    1.0091        .14764        .46274E-01   -.92727    
  28  Prefactor     .94238        .14607        .45543E-01   -.94676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22606e-06
Minuit parameter uncertainties:
  1  0.0484944
  2  6.91314e-06
  3  4.84881
  4  1.72811
  5  2.32776
  6  2.6873e-05
  7  6.64568
  8  0.00137904
  9  0.00761807
  10  0.989115
  11  1.03475e-05
  12  8.84594e-06
  13  17.201
  14  0.000198507
  15  2.35988e-06
  16  7.97433
  17  30.1726
  18  1.12919e-06
  19  2.65791
  20  0.0862245
  21  10.6388
  22  11.9996
  23  3.64203e-06
  24  0.000866194
  25  1.0353
  26  1.01107
  27  0.147695
  28  0.146133
Done.

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

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.823e+00  1.720e+01  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  1.981e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.424e-01  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.009e+00  1.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 235.799 42.155
Photon Flux Upper Limit: 4.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795383/likelihoodResults_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.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) = 8578.30689304
delta logL = 0.000306712696329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8578.30684197
delta logL = 0.000357781269486

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8227       1.0000          .0000       .10000E+07
     2 'Index     '    2.0323       1.0000          .0000       10.000    
     3 'Normalizat'    1.0089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8578.307     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      215 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7375        87.742        .77306E-03    .16858E-02
   2  Index         2.0396        .21465        .50000        .24215E-04
   3  Normalizat    1.0089        .55871E-02    .46279E-01    .62397E-04
   4  Prefactor     .94241        .56928E-02    .45542E-01    .63963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7375
  Index      = 2.03964
  Normalizat = 1.00893
  Prefactor  = 0.942406
 **********
 **   18 **HESSE 
 **********

 FCN=   8578.307     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7375        41.897        .30922E-04   -1.5682    
   2  Index         2.0396        2.0754        .30137E-02   -.63363    
   3  Normalizat    1.0089        .16768        .23528E-03   -.92732    
   4  Prefactor     .94241        .17166        .24592E-03   -.94675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37346e-10
Minuit parameter uncertainties:
  1  17.0643
  2  2.18024
  3  0.167764
  4  0.171759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795383': 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) = 8578.30682711
delta logL = 0.000372648508346

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.738e+00  1.706e+01  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  2.040e+00  2.180e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.424e-01  1.718e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.009e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 235.799 42.155

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/795383/cmap_HighResolution_698889601_699148801_4FGL_J1543.1+4209_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-03', job_status='DONE', photon_flux_upper_limit='4.72e-08', time_completed='2023-02-27 10:15:22.489041', job_id='795383', GAL2='0.94', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1677521722.49', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.73e-04', ts2='0.01', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1773' AND source_name='4FGL J1543.1+4209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:15:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 795383: <4FGL_J1543.1+4209_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1543.1+4209_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) <bullet0191>, 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:15:22 2023
Results reported at Mon Feb 27 10:15:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.1+4209_daily_bin1773 235.799 42.1549 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.1+4209 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   879.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            903 sec.

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

