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


Performing analysis on: 4FGL_J0949.0+4038_weekly_bin947
RA = 147.262, Dec = 40.6367
tmin = 811728001, tmax = 812332801
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='39456659', job_status='RUN', time_executed='2026-09-29 12:00:43.654226', time_epoch_executed='1790708443.65' WHERE source_name='4FGL J0949.0+4038' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39456659

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39456659/ft1_4FGL_J0949.0+4038_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39456659/ft1_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456659/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits ra=147.262 dec=40.6367 rad=12.0 tmin=811728001.0 tmax=812332801.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 6.33
user 5.79
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.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/39456659/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.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.53
user 0.24
sys 0.10

Number of photons that the gtmktime cut: 1107

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA"/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).

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
vski/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)
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719

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

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

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0949.0+4038_weekly_bin947
RA = 147.262, Dec = 40.6367
tmin = 811728001, tmax = 812332801
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='39456749', job_status='RUN', time_executed='2026-09-29 12:01:40.267982', time_epoch_executed='1790708500.27' WHERE source_name='4FGL J0949.0+4038' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39456749

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39456749/ft1_4FGL_J0949.0+4038_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39456749/ft1_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456749/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits ra=147.262 dec=40.6367 rad=12.0 tmin=811728001.0 tmax=812332801.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 6.77
user 6.13
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.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/39456749/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.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.64
user 0.24
sys 0.11

Number of photons that the gtmktime cut: 1107

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0949.0+4038_weekly_bin947
RA = 147.262, Dec = 40.6367
tmin = 811728001, tmax = 812332801
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='39456785', job_status='RUN', time_executed='2026-09-29 12:02:17.455960', time_epoch_executed='1790708537.46' WHERE source_name='4FGL J0949.0+4038' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39456785

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39456785/ft1_4FGL_J0949.0+4038_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39456785/ft1_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456785/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits ra=147.262 dec=40.6367 rad=12.0 tmin=811728001.0 tmax=812332801.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 7.44
user 6.80
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.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/39456785/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.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.83
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 1107

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0949.0+4038_weekly_bin947
RA = 147.262, Dec = 40.6367
tmin = 811728001, tmax = 812332801
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='39456798', job_status='RUN', time_executed='2026-09-29 12:02:32.072710', time_epoch_executed='1790708552.07' WHERE source_name='4FGL J0949.0+4038' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39456798

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39456798/ft1_4FGL_J0949.0+4038_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39456798/ft1_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456798/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits ra=147.262 dec=40.6367 rad=12.0 tmin=811728001.0 tmax=812332801.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 7.16
user 6.55
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.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/39456798/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.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.64
user 0.26
sys 0.14

Number of photons that the gtmktime cut: 1107

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J0949.0+4038_weekly_bin947
RA = 147.262, Dec = 40.6367
tmin = 811728001, tmax = 812332801
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='39456780', job_status='RUN', time_executed='2026-09-29 12:02:19.423323', time_epoch_executed='1790708539.42' WHERE source_name='4FGL J0949.0+4038' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39456780

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39456780/ft1_4FGL_J0949.0+4038_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39456780/ft1_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456780/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits ra=147.262 dec=40.6367 rad=12.0 tmin=811728001.0 tmax=812332801.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 6.90
user 6.32
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.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/39456780/ft1_filteredMKT_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.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.62
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1107

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39455867/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39455867/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:04:17.511565', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790708657.51', return_code='0', job_id='39455867', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:04:17 PDT 2026

 outfile=/lscratch/kocevski/39456616/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 20.12
user 19.15
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456616/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456616/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456616/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 76.50
user 71.30
sys 4.33

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

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456616/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.67
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456616/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.26
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456616/Model_4FGL_J0949.0+4038_weekly_bin947.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/39456402/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 42.64
user 40.86
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456402/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456402/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456402/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456402/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456402/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456402/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456402/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456402/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456402/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456402/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 outfile=/lscratch/kocevski/39456659/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 19.46
user 18.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456659/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456659/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456659/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 72.15
user 67.60
sys 4.02

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

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456659/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.59
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456659/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.56
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456659/Model_4FGL_J0949.0+4038_weekly_bin947.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 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
 outfile=/lscratch/kocevski/39456749/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 19.85
user 19.08
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456749/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456749/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456749/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 74.62
user 69.72
sys 3.99

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

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456749/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.61
user 0.25
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456749/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.63
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456749/Model_4FGL_J0949.0+4038_weekly_bin947.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 outfile=/lscratch/kocevski/39456780/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 19.69
user 19.08
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456780/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456780/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456780/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 76.70
user 71.26
sys 4.56

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

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456780/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.64
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456780/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456780/Model_4FGL_J0949.0+4038_weekly_bin947.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/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 40.50
user 38.79
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456616/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456616/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456616/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456616/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456616/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456616/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456616/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456616/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456402/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
 outfile=/lscratch/kocevski/39456798/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 25.17
user 24.49
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456798/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456798/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456798/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 79.56
user 74.44
sys 4.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456798/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.29
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456798/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.27
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456798/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456402/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:06:38.233910', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790708798.23', return_code='0', job_id='39456402', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:06:38 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 38.36
user 36.59
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456659/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456659/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456659/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456659/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456659/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456659/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456659/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456659/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 outfile=/lscratch/kocevski/39456785/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 25.05
user 23.05
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39456785/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456785/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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/39456785/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
.....................!
real 85.74
user 78.02
sys 4.50

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

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456785/cmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.64
user 0.28
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits outfile=/lscratch/kocevski/39456785/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.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=147.262 yref=40.6367 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.58
user 0.30
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39456785/Model_4FGL_J0949.0+4038_weekly_bin947.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 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
e GAL_V02
Working on...
/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 39.12
user 37.88
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456749/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456749/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456749/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456749/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456749/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456749/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456749/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456749/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
e GAL_V02
Working on...
/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 41.34
user 39.47
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456780/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456780/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456780/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456780/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456780/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456780/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456780/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456780/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456659/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456616/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456659/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:08:37.095913', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790708917.1', return_code='0', job_id='39456659', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:08:37 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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456616/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:08:39.049863', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790708919.05', return_code='0', job_id='39456616', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:08:39 PDT 2026

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
e GAL_V02
Working on...
/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 41.62
user 40.10
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456798/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456798/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456798/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456798/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456798/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456798/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456798/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456798/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
e GAL_V02
Working on...
/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits.....................!
real 46.59
user 43.55
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits', '/lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits', expMap='/lscratch/kocevski/39456785/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', expCube='/lscratch/kocevski/39456785/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39456785/Model_4FGL_J0949.0+4038_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39456785/ft1_filtered_4FGL_J0949.0+4038_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39456785/ft2_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39456785/expmap_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39456785/ltcube_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39456785/Model_4FGL_J0949.0+4038_weekly_bin947.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) = 11910.4084326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7874       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.5326       1.0000          .0000       .10000E+07
     4 'norm      '    .87264E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5026       1.0000          .0000       .10000E+07
     6 'norm      '    3.0321       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47456E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.154       1.0000          .0000       .10000E+07
    10 'norm      '    5.0260       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3195       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17842E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.321       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25444E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .77660E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.9566       1.0000          .0000       .10000E+07
    19 'norm      '    4.6326       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
    21 'norm      '    3.6798       1.0000          .0000       .10000E+07
    22 'Prefactor '    24.554       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0539       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11908.36     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1251 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.086        2.3581        .14627E-08    .56406E-02
   2  Prefactor     2.7866        1.9689        .75032E-08   -.17571E-02
   3  Prefactor     1.5402        2.4160        .80153E-07   -.11863E-01
   4  norm           .0000        .14064        .82470E-08** at limit **
   5  Prefactor     2.5040        1.6043        .18819E-08   -.12596E-01
   6  norm          3.0320        4.1542       -.29456E-07    .57035E-02
   7  Prefactor     .17764E-08    1.4516       -.28789E-06** at limit **
   8  Prefactor     .72164E-09    1.2095       -.47088E-06** at limit **
   9  Prefactor     12.144        8.9501        .59523E-06    .10553E-01
  10  norm          5.0461        2.9775        .42153E-06   -.17047E-01
  11  Prefactor     4.1106        10.834        .10008E-06   -.24152E-01
  12  Prefactor     .17208E-08    1.1427        .66776E-06** at limit **
  13  Prefactor     17.555        13.454        .34450E-06   -.55431E-01
  14  Prefactor     .55511E-10    6.7948        .54315E-07** at limit **
  15  norm          .55511E-10    3.1660        .57797E-08** at limit **
  16  Prefactor      .0000        .69200        .75603E-08** at limit **
  17  Prefactor      .0000        .57602        .90881E-08** at limit **
  18  Prefactor     1.9472        2.1682       -.32523E-08    .60787E-02
  19  norm          4.6321        1.6134       -.40669E-08    .17980E-01
  20  Prefactor     3.8782        2.7758        .22141E-07    .40238E-02
  21  norm          3.6810        4.9598       -.50768E-06   -.47373E-02
  22  Prefactor     24.390        11.589       -.78965E-07   -.25043E-01
  23  Prefactor     2.0546        2.0996        .48747E-07    .32679E-02
  24  Normalizat    1.0769        .12707       -.16161E-05    .21480E-03
  25  Prefactor     .80272        .15033        .14120E-05   -.50806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0861
  Prefactor  = 2.78659
  Prefactor  = 1.5402
  norm       = 0
  Prefactor  = 2.504
  norm       = 3.03201
  Prefactor  = 1.77636e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 12.1444
  norm       = 5.04613
  Prefactor  = 4.11062
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5551
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.94719
  norm       = 4.63211
  Prefactor  = 3.87818
  norm       = 3.68101
  Prefactor  = 24.3902
  Prefactor  = 2.05462
  Normalizat = 1.07691
  Prefactor  = 0.802719
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.36     FROM HESSE     STATUS=OK           491 CALLS     1742 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.086        20.580        .19606E-03   -1.5606    
   2  Prefactor     2.7866        1.9953        .60919E-03   -1.5675    
   3  Prefactor     1.5402        11.994        .86163E-03   -1.5683    
   4  norm           .0000        .11228        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5040        1.7839        .64572E-03   -1.5676    
   6  norm          3.0320        4.5476        .58249E-03   -1.5673    
   7  Prefactor     .17764E-08    1.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    1.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.144        9.2912        .28709E-03   -1.5638    
  10  norm          5.0461        6.7772        .44830E-03   -1.5663    
  11  Prefactor     4.1106        17.230        .48445E-03   -1.5667    
  12  Prefactor     .17208E-08    1.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.555        19.673        .24038E-03   -1.5624    
  14  Prefactor     .55511E-10    6.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.1630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .69252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .57347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9472        2.2065        .74143E-03   -1.5680    
  19  norm          4.6321        1.6150        .46737E-03   -1.5665    
  20  Prefactor     3.8782        2.8177        .51339E-03   -1.5669    
  21  norm          3.6810        5.0449        .52627E-03   -1.5670    
  22  Prefactor     24.390        20.366        .20185E-03   -1.5609    
  23  Prefactor     2.0546        2.1164        .72094E-03   -1.5679    
  24  Normalizat    1.0769        .11059        .39031E-01   -.90497    
  25  Prefactor     .80272        .12975        .64886E-01   -.99628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20185e-07
Minuit parameter uncertainties:
  1  20.5797
  2  1.99531
  3  8.59606
  4  3.29477e-06
  5  1.78387
  6  4.54759
  7  0.000103922
  8  6.07833e-05
  9  9.29122
  10  6.77721
  11  16.8317
  12  9.38139e-05
  13  19.6731
  14  3.86807e-05
  15  2.67103e-05
  16  4.982e-09
  17  2.72782e-06
  18  2.20653
  19  1.61504
  20  2.8177
  21  5.04494
  22  20.3663
  23  2.11639
  24  0.110618
  25  0.129801
Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456749/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456749/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:10:14.626345', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790709014.63', return_code='0', job_id='39456749', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:10:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456780/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456780/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:10:29.181804', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790709029.18', return_code='0', job_id='39456780', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:10:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456798/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456798/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:10:51.525099', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790709051.53', return_code='0', job_id='39456798', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:10:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.756e+01  1.967e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.027e-01  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.077e+00  1.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 4.80e-06 +/- 5.37e-06

TS (Fixed Index): 1.34
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 6.11335177643e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478659179351 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39456785/likelihoodResults_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3416589
delta logL = 0.0220972378575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11908.3296609
delta logL = 0.0340951911912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11908.33     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.144        286.44        .26588E-03    .11453E-02
   2  Index         2.9814        6.4657        .22154        .12669E-03
   3  Normalizat    1.0667        .33905E-01    .39553E-01   -.18917E-03
   4  Prefactor     .81136        .36038E-01    .64585E-01    .13977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1445
  Index      = 2.98139
  Normalizat = 1.06665
  Prefactor  = 0.811357
 **********
 **   18 **HESSE 
 **********

 FCN=   11908.33     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.144        34.482        .10635E-04   -1.5633    
   2  Index         2.9814        2.2352        .11211E-01   -.41558    
   3  Normalizat    1.0667        .13623        .20453E-03   -.90830    
   4  Prefactor     .81136        .15999        .28569E-03   -.99311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30165e-10
Minuit parameter uncertainties:
  1  34.4823
  2  2.3353
  3  0.136278
  4  0.160086
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) = 11908.3296603
delta logL = 0.0340957984426

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.414e+01  3.448e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.981e+00  2.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.114e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.067e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 147.262 40.637
Photon Index (Free Index): 2.98 +/- 2.34
Photon Flux (Free Index): 2.51e-08 +/- 3.82e-08
Energy Flux (Free Index): 5.06e-06 +/- 4.90e-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/39456785/cmap_HighResolution_811728001_812332801_4FGL_J0949.0+4038_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='5.06e-06', photon_flux_error='2.06e-08', dlogl='3.41e-02', energy_flux='4.80e-06', photon_flux2='2.51e-08', job_status='DONE', time_completed='2026-09-29 12:11:01.916142', photon_index_error2='2.34', photon_index2='2.98', ts='1.34', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='4.90e-06', EG='1.08', time_epoch_completed='1790709061.92', return_code='0', job_id='39456785', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='5.37e-06', photon_flux_error2='3.82e-08', ts2='1.42', photon_index='2.61' WHERE bin_id='947' AND source_name='4FGL J0949.0+4038' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 12:11:02 PDT 2026

