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 172 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_J2143.1-3929_daily_bin1751
RA = 325.793, Dec = -39.4882
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='87759', job_status='RUN', time_executed='2022-12-23 01:23:16.810682', time_epoch_executed='1671787396.81' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87759

Creating custom pfile directory:
/scratch/kocevski/87759/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/87759/ft1_4FGL_J2143.1-3929_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/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87759/ft1_4FGL_J2143.1-3929_daily_bin1751.fits outfile=/scratch/kocevski/87759/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1751.fits ra=325.793 dec=-39.4882 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.67
user 3.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/87759/ltcube_693187201_693446401_4FGL_J2143.1-3929_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/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits
.....................!
real 12.15
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/87759/ltcube_693187201_693446401_4FGL_J2143.1-3929_daily_bin1751.fits outfile=/scratch/kocevski/87759/expmap_693187201_693446401_4FGL_J2143.1-3929_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/87759/ltcube_693187201_693446401_4FGL_J2143.1-3929_daily_bin1751.fits
.....................!
real 192.13
user 185.45
sys 6.23

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/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits scfile=/scratch/kocevski/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits outfile=/scratch/kocevski/87759/cmap_693187201_693446401_4FGL_J2143.1-3929_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=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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits scfile=/scratch/kocevski/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits outfile=/scratch/kocevski/87759/cmap_HighResolution_693187201_693446401_4FGL_J2143.1-3929_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=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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/87759/ft2_4FGL_J2143.1-3929_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87759/Model_4FGL_J2143.1-3929_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/87759/ft1_filtered_4FGL_J2143.1-3929_daily_bin1751.fits.....................!
real 53.54
user 52.18
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1573       1.0000          .0000       .10000E+07
     2 'norm      '    .34617       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.757       1.0000          .0000       .10000E+07
     4 'Prefactor '    .81461       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93967E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .60850E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .77888E-06   1.0000          .0000       .10000E+07
     8 'norm      '    3.3896       1.0000          .0000       .10000E+07
     9 'Prefactor '    .86963E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.3002       1.0000          .0000       .10000E+07
    11 'norm      '    7.1940       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32308E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .68306E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .10609E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .52177       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.4584       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84175E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .36710E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .87055E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .63851E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.8227       1.0000          .0000       .10000E+07
    22 'Prefactor '    40.361       1.0000          .0000       .10000E+07
    23 'Prefactor '    4.6637       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1338       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93587       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=   6784.413     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1717 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9364        60.504       -.83979E-05   -.17354E-01
   2  norm          .34563        .87690        .35598E-06   -.36327E-02
   3  Prefactor     13.308        11.122       -.14690E-05    .25050E-01
   4  Prefactor     .78791        11.497       -.92566E-06    .20822E-02
   5  Prefactor     .40059E-05    38.524       -.15190E-05** at limit **
   6  norm          .84932E-08    12.955       -.10850E-05** at limit **
   7  Prefactor      .0000        2.6266        .24546E-06** at limit **
   8  norm          3.3984        3.3657       -.85701E-07    .27868E-02
   9  Prefactor      .0000        5.2054       -.67180E-06** at limit **
  10  Prefactor     4.3464        9.1076        .54771E-06   -.74827E-03
  11  norm          7.2177        5.7535       -.33497E-07    .83357E-03
  12  Prefactor     .10547E-08    9.8170       -.19857E-05** at limit **
  13  Prefactor     .90783E-06    36.971        .29964E-06** at limit **
  14  norm          .11102E-09    4.6549       -.88207E-06** at limit **
  15  norm          .52228        .27258       -.87548E-07    .10516E-01
  16  Prefactor     6.5632        4.4982       -.52075E-06   -.33221E-02
  17  Prefactor     .20868E-04    19.796       -.40191E-05** at limit **
  18  Prefactor     .15173E-04    36.122        .45636E-05** at limit **
  19  Prefactor     .55511E-09    2.9268       -.10840E-05** at limit **
  20  Prefactor     .47384E-01    25.771       -.44909E-05** at limit **
  21  Prefactor     7.6239        6.5166       -.14383E-06    .43870E-01
  22  Prefactor     41.111        21.354       -.17509E-05   -.23772E-01
  23  Prefactor     4.5897        17.420       -.44045E-05   -.10387E-01
  24  Normalizat    1.1328        .20843        .17837E-04   -.20864E-03
  25  Prefactor     .93505        .14060       -.73724E-05   -.43996E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.93644
  norm       = 0.345632
  Prefactor  = 13.3079
  Prefactor  = 0.787909
  Prefactor  = 4.00585e-06
  norm       = 8.49321e-09
  Prefactor  = 0
  norm       = 3.39841
  Prefactor  = 0
  Prefactor  = 4.34636
  norm       = 7.21774
  Prefactor  = 1.05471e-09
  Prefactor  = 9.07829e-07
  norm       = 1.11022e-10
  norm       = 0.522277
  Prefactor  = 6.56318
  Prefactor  = 2.08677e-05
  Prefactor  = 1.51728e-05
  Prefactor  = 5.55112e-10
  Prefactor  = 0.0473836
  Prefactor  = 7.62394
  Prefactor  = 41.1109
  Prefactor  = 4.5897
  Normalizat = 1.13281
  Prefactor  = 0.935051
 **********
 **   18 **HESSE 
 **********

 FCN=   6784.413     FROM HESSE     STATUS=OK           489 CALLS     2206 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9364        91.896        .40435E-03   -1.5645    
   2  norm          .34563        .98032        .28777E-02   -1.5696    
   3  Prefactor     13.308        25.626        .28019E-03   -1.5635    
   4  Prefactor     .78791        11.472        .51852E-03   -1.5690    
   5  Prefactor     .40059E-05    47.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .84932E-08    13.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.6123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3984        3.3690        .54930E-03   -1.5671    
   9  Prefactor      .0000        5.2026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.3464        9.1033        .48557E-03   -1.5666    
  11  norm          7.2177        5.7557        .37374E-03   -1.5654    
  12  Prefactor     .10547E-08    9.8314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .90783E-06    70.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    4.6033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .52228        .27109        .68205E-03   -1.5694    
  16  Prefactor     6.5632        22.061        .39469E-03   -1.5657    
  17  Prefactor     .20868E-04    65.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .15173E-04    85.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-09    2.9188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .47384E-01    3.0230        .47600E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.6239        22.178        .35827E-03   -1.5653    
  22  Prefactor     41.111        24.450        .15742E-03   -1.5580    
  23  Prefactor     4.5897        18.247        .46577E-03   -1.5665    
  24  Normalizat    1.1328        .18281        .59891E-01   -.88705    
  25  Prefactor     .93505        .12228        .45461E-01   -.94927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98658e-07
Minuit parameter uncertainties:
  1  60.437
  2  0.980323
  3  25.6258
  4  6.01304
  5  0.0275405
  6  0.000665151
  7  2.47227e-06
  8  3.36897
  9  2.28108e-05
  10  9.10332
  11  5.75575
  12  0.000204316
  13  0.0160013
  14  4.59661e-05
  15  0.271087
  16  22.0616
  17  0.0738169
  18  0.071831
  19  7.84689e-05
  20  0.75694
  21  22.178
  22  24.4502
  23  18.2471
  24  0.182909
  25  0.12232
Done.

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

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  4.346e+00  9.103e+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:  9.351e-01  1.223e-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:  1.133e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/87759/likelihoodResults_693187201_693446401_4FGL_J2143.1-3929_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): 102
logL (Free Index) = 6783.75947608
delta logL = 0.653251983787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 6783.30303794
delta logL = 1.1096901223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32641E-07   1.0000          .0000       .10000E+07
     2 'Index     '    9.9973       1.0000          .0000       10.000    
     3 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97054       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6784.546     FROM MIGRAD    STATUS=CONVERGED    128 CALLS      820 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80107        .42118E-03** at limit **
   2  Index         .56854        .73111        .76686E-06     .0000    
   3  Normalizat    1.1443        1.2279       -.19741E-04   -.78558E-03
   4  Prefactor     .93569        1.2902        .24436E-04    .10047E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.568538
  Normalizat = 1.14429
  Prefactor  = 0.935689
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6784.546     FROM HESSE     STATUS=FAILED         9 CALLS      829 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80107        .42118E-03   -9501.7    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2629        1.4677        .76686E-06   -.24002E+07
   3  Normalizat    1.1443        1.2279       -.19741E-04   -384.16    
   4  Prefactor     .93569        1.2902        .24436E-04    41.790    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.59012e-10
Minuit parameter uncertainties:
  1  1.07016e-06
  2  0.743839
  3  1.26087
  4  1.33667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87759': 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): 101
logL (Free Index) = 6784.54569468
delta logL = -0.132966616944

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  1.070e-06  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  5.685e-01  7.438e-01  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.357e-01  1.337e+00  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:  1.144e+00  1.261e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/87759/cmap_HighResolution_693187201_693446401_4FGL_J2143.1-3929_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.32e-08', time_completed='2022-12-23 01:34:31.788601', job_id='87759', GAL2='0.94', fit_tolerance='1e-08', EG2='1.14', EG='1.13', time_epoch_completed='1671788071.79', return_code2='101', ts='0.27', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.33e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1751' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:34:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 87759: <4FGL_J2143.1-3929_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 01:20:14 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:20:16 2022
Terminated at Fri Dec 23 01:34:32 2022
Results reported at Fri Dec 23 01:34:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1751 325.793 -39.4882 693187201 693446401 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 :                                   677.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

