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


Performing analysis on: 4FGL_J1958.3-3010_weekly_bin940
RA = 299.581, Dec = -30.181
tmin = 807494401, tmax = 808099201
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='34695599', job_status='RUN', time_executed='2026-08-11 01:45:16.179200', time_epoch_executed='1786437916.18' WHERE source_name='4FGL J1958.3-3010' and cadence='weekly' and bin_id='940'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34695599

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34695599/ft1_4FGL_J1958.3-3010_weekly_bin940.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34695599/ft1_4FGL_J1958.3-3010_weekly_bin940.fits outfile=/lscratch/kocevski/34695599/ft1_filteredMKT_4FGL_J1958.3-3010_weekly_bin940.fits ra=299.581 dec=-30.181 rad=12.0 tmin=807494401.0 tmax=808099201.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.54
user 3.85
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.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/34695599/ft1_filteredMKT_4FGL_J1958.3-3010_weekly_bin940.fits evtable="EVENTS" outfile="/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.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 0.87
user 0.23
sys 0.15

Number of photons that the gtmktime cut: 97

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34695599/ltcube_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.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/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits
.....................!
real 23.10
user 22.33
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits evtable="EVENTS" scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34695599/ltcube_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits outfile=/lscratch/kocevski/34695599/expmap_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.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/34695599/ltcube_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits
.....................!
real 76.95
user 71.65
sys 4.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 217 point sources and 0 extended sources

Setting source of interest to:
4FGL J1958.3-3010 @ 299.581 -30.181

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits outfile=/lscratch/kocevski/34695599/cmap_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.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=299.581 yref=-30.181 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.86
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits outfile=/lscratch/kocevski/34695599/cmap_HighResolution_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.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=299.581 yref=-30.181 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.88
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits evtable="EVENTS" scfile=/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34695599/Model_4FGL_J1958.3-3010_weekly_bin940.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/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits.........................!
real 13.26
user 10.76
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits', '/lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits', expMap='/lscratch/kocevski/34695599/expmap_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits', expCube='/lscratch/kocevski/34695599/ltcube_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34695599/Model_4FGL_J1958.3-3010_weekly_bin940.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1958.3-3010'

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  6.150e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34695599/ft1_filtered_4FGL_J1958.3-3010_weekly_bin940.fits
Spacecraft file(s): /lscratch/kocevski/34695599/ft2_4FGL_J1958.3-3010_weekly_bin940.fits
Exposure map: /lscratch/kocevski/34695599/expmap_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits
Exposure cube: /lscratch/kocevski/34695599/ltcube_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34695599/Model_4FGL_J1958.3-3010_weekly_bin940.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) = 1181.5903266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8789       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9317       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73163E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1629       1.0000          .0000       .10000E+07
     5 'norm      '    .83967E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19345E-03   1.0000          .0000       .10000E+07
     7 'norm      '    3.9925       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19267       1.0000          .0000       .10000E+07
     9 'norm      '    2.3119       1.0000          .0000       .10000E+07
    10 'norm      '    4.8329       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.5236       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7290       1.0000          .0000       .10000E+07
    13 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    14 'Prefactor '    .78544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1181.181     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      330 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8485        2.7452        .52055E-08    .27102E-01
   2  Prefactor     3.9205        9.6585       -.27902E-06    .70001E-03
   3  Prefactor     .11102E-09    19.332       -.55063E-07** at limit **
   4  Prefactor     .14483E-06    199.86       -.44070E-06** at limit **
   5  norm          .12157E-07    42.486        .87522E-07** at limit **
   6  Prefactor     .33307E-09    18.390        .13262E-06** at limit **
   7  norm          3.9879        7.9345        .71166E-07    .57003E-03
   8  Prefactor      .0000        90.695        .27703E-07** at limit **
   9  norm          .33651E-06    329.01        .17077E-05** at limit **
  10  norm          4.9369        3.2555       -.21446E-07   -.38858E-01
  11  Prefactor     6.5236        1.0030         .0000         .0000    
  12  Prefactor     1.7290        1.0495         .0000         .0000    
  13  Normalizat    .10000E-01    .35107        .13764E-05** at limit **
  14  Prefactor     .78586        .95890E-01    .15342E-05    .38326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.8485
  Prefactor  = 3.92051
  Prefactor  = 1.11022e-10
  Prefactor  = 1.44829e-07
  norm       = 1.21569e-08
  Prefactor  = 3.33067e-10
  norm       = 3.98794
  Prefactor  = 0
  norm       = 3.36509e-07
  norm       = 4.93686
  Prefactor  = 6.52361
  Prefactor  = 1.72901
  Normalizat = 0.01
  Prefactor  = 0.785864
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1181.181     FROM HESSE     STATUS=FAILED        51 CALLS      381 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8485        17.456        .31857E-03   -1.5645    
   2  Prefactor     3.9205        9.1361        .50852E-03   -1.5668    
   3  Prefactor     .11102E-09    19.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14483E-06    199.94        .10670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12157E-07    42.435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    18.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9879        7.8994        .50450E-03   -1.5668    
   8  Prefactor      .0000        90.855        .11908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .33651E-06    328.92        .67448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9369        .22985E+06    .45736E-03   -1.5664    
  11  Prefactor     37086.        37080.         .0000       -1.5657    
  12  Prefactor     1.7290        1.0495         .0000       -1.5682    
  13  Normalizat    .10000E-01    .25505        .13764E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .78586        1.1347        .15342E-05   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.09734e-10
Minuit parameter uncertainties:
  1  17.4561
  2  9.13617
  3  9.70487e-05
  4  0.0107631
  5  0.00143674
  6  0.000155095
  7  7.89942
  8  1.73439e-05
  9  0.0210427
  10  2221.9
  11  1.00297
  12  1.0495
  13  2.02387e-07
  14  1.17129
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  0.000e+00  1.734e-05  0.000e+00  1.000e+06 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  7.859e-01  1.171e+00  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.000e-02  2.024e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 299.581 -30.181
Photon Flux Upper Limit: 5.92915334608e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0438884947625 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34695599/likelihoodResults_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.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) = 1181.18596245
delta logL = -0.00525432270342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1181.18070833
delta logL = -2.00685690288e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21223E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.4776       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78582       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1181.181     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      277 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11158E-07    106.59        .42118E-03** at limit **
   2  Index         .30912        5.9541        .50000       -.19327E-09
   3  Normalizat    .10000E-01    .63654E-03    .28652    ** at limit **
   4  Prefactor     .78586        .43932E-02    .25390E-01    .13402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11577e-08
  Index      = 0.309117
  Normalizat = 0.01
  Prefactor  = 0.785864
 **********
 **   18 **HESSE 
 **********

 FCN=   1181.181     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      310 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11158E-07    525.77        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30912        9.5874        .50000       -1.2173    
   3  Normalizat    .10000E-01    .42367E-02    .10974E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78586        .98045E-02    .11222E-03   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.93635e-10
Minuit parameter uncertainties:
  1  0.00484146
  2  395142
  3  1.21364e-07
  4  0.00980454
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) = 1181.18070813
delta logL = -6.16182660451e-11

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.116e-08  4.841e-03  0.000e+00  1.000e+06 ( 1.000e-14)
458        Index:  3.091e-01  3.951e+05  0.000e+00  1.000e+01 (-1.000e+00)
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  7.859e-01  9.805e-03  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.000e-02  1.214e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 299.581 -30.181

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/34695599/cmap_HighResolution_807494401_808099201_4FGL_J1958.3-3010_weekly_bin940.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-02', job_status='DONE', photon_flux_upper_limit='5.93e-07', time_completed='2026-08-11 01:51:33.085474', job_id='34695599', GAL2='0.79', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1786438293.09', return_code2='102', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.79', dlogl='-6.16e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='940' AND source_name='4FGL J1958.3-3010' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 11 01:51:33 PDT 2026

