number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842573', job_status='RUN', time_executed='2026-09-22 20:06:33.567450', time_epoch_executed='1790132793.57' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842573

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842573/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842573/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842573/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.36
user 3.67
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842573/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.71
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" ou02
Working on...
/lscratch/kocevski/38842462/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.35
user 7.93
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842462/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842462/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842462/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842462/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842462/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842462/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842462/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842462/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842462/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842462/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
/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
V02
Working on...
/lscratch/kocevski/38842455/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.52
user 8.01
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842455/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842455/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842455/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842455/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842455/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842455/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842455/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842455/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842455/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842455/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .00
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).

00       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
ermi/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)
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842462/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842614', job_status='RUN', time_executed='2026-09-22 20:06:47.633817', time_epoch_executed='1790132807.63' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842614

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842614/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842614/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842614/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.86
user 4.17
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842614/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.90
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" oushell-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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842462/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:11:41.895944', job_id='38842462', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133101.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:11:42 PDT 2026

tfile=/lscratch/kocevski/38842525/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 17.13
user 16.39
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842525/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842525/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842525/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 62.62
user 58.19
sys 3.60

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842525/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.80
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842525/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.91
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842525/Model_4FGL_J2348.1-4934_weekly_bin946.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_Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842455/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842455/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:11:47.158563', job_id='38842455', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133107.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:11:47 PDT 2026

V02
Working on...
/lscratch/kocevski/38842473/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.31
user 7.85
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842473/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842473/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842473/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842473/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842473/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842473/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842473/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842473/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842473/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842473/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
V02
Working on...
/lscratch/kocevski/38842392/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 13.41
user 11.44
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842392/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842392/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842392/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842392/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842392/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842392/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842392/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842392/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842392/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842392/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842473/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842473/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:12:10.285518', job_id='38842473', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133130.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:12:10 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842392/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
V02
Working on...
/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.76
user 8.25
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842525/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842525/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842525/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842525/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842525/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842525/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842525/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842525/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .00shell-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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842392/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:12:31.025360', job_id='38842392', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133151.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:12:31 PDT 2026

00       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
tfile=/lscratch/kocevski/38842573/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 17.78
user 17.05
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842573/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842573/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842573/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 63.27
user 58.79
sys 3.55

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842573/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.79
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842573/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.70
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842573/Model_4FGL_J2348.1-4934_weekly_bin946.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_Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842525/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842525/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:12:52.611893', job_id='38842525', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133172.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:12:53 PDT 2026

number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842691', job_status='RUN', time_executed='2026-09-22 20:08:17.930679', time_epoch_executed='1790132897.93' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842691

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842691/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842691/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842691/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.68
user 3.98
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842691/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.89
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38842614/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 20.23
user 19.30
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842614/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842614/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842614/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 75.31
user 69.81
sys 4.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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842614/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.92
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842614/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.80
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842614/Model_4FGL_J2348.1-4934_weekly_bin946.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/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.38
user 7.94
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842573/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842573/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842573/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842573/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842573/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842573/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842573/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842573/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842573/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842573/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:13:53.097997', job_id='38842573', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133233.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:13:53 PDT 2026

V02
Working on...
/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 11.08
user 9.55
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842614/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842614/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842614/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842614/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842614/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842614/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842614/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842614/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842840', job_status='RUN', time_executed='2026-09-22 20:09:25.500452', time_epoch_executed='1790132965.5' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842840

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842840/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842840/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842840/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.65
user 3.96
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842840/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.13

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842614/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842614/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:14:55.199888', job_id='38842614', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133295.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:14:55 PDT 2026

tfile=/lscratch/kocevski/38842691/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 18.98
user 18.07
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842691/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842691/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842691/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 67.53
user 62.77
sys 3.85

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842691/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.90
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842691/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.81
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842691/Model_4FGL_J2348.1-4934_weekly_bin946.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_number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842890', job_status='RUN', time_executed='2026-09-22 20:09:47.916330', time_epoch_executed='1790132987.92' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842890

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842890/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842890/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842890/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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 5.07
user 4.12
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842890/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.86
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" ounumber of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38842974', job_status='RUN', time_executed='2026-09-22 20:10:05.650530', time_epoch_executed='1790133005.65' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842974

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842974/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842974/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842974/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.85
user 4.01
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38842974/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.00
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" ouV02
Working on...
/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 10.15
user 8.47
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842691/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842691/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842691/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842691/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842691/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842691/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842691/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842691/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38843023', job_status='RUN', time_executed='2026-09-22 20:10:45.134743', time_epoch_executed='1790133045.13' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38843023

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38843023/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38843023/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843023/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.02
user 3.39
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38843023/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.78
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842691/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
file=/lscratch/kocevski/38842840/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 19.08
user 18.33
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842840/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842840/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842840/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 70.73
user 65.53
sys 4.24

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842840/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842840/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.99
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842840/Model_4FGL_J2348.1-4934_weekly_bin946.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_Vshell-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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842691/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:16:25.200314', job_id='38842691', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133385.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:16:25 PDT 2026

tfile=/lscratch/kocevski/38842890/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 19.40
user 18.53
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842890/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842890/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842890/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 70.46
user 65.57
sys 4.10

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842890/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.80
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842890/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.82
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842890/Model_4FGL_J2348.1-4934_weekly_bin946.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_number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.1-4934_weekly_bin946
RA = 357.037, Dec = -49.57
tmin = 811123201, tmax = 811728001
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='38843131', job_status='RUN', time_executed='2026-09-22 20:11:33.943728', time_epoch_executed='1790133093.94' WHERE source_name='4FGL J2348.1-4934' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38843131

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38843131/ft1_4FGL_J2348.1-4934_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38843131/ft1_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843131/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits ra=357.037 dec=-49.57 rad=12.0 tmin=811123201.0 tmax=811728001.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.30
user 3.58
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.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/38843131/ft1_filteredMKT_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.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.19
sys 0.12

Number of photons that the gtmktime cut: 149

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38842974/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 20.03
user 19.09
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842974/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842974/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38842974/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 69.66
user 64.63
sys 4.10

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842974/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38842974/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.85
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842974/Model_4FGL_J2348.1-4934_weekly_bin946.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_02
Working on...
/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 10.64
user 8.94
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842840/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842840/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842840/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842840/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842840/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842840/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842840/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842840/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
tfile=/lscratch/kocevski/38843023/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 16.44
user 15.66
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38843023/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843023/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38843023/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 59.53
user 55.37
sys 3.45

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843023/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.70
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843023/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.70
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38843023/Model_4FGL_J2348.1-4934_weekly_bin946.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_Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842840/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842840/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:17:46.001817', job_id='38842840', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133466.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:17:46 PDT 2026

V02
Working on...
/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 10.56
user 8.90
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842890/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842890/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842890/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842890/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842890/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842890/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842890/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842890/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
V02
Working on...
/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 9.25
user 7.86
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38842974/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38842974/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842974/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38842974/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842974/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842974/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842974/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842974/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842890/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842890/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:18:16.851465', job_id='38842890', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133496.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:18:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38842974/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
V02
Working on...
/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 8.82
user 7.53
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38843023/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38843023/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38843023/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38843023/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38843023/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38843023/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38843023/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38843023/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .00shell-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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38842974/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:18:24.989570', job_id='38842974', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133504.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:18:25 PDT 2026

00       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
tfile=/lscratch/kocevski/38843131/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 17.21
user 16.41
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38843131/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843131/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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/38843131/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
.....................!
real 61.88
user 57.50
sys 3.57

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843131/cmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.80
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits outfile=/lscratch/kocevski/38843131/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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=357.037 yref=-49.57 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.81
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38843131/Model_4FGL_J2348.1-4934_weekly_bin946.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_Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38843023/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38843023/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:18:46.517099', job_id='38843023', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133526.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:18:46 PDT 2026

V02
Working on...
/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits......................!
real 8.89
user 7.78
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits', '/lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits', expMap='/lscratch/kocevski/38843131/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', expCube='/lscratch/kocevski/38843131/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38843131/Model_4FGL_J2348.1-4934_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38843131/ft1_filtered_4FGL_J2348.1-4934_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38843131/ft2_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38843131/expmap_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38843131/ltcube_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38843131/Model_4FGL_J2348.1-4934_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1673.14471319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10957E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    128.41       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.203       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45858E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9224       1.0000          .0000       .10000E+07
     8 'norm      '    .15475E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13186E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5684       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10105E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.999       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46955E-02   1.0000          .0000       .10000E+07
    15 'norm      '    28.861       1.0000          .0000       .10000E+07
    16 'norm      '    .42453E-04   1.0000          .0000       .10000E+07
    17 'norm      '    12.029       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.304       1.0000          .0000       .10000E+07
    19 'Prefactor '    86.352       1.0000          .0000       .10000E+07
    20 'norm      '    3.9981       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37522E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.9230       1.0000          .0000       .10000E+07
    23 'norm      '    .37092E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    53.406       1.0000          .0000       .10000E+07
    25 'Prefactor '    .32746E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .36145E-03   1.0000          .0000       .10000E+07
    27 'norm      '    13.371       1.0000          .0000       .10000E+07
    28 'Prefactor '    7.5568       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42859E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .23810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     3007 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20928E-07    61.954       -.29956E-06** at limit **
   2  Prefactor     .17208E-08    11.622        .28088E-05** at limit **
   3  Prefactor     133.08        54.127        .10634E-05   -.16758E-01
   4  Prefactor     31.499        1.5370        .25168E-07    .10612E-01
   5  Prefactor     .10020E-06    6.1471        .50459E-05** at limit **
   6  Prefactor     .11657E-08    6.4527       -.79202E-07** at limit **
   7  Prefactor     7.0034        10.314        .10307E-06   -.36711E-02
   8  norm          .22204E-09    35.980       -.33245E-05** at limit **
   9  Prefactor     .25058E-05    178.03        .28039E-04** at limit **
  10  Prefactor     .32696E-07    22.099       -.16375E-05** at limit **
  11  Prefactor     5.7535        10.196        .21562E-05    .33795E-03
  12  Prefactor     .19973E-06    14.720        .23764E-05** at limit **
  13  Prefactor     26.562        5.2679        .89279E-07    .15565E-01
  14  Prefactor     .77383E-07    8.0380        .81633E-06** at limit **
  15  norm          28.716        2.1548        .38544E-06   -.17731E-01
  16  norm          .31974E-07    6.7615       -.47078E-05** at limit **
  17  norm          12.119        3.9237       -.34486E-06    .16624E-02
  18  Prefactor     19.145        6.3885        .37871E-06   -.10727    
  19  Prefactor     90.886        52.800        .12228E-05    .11119E-01
  20  norm          3.6246        7.9381        .18454E-05   -.24017E-02
  21  Prefactor     .56843E-07    20.686       -.15114E-05** at limit **
  22  norm          2.9304        2.0063        .22337E-06   -.50054E-02
  23  norm          .11102E-08    3.9428        .10773E-05** at limit **
  24  Prefactor     52.057        7.3312       -.44946E-06    .33211E-01
  25  Prefactor     .45131E-07    1.6998        .26351E-05** at limit **
  26  Prefactor     .43465E-07    10.836       -.41174E-06** at limit **
  27  norm          13.025        8.0342        .10425E-05   -.30613E-01
  28  Prefactor     7.6369        9.1801        .26546E-06    .13359E-02
  29  Prefactor     .16735E-05    3.8527        .10792E-06** at limit **
  30  Normalizat    .23348        .28078       -.61254E-04    .11918E-03
  31  Prefactor     .82768        .29773        .34933E-04    .17527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09277e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 133.079
  Prefactor  = 31.4986
  Prefactor  = 1.00198e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 7.0034
  norm       = 2.22045e-10
  Prefactor  = 2.50583e-06
  Prefactor  = 3.26961e-08
  Prefactor  = 5.75348
  Prefactor  = 1.99729e-07
  Prefactor  = 26.5619
  Prefactor  = 7.73825e-08
  norm       = 28.7164
  norm       = 3.19744e-08
  norm       = 12.1187
  Prefactor  = 19.1454
  Prefactor  = 90.8861
  norm       = 3.62455
  Prefactor  = 5.68434e-08
  norm       = 2.93038
  norm       = 1.11022e-09
  Prefactor  = 52.0566
  Prefactor  = 4.51306e-08
  Prefactor  = 4.34652e-08
  norm       = 13.0247
  Prefactor  = 7.63695
  Prefactor  = 1.67349e-06
  Normalizat = 0.233483
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=OK           684 CALLS     3691 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20928E-07    64.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    12.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.08        75.362        .88254E-04   -1.5477    
   4  Prefactor     31.499        20.367        .17905E-03   -1.5596    
   5  Prefactor     .10020E-06    6.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    6.4942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0034        10.568        .38108E-03   -1.5655    
   8  norm          .22204E-09    35.913        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25058E-05    198.82        .11032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32696E-07    45.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7535        10.541        .42551E-03   -1.5660    
  12  Prefactor     .19973E-06    16.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.562        61.418        .19616E-03   -1.5605    
  14  Prefactor     .77383E-07    8.3444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.716        26.503        .18617E-03   -1.5601    
  16  norm          .31974E-07    7.0663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.119        12.026        .28858E-03   -1.5638    
  18  Prefactor     19.145        14.417        .22768E-03   -1.5620    
  19  Prefactor     90.886        75.923        .10762E-03   -1.5517    
  20  norm          3.6246        10.459        .50414E-03   -1.5670    
  21  Prefactor     .56843E-07    44.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9304        2.0574        .59393E-03   -1.5674    
  23  norm          .11102E-08    3.9405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     52.057        32.281        .13685E-03   -1.5564    
  25  Prefactor     .45131E-07    4.3642        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .43465E-07    11.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          13.025        39.265        .27367E-03   -1.5636    
  28  Prefactor     7.6369        11.113        .36458E-03   -1.5653    
  29  Prefactor     .16735E-05    17.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .23348        .27004        .71615E-01   -1.2705    
  31  Prefactor     .82768        .27466        .44037E-01   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64367e-07
Minuit parameter uncertainties:
  1  0.00232669
  2  0.000292665
  3  75.363
  4  20.3674
  5  0.00163395
  6  0.000175447
  7  10.5682
  8  0.000188557
  9  0.0446433
  10  0.00242661
  11  10.5406
  12  0.0036721
  13  61.4193
  14  0.00160705
  15  26.5027
  16  0.000950757
  17  12.0264
  18  14.4173
  19  75.924
  20  10.4594
  21  0.00318982
  22  2.05738
  23  0.000133225
  24  32.2811
  25  0.000887415
  26  0.00138664
  27  39.2656
  28  11.1126
  29  0.0107436
  30  0.271564
  31  0.275118
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  4.347e-08  1.387e-03  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  2.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 9.89789913086e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00772678824468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38843131/likelihoodResults_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.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) = 1672.75018955
delta logL = -0.0430647893529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1672.70712496
delta logL = -1.95388111024e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1672.707     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      240 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .61445E-01    .42118E-03** at limit **
   2  Index         2.7335        5.3941        .50000        .45475E-10
   3  Normalizat    .23348        .43263E-03    .71615E-01   -.10072E-03
   4  Prefactor     .82768        .48105E-03    .44076E-01   -.17054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.73349
  Normalizat = 0.23348
  Prefactor  = 0.827684
 **********
 **   18 **HESSE 
 **********

 FCN=   1672.707     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .31524        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7335        5.7967        .50000       -.47047    
   3  Normalizat    .23348        .97753E-03    .31707E-03   -1.2705    
   4  Prefactor     .82768        .10890E-02    .18904E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01781e-12
Minuit parameter uncertainties:
  1  1.40326e-05
  2  22096
  3  0.000977535
  4  0.00108905
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) = 1672.70712476
delta logL = 1.95586835616e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.665e-10  1.403e-05  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  2.733e+00  2.210e+04  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.277e-01  1.089e-03  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  2.335e-01  9.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/38843131/cmap_HighResolution_811123201_811728001_4FGL_J2348.1-4934_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2026-09-22 20:19:41.779260', job_id='38843131', GAL2='0.83', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1790133581.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='946' AND source_name='4FGL J2348.1-4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:19:42 PDT 2026

