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


Performing analysis on: 4FGL_J2143.1-3929_daily_bin1770
RA = 325.793, Dec = -39.4882
tmin = 698112001, tmax = 698371201
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='501820', job_status='RUN', time_executed='2023-02-18 01:55:35.499708', time_epoch_executed='1676714135.5' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/501820

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/501820/ft1_4FGL_J2143.1-3929_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/501820/ft1_4FGL_J2143.1-3929_daily_bin1770.fits outfile=/scratch/kocevski/501820/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1770.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.34
user 4.12
sys 0.20

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

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

Number of photons that the gtmktime cut: 472

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/501820/ltcube_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.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/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits
.....................!
real 11.65
user 11.31
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/501820/ltcube_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits outfile=/scratch/kocevski/501820/expmap_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.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/501820/ltcube_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits
.....................!
real 190.02
user 185.72
sys 3.95

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/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits scfile=/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits outfile=/scratch/kocevski/501820/cmap_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits scfile=/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits outfile=/scratch/kocevski/501820/cmap_HighResolution_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/501820/Model_4FGL_J2143.1-3929_daily_bin1770.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/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits.....................!
real 44.31
user 43.11
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits', '/scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits', expMap='/scratch/kocevski/501820/expmap_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits', expCube='/scratch/kocevski/501820/ltcube_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/501820/Model_4FGL_J2143.1-3929_daily_bin1770.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/501820/ft1_filtered_4FGL_J2143.1-3929_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/501820/ft2_4FGL_J2143.1-3929_daily_bin1770.fits
Exposure map: /scratch/kocevski/501820/expmap_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits
Exposure cube: /scratch/kocevski/501820/ltcube_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/501820/Model_4FGL_J2143.1-3929_daily_bin1770.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) = 5082.25846096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28106E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.2469       1.0000          .0000       .10000E+07
     3 'Prefactor '    81.815       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14224E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    60.625       1.0000          .0000       .10000E+07
     6 'norm      '    .44277       1.0000          .0000       .10000E+07
     7 'Prefactor '    .79123       1.0000          .0000       .10000E+07
     8 'norm      '    23.988       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23201E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14788E-02   1.0000          .0000       .10000E+07
    11 'norm      '    12.741       1.0000          .0000       .10000E+07
    12 'Prefactor '    .47536E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27349E-01   1.0000          .0000       .10000E+07
    14 'norm      '    9.4296       1.0000          .0000       .10000E+07
    15 'norm      '    .97454       1.0000          .0000       .10000E+07
    16 'Prefactor '    86.321       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.4923       1.0000          .0000       .10000E+07
    18 'Prefactor '    .75096E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .36268E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .82601E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .18837E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    18.909       1.0000          .0000       .10000E+07
    23 'Prefactor '    55.609       1.0000          .0000       .10000E+07
    24 'Normalizat'    .71452       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94151       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=   5082.023     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2160 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86597E-07    24.582        .13008E-06** at limit **
   2  norm          1.2472        1.2648       -.54322E-08   -.86621E-04
   3  Prefactor     82.132        1.9912        .92312E-08    .80110E-03
   4  Prefactor     .13323E-08    16.529       -.13108E-06** at limit **
   5  Prefactor     61.289        14.776        .12994E-06   -.87118E-01
   6  norm          .51455        1.7314        .12164E-06   -.15847E-01
   7  Prefactor     .79218        5.5640       -.30263E-06    .37811E-03
   8  norm          23.871        7.4950        .15602E-07    .17388E-02
   9  Prefactor     .81218E-05    80.869       -.93536E-06** at limit **
  10  Prefactor     .11102E-09    6.4515       -.18370E-07** at limit **
  11  norm          12.934        10.280       -.17515E-07   -.26650E-02
  12  Prefactor     .38858E-09    13.836        .12353E-06** at limit **
  13  Prefactor     .17486E-06    81.562       -.22694E-06** at limit **
  14  norm          9.4376        6.0794        .14357E-07   -.45231E-03
  15  norm          .97466        .42902       -.10590E-07    .36893E-03
  16  Prefactor     88.238        17.086       -.11875E-08    .29851E-01
  17  Prefactor     7.1736        10.545       -.33035E-06   -.77657E-02
  18  Prefactor     .23174E-05    110.54        .10852E-05** at limit **
  19  Prefactor      .0000        7.1334        .74676E-07** at limit **
  20  Prefactor      .0000        1.3539       -.14934E-07** at limit **
  21  Prefactor     .64670E-07    36.477        .16481E-06** at limit **
  22  Prefactor     18.298        6.2695        .12090E-06   -.70616E-01
  23  Prefactor     55.414        5.2709       -.47900E-07    .57375E-01
  24  Normalizat    .71443        .22056        .32313E-05   -.70954E-05
  25  Prefactor     .94102        .14706       -.90131E-06   -.98423E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65974e-08
  norm       = 1.24724
  Prefactor  = 82.1323
  Prefactor  = 1.33227e-09
  Prefactor  = 61.2893
  norm       = 0.514551
  Prefactor  = 0.792179
  norm       = 23.8711
  Prefactor  = 8.12184e-06
  Prefactor  = 1.11022e-10
  norm       = 12.9339
  Prefactor  = 3.88578e-10
  Prefactor  = 1.7486e-07
  norm       = 9.43759
  norm       = 0.974656
  Prefactor  = 88.2376
  Prefactor  = 7.17364
  Prefactor  = 2.31742e-06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.46705e-08
  Prefactor  = 18.2983
  Prefactor  = 55.4139
  Normalizat = 0.714428
  Prefactor  = 0.941023
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.023     FROM HESSE     STATUS=OK           481 CALLS     2641 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86597E-07    24.898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2472        1.2684        .10021E-02   -1.5686    
   3  Prefactor     82.132        37.705        .11056E-03   -1.5527    
   4  Prefactor     .13323E-08    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     61.289        38.887        .12844E-03   -1.5551    
   6  norm          .51455        12.269        .84689E-02   -1.5694    
   7  Prefactor     .79218        5.6527        .53591E-03   -1.5690    
   8  norm          23.871        7.7286        .20422E-03   -1.5610    
   9  Prefactor     .81218E-05    101.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    6.4570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.934        10.326        .28037E-03   -1.5636    
  12  Prefactor     .38858E-09    13.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17486E-06    81.594        .16594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.4376        6.1111        .32611E-03   -1.5647    
  15  norm          .97466        .42911        .42862E-04   -1.5688    
  16  Prefactor     88.238        49.250        .10764E-03   -1.5520    
  17  Prefactor     7.1736        11.028        .36616E-03   -1.5654    
  18  Prefactor     .23174E-05    119.81        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        7.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.3499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .64670E-07    36.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.298        24.658        .23005E-03   -1.5622    
  23  Prefactor     55.414        34.644        .13411E-03   -1.5559    
  24  Normalizat    .71443        .20934        .72281E-01   -1.0333    
  25  Prefactor     .94102        .13367        .45532E-01   -.94722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96104e-07
Minuit parameter uncertainties:
  1  0.0029366
  2  1.26843
  3  37.7056
  4  0.000297555
  5  38.8872
  6  5.02513
  7  4.23223
  8  7.72858
  9  0.0574773
  10  5.12212e-05
  11  10.3262
  12  0.000144483
  13  0.00755469
  14  6.11114
  15  0.429111
  16  49.2501
  17  11.0281
  18  0.0333269
  19  2.57589e-05
  20  5.60015e-07
  21  0.0030915
  22  24.6577
  23  34.6445
  24  0.209574
  25  0.133718
Done.

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

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  1.110e-10  5.122e-05  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:  9.410e-01  1.337e-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:  7.144e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 325.793 -39.488
Photon Flux Upper Limit: 7.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/501820/likelihoodResults_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.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) = 5082.09877431
delta logL = -0.0759664117468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5082.02280798
delta logL = -8.28877091408e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45941E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0466       1.0000          .0000       10.000    
     3 'Normalizat'    .71439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94104       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=   5082.023     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      234 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .25933E-01    .42118E-03** at limit **
   2  Index         2.5209        5.7977        .40110        .85030E-10
   3  Normalizat    .71443        .37403E-03    .72281E-01    .11353E-03
   4  Prefactor     .94102        .25911E-03    .45526E-01    .13576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.52088
  Normalizat = 0.714428
  Prefactor  = 0.941023
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.023     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .84E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .88810E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5209        8.2178        .50000       -.51878    
   3  Normalizat    .71443        .68902E-03    .31992E-03   -1.0333    
   4  Prefactor     .94102        .47817E-03    .19414E-03   -.94722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.40878e-13
Minuit parameter uncertainties:
  1  8.46022e-06
  2  4440.8
  3  0.000689019
  4  0.000478167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/501820': 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) = 5082.0228079
delta logL = -2.18278728426e-11

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  2.220e-10  8.460e-06  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.521e+00  4.441e+03  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:  9.410e-01  4.782e-04  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:  7.144e-01  6.890e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 325.793 -39.488

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/501820/cmap_HighResolution_698112001_698371201_4FGL_J2143.1-3929_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2023-02-18 02:05:12.318545', job_id='501820', GAL2='0.94', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1676714712.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-2.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1770' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:05:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 501820: <4FGL_J2143.1-3929_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1770> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Feb 18 01:55:11 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:55:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:55:12 2023
Terminated at Sat Feb 18 02:05:13 2023
Results reported at Sat Feb 18 02:05:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1770 325.793 -39.4882 698112001 698371201 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 :                                   579.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            602 sec.

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

