/sdf/group/fermi/u/kocevski/software/conda/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)

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).

/sdf/group/fermi/u/kocevski/software/conda/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 = 7691
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2143.1-3929_daily_bin2193
RA = 325.793, Dec = -39.4882
tmin = 807753601, tmax = 808012801
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='34662885', job_status='RUN', time_executed='2026-08-10 11:50:30.412436', time_epoch_executed='1786387830.41' WHERE source_name='4FGL J2143.1-3929' and cadence='daily' and bin_id='2193'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34662885

Creating custom pfile directory:
/lscratch/kocevski/34662885/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=807753601.0 && nMetStart<808012801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=807753601.0 && nMetStart<808012801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34662885/ft1_4FGL_J2143.1-3929_daily_bin2193.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=807753601.0 && nMetStart<808012801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34662885/ft1_4FGL_J2143.1-3929_daily_bin2193.fits outfile=/lscratch/kocevski/34662885/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin2193.fits ra=325.793 dec=-39.4882 rad=12.0 tmin=807753601.0 tmax=808012801.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 2.41
user 1.62
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/34662885/ft1_filteredMKT_4FGL_J2143.1-3929_daily_bin2193.fits evtable="EVENTS" outfile="/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.02
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 22

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34662885/ltcube_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.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 /lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits
.....................!
real 9.58
user 8.67
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34662885/ltcube_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits outfile=/lscratch/kocevski/34662885/expmap_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.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 /lscratch/kocevski/34662885/ltcube_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits
.....................!
real 74.57
user 69.22
sys 4.03

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=/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits outfile=/lscratch/kocevski/34662885/cmap_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.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 1.30
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits outfile=/lscratch/kocevski/34662885/cmap_HighResolution_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.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.87
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34662885/Model_4FGL_J2143.1-3929_daily_bin2193.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...
/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits......................!
real 8.47
user 6.49
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits', '/lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits', expMap='/lscratch/kocevski/34662885/expmap_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits', expCube='/lscratch/kocevski/34662885/ltcube_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34662885/Model_4FGL_J2143.1-3929_daily_bin2193.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): /lscratch/kocevski/34662885/ft1_filtered_4FGL_J2143.1-3929_daily_bin2193.fits
Spacecraft file(s): /lscratch/kocevski/34662885/ft2_4FGL_J2143.1-3929_daily_bin2193.fits
Exposure map: /lscratch/kocevski/34662885/expmap_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits
Exposure cube: /lscratch/kocevski/34662885/ltcube_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34662885/Model_4FGL_J2143.1-3929_daily_bin2193.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 280.530478316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 237.075932689

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.454       1.0000          .0000       .10000E+07
     2 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.7913       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11965       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1003       1.0000          .0000       .10000E+07
     6 'norm      '    1.4577       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.545       1.0000          .0000       .10000E+07
     8 'norm      '    .43160E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .29883E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .74611E-04   1.0000          .0000       .10000E+07
    11 'norm      '    618.00       1.0000          .0000       .10000E+07
    12 'Prefactor '    79.263       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.931       1.0000          .0000       .10000E+07
    14 'norm      '    .13513E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .28777E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26771E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.536       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.9554       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20274E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.7447       1.0000          .0000       .10000E+07
    21 'Prefactor '    .76202E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.2174       1.0000          .0000       .10000E+07
    23 'Prefactor '    102.16       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .51565       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=   237.0614     FROM MIGRAD    STATUS=CONVERGED    281 CALLS      887 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.488        .22984E+06    .29576E-03   -.69889E-04
   2  norm          .10000E+07    40393.        .10828E-02    .11733E-01
   3  Prefactor     6.7913        1.0027         .0000         .0000    
   4  Prefactor      .0000        .45084        .21186E-07** at limit **
   5  Prefactor     .12374E-04    .82851E-01   -.65169E-06** at limit **
   6  norm          1.4577        1.0760         .0000         .0000    
   7  Prefactor     14.434        .99678       -.10761E-06   -.21288E-02
   8  norm           .0000        .44347E-01    .89214E-08** at limit **
   9  Prefactor     .99537E-06    .44347E-01   -.18173E-06** at limit **
  10  Prefactor      .0000        .44347E-01   -.27099E-07** at limit **
  11  norm          617.03        .99922        .71440E-07   -.33063E-01
  12  Prefactor     .14811E-01    .13671E-01   -.67437E-06** at limit **
  13  Prefactor     .21237        .98430E-01    .42928E-06** at limit **
  14  norm          .73830E-07    .44347E-01    .21864E-07** at limit **
  15  norm           .0000        .44347E-01   -.52656E-09** at limit **
  16  Prefactor      .0000        .44347E-01    .52696E-08** at limit **
  17  Prefactor     15.845        1.0104       -.66957E-07   -.13534E-02
  18  Prefactor     .32976E-03    .42279E-01   -.26054E-05** at limit **
  19  Prefactor      .0000        .44347E-01    .47716E-07** at limit **
  20  Prefactor     9.6572        .99682       -.16567E-06   -.59418E-03
  21  Prefactor     .15654E-07    .44347E-01   -.21582E-07** at limit **
  22  Prefactor     .21761        .26335       -.16597E-04** at limit **
  23  Prefactor     102.43        1.0013        .58794E-06   -.47205E-01
  24  Normalizat    .10000E-01    .25505       -.13587E-06** at limit **
  25  Prefactor     .52051        .86278        .97950E-05    .27467E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.488
  norm       = 999999
  Prefactor  = 6.7913
  Prefactor  = 0
  Prefactor  = 1.2374e-05
  norm       = 1.45771
  Prefactor  = 14.4344
  norm       = 0
  Prefactor  = 9.9537e-07
  Prefactor  = 0
  norm       = 617.035
  Prefactor  = 0.0148114
  Prefactor  = 0.212365
  norm       = 7.38298e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 15.8449
  Prefactor  = 0.000329758
  Prefactor  = 0
  Prefactor  = 9.65723
  Prefactor  = 1.56541e-08
  Prefactor  = 0.21761
  Prefactor  = 102.429
  Normalizat = 0.01
  Prefactor  = 0.520506
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   237.0614     FROM HESSE     STATUS=FAILED        15 CALLS      902 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     11.488        .22984E+06    .29576E-03   -1.5640    
   2  norm          .10000E+07    40393.        .10828E-02    1.5727    
   3  Prefactor     35587.        35581.         .0000       -1.5656    
   4  Prefactor      .0000        .45084        .21186E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12374E-04    .82851E-01   -.65169E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4577        1.0760         .0000       -1.5684    
   7  Prefactor     14.434        .99678       -.10761E-06   -1.5632    
   8  norm           .0000        .44347E-01    .89214E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99537E-06    .44347E-01   -.18173E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        .44347E-01   -.27099E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          617.03        .99922        .71440E-07   -1.5211    
  12  Prefactor     .14811E-01    .13671E-01   -.67437E-06   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21237        .98430E-01    .42928E-06   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .73830E-07    .44347E-01    .21864E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .44347E-01   -.52656E-09   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .44347E-01    .52696E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.845        1.0104       -.66957E-07   -1.5628    
  18  Prefactor     .32976E-03    .42279E-01   -.26054E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .44347E-01    .47716E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.6572        .99682       -.16567E-06   -1.5646    
  21  Prefactor     .15654E-07    .44347E-01   -.21582E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .21761        .26335       -.16597E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     102.43        1.0013        .58794E-06   -1.5506    
  24  Normalizat    .10000E-01    .25505       -.13587E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .52051        .86278        .97950E-05   -1.1105    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.55124e-10
Minuit parameter uncertainties:
  1  3389.38
  2  388.903
  3  1.00274
  4  4.27722e-06
  5  0.00202504
  6  1.07596
  7  0.996779
  8  1.56236e-06
  9  0.000420201
  10  1.9932e-06
  11  0.999217
  12  0.0136706
  13  0.0984301
  14  0.000114435
  15  5.55988e-08
  16  1.94492e-07
  17  1.01043
  18  0.00746778
  19  2.18675e-06
  20  0.996818
  21  5.27027e-05
  22  0.263348
  23  1.00132
  24  1.02216e-07
  25  0.886094
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 237.061405174

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  1.993e-06  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:  5.205e-01  8.861e-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.000e-02  1.022e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.793 -39.488
Photon Flux Upper Limit: 2.18895693432e-06 ph cm-2 s-1
Energy Flux Upper Limit: 0.166008668726 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34662885/likelihoodResults_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.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) = 237.066096391
delta logL = -0.00469121667098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 237.061405197
delta logL = -2.29955219311e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.8782       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52050       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=   237.0614     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      269 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85210E-07    159.04        .42118E-03** at limit **
   2  Index         .90956        5.3033        .50000       -.11882E-08
   3  Normalizat    .10000E-01    .66025E-03    .32094E-01** at limit **
   4  Prefactor     .52051        .19216E-01    .59386E-01    .15802E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52096e-08
  Index      = 0.909563
  Normalizat = 0.01
  Prefactor  = 0.520515
 **********
 **   18 **HESSE 
 **********

 FCN=   237.0614     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      296 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85210E-07    796.04        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90956        8.5148        .50000       -.95808    
   3  Normalizat    .10000E-01    .33441E-02    .24682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .52051        .43151E-01    .26264E-03   -1.1104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30242e-09
Minuit parameter uncertainties:
  1  0.0164724
  2  67597.1
  3  2.31581e-06
  4  0.0431535
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) = 237.061405175
delta logL = -1.43930378727e-09

Extracting fit parameters...

4FGL J2143.1-3929
   Spectrum: PowerLaw
283    Prefactor:  8.521e-08  1.647e-02  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  9.096e-01  6.760e+04  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:  5.205e-01  4.315e-02  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.000e-02  2.316e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34662885/cmap_HighResolution_807753601_808012801_4FGL_J2143.1-3929_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-01', job_status='DONE', photon_flux_upper_limit='2.19e-06', time_completed='2026-08-10 11:55:39.832823', job_id='34662885', GAL2='0.52', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1786388139.83', return_code2='102', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.52', dlogl='-1.44e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2193' AND source_name='4FGL J2143.1-3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 11:55:40 PDT 2026

