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


Performing analysis on: 4FGL_J1543.1+4209_daily_bin1751
RA = 235.799, Dec = 42.1549
tmin = 693187201, tmax = 693446401
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='81578', job_status='RUN', time_executed='2022-12-23 00:57:14.067490', time_epoch_executed='1671785834.07' WHERE source_name='4FGL J1543.1+4209' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81578

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81578/ft1_4FGL_J1543.1+4209_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81578/ft1_4FGL_J1543.1+4209_daily_bin1751.fits outfile=/scratch/kocevski/81578/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1751.fits ra=235.799 dec=42.1549 rad=12.0 tmin=693187201.0 tmax=693446401.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.65
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.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/81578/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.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.32
sys 0.17

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/81578/ltcube_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.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/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits
.....................!
real 12.04
user 11.65
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/81578/ltcube_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits outfile=/scratch/kocevski/81578/expmap_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.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/81578/ltcube_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits
.....................!
real 191.35
user 185.17
sys 5.85

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/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits outfile=/scratch/kocevski/81578/cmap_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits outfile=/scratch/kocevski/81578/cmap_HighResolution_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81578/Model_4FGL_J1543.1+4209_daily_bin1751.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/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits.....................!
real 45.75
user 44.38
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits', '/scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits', expMap='/scratch/kocevski/81578/expmap_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits', expCube='/scratch/kocevski/81578/ltcube_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81578/Model_4FGL_J1543.1+4209_daily_bin1751.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/81578/ft1_filtered_4FGL_J1543.1+4209_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/81578/ft2_4FGL_J1543.1+4209_daily_bin1751.fits
Exposure map: /scratch/kocevski/81578/expmap_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits
Exposure cube: /scratch/kocevski/81578/ltcube_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81578/Model_4FGL_J1543.1+4209_daily_bin1751.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) = 5703.04463473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16850E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.8961       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0617       1.0000          .0000       .10000E+07
     4 'norm      '    .26570       1.0000          .0000       .10000E+07
     5 'norm      '    2.0237       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33203E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    30.988       1.0000          .0000       .10000E+07
     8 'Prefactor '    .53251E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13207       1.0000          .0000       .10000E+07
    10 'norm      '    1.4201       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99511E-04   1.0000          .0000       .10000E+07
    12 'norm      '    12.699       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22737E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .84691E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.0443       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22149E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42573E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.549       1.0000          .0000       .10000E+07
    19 'Prefactor '    .52007E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .61063       1.0000          .0000       .10000E+07
    21 'norm      '    .50682E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .31942E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    5.1047       1.0000          .0000       .10000E+07
    24 'norm      '    .55372       1.0000          .0000       .10000E+07
    25 'Prefactor '    .83881       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.4268       1.0000          .0000       .10000E+07
    27 'Normalizat'    .76890       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1250       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=   5702.987     FROM MIGRAD    STATUS=CONVERGED    190 CALLS     2674 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33862E-07    11.156        .37824E-06** at limit **
   2  Prefactor     7.9095        7.7696       -.19282E-07    .15532E-02
   3  Prefactor     2.0778        3.6779        .89475E-07   -.65216E-03
   4  norm          .26691        1.2725       -.11251E-07    .56052E-03
   5  norm          2.0517        3.4935       -.22856E-06   -.39117E-03
   6  Prefactor      .0000        7.5381       -.39795E-06** at limit **
   7  Prefactor     30.613        67.163       -.51214E-06    .19128E-01
   8  Prefactor     .47713E-05    9.4467        .75930E-06** at limit **
   9  Prefactor     .15236E-04    3.5955        .29848E-07** at limit **
  10  norm          1.4201        1.0823        .28283E-07    .90901E-04
  11  Prefactor     .97450E-06    6.2311       -.26352E-06** at limit **
  12  norm          12.701        1.7944        .36256E-08    .50333E-01
  13  Prefactor     .11713E-07    10.252        .76098E-07** at limit **
  14  Prefactor     .11047E-06    8.6132       -.42146E-06** at limit **
  15  Prefactor     2.0447        2.8826        .10556E-06   -.53744E-04
  16  Prefactor     .39968E-08    1.9346       -.33199E-06** at limit **
  17  Prefactor     .34139E-07    6.4222        .42991E-06** at limit **
  18  Prefactor     11.586        7.8961       -.10852E-07    .22591E-02
  19  Prefactor     .58203E-05    21.720       -.12720E-05** at limit **
  20  norm          .61082        .17762        .16931E-08    .13315E-01
  21  norm          .44076E-07    6.2650        .13636E-07** at limit **
  22  Prefactor     .23759E-07    8.2496       -.19073E-06** at limit **
  23  Prefactor     5.1375        4.0097        .21932E-07    .12574E-02
  24  norm          .94663E-06    131.82        .21117E-06** at limit **
  25  Prefactor     .82368        2.2868        .16535E-06    .49726E-02
  26  Prefactor     3.4468        2.6443       -.22778E-06    .52395E-02
  27  Normalizat    .76923        .20934        .94217E-06    .13124E-03
  28  Prefactor     1.1248        .21734       -.55254E-05    .16135E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38618e-08
  Prefactor  = 7.90954
  Prefactor  = 2.07784
  norm       = 0.266913
  norm       = 2.05173
  Prefactor  = 0
  Prefactor  = 30.6134
  Prefactor  = 4.77129e-06
  Prefactor  = 1.52361e-05
  norm       = 1.42012
  Prefactor  = 9.74498e-07
  norm       = 12.7007
  Prefactor  = 1.17129e-08
  Prefactor  = 1.10467e-07
  Prefactor  = 2.04472
  Prefactor  = 3.9968e-09
  Prefactor  = 3.41394e-08
  Prefactor  = 11.586
  Prefactor  = 5.82034e-06
  norm       = 0.610816
  norm       = 4.40759e-08
  Prefactor  = 2.37588e-08
  Prefactor  = 5.13752
  norm       = 9.46632e-07
  Prefactor  = 0.823681
  Prefactor  = 3.44684
  Normalizat = 0.769229
  Prefactor  = 1.12484
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.987     FROM HESSE     STATUS=OK           583 CALLS     3257 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33862E-07    11.236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9095        8.1177        .35659E-03   -1.5652    
   3  Prefactor     2.0778        3.7076        .71939E-03   -1.5679    
   4  norm          .26691        1.4617        .10707E-02   -1.5698    
   5  norm          2.0517        3.6213        .72710E-03   -1.5679    
   6  Prefactor      .0000        23.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.613        71.291        .17967E-03   -1.5597    
   8  Prefactor     .47713E-05    18.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15236E-04    7.1956        .11070E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4201        1.0851        .90754E-04   -1.5684    
  11  Prefactor     .97450E-06    22.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.701        12.838        .28083E-03   -1.5637    
  13  Prefactor     .11713E-07    10.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11047E-06    22.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0447        2.9035        .72288E-03   -1.5679    
  16  Prefactor     .39968E-08    1.9469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .34139E-07    6.5097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.586        7.9146        .29453E-03   -1.5640    
  19  Prefactor     .58203E-05    1.5471        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .61082        .17939        .35974E-03   -1.5692    
  21  norm          .44076E-07    6.3658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .23759E-07    8.3061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.1375        4.0108        .44477E-03   -1.5663    
  24  norm          .94663E-06    131.30        .73480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .82368        2.2881        .50086E-03   -1.5690    
  26  Prefactor     3.4468        2.6199        .54618E-03   -1.5671    
  27  Normalizat    .76923        .18627        .43203E-01   -1.0122    
  28  Prefactor     1.1248        .18755        .36706E-01   -.88677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37047e-07
Minuit parameter uncertainties:
  1  0.00123334
  2  8.1177
  3  3.70762
  4  1.24924
  5  3.62129
  6  2.42405e-05
  7  71.2926
  8  0.0186951
  9  0.0209411
  10  1.08515
  11  0.00946651
  12  12.838
  13  0.000694795
  14  0.00316481
  15  2.90351
  16  0.000176856
  17  0.000942465
  18  7.91459
  19  0.00600148
  20  0.179395
  21  0.00105959
  22  0.000888934
  23  4.01079
  24  0.0222978
  25  2.28808
  26  2.61987
  27  0.186428
  28  0.187664
Done.

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

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.171e-08  6.948e-04  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:  1.125e+00  1.877e-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:  7.692e-01  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/81578/likelihoodResults_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.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) = 5703.03379547
delta logL = -0.0463895777211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5702.98741417
delta logL = -8.27714393381e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55556E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .31004E-01   1.0000          .0000       10.000    
     3 'Normalizat'    .76866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1251       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=   5702.905     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      270 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11313        8.9403        .42118E-03** at limit **
   2  Index         3.7719        3.7351        .72279E-01    .18181E-03
   3  Normalizat    .74136        .34693E-01    .43200E-01   -.12872E-03
   4  Prefactor     1.1401        .36317E-01    .36703E-01   -.19001E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.113131
  Index      = 3.77188
  Normalizat = 0.741365
  Prefactor  = 1.14006
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.905     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11313        29.807        .57424E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7719        6.2833        .84488E-02   -.24816    
   3  Normalizat    .74136        .14262        .26569E-03   -1.0228    
   4  Prefactor     1.1401        .14635        .22784E-03   -.88196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.54439e-06
Minuit parameter uncertainties:
  1  3.67264
  2  9.84743
  3  0.142692
  4  0.146399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81578': 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): 102
logL (Free Index) = 5702.90547329
delta logL = 0.0819326040801

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.131e-01  3.673e+00  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  3.772e+00  9.847e+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:  1.140e+00  1.464e-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:  7.414e-01  1.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 235.799 42.155

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/81578/cmap_HighResolution_693187201_693446401_4FGL_J1543.1+4209_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.60e-03', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2022-12-23 01:08:57.983594', job_id='81578', GAL2='1.14', fit_tolerance='1e-08', EG2='0.74', EG='0.77', time_epoch_completed='1671786537.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='8.19e-02', ts2='0.19', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1751' AND source_name='4FGL J1543.1+4209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:08:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 81578: <4FGL_J1543.1+4209_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1543.1+4209_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:55:20 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:55:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:55:20 2022
Terminated at Fri Dec 23 01:08:58 2022
Results reported at Fri Dec 23 01:08:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.1+4209_daily_bin1751 235.799 42.1549 693187201 693446401 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 :                                   706.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            818 sec.

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

