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


Performing analysis on: 4FGL_J2143.1-3929_daily_bin1778
RA = 325.793, Dec = -39.4882
tmin = 700185601, tmax = 700444801
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='979906', job_status='RUN', time_executed='2023-03-14 02:12:20.365645', time_epoch_executed='1678785140.37' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/979906

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/979906/ft1_4FGL_J2143.1-3929_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/979906/ft1_4FGL_J2143.1-3929_daily_bin1778.fits outfile=/scratch/kocevski/979906/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1778.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=700185601.0 tmax=700444801.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.95
user 3.70
sys 0.23

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

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

Number of photons that the gtmktime cut: 642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/979906/ltcube_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.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/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits
.....................!
real 12.14
user 11.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/979906/ltcube_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.fits outfile=/scratch/kocevski/979906/expmap_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.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/979906/ltcube_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.fits
.....................!
real 191.71
user 185.98
sys 5.40

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/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits scfile=/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits outfile=/scratch/kocevski/979906/cmap_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.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/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits scfile=/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits outfile=/scratch/kocevski/979906/cmap_HighResolution_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/979906/ft2_4FGL_J2143.1-3929_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/979906/Model_4FGL_J2143.1-3929_daily_bin1778.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/979906/ft1_filtered_4FGL_J2143.1-3929_daily_bin1778.fits.....................!
real 54.18
user 52.84
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20859E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .67494E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.072       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6127       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22704E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .12717E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .87796E-06   1.0000          .0000       .10000E+07
     8 'norm      '    7.7147       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1750       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40511E-02   1.0000          .0000       .10000E+07
    11 'norm      '    4.5192       1.0000          .0000       .10000E+07
    12 'Prefactor '    19.446       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.425       1.0000          .0000       .10000E+07
    14 'norm      '    .83600E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .64537       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15689E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40337E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .13530E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33549E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .57142       1.0000          .0000       .10000E+07
    21 'Prefactor '    60.990       1.0000          .0000       .10000E+07
    22 'Prefactor '    18.701       1.0000          .0000       .10000E+07
    23 'Prefactor '    12.203       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0001       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2327       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=   6890.637     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2120 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27363E-05    25.524       -.40308E-05** at limit **
   2  norm           .0000        2.8127       -.23281E-06** at limit **
   3  Prefactor     12.779        8.6407        .11218E-05    .82030E-02
   4  Prefactor     6.6396        7.7982       -.50602E-06    .54066E-03
   5  Prefactor     .38325E-05    21.934       -.47314E-06** at limit **
   6  norm           .0000        4.7408       -.81267E-06** at limit **
   7  Prefactor      .0000        .99909        .27691E-06** at limit **
   8  norm          7.6446        5.1668       -.19159E-06    .25561E-02
   9  Prefactor     3.1959        9.2482       -.38412E-07   -.40167E-02
  10  Prefactor      .0000        7.1050        .10473E-05** at limit **
  11  norm          4.5543        9.6604        .86299E-06    .78432E-02
  12  Prefactor     17.926        18.031        .18630E-05    .77290E-01
  13  Prefactor     23.328        63.550       -.29645E-05   -.12530E-01
  14  norm          .55511E-10    1.5796       -.49692E-06** at limit **
  15  norm          .64369        .32440       -.89968E-08   -.17848E-02
  16  Prefactor     .25077E-05    21.999        .39110E-05** at limit **
  17  Prefactor     .19984E-07    4.2091        .17241E-05** at limit **
  18  Prefactor     .56322E-06    29.554        .13129E-05** at limit **
  19  Prefactor     .18874E-07    4.2019       -.20724E-05** at limit **
  20  Prefactor     .58104        1.8759       -.45015E-06    .10029E-02
  21  Prefactor     58.673        19.218        .16866E-05   -.21310    
  22  Prefactor     18.786        11.251        .91677E-06    .51083E-01
  23  Prefactor     12.742        2.8939       -.36479E-06    .13270E-01
  24  Normalizat    .99753        .23486        .30004E-05    .10459E-03
  25  Prefactor     1.2330        .15504       -.52518E-05    .16107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.73631e-06
  norm       = 0
  Prefactor  = 12.7787
  Prefactor  = 6.63956
  Prefactor  = 3.83249e-06
  norm       = 0
  Prefactor  = 0
  norm       = 7.64462
  Prefactor  = 3.19585
  Prefactor  = 0
  norm       = 4.55434
  Prefactor  = 17.9259
  Prefactor  = 23.3278
  norm       = 5.55112e-11
  norm       = 0.643695
  Prefactor  = 2.50766e-06
  Prefactor  = 1.9984e-08
  Prefactor  = 5.63216e-07
  Prefactor  = 1.88738e-08
  Prefactor  = 0.581037
  Prefactor  = 58.6735
  Prefactor  = 18.7856
  Prefactor  = 12.7422
  Normalizat = 0.997527
  Prefactor  = 1.23304
 **********
 **   18 **HESSE 
 **********

 FCN=   6890.637     FROM HESSE     STATUS=OK           475 CALLS     2595 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27363E-05    44.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.7682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.779        27.407        .28807E-03   -1.5636    
   4  Prefactor     6.6396        7.8110        .39000E-03   -1.5656    
   5  Prefactor     .38325E-05    26.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.7388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.0007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.6446        5.1876        .36079E-03   -1.5653    
   9  Prefactor     3.1959        9.2828        .56850E-03   -1.5672    
  10  Prefactor      .0000        7.0973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.5543        9.6938        .47335E-03   -1.5665    
  12  Prefactor     17.926        22.319        .22685E-03   -1.5623    
  13  Prefactor     23.328        65.347        .26346E-03   -1.5611    
  14  norm          .55511E-10    1.5737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .64369        .32501        .65259E-03   -1.5692    
  16  Prefactor     .25077E-05    24.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .19984E-07    4.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .56322E-06    46.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-07    4.2077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .58104        1.9125        .71828E-03   -1.5693    
  21  Prefactor     58.673        50.940        .12806E-03   -1.5555    
  22  Prefactor     18.786        20.214        .23133E-03   -1.5621    
  23  Prefactor     12.742        28.896        .28650E-03   -1.5637    
  24  Normalizat    .99753        .21179        .71853E-01   -.93113    
  25  Prefactor     1.2330        .13826        .33900E-01   -.85320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79543e-06
Minuit parameter uncertainties:
  1  0.0219519
  2  1.48749e-06
  3  27.4076
  4  7.81103
  5  0.020175
  6  3.48054e-06
  7  2.42937e-06
  8  5.1876
  9  9.28288
  10  2.46999e-05
  11  9.69387
  12  22.3195
  13  65.3492
  14  1.856e-05
  15  0.325007
  16  0.0156671
  17  0.000580502
  18  0.0102801
  19  0.000563973
  20  1.91251
  21  50.9399
  22  20.2146
  23  28.896
  24  0.211968
  25  0.138297
Done.

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

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  2.470e-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:  1.233e+00  1.383e-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.975e-01  2.120e-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.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/979906/likelihoodResults_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.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) = 6890.70781638
delta logL = -0.0705652842325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6889.82797692
delta logL = 0.809274181845

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19518       1.0000          .0000       .10000E+07
     2 'Index     '    4.1181       1.0000          .0000       10.000    
     3 'Normalizat'    .91582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2620       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=   6889.828     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      243 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19377        2.6044        .68528E-03** at limit **
   2  Index         4.1212        2.2391        .90554E-01    .71753E-04
   3  Normalizat    .91553        .47555E-01    .74580E-01   -.79939E-04
   4  Prefactor     1.2621        .32700E-01    .33307E-01   -.14942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.19377
  Index      = 4.12123
  Normalizat = 0.915533
  Prefactor  = 1.26213
 **********
 **   18 **HESSE 
 **********

 FCN=   6889.828     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19377        7.1176        .31401E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1212        4.0857        .45941E-02   -.17667    
   3  Normalizat    .91553        .17812        .33004E-03   -.95916    
   4  Prefactor     1.2621        .12060        .19636E-03   -.84440    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.14113e-10
Minuit parameter uncertainties:
  1  2.34876
  2  4.81993
  3  0.178236
  4  0.120623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/979906': 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) = 6889.82797345
delta logL = 0.80927764332

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  1.938e-01  2.349e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  4.121e+00  4.820e+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.262e+00  1.206e-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.155e-01  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 325.793 -39.488
Photon Index (Free Index): 4.12 +/- 4.82
Photon Flux (Free Index): 6.99e-08 +/- 5.83e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/979906/cmap_HighResolution_700185601_700444801_4FGL_J2143.1-3929_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='8.09e-01', photon_flux2='6.99e-08', job_status='DONE', time_completed='2023-03-14 02:23:02.516023', photon_index_error2='4.82', photon_index2='4.12', ts='0.00', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='7.13e-08', energy_flux_error2='1.16e-05', EG='1.00', time_epoch_completed='1678785782.52', return_code='0', job_id='979906', GAL2='1.26', EG2='0.92', return_code2='102', photon_flux_error2='5.83e-08', ts2='1.72', photon_index='2.14' WHERE bin_id='1778' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:23:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 979906: <4FGL_J2143.1-3929_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 02:10:16 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:10:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:10:16 2023
Terminated at Tue Mar 14 02:23:03 2023
Results reported at Tue Mar 14 02:23:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1778 325.793 -39.4882 700185601 700444801 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 :                                   644.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            767 sec.

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

