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


Performing analysis on: 4FGL_J2143.1-3929_daily_bin1750
RA = 325.793, Dec = -39.4882
tmin = 692928001, tmax = 693187201
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='25956', job_status='RUN', time_executed='2022-12-20 01:47:48.968873', time_epoch_executed='1671529668.97' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25956/ft1_4FGL_J2143.1-3929_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25956/ft1_4FGL_J2143.1-3929_daily_bin1750.fits outfile=/scratch/kocevski/25956/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1750.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=692928001.0 tmax=693187201.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.51
user 3.29
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.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/25956/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.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: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/25956/ltcube_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.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/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits
.....................!
real 11.75
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/25956/ltcube_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits outfile=/scratch/kocevski/25956/expmap_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.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/25956/ltcube_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits
.....................!
real 191.52
user 186.53
sys 4.64

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

Setting source of interest to:
4FGL J2143.1-3929 @ 325.793 -39.4882

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits outfile=/scratch/kocevski/25956/cmap_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.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=325.793 yref=-39.4882 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits outfile=/scratch/kocevski/25956/cmap_HighResolution_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.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=325.793 yref=-39.4882 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/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25956/Model_4FGL_J2143.1-3929_daily_bin1750.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/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits.....................!
real 50.31
user 48.99
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits', '/scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits', expMap='/scratch/kocevski/25956/expmap_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits', expCube='/scratch/kocevski/25956/ltcube_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25956/Model_4FGL_J2143.1-3929_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2143.1-3929'

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  1.791e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.139e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/25956/ft1_filtered_4FGL_J2143.1-3929_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/25956/ft2_4FGL_J2143.1-3929_daily_bin1750.fits
Exposure map: /scratch/kocevski/25956/expmap_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits
Exposure cube: /scratch/kocevski/25956/ltcube_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25956/Model_4FGL_J2143.1-3929_daily_bin1750.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) = 6251.63594251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.551       1.0000          .0000       .10000E+07
     2 'norm      '    .22454E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    28.460       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5635       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16218E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .95078E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45966       1.0000          .0000       .10000E+07
     8 'norm      '    .45100E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .60056E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.055       1.0000          .0000       .10000E+07
    11 'norm      '    .40837E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .61541E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    81.717       1.0000          .0000       .10000E+07
    14 'norm      '    .23759E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .80758       1.0000          .0000       .10000E+07
    16 'Prefactor '    42.033       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42171E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33342E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.5247       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11630E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .58259E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .10155E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    21.677       1.0000          .0000       .10000E+07
    24 'Normalizat'    .98557       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6251.625     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2142 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.143        28.800       -.15769E-06    .81248E-02
   2  norm           .0000        3.4569       -.32108E-08** at limit **
   3  Prefactor     28.744        1.7596        .13060E-07   -.42838E-01
   4  Prefactor     8.5627        8.1050       -.71074E-07    .52575E-04
   5  Prefactor     .66613E-09    16.454       -.11065E-06** at limit **
   6  norm           .0000        5.2611       -.15504E-07** at limit **
   7  Prefactor     .44588        8.1830       -.34550E-06    .55477E-04
   8  norm           .0000        1.3116       -.28373E-07** at limit **
   9  Prefactor      .0000        7.2364       -.62662E-07** at limit **
  10  Prefactor     15.046        9.8541        .23028E-07    .25133E-03
  11  norm           .0000        5.8174       -.22584E-06** at limit **
  12  Prefactor      .0000        9.1648       -.35498E-07** at limit **
  13  Prefactor     82.831        58.831       -.16523E-06   -.10219E-01
  14  norm           .0000        1.3587        .60050E-07** at limit **
  15  norm          .80729        .34406       -.26814E-08   -.68043E-04
  16  Prefactor     42.016        1.3612       -.47917E-08   -.94861E-02
  17  Prefactor     .23870E-08    20.088        .26160E-07** at limit **
  18  Prefactor     .37748E-08    69.151        .14457E-06** at limit **
  19  Prefactor     1.5597        10.279       -.16626E-06   -.68844E-04
  20  Prefactor      .0000        3.1998        .30841E-07** at limit **
  21  Prefactor      .0000        30.299        .28133E-06** at limit **
  22  Prefactor     .28311E-08    27.301       -.53965E-06** at limit **
  23  Prefactor     21.689        2.6263       -.21299E-07    .28270E-01
  24  Normalizat    .98539        .22419        .75441E-05   -.10438E-04
  25  Prefactor     1.0783        .15082       -.24943E-05   -.10676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.143
  norm       = 0
  Prefactor  = 28.7437
  Prefactor  = 8.56275
  Prefactor  = 6.66134e-10
  norm       = 0
  Prefactor  = 0.44588
  norm       = 0
  Prefactor  = 0
  Prefactor  = 15.0458
  norm       = 0
  Prefactor  = 0
  Prefactor  = 82.8312
  norm       = 0
  norm       = 0.807291
  Prefactor  = 42.0162
  Prefactor  = 2.38698e-09
  Prefactor  = 3.77476e-09
  Prefactor  = 1.55974
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 21.6888
  Normalizat = 0.985389
  Prefactor  = 1.07826
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.625     FROM HESSE     STATUS=OK           479 CALLS     2621 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.143        63.900        .21547E-03   -1.5614    
   2  norm           .0000        3.3676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.744        33.042        .18748E-03   -1.5601    
   4  Prefactor     8.5627        8.1373        .34231E-03   -1.5649    
   5  Prefactor     .66613E-09    16.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        5.2590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44588        3.2890        .44112E-02   -1.5695    
   8  norm           .0000        1.3117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        7.2204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.046        9.8676        .25787E-03   -1.5630    
  11  norm           .0000        5.8077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.1459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     82.831        65.676        .11063E-03   -1.5526    
  14  norm           .0000        1.3622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .80729        .34531        .52372E-03   -1.5690    
  16  Prefactor     42.016        31.925        .15426E-03   -1.5578    
  17  Prefactor     .23870E-08    19.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .37748E-08    69.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5597        10.229        .86456E-03   -1.5683    
  20  Prefactor      .0000        3.1755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        30.201        .15225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .28311E-08    27.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     21.689        28.020        .21484E-03   -1.5615    
  24  Normalizat    .98539        .20446        .67356E-01   -.93522    
  25  Prefactor     1.0783        .13442        .38465E-01   -.90164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.9578e-07
Minuit parameter uncertainties:
  1  63.902
  2  2.54793e-07
  3  33.0423
  4  8.13732
  5  0.0002091
  6  2.90273e-06
  7  2.42199
  8  7.96992e-08
  9  8.32073e-06
  10  9.86766
  11  7.33915e-07
  12  5.9724e-06
  13  65.6763
  14  4.93025e-07
  15  0.345307
  16  31.9252
  17  0.000437181
  18  0.0010259
  19  7.98859
  20  6.57845e-08
  21  9.89339e-07
  22  0.000556318
  23  28.0202
  24  0.204625
  25  0.13446
Done.

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

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  1.505e+01  9.868e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.139e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.078e+00  1.345e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.854e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.99
Ra Dec: 325.793 -39.488
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.52e-08 +/- 3.62e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 1.83e-05

TS (Fixed Index): 3.99
Ra Dec: 325.793 -39.488
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/25956/likelihoodResults_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.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) = 6250.81961167
delta logL = 0.805106551152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6250.80826792
delta logL = 0.816450292891

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6250.808     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      254 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2835        47.036        .43683E-03    .21818E-02
   2  Index         2.9303        2.3817        .95446E-01    .16913E-03
   3  Normalizat    .92691        .87963E-01    .69163E-01    .16503E-04
   4  Prefactor     1.1000        .52721E-01    .37586E-01    .12476E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.2835
  Index      = 2.93032
  Normalizat = 0.92691
  Prefactor  = 1.10003
 **********
 **   18 **HESSE 
 **********

 FCN=   6250.808     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2835        10.964        .91250E-05   -1.5662    
   2  Index         2.9303        1.0202        .36472E-02   -.42677    
   3  Normalizat    .92691        .22581        .30598E-03   -.95521    
   4  Prefactor     1.1000        .15273        .19682E-03   -.89466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43858e-08
Minuit parameter uncertainties:
  1  10.9639
  2  1.02891
  3  0.226043
  4  0.152791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25956': 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) = 6250.80826756
delta logL = 0.816450657828

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  5.284e+00  1.096e+01  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.930e+00  1.029e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.100e+00  1.528e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.269e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.71
Ra Dec: 325.793 -39.488
Photon Index (Free Index): 2.93 +/- 1.03
Photon Flux (Free Index): 1.07e-07 +/- 6.89e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.26e-05

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/25956/cmap_HighResolution_692928001_693187201_4FGL_J2143.1-3929_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='5.52e-08', energy_flux2='2.21e-05', photon_flux_error='3.62e-08', dlogl='8.16e-01', energy_flux='2.79e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-12-20 01:57:56.459319', photon_index_error2='1.03', photon_index2='2.93', ts='3.99', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.26e-05', EG='0.99', time_epoch_completed='1671530276.46', return_code='0', job_id='25956', GAL2='1.10', EG2='0.93', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='6.89e-08', ts2='5.71', photon_index='2.14' WHERE bin_id='1750' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:57:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 25956: <4FGL_J2143.1-3929_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:45:16 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:45:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:45:17 2022
Terminated at Tue Dec 20 01:57:57 2022
Results reported at Tue Dec 20 01:57:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1750 325.793 -39.4882 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2143.1-3929 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

