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

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

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

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

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

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

.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   40693.74     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1294 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    3.3507         .0000    ** at limit **
   2  Prefactor     .10027E-03    .76372         .0000    ** at limit **
   3  norm          15.264        14.353         .0000        .21337E-01
   4  Prefactor     1.3564        10.997         .0000        .17498    
   5  Prefactor     .49516E-07    32.989         .0000    ** at limit **
   6  Prefactor     7.3980        17.948         .0000       -.43653E-02
   7  Prefactor      .0000        4.4776         .0000    ** at limit **
   8  Prefactor     1.1008        3.1720         .0000        1.5099    
   9  norm          3.1991        2.6313         .0000        .63854E-02
  10  norm          .21899        .74153         .0000    ** at limit **
  11  norm          1.1652        2.3141         .0000        1.5749    
  12  norm          .61062E-09    2.3544         .0000    ** at limit **
  13  Prefactor     .27978E-07    27.932         .0000    ** at limit **
  14  Prefactor     1.6799        3.5132         .0000        .21004E-01
  15  norm          .21960        .40772         .0000    ** at limit **
  16  Normalizat    1.2706        .15321         .0000       -.36769E-03
  17  Prefactor     .98361        .28560E-01     .0000       -.21046E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  Prefactor  = 0.000100269
  norm       = 15.2643
  Prefactor  = 1.35641
  Prefactor  = 4.95159e-08
  Prefactor  = 7.39802
  Prefactor  = 0
  Prefactor  = 1.10079
  norm       = 3.19915
  norm       = 0.218988
  norm       = 1.16516
  norm       = 6.10623e-10
  Prefactor  = 2.79776e-08
  Prefactor  = 1.67991
  norm       = 0.219595
  Normalizat = 1.27059
  Prefactor  = 0.983609
number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2115.4+2932_weekly_bin945
RA = 318.874, Dec = 29.5456
tmin = 810518401, tmax = 811123201
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='38330622', job_status='RUN', time_executed='2026-09-15 16:47:23.922770', time_epoch_executed='1789516043.92' WHERE source_name='4FGL J2115.4+2932' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38330622

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38330622/ft1_4FGL_J2115.4+2932_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38330622/ft1_4FGL_J2115.4+2932_weekly_bin945.fits outfile=/lscratch/kocevski/38330622/ft1_filteredMKT_4FGL_J2115.4+2932_weekly_bin945.fits ra=318.874 dec=29.5456 rad=12.0 tmin=810518401.0 tmax=811123201.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.23
user 5.66
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.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/38330622/ft1_filteredMKT_4FGL_J2115.4+2932_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.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.65
user 0.25
sys 0.13

Number of photons that the gtmktime cut: 4185

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   40693.74     FROM HESSE     STATUS=OK           233 CALLS     1527 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    3.4846        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10027E-03    .83716        .61815E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.264        14.354        .10253E-04   -1.5630    
   4  Prefactor     1.3564        11.135        .20385E-03   -1.5685    
   5  Prefactor     .49516E-07    33.183        .29461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3980        17.893        .14887E-04   -1.5654    
   7  Prefactor      .0000        4.4784        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1008        3.0999        .22634E-03   -1.5687    
   9  norm          3.1991        2.5616        .22647E-04   -1.5672    
  10  norm          .21899        .73363        .30931E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1652        2.2922        .20873E-03   -1.5686    
  12  norm          .61062E-09    2.3565        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27978E-07    27.964        .30506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6799        3.4851        .32512E-04   -1.5682    
  15  norm          .21960        .39704        .16780E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2706        .15737        .59694E-03   -.84449    
  17  Prefactor     .98361        .30016E-01    .13231E-03   -.93278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50119e-08
Minuit parameter uncertainties:
  1  6.38895e-05
  2  0.000948563
  3  14.3537
  4  7.77263
  5  0.00256319
  6  17.8933
  7  1.11806e-05
  8  3.09992
  9  2.56162
  10  0.733632
  11  2.29222
  12  7.48427e-05
  13  0.00176973
  14  3.48514
  15  0.397041
  16  0.157433
  17  0.0300165
 outfile=/lscratch/kocevski/38330622/ltcube_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.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/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits
.....................!
real 19.43
user 18.89
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38330622/ltcube_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits outfile=/lscratch/kocevski/38330622/expmap_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.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/38330622/ltcube_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits
.....................!
real 73.79
user 68.69
sys 4.31

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
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 208 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2115.4+2932 @ 318.874 29.5456

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits outfile=/lscratch/kocevski/38330622/cmap_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.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=318.874 yref=29.5456 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.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits outfile=/lscratch/kocevski/38330622/cmap_HighResolution_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.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=318.874 yref=29.5456 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.25
sys 0.14

Computing the diffuseDone.

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

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  3.199e+00  2.562e+00  0.000e+00  1.000e+06 ( 1.000e-12)
473        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
474         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.836e-01  3.002e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.271e+00  1.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.54
Ra Dec: 318.874 29.546
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.38e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 9.43e-06 +/- 7.55e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40692.9550123
delta logL = 0.785735973594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40692.7318035
delta logL = 1.00894472154

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   40692.73     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4539        1.2457        .89246E-03   -.11463E-01
   2  alpha         1.1696        .39588        .50000       -.23274E-03
   3  Normalizat    1.2875        .14237        .13371        .11781E-03
   4  Prefactor     .98290        .28324E-01    .29953E-01   -.50959E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45386
  alpha      = 1.16963
  Normalizat = 1.28749
  Prefactor  = 0.982903
 **********
 **   18 **HESSE 
 **********

 FCN=   40692.73     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4539        1.7819        .19524E-04   -1.5684    
   2  alpha         1.1696        .61904        .35555E-01   -.56113    
   3  Normalizat    1.2875        .14910        .59365E-03   -.83941    
   4  Prefactor     .98290        .29810E-01    .13236E-03   -.93302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27224e-10
Minuit parameter uncertainties:
  1  1.78188
  2  0.628224
  3  0.149145
  4  0.0298109
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) = 40692.7318031
delta logL = 1.00894514324

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  1.454e+00  1.782e+00  0.000e+00  1.000e+06 ( 1.000e-12)
473        alpha:  1.170e+00  6.282e-01  0.000e+00  5.000e+00 ( 1.000e+00)
474         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.829e-01  2.981e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.287e+00  1.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.54
Ra Dec: 318.874 29.546
Photon Index (Free Index): 1.17 +/- 0.63
Photon Flux (Free Index): 5.13e-09 +/- 5.95e-09
Energy Flux (Free Index): 1.81e-05 +/- 2.08e-05

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/38330180/cmap_HighResolution_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.38e-08', energy_flux2='1.81e-05', photon_flux_error='1.90e-08', dlogl='1.01e+00', energy_flux='9.43e-06', photon_flux2='5.13e-09', job_status='DONE', time_completed='2026-09-15 16:50:47.357755', photon_index_error2='0.63', photon_index2='1.17', ts='4.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='1.27', time_epoch_completed='1789516247.36', return_code='0', job_id='38330180', GAL2='0.98', EG2='1.29', return_code2='0', energy_flux_error='7.55e-06', photon_flux_error2='5.95e-09', ts2='6.54', photon_index='2.24' WHERE bin_id='945' AND source_name='4FGL J2115.4+2932' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 16:50:47 PDT 2026

 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38330622/Model_4FGL_J2115.4+2932_weekly_bin945.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits.....................!
real 311.69
user 308.20
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits', '/lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits', expMap='/lscratch/kocevski/38330622/expmap_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits', expCube='/lscratch/kocevski/38330622/ltcube_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38330622/Model_4FGL_J2115.4+2932_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2115.4+2932'

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  6.398e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
473        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
474         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38330622/ft1_filtered_4FGL_J2115.4+2932_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38330622/ft2_4FGL_J2115.4+2932_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38330622/expmap_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38330622/ltcube_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38330622/Model_4FGL_J2115.4+2932_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15082E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19035E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.236       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2223       1.0000          .0000       .10000E+07
     5 'Prefactor '    .72690E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.2544       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20406E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.1010       1.0000          .0000       .10000E+07
     9 'norm      '    3.1998       1.0000          .0000       .10000E+07
    10 'norm      '    .21914       1.0000          .0000       .10000E+07
    11 'norm      '    1.1653       1.0000          .0000       .10000E+07
    12 'norm      '    .45575E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57511E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6788       1.0000          .0000       .10000E+07
    15 'norm      '    .21945       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2709       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   40693.74     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1294 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    3.3507         .0000    ** at limit **
   2  Prefactor     .10027E-03    .76372         .0000    ** at limit **
   3  norm          15.264        14.353         .0000        .21337E-01
   4  Prefactor     1.3564        10.997         .0000        .17498    
   5  Prefactor     .49516E-07    32.989         .0000    ** at limit **
   6  Prefactor     7.3980        17.948         .0000       -.43653E-02
   7  Prefactor      .0000        4.4776         .0000    ** at limit **
   8  Prefactor     1.1008        3.1720         .0000        1.5099    
   9  norm          3.1991        2.6313         .0000        .63854E-02
  10  norm          .21899        .74153         .0000    ** at limit **
  11  norm          1.1652        2.3141         .0000        1.5749    
  12  norm          .61062E-09    2.3544         .0000    ** at limit **
  13  Prefactor     .27978E-07    27.932         .0000    ** at limit **
  14  Prefactor     1.6799        3.5132         .0000        .21004E-01
  15  norm          .21960        .40772         .0000    ** at limit **
  16  Normalizat    1.2706        .15321         .0000       -.36769E-03
  17  Prefactor     .98361        .28560E-01     .0000       -.21046E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  Prefactor  = 0.000100269
  norm       = 15.2643
  Prefactor  = 1.35641
  Prefactor  = 4.95159e-08
  Prefactor  = 7.39802
  Prefactor  = 0
  Prefactor  = 1.10079
  norm       = 3.19915
  norm       = 0.218988
  norm       = 1.16516
  norm       = 6.10623e-10
  Prefactor  = 2.79776e-08
  Prefactor  = 1.67991
  norm       = 0.219595
  Normalizat = 1.27059
  Prefactor  = 0.983609
 **********
 **   18 **HESSE 
 **********

 FCN=   40693.74     FROM HESSE     STATUS=OK           233 CALLS     1527 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    3.4846        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10027E-03    .83716        .61815E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.264        14.354        .10253E-04   -1.5630    
   4  Prefactor     1.3564        11.135        .20385E-03   -1.5685    
   5  Prefactor     .49516E-07    33.183        .29461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3980        17.893        .14887E-04   -1.5654    
   7  Prefactor      .0000        4.4784        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1008        3.0999        .22634E-03   -1.5687    
   9  norm          3.1991        2.5616        .22647E-04   -1.5672    
  10  norm          .21899        .73363        .30931E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1652        2.2922        .20873E-03   -1.5686    
  12  norm          .61062E-09    2.3565        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27978E-07    27.964        .30506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6799        3.4851        .32512E-04   -1.5682    
  15  norm          .21960        .39704        .16780E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2706        .15737        .59694E-03   -.84449    
  17  Prefactor     .98361        .30016E-01    .13231E-03   -.93278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50119e-08
Minuit parameter uncertainties:
  1  6.38895e-05
  2  0.000948563
  3  14.3537
  4  7.77263
  5  0.00256319
  6  17.8933
  7  1.11806e-05
  8  3.09992
  9  2.56162
  10  0.733632
  11  2.29222
  12  7.48427e-05
  13  0.00176973
  14  3.48514
  15  0.397041
  16  0.157433
  17  0.0300165
Done.

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

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  3.199e+00  2.562e+00  0.000e+00  1.000e+06 ( 1.000e-12)
473        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
474         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.836e-01  3.002e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.271e+00  1.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.54
Ra Dec: 318.874 29.546
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.38e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 9.43e-06 +/- 7.55e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40692.9550123
delta logL = 0.785735973594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40692.7318035
delta logL = 1.00894472154

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   40692.73     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4539        1.2457        .89246E-03   -.11463E-01
   2  alpha         1.1696        .39588        .50000       -.23274E-03
   3  Normalizat    1.2875        .14237        .13371        .11781E-03
   4  Prefactor     .98290        .28324E-01    .29953E-01   -.50959E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45386
  alpha      = 1.16963
  Normalizat = 1.28749
  Prefactor  = 0.982903
 **********
 **   18 **HESSE 
 **********

 FCN=   40692.73     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4539        1.7819        .19524E-04   -1.5684    
   2  alpha         1.1696        .61904        .35555E-01   -.56113    
   3  Normalizat    1.2875        .14910        .59365E-03   -.83941    
   4  Prefactor     .98290        .29810E-01    .13236E-03   -.93302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27224e-10
Minuit parameter uncertainties:
  1  1.78188
  2  0.628224
  3  0.149145
  4  0.0298109
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) = 40692.7318031
delta logL = 1.00894514324

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  1.454e+00  1.782e+00  0.000e+00  1.000e+06 ( 1.000e-12)
473        alpha:  1.170e+00  6.282e-01  0.000e+00  5.000e+00 ( 1.000e+00)
474         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.829e-01  2.981e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.287e+00  1.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.54
Ra Dec: 318.874 29.546
Photon Index (Free Index): 1.17 +/- 0.63
Photon Flux (Free Index): 5.13e-09 +/- 5.95e-09
Energy Flux (Free Index): 1.81e-05 +/- 2.08e-05

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/38330622/cmap_HighResolution_810518401_811123201_4FGL_J2115.4+2932_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.38e-08', energy_flux2='1.81e-05', photon_flux_error='1.90e-08', dlogl='1.01e+00', energy_flux='9.43e-06', photon_flux2='5.13e-09', job_status='DONE', time_completed='2026-09-15 17:04:32.728701', photon_index_error2='0.63', photon_index2='1.17', ts='4.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='1.27', time_epoch_completed='1789517072.73', return_code='0', job_id='38330622', GAL2='0.98', EG2='1.29', return_code2='0', energy_flux_error='7.55e-06', photon_flux_error2='5.95e-09', ts2='6.54', photon_index='2.24' WHERE bin_id='945' AND source_name='4FGL J2115.4+2932' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 17:04:32 PDT 2026

