/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J2146.4-1528_daily_bin2114
RA = 326.621, Dec = -15.4757
tmin = 787276801, tmax = 787536001
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='17378783', job_status='RUN', time_executed='2025-12-16 02:22:47.904076', time_epoch_executed='1765880567.9' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17378783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17378783/ft1_4FGL_J2146.4-1528_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17378783/ft1_4FGL_J2146.4-1528_daily_bin2114.fits outfile=/lscratch/kocevski/17378783/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin2114.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=787276801.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.51
user 1.82
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.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/17378783/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.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.85
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 444

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17378783/ltcube_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.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/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits
.....................!
real 8.67
user 7.81
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17378783/ltcube_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits outfile=/lscratch/kocevski/17378783/expmap_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.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/17378783/ltcube_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits
.....................!
real 70.98
user 66.37
sys 3.65

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

Setting source of interest to:
4FGL J2146.4-1528 @ 326.621 -15.4757

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits outfile=/lscratch/kocevski/17378783/cmap_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.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=326.621 yref=-15.4757 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.84
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits outfile=/lscratch/kocevski/17378783/cmap_HighResolution_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.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=326.621 yref=-15.4757 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/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17378783/Model_4FGL_J2146.4-1528_daily_bin2114.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/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits.....................!
real 22.83
user 20.80
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits', '/lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits', expMap='/lscratch/kocevski/17378783/expmap_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits', expCube='/lscratch/kocevski/17378783/ltcube_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17378783/Model_4FGL_J2146.4-1528_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2146.4-1528'

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  4.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17378783/ft1_filtered_4FGL_J2146.4-1528_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17378783/ft2_4FGL_J2146.4-1528_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17378783/expmap_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17378783/ltcube_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17378783/Model_4FGL_J2146.4-1528_daily_bin2114.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.715       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.2353       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.039       1.0000          .0000       .10000E+07
     4 'Prefactor '    .21996E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37287E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    48.899       1.0000          .0000       .10000E+07
     7 'norm      '    .22898E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .52791E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .31675E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61920E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.0494       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25617E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.64       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0139       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4996.170     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1049 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.177        8.9276       -.12890E-07    .14443    
   2  Prefactor     7.6718        9.1790        .12941E-06   -.30672E-01
   3  Prefactor     11.092        8.5079        .27463E-07    .38391E-03
   4  Prefactor     .24170E-06    20.430       -.11465E-06** at limit **
   5  Prefactor     .88152E-07    17.659        .10240E-06** at limit **
   6  Prefactor     50.506        25.874        .91812E-07   -.13804E-01
   7  norm           .0000        3.2979       -.74445E-07** at limit **
   8  Prefactor      .0000        2.9096       -.73891E-07** at limit **
   9  Prefactor     .42188E-08    8.9023        .13470E-06** at limit **
  10  Prefactor      .0000        6.1551       -.21155E-06** at limit **
  11  Prefactor     6.9140        13.199        .10547E-06    .52889E-01
  12  Prefactor     .25535E-08    10.372       -.23054E-06** at limit **
  13  Prefactor     139.64        97.856        .93781E-06   -.21727E-02
  14  Normalizat    1.0051        .30490       -.62124E-05    .57862E-04
  15  Prefactor     .92242        .17957        .48798E-05    .12986E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.1773
  Prefactor  = 7.67183
  Prefactor  = 11.0923
  Prefactor  = 2.41696e-07
  Prefactor  = 8.81517e-08
  Prefactor  = 50.5058
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.21885e-09
  Prefactor  = 0
  Prefactor  = 6.91403
  Prefactor  = 2.55351e-09
  Prefactor  = 139.64
  Normalizat = 1.00513
  Prefactor  = 0.922419
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.170     FROM HESSE     STATUS=OK           210 CALLS     1259 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.177        32.950        .16505E-03   -1.5586    
   2  Prefactor     7.6718        20.459        .37266E-03   -1.5653    
   3  Prefactor     11.092        8.6092        .30128E-03   -1.5641    
   4  Prefactor     .24170E-06    20.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .88152E-07    17.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     50.506        25.818        .14302E-03   -1.5566    
   7  norm           .0000        3.3034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.9146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42188E-08    8.9451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        6.1635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9140        14.406        .37759E-03   -1.5655    
  12  Prefactor     .25535E-08    10.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     139.64        97.649        .89577E-04   -1.5472    
  14  Normalizat    1.0051        .25268        .69979E-01   -.92859    
  15  Prefactor     .92242        .14815        .45283E-01   -.95362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.42449e-07
Minuit parameter uncertainties:
  1  32.95
  2  20.4595
  3  8.60924
  4  0.00446397
  5  0.00250406
  6  25.8178
  7  5.78098e-06
  8  7.10201e-06
  9  0.000388185
  10  5.10353e-06
  11  14.4062
  12  0.000326271
  13  97.6498
  14  0.252982
  15  0.148214
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  5.051e+01  2.582e+01  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.224e-01  1.482e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.005e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.99
Ra Dec: 326.621 -15.476
Photon Index (Fixed Index): 2.80 +/- 0.00
Photon Flux (Fixed Index): 1.60e-07 +/- 8.19e-08
Energy Flux (Fixed Index): 3.60e-05 +/- 1.84e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4996.07224445
delta logL = 0.0980407322477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4996.06600041
delta logL = 0.104284781707

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4996.066     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      287 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.931        28.242        .54471E-05    .40724E-02
   2  Index         2.5466        .52350        .70032E-02    .41233E-05
   3  Normalizat    1.0357        .29716        .30555E-03    .11713E-03
   4  Prefactor     .90828        .17935        .19947E-03    .20852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.9308
  Index      = 2.54659
  Normalizat = 1.03571
  Prefactor  = 0.908278
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.066     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.931        28.173        .10894E-05   -1.5561    
   2  Index         2.5466        .52185        .28013E-03   -.51287    
   3  Normalizat    1.0357        .29750        .12222E-04   -.91844    
   4  Prefactor     .90828        .17949        .39893E-04   -.95852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40539e-10
Minuit parameter uncertainties:
  1  28.1735
  2  0.523105
  3  0.297982
  4  0.17961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4996.0660001
delta logL = 0.104285084343

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  5.393e+01  2.817e+01  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.547e+00  5.231e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.083e-01  1.796e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.036e+00  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.12
Ra Dec: 326.621 -15.476
Photon Index (Free Index): 2.55 +/- 0.52
Photon Flux (Free Index): 1.39e-07 +/- 8.92e-08
Energy Flux (Free Index): 3.83e-05 +/- 2.08e-05

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/17378783/cmap_HighResolution_787276801_787536001_4FGL_J2146.4-1528_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-07', energy_flux2='3.83e-05', photon_flux_error='8.19e-08', dlogl='1.04e-01', energy_flux='3.60e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2025-12-16 02:28:11.065568', photon_index_error2='0.52', photon_index2='2.55', ts='5.99', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='1.01', time_epoch_completed='1765880891.07', return_code='0', job_id='17378783', GAL2='0.91', EG2='1.04', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='8.92e-08', ts2='6.12', photon_index='2.80' WHERE bin_id='2114' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:28:11 PST 2025

