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 176 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2143.1-3929_daily_bin1700
RA = 325.793, Dec = -39.4882
tmin = 679968001, tmax = 680227201
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='83316', job_status='RUN', time_executed='2022-07-23 00:38:43.192262', time_epoch_executed='1658561923.19' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83316/ft1_4FGL_J2143.1-3929_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83316/ft1_4FGL_J2143.1-3929_daily_bin1700.fits outfile=/scratch/kocevski/83316/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1700.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=679968001.0 tmax=680227201.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.57
user 4.31
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83316/ltcube_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.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/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits
.....................!
real 17.63
user 17.14
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83316/ltcube_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits outfile=/scratch/kocevski/83316/expmap_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.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/83316/ltcube_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits
.....................!
real 191.48
user 185.23
sys 5.36

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/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits scfile=/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits outfile=/scratch/kocevski/83316/cmap_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.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.78
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits scfile=/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits outfile=/scratch/kocevski/83316/cmap_HighResolution_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.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.65
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83316/Model_4FGL_J2143.1-3929_daily_bin1700.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/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits.....................!
real 49.53
user 47.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits', '/scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits', expMap='/scratch/kocevski/83316/expmap_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits', expCube='/scratch/kocevski/83316/ltcube_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83316/Model_4FGL_J2143.1-3929_daily_bin1700.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  1.000e-04  1.000e+04 ( 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/83316/ft1_filtered_4FGL_J2143.1-3929_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83316/ft2_4FGL_J2143.1-3929_daily_bin1700.fits
Exposure map: /scratch/kocevski/83316/expmap_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83316/ltcube_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83316/Model_4FGL_J2143.1-3929_daily_bin1700.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) = 6160.3022537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.073       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1935       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .82774       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3866       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0904       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5027       1.0000         .10000E-03   10000.    
    11 'norm      '    7.1057       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .75650       1.0000         .10000E-03   10000.    
    15 'norm      '    .36813       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.526       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.822       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5408       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71623       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0986       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6160.243     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2546 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.071        54.784       -.35561E-05   -.13397E-04
   2  norm          1.1935        1.5715        .10876E-06   -.99200E-04
   3  Prefactor     18.569        17.278        .11251E-06    .51161E-05
   4  Prefactor     .82486        4.1408        .32606E-07   -.68625E-04
   5  Prefactor     .10000E-03    15.736       -.77497E-06** at limit **
   6  norm          .10000E-03    4.9761        .29297E-06** at limit **
   7  Prefactor     1.3867        2.7086        .16062E-06   -.10629E-03
   8  norm          2.0901        2.9035       -.10316E-06   -.69513E-04
   9  Prefactor     5.6845        6.3059        .47985E-06   -.10460E-02
  10  Prefactor     3.5027        8.5267       -.21881E-06   -.57985E-04
  11  norm          7.1048        8.4423        .25165E-06   -.67352E-03
  12  Prefactor     .10000E-03    10.485       -.23959E-06** at limit **
  13  Prefactor     .10000E-03    48.888       -.25082E-06** at limit **
  14  norm          .75683        2.9693       -.31234E-06   -.83596E-04
  15  norm          .36813        .25427        .17368E-07    .34007E-03
  16  Prefactor     .10000E-03    23.323        .12489E-06** at limit **
  17  Prefactor     16.526        9.8817        .10424E-06    .81945E-05
  18  Prefactor     .10000E-03    91.727       -.11321E-05** at limit **
  19  Prefactor     .10000E-03    3.4347       -.23160E-06** at limit **
  20  Prefactor     11.822        5.2105       -.71537E-06   -.20543E-03
  21  Prefactor     7.5497        69.109        .13788E-04    .34484E-04
  22  Prefactor     .10000E-03    5.1862       -.80540E-07** at limit **
  23  Prefactor     .10000E-03    8.9591        .39982E-06** at limit **
  24  Normalizat    .71618        .18527       -.19350E-06    .44478E-04
  25  Prefactor     1.0986        .12542        .48355E-07    .59345E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0707
  norm       = 1.1935
  Prefactor  = 18.5689
  Prefactor  = 0.824858
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.38671
  norm       = 2.0901
  Prefactor  = 5.68445
  Prefactor  = 3.50269
  norm       = 7.10485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.756831
  norm       = 0.368129
  Prefactor  = 0.0001
  Prefactor  = 16.5262
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8218
  Prefactor  = 7.5497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.716181
  Prefactor  = 1.09863
 **********
 **   18 **HESSE 
 **********

 FCN=   6160.243     FROM HESSE     STATUS=OK           435 CALLS     2981 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.071        55.090        .12625E-03   -1.5073    
   2  norm          1.1935        1.5413        .10924E-03   -1.5489    
   3  Prefactor     18.569        17.296        .92942E-04   -1.4846    
   4  Prefactor     .82486        18.583        .29451E-02   -1.5526    
   5  Prefactor     .10000E-03    15.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.9784        .17101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3867        2.6701        .17480E-03   -1.5472    
   8  norm          2.0901        2.8864        .15249E-03   -1.5419    
   9  Prefactor     5.6845        8.9595        .84235E-03   -1.5231    
  10  Prefactor     3.5027        8.5808        .21603E-03   -1.5334    
  11  norm          7.1048        8.9377        .75243E-03   -1.5175    
  12  Prefactor     .10000E-03    10.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    48.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .75683        4.8656        .23910E-02   -1.5534    
  15  norm          .36813        .24874        .31100E-04   -1.5587    
  16  Prefactor     .10000E-03    23.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.526        9.8928        .98522E-04   -1.4895    
  18  Prefactor     .10000E-03    91.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4558        .14202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.822        5.2760        .11108E-03   -1.5020    
  21  Prefactor     7.5497        69.552        .14604E-03   -1.5158    
  22  Prefactor     .10000E-03    5.1881        .17457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    8.9658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .71618        .21289        .30859E-03   -1.0326    
  25  Prefactor     1.0986        .14202        .18235E-03   -.89511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92828e-08
Minuit parameter uncertainties:
  1  47.1751
  2  1.54137
  3  17.3004
  4  7.83248
  5  1.89376e-05
  6  4.95882e-06
  7  2.67032
  8  2.88662
  9  8.96158
  10  8.58378
  11  8.93934
  12  5.13886e-07
  13  9.4888e-06
  14  3.83815
  15  0.248736
  16  4.90531e-06
  17  9.89381
  18  8.85263e-05
  19  3.99294e-06
  20  5.2762
  21  45.9003
  22  2.31361e-06
  23  8.92602e-06
  24  0.213133
  25  0.142067
Done.

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

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  3.503e+00  8.584e+00  1.000e-04  1.000e+04 ( 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.099e+00  1.421e-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.162e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/83316/likelihoodResults_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.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) = 6160.22850836
delta logL = 0.0141117203157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6160.22055703
delta logL = 0.0220630562917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7796       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7933       1.0000          .0000       10.000    
     3 'Normalizat'    .72110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0963       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6160.221     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      287 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7706        10.592        .92015E-03    .11505E-03
   2  Index         1.7910        1.3778        .14674E-01   -.21538E-06
   3  Normalizat    .72118        .19306        .30760E-03   -.11125E-04
   4  Prefactor     1.0964        .13933        .18251E-03   -.13517E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77057
  Index      = 1.79096
  Normalizat = 0.721177
  Prefactor  = 1.09635
 **********
 **   18 **HESSE 
 **********

 FCN=   6160.221     FROM HESSE     STATUS=OK            27 CALLS      314 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7706        10.437        .18403E-03   -1.5271    
   2  Index         1.7910        1.3594        .58696E-03   -.69685    
   3  Normalizat    .72118        .19305        .12304E-04   -1.0306    
   4  Prefactor     1.0964        .13938        .73005E-05   -.89583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78544e-13
Minuit parameter uncertainties:
  1  10.4406
  2  1.38957
  3  0.193237
  4  0.139423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83316': 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) = 6160.22055475
delta logL = 0.022065337509

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  4.771e+00  1.044e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  1.791e+00  1.390e+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.096e+00  1.394e-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.212e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/83316/cmap_HighResolution_679968001_680227201_4FGL_J2143.1-3929_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.71e-08', time_completed='2022-07-23 00:49:57.305780', job_id='83316', GAL2='1.10', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1658562597.31', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.21e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1700' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:49:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 83316: <4FGL_J2143.1-3929_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:38 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:39 2022
Terminated at Sat Jul 23 00:49:58 2022
Results reported at Sat Jul 23 00:49:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1700 325.793 -39.4882 679968001 680227201 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 :                                   674.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

