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

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


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin946
RA = 235.755, Dec = 61.5033
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='38808497', job_status='RUN', time_executed='2026-09-22 12:52:21.224378', time_epoch_executed='1790106741.22' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38808497

Creating custom pfile directory:
/lscratch/kocevski/38808497/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/38808497/ft1_4FGL_J1543.0+6130_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/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38808497/ft1_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808497/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits ra=235.755 dec=61.5033 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.49
user 3.88
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_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/38808497/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_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.69
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA"/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)
e GAL_V02
Working on...
/lscratch/kocevski/38807293/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 66.36
user 64.03
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38807293/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38807293/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38807293/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38807293/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38807293/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38807293/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38807293/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38807293/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38807293/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38807293/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
outfile=/lscratch/kocevski/38808465/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 17.04
user 16.03
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808465/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808465/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808465/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 59.77
user 55.56
sys 3.48

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808465/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.72
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808465/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.69
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808465/Model_4FGL_J1543.0+6130_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 sourcee GAL_V02
Working on...
/lscratch/kocevski/38807736/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 60.98
user 59.09
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38807736/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38807736/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38807736/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38807736/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38807736/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38807736/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38807736/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38807736/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38807736/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38807736/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin946
RA = 235.755, Dec = 61.5033
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='38808577', job_status='RUN', time_executed='2026-09-22 12:53:39.929879', time_epoch_executed='1790106819.93' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38808577

Creating custom pfile directory:
/lscratch/kocevski/38808577/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/38808577/ft1_4FGL_J1543.0+6130_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/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38808577/ft1_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808577/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits ra=235.755 dec=61.5033 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.83
user 4.26
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_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/38808577/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_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.79
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 2095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38808474/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 18.58
user 17.82
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808474/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808474/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808474/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 67.67
user 62.97
sys 3.92

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808474/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.65
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808474/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.75
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808474/Model_4FGL_J1543.0+6130_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/38807601/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 69.11
user 66.52
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38807601/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38807601/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38807601/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38807601/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38807601/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38807601/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38807601/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38807601/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38807601/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38807601/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ** **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin946
RA = 235.755, Dec = 61.5033
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='38808599', job_status='RUN', time_executed='2026-09-22 12:54:15.843864', time_epoch_executed='1790106855.84' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38808599

Creating custom pfile directory:
/lscratch/kocevski/38808599/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/38808599/ft1_4FGL_J1543.0+6130_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/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38808599/ft1_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808599/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits ra=235.755 dec=61.5033 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.12
user 3.54
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_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/38808599/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_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.77
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38807293/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 12:57:53.501943', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107073.5', return_code='0', job_id='38807293', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 12:57:54 PDT 2026

 outfile=/lscratch/kocevski/38808497/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 18.57
user 17.81
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808497/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808497/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808497/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 66.39
user 61.79
sys 3.92

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808497/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.68
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808497/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.69
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808497/Model_4FGL_J1543.0+6130_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/38807695/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 71.76
user 68.66
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38807695/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38807695/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38807695/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38807695/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38807695/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38807695/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38807695/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38807695/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38807695/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38807695/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ** **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
e GAL_V02
Working on...
/lscratch/kocevski/38808249/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 61.04
user 58.98
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808249/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808249/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808249/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808249/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808249/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808249/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808249/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808249/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808249/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808249/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **e GAL_V02
Working on...
/lscratch/kocevski/38808252/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 66.82
user 62.98
sys 2.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808252/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808252/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808252/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808252/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808252/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808252/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808252/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808252/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808252/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808252/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38807736/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 12:59:04.867949', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107144.87', return_code='0', job_id='38807736', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 12:59:05 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38808362/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 61.09
user 59.29
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808362/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808362/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808362/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808362/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808362/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808362/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808362/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808362/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808362/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808362/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38807601/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 12:59:34.819890', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107174.82', return_code='0', job_id='38807601', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 12:59:35 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_J1543.0+6130_weekly_bin946
RA = 235.755, Dec = 61.5033
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='38808714', job_status='RUN', time_executed='2026-09-22 12:55:49.021083', time_epoch_executed='1790106949.02' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38808714

Creating custom pfile directory:
/lscratch/kocevski/38808714/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/38808714/ft1_4FGL_J1543.0+6130_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/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38808714/ft1_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808714/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits ra=235.755 dec=61.5033 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.76
user 4.07
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_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/38808714/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_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.73
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2095

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38808577/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 20.22
user 19.39
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808577/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808577/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808577/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 73.60
user 68.42
sys 4.27

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808577/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.77
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808577/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808577/Model_4FGL_J1543.0+6130_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 sourcDone.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
 outfile=/lscratch/kocevski/38808599/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 17.14
user 16.28
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808599/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808599/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808599/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 60.68
user 56.43
sys 3.41

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808599/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808599/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.74
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808599/Model_4FGL_J1543.0+6130_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 sourcshell-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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38807695/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:00:03.595756', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107203.6', return_code='0', job_id='38807695', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:00:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 GAL_V02
Working on...
/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 54.00
user 52.28
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808465/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808465/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808465/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808465/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808465/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808465/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808465/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808465/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ***Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808249/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:00:36.059687', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107236.06', return_code='0', job_id='38808249', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:00:36 PDT 2026

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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808252/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:00:39.589051', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107239.59', return_code='0', job_id='38808252', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:00:40 PDT 2026

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

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
*******
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
e GAL_V02
Working on...
/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 60.41
user 58.59
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808474/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808474/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808474/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808474/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808474/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808474/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808474/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808474/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ** **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808362/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:01:19.396616', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107279.4', return_code='0', job_id='38808362', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:01:19 PDT 2026

********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
e GAL_V02
Working on...
/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 59.94
user 58.34
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808497/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808497/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808497/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808497/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808497/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808497/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808497/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808497/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 outfile=/lscratch/kocevski/38808714/ltcube_811123201_811728001_4FGL_J1543.0+6130_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/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 19.75
user 18.91
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38808714/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808714/expmap_811123201_811728001_4FGL_J1543.0+6130_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/38808714/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
.....................!
real 71.86
user 66.93
sys 4.16

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

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808714/cmap_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits outfile=/lscratch/kocevski/38808714/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.95
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38808714/Model_4FGL_J1543.0+6130_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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808465/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:02:28.696171', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107348.7', return_code='0', job_id='38808465', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:02:29 PDT 2026

********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808474/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:03:21.209684', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107401.21', return_code='0', job_id='38808474', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:03:21 PDT 2026

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

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
e GAL_V02
Working on...
/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 54.60
user 52.66
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808599/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808599/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808599/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808599/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808599/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808599/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808599/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808599/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
e GAL_V02
Working on...
/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 67.28
user 65.28
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808577/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808577/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808577/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808577/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808577/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808577/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808577/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808577/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808497/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:04:19.462519', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107459.46', return_code='0', job_id='38808497', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:04:19 PDT 2026

********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808599/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:06:11.952391', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107571.95', return_code='0', job_id='38808599', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:06:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808577/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:06:38.225660', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107598.23', return_code='0', job_id='38808577', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:06:38 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits.....................!
real 66.45
user 64.53
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits', '/lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits', expMap='/lscratch/kocevski/38808714/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', expCube='/lscratch/kocevski/38808714/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38808714/Model_4FGL_J1543.0+6130_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38808714/ft1_filtered_4FGL_J1543.0+6130_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38808714/ft2_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38808714/expmap_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38808714/ltcube_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38808714/Model_4FGL_J1543.0+6130_weekly_bin946.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) = 22543.3881391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.193       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6905       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.771       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1373       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7200       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.219       1.0000          .0000       .10000E+07
     8 'norm      '    1.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57601E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8106       1.0000          .0000       .10000E+07
    11 'norm      '    .17282       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59005E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1469       1.0000          .0000       .10000E+07
    14 'norm      '    12.088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58395E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31919E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.6750       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0868       1.0000          .0000       .10000E+07
    19 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4940       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6286       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25545       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22543.22     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1583 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.111        1.1149        .18782E-08   -.53730E-02
   2  Prefactor     2.7255        1.2646        .15587E-07   -.17791E-01
   3  Prefactor      .0000        1.7462        .44356E-07** at limit **
   4  Prefactor     23.792        1.4567        .50641E-08    .25521E-02
   5  Prefactor     2.1331        4.0677        .14864E-06    .11131E-02
   6  Prefactor     1.7229        3.9777       -.22302E-08   -.31463E-03
   7  Prefactor     12.201        1.0920       -.49244E-09   -.17663E-01
   8  norm          1.7369        1.1342       -.43049E-08   -.64874E-03
   9  Prefactor     .29976E-08    9.3551       -.73575E-07** at limit **
  10  Prefactor     9.7954        4.4579       -.74620E-07   -.44505E-02
  11  norm          .18579        13.160       -.73369E-08** at limit **
  12  Prefactor     .12212E-08    13.573       -.68430E-07** at limit **
  13  Prefactor     1.1490        2.5012       -.27067E-07    .41416E-03
  14  norm          12.092        2.4028        .18806E-07   -.94647E-01
  15  Prefactor      .0000        3.5457        .11959E-06** at limit **
  16  Prefactor     .11657E-08    8.2091       -.29449E-06** at limit **
  17  norm          6.6849        3.8021       -.93579E-07   -.20843E-01
  18  Prefactor     3.0797        5.2071        .20215E-07   -.18463E-02
  19  norm           .0000        .73454E-01    .46736E-08** at limit **
  20  Prefactor     4.4950        3.3124       -.72012E-10    .39096E-02
  21  Prefactor     5.6297        1.6691        .11542E-07   -.44580E-02
  22  Prefactor     .25334        2.4525       -.10738E-06   -.48166E-03
  23  Normalizat    1.1116        .10130       -.11531E-05   -.18739E-03
  24  Prefactor     .86411        .99241E-01    .92111E-06   -.11133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1107
  Prefactor  = 2.72555
  Prefactor  = 0
  Prefactor  = 23.7918
  Prefactor  = 2.13306
  Prefactor  = 1.72291
  Prefactor  = 12.2011
  norm       = 1.73692
  Prefactor  = 2.9976e-09
  Prefactor  = 9.79536
  norm       = 0.185793
  Prefactor  = 1.22125e-09
  Prefactor  = 1.14898
  norm       = 12.0923
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  norm       = 6.68485
  Prefactor  = 3.07968
  norm       = 0
  Prefactor  = 4.49499
  Prefactor  = 5.62966
  Prefactor  = 0.253339
  Normalizat = 1.1116
  Prefactor  = 0.864109
 **********
 **   18 **HESSE 
 **********

 FCN=   22543.22     FROM HESSE     STATUS=OK           461 CALLS     2044 TOTAL
                     EDM=   .39E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.111        15.461        .22834E-03   -1.5621    
   2  Prefactor     2.7255        7.7764        .62088E-03   -1.5675    
   3  Prefactor      .0000        1.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.792        13.968        .20515E-03   -1.5610    
   5  Prefactor     2.1331        4.1731        .70480E-03   -1.5679    
   6  Prefactor     1.7229        4.0767        .80072E-03   -1.5682    
   7  Prefactor     12.201        10.813        .28632E-03   -1.5638    
   8  norm          1.7369        1.1382        .79587E-03   -1.5682    
   9  Prefactor     .29976E-08    9.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7954        4.4161        .31968E-03   -1.5645    
  11  norm          .18579        1.1732        .86796E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    13.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1490        2.5391        .10820E-02   -1.5687    
  14  norm          12.092        7.4217        .28788E-03   -1.5638    
  15  Prefactor      .0000        3.4961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11657E-08    8.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6849        3.8503        .38815E-03   -1.5656    
  18  Prefactor     3.0797        5.2145        .57701E-03   -1.5673    
  19  norm           .0000        .72181E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4950        3.3802        .47470E-03   -1.5666    
  21  Prefactor     5.6297        6.6667        .42319E-03   -1.5661    
  22  Prefactor     .25334        2.3922        .10862E-02   -1.5698    
  23  Normalizat    1.1116        .88352E-01    .37545E-01   -.89380    
  24  Prefactor     .86411        .85810E-01    .44545E-01   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94148e-05
Minuit parameter uncertainties:
  1  15.4611
  2  7.77643
  3  1.23187e-06
  4  13.968
  5  4.17312
  6  4.0767
  7  10.8128
  8  1.13821
  9  0.000335851
  10  4.4161
  11  0.933757
  12  0.000256079
  13  2.53908
  14  7.42174
  15  8.07783e-06
  16  0.000194699
  17  3.8503
  18  5.21453
  19  7.80049e-08
  20  3.38025
  21  6.66668
  22  1.55698
  23  0.088364
  24  0.0858229
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.737e+00  1.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.641e-01  8.582e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.112e+00  8.836e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 8.62e-09
Energy Flux (Fixed Index): 1.00e-05 +/- 6.57e-06

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) = 22542.5374337
delta logL = 0.67909642632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22542.5320953
delta logL = 0.6844348495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4061       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22542.53     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6715        10.878        .81495E-03    .14279E-01
   2  alpha         2.4061        3.5318        .41188        .12686E-03
   3  Normalizat    1.0974        .25046E-01    .38109E-01   -.24429E-05
   4  Prefactor     .87060        .23266E-01    .44629E-01    .26127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67148
  alpha      = 2.40615
  Normalizat = 1.09736
  Prefactor  = 0.870603
 **********
 **   18 **HESSE 
 **********

 FCN=   22542.53     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6715        1.0585        .99479E-05   -1.5682    
   2  alpha         2.4061        .43320        .15113E-01   -.37550E-01
   3  Normalizat    1.0974        .98613E-01    .21891E-03   -.89837    
   4  Prefactor     .87060        .98357E-01    .24360E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9028e-09
Minuit parameter uncertainties:
  1  1.05855
  2  0.435398
  3  0.0986296
  4  0.0983768
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) = 22542.5320952
delta logL = 0.684434889325

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.671e+00  1.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.406e+00  4.354e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.706e-01  9.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.097e+00  9.863e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.85
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.41 +/- 0.44
Photon Flux (Free Index): 2.53e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.42e-06 +/- 4.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38808714/cmap_HighResolution_811123201_811728001_4FGL_J1543.0+6130_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='8.42e-06', photon_flux_error='8.62e-09', dlogl='6.84e-01', energy_flux='1.00e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2026-09-22 13:09:23.422236', photon_index_error2='0.44', photon_index2='2.41', ts='5.47', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.71e-06', EG='1.11', time_epoch_completed='1790107763.42', return_code='0', job_id='38808714', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='1.58e-08', ts2='6.85', photon_index='1.90' WHERE bin_id='946' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 13:09:23 PDT 2026

