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


Performing analysis on: 4FGL_J2143.1-3929_daily_bin1715
RA = 325.793, Dec = -39.4882
tmin = 683856001, tmax = 684115201
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='235980', job_status='RUN', time_executed='2022-09-16 23:28:53.174838', time_epoch_executed='1663396133.17' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/235980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/235980/ft1_4FGL_J2143.1-3929_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/235980/ft1_4FGL_J2143.1-3929_daily_bin1715.fits outfile=/scratch/kocevski/235980/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin1715.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=683856001.0 tmax=684115201.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.52
user 3.23
sys 0.23

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

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

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/235980/ltcube_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.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/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits
.....................!
real 15.48
user 15.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/235980/ltcube_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.fits outfile=/scratch/kocevski/235980/expmap_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.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/235980/ltcube_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.fits
.....................!
real 191.42
user 185.52
sys 5.26

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/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits scfile=/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits outfile=/scratch/kocevski/235980/cmap_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits scfile=/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits outfile=/scratch/kocevski/235980/cmap_HighResolution_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/235980/ft2_4FGL_J2143.1-3929_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/235980/Model_4FGL_J2143.1-3929_daily_bin1715.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/235980/ft1_filtered_4FGL_J2143.1-3929_daily_bin1715.fits.....................!
real 49.10
user 47.74
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11454       1.0000          .0000       .10000E+07
     2 'norm      '    .67685       1.0000          .0000       .10000E+07
     3 'Prefactor '    37.997       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1352       1.0000          .0000       .10000E+07
     5 'Prefactor '    .35378       1.0000          .0000       .10000E+07
     6 'norm      '    .58849E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26784E-06   1.0000          .0000       .10000E+07
     8 'norm      '    7.3645       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4537       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7124       1.0000          .0000       .10000E+07
    11 'norm      '    .86170E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11465E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19608       1.0000          .0000       .10000E+07
    14 'norm      '    13.582       1.0000          .0000       .10000E+07
    15 'norm      '    1.1614       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16960E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8733       1.0000          .0000       .10000E+07
    18 'Prefactor '    133.73       1.0000          .0000       .10000E+07
    19 'Prefactor '    12.671       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.4970       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.9866       1.0000          .0000       .10000E+07
    22 'Prefactor '    23.936       1.0000          .0000       .10000E+07
    23 'Prefactor '    .12530E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .73580       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1124       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=   6223.100     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2134 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79970E-05    2.4731       -.50392E-06** at limit **
   2  norm          .67962        1.7890        .11542E-06    .87803E-03
   3  Prefactor     38.537        33.482       -.30676E-06    .13023E-01
   4  Prefactor     3.1053        6.5385       -.17043E-07    .77132E-03
   5  Prefactor     .40508E-03    5263.0       -.40394E-04** at limit **
   6  norm          .38858E-09    6.5683        .49517E-07** at limit **
   7  Prefactor      .0000        1.4258       -.56293E-08** at limit **
   8  norm          7.3723        4.9869       -.28508E-07    .54309E-02
   9  Prefactor     4.4742        6.3765        .65705E-07   -.21397E-03
  10  Prefactor     1.7326        7.6007       -.42026E-06   -.16377E-04
  11  norm          .49960E-09    7.1549        .32446E-08** at limit **
  12  Prefactor     .55511E-10    10.398        .18517E-06** at limit **
  13  Prefactor     .33307E-09    43.431       -.28274E-06** at limit **
  14  norm          13.627        6.5487       -.11336E-07   -.14839E-02
  15  norm          1.1604        .43714        .10042E-08   -.19749E-02
  16  Prefactor     .38858E-09    18.180       -.14454E-06** at limit **
  17  Prefactor     2.8687        6.9434        .52108E-08    .20348E-03
  18  Prefactor     133.92        34.981        .86391E-06   -.12733    
  19  Prefactor     12.785        9.8134        .13704E-06    .21813E-02
  20  Prefactor     2.4989        2.8070       -.15914E-06   -.68464E-03
  21  Prefactor     3.0572        6.8892       -.93231E-06   -.41051E-01
  22  Prefactor     23.966        2.2523       -.73741E-07   -.45427E-01
  23  Prefactor     .10214E-07    15.098        .28765E-07** at limit **
  24  Normalizat    .73504        .22368       -.20341E-05    .11594E-03
  25  Prefactor     1.1125        .15123       -.18941E-07    .20829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.99699e-06
  norm       = 0.679622
  Prefactor  = 38.5365
  Prefactor  = 3.1053
  Prefactor  = 0.000405081
  norm       = 3.88578e-10
  Prefactor  = 0
  norm       = 7.37234
  Prefactor  = 4.47422
  Prefactor  = 1.73261
  norm       = 4.996e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  norm       = 13.6266
  norm       = 1.16038
  Prefactor  = 3.88578e-10
  Prefactor  = 2.86869
  Prefactor  = 133.924
  Prefactor  = 12.7847
  Prefactor  = 2.49885
  Prefactor  = 3.05723
  Prefactor  = 23.9659
  Prefactor  = 1.02141e-08
  Normalizat = 0.735039
  Prefactor  = 1.11252
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.100     FROM HESSE     STATUS=OK           487 CALLS     2621 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79970E-05    174.27        .13554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .67962        1.8009        .62607E-03   -1.5691    
   3  Prefactor     38.537        34.017        .16224E-03   -1.5584    
   4  Prefactor     3.1053        6.5772        .57228E-03   -1.5673    
   5  Prefactor     .40508E-03    17.328        .11679E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .38858E-09    6.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.4247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3723        4.9913        .36935E-03   -1.5654    
   9  Prefactor     4.4742        6.4243        .47691E-03   -1.5666    
  10  Prefactor     1.7326        7.7269        .80291E-03   -1.5682    
  11  norm          .49960E-09    7.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    10.424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-09    43.504        .11846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.627        6.5520        .27153E-03   -1.5634    
  15  norm          1.1604        .43555        .67471E-03   -1.5686    
  16  Prefactor     .38858E-09    18.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8687        7.3713        .59938E-03   -1.5674    
  18  Prefactor     133.92        132.45        .86479E-04   -1.5477    
  19  Prefactor     12.785        9.9327        .28115E-03   -1.5636    
  20  Prefactor     2.4989        2.8228        .64651E-03   -1.5676    
  21  Prefactor     3.0572        57.173        .58718E-03   -1.5673    
  22  Prefactor     23.966        21.090        .20444E-03   -1.5610    
  23  Prefactor     .10214E-07    15.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .73504        .20228        .74323E-01   -1.0253    
  25  Prefactor     1.1125        .13423        .37133E-01   -.89067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18736e-06
Minuit parameter uncertainties:
  1  0.0746648
  2  1.80087
  3  34.0167
  4  6.57725
  5  0.167562
  6  0.000103202
  7  2.11456e-06
  8  4.99133
  9  6.42427
  10  7.31783
  11  0.000120785
  12  5.17899e-05
  13  0.000242939
  14  6.55202
  15  0.435551
  16  0.000168928
  17  7.3713
  18  132.458
  19  9.93271
  20  2.82284
  21  26.4419
  22  21.0897
  23  0.00078604
  24  0.20249
  25  0.13427
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.113e+00  1.343e-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.350e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/235980/likelihoodResults_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.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) = 6223.06342925
delta logL = 0.036146878605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6223.03675596
delta logL = 0.0628201687423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8941       1.0000          .0000       .10000E+07
     2 'Index     '    1.7452       1.0000          .0000       10.000    
     3 'Normalizat'    .73798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1096       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6223.037     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      245 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8948        10.020        .20442E-04   -.66903E-02
   2  Index         1.7439        .94286        .12696E-01   -.18114E-03
   3  Normalizat    .73838        .20696        .32829E-03    .32653E-03
   4  Prefactor     1.1093        .14662        .19127E-03    .27401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89483
  Index      = 1.74391
  Normalizat = 0.738382
  Prefactor  = 1.10925
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.037     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8948        9.9065        .81770E-06   -1.5668    
   2  Index         1.7439        .93300        .50785E-03   -.70919    
   3  Normalizat    .73838        .20706        .13132E-04   -1.0240    
   4  Prefactor     1.1093        .14669        .38253E-04   -.89171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26572e-09
Minuit parameter uncertainties:
  1  9.90651
  2  0.942664
  3  0.207276
  4  0.146747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/235980': 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) = 6223.03675116
delta logL = 0.0628249648844

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  3.895e+00  9.907e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  1.744e+00  9.427e-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:  1.109e+00  1.467e-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.384e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/235980/cmap_HighResolution_683856001_684115201_4FGL_J2143.1-3929_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2022-09-16 23:39:20.705470', job_id='235980', GAL2='1.11', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1663396760.71', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='6.28e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='1715' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:39:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 235980: <4FGL_J2143.1-3929_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2143.1-3929_daily_bin1715> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 23:25:23 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:25:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:25:59 2022
Terminated at Fri Sep 16 23:39:21 2022
Results reported at Fri Sep 16 23:39:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.1-3929_daily_bin1715 325.793 -39.4882 683856001 684115201 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 :                                   628.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            838 sec.

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

