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


Performing analysis on: 4FGL_J2009.9+3544_weekly_bin936
RA = 302.489, Dec = 35.746
tmin = 805075201, tmax = 805680001
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='31684871', job_status='RUN', time_executed='2026-07-14 17:23:44.503226', time_epoch_executed='1784075024.5' WHERE source_name='4FGL J2009.9+3544' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31684871

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31684871/ft1_4FGL_J2009.9+3544_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31684871/ft1_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31684871/ft1_filteredMKT_4FGL_J2009.9+3544_weekly_bin936.fits ra=302.489 dec=35.746 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.32
user 4.40
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.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/31684871/ft1_filteredMKT_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.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.88
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 11597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" o/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).

utfile=/lscratch/kocevski/31684871/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
.....................!
real 18.55
user 17.82
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31684871/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31684871/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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/31684871/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
.....................!
real 71.22
user 66.36
sys 3.97

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
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 HB 21 in ROI with RadialDisk spatial model.
Added 216 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 J2009.9+3544 @ 302.489 35.746

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31684871/cmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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=302.489 yref=35.746 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 1.07
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31684871/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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=302.489 yref=35.746 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.99
user 0.24
sys 0.13

Computing the diffuse respponse:
time -p gtdiffrsp evfile=/lscratch/kocevski/31683704/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31683704/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31683704/Model_4FGL_J2009.9+3544_weekly_bin936.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/31683704/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits.....................!
real 716.07
user 711.33
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31683704/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits', '/lscratch/kocevski/31683704/ft2_4FGL_J2009.9+3544_weekly_bin936.fits', expMap='/lscratch/kocevski/31683704/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', expCube='/lscratch/kocevski/31683704/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31683704/Model_4FGL_J2009.9+3544_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2009.9+3544'

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  3.794e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31683704/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31683704/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31683704/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31683704/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31683704/Model_4FGL_J2009.9+3544_weekly_bin936.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) = 100033.605254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51905E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.9805       1.0000          .0000       .10000E+07
     3 'norm      '    9.3712       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9569       1.0000          .0000       .10000E+07
     5 'norm      '    10.118       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
     7 'norm      '    .33917E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .41882E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1376       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4622       1.0000          .0000       .10000E+07
    11 'norm      '    4.6083       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87208E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6313       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+0number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2009.9+3544_weekly_bin936
RA = 302.489, Dec = 35.746
tmin = 805075201, tmax = 805680001
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='31685812', job_status='RUN', time_executed='2026-07-14 17:32:42.714223', time_epoch_executed='1784075562.71' WHERE source_name='4FGL J2009.9+3544' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31685812

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31685812/ft1_4FGL_J2009.9+3544_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31685812/ft1_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31685812/ft1_filteredMKT_4FGL_J2009.9+3544_weekly_bin936.fits ra=302.489 dec=35.746 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.83
user 4.76
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.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/31685812/ft1_filteredMKT_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.08
user 0.23
sys 0.11

Number of photons that the gtmktime cut: 11597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" 5   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100033.1     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      911 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.5004        .49732E-06** at limit **
   2  norm          2.9188        8.9193       -.15483E-05   -.24460E-03
   3  norm          9.3638        3.8281        .94112E-08    .57997E-03
   4  Prefactor     8.0110        9.3320       -.14913E-05   -.47086E-04
   5  norm          10.212        6.6307        .22471E-06   -.95760E-03
   6  Prefactor     9.7986        14.484        .10632E-05    .31937E-02
   7  norm           .0000        .70671       -.71579E-07** at limit **
   8  norm           .0000        3.1483        .14400E-06** at limit **
   9  Prefactor     2.1376        .15660       -.40373E-07    .28269E-02
  10  norm          2.4612        1.8663        .80610E-07   -.31825E-02
  11  norm          4.6189        3.6476        .25556E-07    .20709E-02
  12  Prefactor     .10000E-03    4.1726        .65528E-05** at limit **
  13  norm          .44409E-09    19.465        .75570E-07** at limit **
  14  Prefactor     6.4105        18.222        .17391E-05   -.19133E-02
  15  Normalizat    1.2999        .19359        .14096E-05    .85522E-04
  16  Prefactor     1.0219        .17681E-01    .44424E-06    .41966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.91876
  norm       = 9.3638
  Prefactor  = 8.01103
  norm       = 10.2124
  Prefactor  = 9.79859
  norm       = 0
  norm       = 0
  Prefactor  = 2.13763
  norm       = 2.46123
  norm       = 4.61892
  Prefactor  = 0.0001
  norm       = 4.44089e-10
  Prefactor  = 6.41055
  Normalizat = 1.29987
  Prefactor  = 1.02191
outfile=/lscratch/kocevski/31685812/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
.....................!
real 20.43
user 18.96
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31685812/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31685812/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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/31685812/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
.....................!
real 74.16
user 68.49
sys 4.34

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
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 HB 21 in ROI with RadialDisk spatial model.
Added 216 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 J2009.9+3544 @ 302.489 35.746

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31685812/cmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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=302.489 yref=35.746 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.95
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits outfile=/lscratch/kocevski/31685812/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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=302.489 yref=35.746 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 1.06
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31683654/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31683654/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31683654/Model_4FGL_J2009.9+3544_weekly_bin936.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/31683654/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits.....................!
real 817.25
user 810.77
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31683654/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits', '/lscratch/kocevski/31683654/ft2_4FGL_J2009.9+3544_weekly_bin936.fits', expMap='/lscratch/kocevski/31683654/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', expCube='/lscratch/kocevski/31683654/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31683654/Model_4FGL_J2009.9+3544_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2009.9+3544'

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  3.794e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31683654/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31683654/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31683654/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31683654/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31683654/Model_4FGL_J2009.9+3544_weekly_bin936.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) = 100033.605254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51905E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.9805       1.0000          .0000       .10000E+07
     3 'norm      '    9.3712       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9569       1.0000          .0000       .10000E+07
     5 'norm      '    10.118       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
     7 'norm      '    .33917E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .41882E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1376       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4622       1.0000          .0000       .10000E+07
    11 'norm      '    4.6083       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87208E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6313       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+0onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/31683747/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31683747/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31683747/Model_4FGL_J2009.9+3544_weekly_bin936.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/31683747/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits.....................!
real 762.54
user 757.05
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31683747/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits', '/lscratch/kocevski/31683747/ft2_4FGL_J2009.9+3544_weekly_bin936.fits', expMap='/lscratch/kocevski/31683747/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', expCube='/lscratch/kocevski/31683747/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31683747/Model_4FGL_J2009.9+3544_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2009.9+3544'

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  3.794e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31683747/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31683747/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31683747/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31683747/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31683747/Model_4FGL_J2009.9+3544_weekly_bin936.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) = 100033.605254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51905E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.9805       1.0000          .0000       .10000E+07
     3 'norm      '    9.3712       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9569       1.0000          .0000       .10000E+07
     5 'norm      '    10.118       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
     7 'norm      '    .33917E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .41882E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1376       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4622       1.0000          .0000       .10000E+07
    11 'norm      '    4.6083       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87208E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6313       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+055   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100033.1     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      911 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.5004        .49732E-06** at limit **
   2  norm          2.9188        8.9193       -.15483E-05   -.24460E-03
   3  norm          9.3638        3.8281        .94112E-08    .57997E-03
   4  Prefactor     8.0110        9.3320       -.14913E-05   -.47086E-04
   5  norm          10.212        6.6307        .22471E-06   -.95760E-03
   6  Prefactor     9.7986        14.484        .10632E-05    .31937E-02
   7  norm           .0000        .70671       -.71579E-07** at limit **
   8  norm           .0000        3.1483        .14400E-06** at limit **
   9  Prefactor     2.1376        .15660       -.40373E-07    .28269E-02
  10  norm          2.4612        1.8663        .80610E-07   -.31825E-02
  11  norm          4.6189        3.6476        .25556E-07    .20709E-02
  12  Prefactor     .10000E-03    4.1726        .65528E-05** at limit **
  13  norm          .44409E-09    19.465        .75570E-07** at limit **
  14  Prefactor     6.4105        18.222        .17391E-05   -.19133E-02
  15  Normalizat    1.2999        .19359        .14096E-05    .85522E-04
  16  Prefactor     1.0219        .17681E-01    .44424E-06    .41966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.91876
  norm       = 9.3638
  Prefactor  = 8.01103
  norm       = 10.2124
  Prefactor  = 9.79859
  norm       = 0
  norm       = 0
  Prefactor  = 2.13763
  norm       = 2.46123
  norm       = 4.61892
  Prefactor  = 0.0001
  norm       = 4.44089e-10
  Prefactor  = 6.41055
  Normalizat = 1.29987
  Prefactor  = 1.02191
 **********
 **   18 **HESSE 
 **********

 FCN=   100033.1     FROM HESSE     STATUS=OK           245 CALLS     1156 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    8.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9188        8.9268        .58782E-03   -1.5674    
   3  norm          9.3638        3.8372        .32713E-03   -1.5647    
   4  Prefactor     8.0110        9.3690        .35522E-03   -1.5651    
   5  norm          10.212        6.6403        .31477E-03   -1.5644    
   6  Prefactor     9.7986        22.318        .32870E-03   -1.5645    
   7  norm           .0000        .68285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        .15773        .70483E-02   -1.5416    
  10  norm          2.4612        1.8773        .65148E-03   -1.5677    
  11  norm          4.6189        3.6536        .46863E-03   -1.5665    
  12  Prefactor     .10000E-03    .55151        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4105        23.620        .42309E-03   -1.5657    
  15  Normalizat    1.2999        .20285        .28880       -.83570    
  16  Prefactor     1.0219        .17961E-01    .28309E-01   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85811e-06
Minuit parameter uncertainties:
  1  3.37615e-05
  2  8.92687
  3  3.83722
  4  9.36906
  5  6.64026
  6  22.318
  7  3.53963e-07
  8  7.04572e-06
  9  0.157725
  10  1.87726
  11  3.6536
  12  1.86357e-06
  13  0.000180546
  14  23.62
  15  0.202976
  16  0.0179612
   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100033.1     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      911 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.5004        .49732E-06** at limit **
   2  norm          2.9188        8.9193       -.15483E-05   -.24460E-03
   3  norm          9.3638        3.8281        .94112E-08    .57997E-03
   4  Prefactor     8.0110        9.3320       -.14913E-05   -.47086E-04
   5  norm          10.212        6.6307        .22471E-06   -.95760E-03
   6  Prefactor     9.7986        14.484        .10632E-05    .31937E-02
   7  norm           .0000        .70671       -.71579E-07** at limit **
   8  norm           .0000        3.1483        .14400E-06** at limit **
   9  Prefactor     2.1376        .15660       -.40373E-07    .28269E-02
  10  norm          2.4612        1.8663        .80610E-07   -.31825E-02
  11  norm          4.6189        3.6476        .25556E-07    .20709E-02
  12  Prefactor     .10000E-03    4.1726        .65528E-05** at limit **
  13  norm          .44409E-09    19.465        .75570E-07** at limit **
  14  Prefactor     6.4105        18.222        .17391E-05   -.19133E-02
  15  Normalizat    1.2999        .19359        .14096E-05    .85522E-04
  16  Prefactor     1.0219        .17681E-01    .44424E-06    .41966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.91876
  norm       = 9.3638
  Prefactor  = 8.01103
  norm       = 10.2124
  Prefactor  = 9.79859
  norm       = 0
  norm       = 0
  Prefactor  = 2.13763
  norm       = 2.46123
  norm       = 4.61892
  Prefactor  = 0.0001
  norm       = 4.44089e-10
  Prefactor  = 6.41055
  Normalizat = 1.29987
  Prefactor  = 1.02191
 **********
 **   18 **HESSE 
 **********

 FCN=   100033.1     FROM HESSE     STATUS=OK           245 CALLS     1156 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    8.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9188        8.9268        .58782E-03   -1.5674    
   3  norm          9.3638        3.8372        .32713E-03   -1.5647    
   4  Prefactor     8.0110        9.3690        .35522E-03   -1.5651    
   5  norm          10.212        6.6403        .31477E-03   -1.5644    
   6  Prefactor     9.7986        22.318        .32870E-03   -1.5645    
   7  norm           .0000        .68285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        .15773        .70483E-02   -1.5416    
  10  norm          2.4612        1.8773        .65148E-03   -1.5677    
  11  norm          4.6189        3.6536        .46863E-03   -1.5665    
  12  Prefactor     .10000E-03    .55151        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4105        23.620        .42309E-03   -1.5657    
  15  Normalizat    1.2999        .20285        .28880       -.83570    
  16  Prefactor     1.0219        .17961E-01    .28309E-01   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85811e-06
Minuit parameter uncertainties:
  1  3.37615e-05
  2  8.92687
  3  3.83722
  4  9.36906
  5  6.64026
  6  22.318
  7  3.53963e-07
  8  7.04572e-06
  9  0.157725
  10  1.87726
  11  3.6536
  12  1.86357e-06
  13  0.000180546
  14  23.62
  15  0.202976
  16  0.0179612
 **********
 **   18 **HESSE 
 **********

 FCN=   100033.1     FROM HESSE     STATUS=OK           245 CALLS     1156 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    8.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9188        8.9268        .58782E-03   -1.5674    
   3  norm          9.3638        3.8372        .32713E-03   -1.5647    
   4  Prefactor     8.0110        9.3690        .35522E-03   -1.5651    
   5  norm          10.212        6.6403        .31477E-03   -1.5644    
   6  Prefactor     9.7986        22.318        .32870E-03   -1.5645    
   7  norm           .0000        .68285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        .15773        .70483E-02   -1.5416    
  10  norm          2.4612        1.8773        .65148E-03   -1.5677    
  11  norm          4.6189        3.6536        .46863E-03   -1.5665    
  12  Prefactor     .10000E-03    .55151        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4105        23.620        .42309E-03   -1.5657    
  15  Normalizat    1.2999        .20285        .28880       -.83570    
  16  Prefactor     1.0219        .17961E-01    .28309E-01   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85811e-06
Minuit parameter uncertainties:
  1  3.37615e-05
  2  8.92687
  3  3.83722
  4  9.36906
  5  6.64026
  6  22.318
  7  3.53963e-07
  8  7.04572e-06
  9  0.157725
  10  1.87726
  11  3.6536
  12  1.86357e-06
  13  0.000180546
  14  23.62
  15  0.202976
  16  0.0179612
Done.

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

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  9.799e+00  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.022e+00  1.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 302.489 35.746
Photon Flux Upper Limit: 1.45451496591e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110963313862 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683704/likelihoodResults_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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): 1
logL (Free Index) = 100027.625078
delta logL = 5.46603268009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 100026.90452
delta logL = 6.18659113983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11929E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      559 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0092        .42118E-03** at limit **
   2  Index         .14483        .24885        .16745E-06     .0000    
   3  Normalizat    1.2996        1.1523       -.52612E-06   -.59520E-06
   4  Prefactor     1.0232        1.2344       -.21446E-06   -.95771E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.144831
  Normalizat = 1.29963
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM HESSE     STATUS=FAILED         9 CALLS      568 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0092        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17945        .24885        .16745E-06   -22797.    
   3  Normalizat    1.2996        1.1523       -.52612E-06    5.4474    
   4  Prefactor     1.0232        1.2344       -.21446E-06   -83.903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26968e-16
Minuit parameter uncertainties:
  1  1.89972e-08
  2  0.250681
  3  1.17631
  4  1.27139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 100033.192192
delta logL = -0.101080711203

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  0.000e+00  1.900e-08  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  1.448e-01  2.507e-01  0.000e+00  1.000e+01 (-1.000e+00)
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.023e+00  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  1.176e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 302.489 35.746

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31683704/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2026-07-14 17:56:51.128875', job_id='31683704', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784077011.13', return_code2='101', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.01e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='936' AND source_name='4FGL J2009.9+3544' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 17:56:51 PDT 2026

onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31684871/Model_4FGL_J2009.9+3544_weekly_bin936.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/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits.....................!
real 846.01
user 839.85
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits', '/lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits', expMap='/lscratch/kocevski/31684871/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', expCube='/lscratch/kocevski/31684871/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31684871/Model_4FGL_J2009.9+3544_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2009.9+3544'

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  3.794e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31684871/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31684871/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31684871/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31684871/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31684871/Model_4FGL_J2009.9+3544_weekly_bin936.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) = 100033.605254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51905E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.9805       1.0000          .0000       .10000E+07
     3 'norm      '    9.3712       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9569       1.0000          .0000       .10000E+07
     5 'norm      '    10.118       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
     7 'norm      '    .33917E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .41882E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1376       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4622       1.0000          .0000       .10000E+07
    11 'norm      '    4.6083       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87208E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6313       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05Done.

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

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  9.799e+00  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.022e+00  1.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 302.489 35.746
Photon Flux Upper Limit: 1.45451496591e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110963313862 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683747/likelihoodResults_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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): 1
logL (Free Index) = 100027.625078
delta logL = 5.46603268009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 100026.90452
delta logL = 6.18659113983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11929E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      559 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0092        .42118E-03** at limit **
   2  Index         .14483        .24885        .16745E-06     .0000    
   3  Normalizat    1.2996        1.1523       -.52612E-06   -.59520E-06
   4  Prefactor     1.0232        1.2344       -.21446E-06   -.95771E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.144831
  Normalizat = 1.29963
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM HESSE     STATUS=FAILED         9 CALLS      568 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0092        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17945        .24885        .16745E-06   -22797.    
   3  Normalizat    1.2996        1.1523       -.52612E-06    5.4474    
   4  Prefactor     1.0232        1.2344       -.21446E-06   -83.903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26968e-16
Minuit parameter uncertainties:
  1  1.89972e-08
  2  0.250681
  3  1.17631
  4  1.27139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 100033.192192
delta logL = -0.101080711203

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  0.000e+00  1.900e-08  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  1.448e-01  2.507e-01  0.000e+00  1.000e+01 (-1.000e+00)
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.023e+00  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  1.176e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 302.489 35.746

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31683747/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2026-07-14 18:00:50.037201', job_id='31683747', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784077250.04', return_code2='101', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.01e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='936' AND source_name='4FGL J2009.9+3544' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 18:00:50 PDT 2026

   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100033.1     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      911 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.5004        .49732E-06** at limit **
   2  norm          2.9188        8.9193       -.15483E-05   -.24460E-03
   3  norm          9.3638        3.8281        .94112E-08    .57997E-03
   4  Prefactor     8.0110        9.3320       -.14913E-05   -.47086E-04
   5  norm          10.212        6.6307        .22471E-06   -.95760E-03
   6  Prefactor     9.7986        14.484        .10632E-05    .31937E-02
   7  norm           .0000        .70671       -.71579E-07** at limit **
   8  norm           .0000        3.1483        .14400E-06** at limit **
   9  Prefactor     2.1376        .15660       -.40373E-07    .28269E-02
  10  norm          2.4612        1.8663        .80610E-07   -.31825E-02
  11  norm          4.6189        3.6476        .25556E-07    .20709E-02
  12  Prefactor     .10000E-03    4.1726        .65528E-05** at limit **
  13  norm          .44409E-09    19.465        .75570E-07** at limit **
  14  Prefactor     6.4105        18.222        .17391E-05   -.19133E-02
  15  Normalizat    1.2999        .19359        .14096E-05    .85522E-04
  16  Prefactor     1.0219        .17681E-01    .44424E-06    .41966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.91876
  norm       = 9.3638
  Prefactor  = 8.01103
  norm       = 10.2124
  Prefactor  = 9.79859
  norm       = 0
  norm       = 0
  Prefactor  = 2.13763
  norm       = 2.46123
  norm       = 4.61892
  Prefactor  = 0.0001
  norm       = 4.44089e-10
  Prefactor  = 6.41055
  Normalizat = 1.29987
  Prefactor  = 1.02191
Done.

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

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  9.799e+00  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.022e+00  1.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 302.489 35.746
Photon Flux Upper Limit: 1.45451496591e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110963313862 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31683654/likelihoodResults_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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): 1
logL (Free Index) = 100027.625078
delta logL = 5.46603268009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 100026.90452
delta logL = 6.18659113983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11929E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      559 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0092        .42118E-03** at limit **
   2  Index         .14483        .24885        .16745E-06     .0000    
   3  Normalizat    1.2996        1.1523       -.52612E-06   -.59520E-06
   4  Prefactor     1.0232        1.2344       -.21446E-06   -.95771E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.144831
  Normalizat = 1.29963
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM HESSE     STATUS=FAILED         9 CALLS      568 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0092        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17945        .24885        .16745E-06   -22797.    
   3  Normalizat    1.2996        1.1523       -.52612E-06    5.4474    
   4  Prefactor     1.0232        1.2344       -.21446E-06   -83.903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26968e-16
Minuit parameter uncertainties:
  1  1.89972e-08
  2  0.250681
  3  1.17631
  4  1.27139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 100033.192192
delta logL = -0.101080711203

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  0.000e+00  1.900e-08  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  1.448e-01  2.507e-01  0.000e+00  1.000e+01 (-1.000e+00)
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.023e+00  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  1.176e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 302.489 35.746

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31683654/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2026-07-14 18:01:09.209323', job_id='31683654', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784077269.21', return_code2='101', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.01e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='936' AND source_name='4FGL J2009.9+3544' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 18:01:09 PDT 2026

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

 FCN=   100033.1     FROM HESSE     STATUS=OK           245 CALLS     1156 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    8.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9188        8.9268        .58782E-03   -1.5674    
   3  norm          9.3638        3.8372        .32713E-03   -1.5647    
   4  Prefactor     8.0110        9.3690        .35522E-03   -1.5651    
   5  norm          10.212        6.6403        .31477E-03   -1.5644    
   6  Prefactor     9.7986        22.318        .32870E-03   -1.5645    
   7  norm           .0000        .68285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        .15773        .70483E-02   -1.5416    
  10  norm          2.4612        1.8773        .65148E-03   -1.5677    
  11  norm          4.6189        3.6536        .46863E-03   -1.5665    
  12  Prefactor     .10000E-03    .55151        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4105        23.620        .42309E-03   -1.5657    
  15  Normalizat    1.2999        .20285        .28880       -.83570    
  16  Prefactor     1.0219        .17961E-01    .28309E-01   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85811e-06
Minuit parameter uncertainties:
  1  3.37615e-05
  2  8.92687
  3  3.83722
  4  9.36906
  5  6.64026
  6  22.318
  7  3.53963e-07
  8  7.04572e-06
  9  0.157725
  10  1.87726
  11  3.6536
  12  1.86357e-06
  13  0.000180546
  14  23.62
  15  0.202976
  16  0.0179612
ponse:
time -p gtdiffrsp evfile=/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31685812/Model_4FGL_J2009.9+3544_weekly_bin936.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/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits.....................!
real 876.94
user 869.55
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits', '/lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits', expMap='/lscratch/kocevski/31685812/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', expCube='/lscratch/kocevski/31685812/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31685812/Model_4FGL_J2009.9+3544_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2009.9+3544'

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  3.794e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31685812/ft1_filtered_4FGL_J2009.9+3544_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31685812/ft2_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31685812/expmap_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31685812/ltcube_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31685812/Model_4FGL_J2009.9+3544_weekly_bin936.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) = 100033.605254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51905E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.9805       1.0000          .0000       .10000E+07
     3 'norm      '    9.3712       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9569       1.0000          .0000       .10000E+07
     5 'norm      '    10.118       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
     7 'norm      '    .33917E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .41882E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1376       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4622       1.0000          .0000       .10000E+07
    11 'norm      '    4.6083       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13642E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87208E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6313       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100033.1     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      911 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.5004        .49732E-06** at limit **
   2  norm          2.9188        8.9193       -.15483E-05   -.24460E-03
   3  norm          9.3638        3.8281        .94112E-08    .57997E-03
   4  Prefactor     8.0110        9.3320       -.14913E-05   -.47086E-04
   5  norm          10.212        6.6307        .22471E-06   -.95760E-03
   6  Prefactor     9.7986        14.484        .10632E-05    .31937E-02
   7  norm           .0000        .70671       -.71579E-07** at limit **
   8  norm           .0000        3.1483        .14400E-06** at limit **
   9  Prefactor     2.1376        .15660       -.40373E-07    .28269E-02
  10  norm          2.4612        1.8663        .80610E-07   -.31825E-02
  11  norm          4.6189        3.6476        .25556E-07    .20709E-02
  12  Prefactor     .10000E-03    4.1726        .65528E-05** at limit **
  13  norm          .44409E-09    19.465        .75570E-07** at limit **
  14  Prefactor     6.4105        18.222        .17391E-05   -.19133E-02
  15  Normalizat    1.2999        .19359        .14096E-05    .85522E-04
  16  Prefactor     1.0219        .17681E-01    .44424E-06    .41966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.91876
  norm       = 9.3638
  Prefactor  = 8.01103
  norm       = 10.2124
  Prefactor  = 9.79859
  norm       = 0
  norm       = 0
  Prefactor  = 2.13763
  norm       = 2.46123
  norm       = 4.61892
  Prefactor  = 0.0001
  norm       = 4.44089e-10
  Prefactor  = 6.41055
  Normalizat = 1.29987
  Prefactor  = 1.02191
 **********
 **   18 **HESSE 
 **********

 FCN=   100033.1     FROM HESSE     STATUS=OK           245 CALLS     1156 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    8.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9188        8.9268        .58782E-03   -1.5674    
   3  norm          9.3638        3.8372        .32713E-03   -1.5647    
   4  Prefactor     8.0110        9.3690        .35522E-03   -1.5651    
   5  norm          10.212        6.6403        .31477E-03   -1.5644    
   6  Prefactor     9.7986        22.318        .32870E-03   -1.5645    
   7  norm           .0000        .68285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        .15773        .70483E-02   -1.5416    
  10  norm          2.4612        1.8773        .65148E-03   -1.5677    
  11  norm          4.6189        3.6536        .46863E-03   -1.5665    
  12  Prefactor     .10000E-03    .55151        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4105        23.620        .42309E-03   -1.5657    
  15  Normalizat    1.2999        .20285        .28880       -.83570    
  16  Prefactor     1.0219        .17961E-01    .28309E-01   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85811e-06
Minuit parameter uncertainties:
  1  3.37615e-05
  2  8.92687
  3  3.83722
  4  9.36906
  5  6.64026
  6  22.318
  7  3.53963e-07
  8  7.04572e-06
  9  0.157725
  10  1.87726
  11  3.6536
  12  1.86357e-06
  13  0.000180546
  14  23.62
  15  0.202976
  16  0.0179612
Done.

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

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  9.799e+00  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.022e+00  1.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 302.489 35.746
Photon Flux Upper Limit: 1.45451496591e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110963313862 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31684871/likelihoodResults_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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): 1
logL (Free Index) = 100027.625078
delta logL = 5.46603268009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 100026.90452
delta logL = 6.18659113983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11929E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      559 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0092        .42118E-03** at limit **
   2  Index         .14483        .24885        .16745E-06     .0000    
   3  Normalizat    1.2996        1.1523       -.52612E-06   -.59520E-06
   4  Prefactor     1.0232        1.2344       -.21446E-06   -.95771E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.144831
  Normalizat = 1.29963
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM HESSE     STATUS=FAILED         9 CALLS      568 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0092        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17945        .24885        .16745E-06   -22797.    
   3  Normalizat    1.2996        1.1523       -.52612E-06    5.4474    
   4  Prefactor     1.0232        1.2344       -.21446E-06   -83.903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26968e-16
Minuit parameter uncertainties:
  1  1.89972e-08
  2  0.250681
  3  1.17631
  4  1.27139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 100033.192192
delta logL = -0.101080711203

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  0.000e+00  1.900e-08  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  1.448e-01  2.507e-01  0.000e+00  1.000e+01 (-1.000e+00)
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.023e+00  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  1.176e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 302.489 35.746

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31684871/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2026-07-14 18:14:40.873655', job_id='31684871', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784078080.87', return_code2='101', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.01e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='936' AND source_name='4FGL J2009.9+3544' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 18:14:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  9.799e+00  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  2.217e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.022e+00  1.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 302.489 35.746
Photon Flux Upper Limit: 1.45451496591e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110963313862 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31685812/likelihoodResults_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.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): 1
logL (Free Index) = 100027.625078
delta logL = 5.46603268009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 100026.90452
delta logL = 6.18659113983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11929E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      559 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0092        .42118E-03** at limit **
   2  Index         .14483        .24885        .16745E-06     .0000    
   3  Normalizat    1.2996        1.1523       -.52612E-06   -.59520E-06
   4  Prefactor     1.0232        1.2344       -.21446E-06   -.95771E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.144831
  Normalizat = 1.29963
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   100033.2     FROM HESSE     STATUS=FAILED         9 CALLS      568 TOTAL
                     EDM=   .93E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0092        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17945        .24885        .16745E-06   -22797.    
   3  Normalizat    1.2996        1.1523       -.52612E-06    5.4474    
   4  Prefactor     1.0232        1.2344       -.21446E-06   -83.903    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26968e-16
Minuit parameter uncertainties:
  1  1.89972e-08
  2  0.250681
  3  1.17631
  4  1.27139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 100033.192192
delta logL = -0.101080711203

Extracting fit parameters...

4FGL J2009.9+3544
   Spectrum: PowerLaw
388    Prefactor:  0.000e+00  1.900e-08  0.000e+00  1.000e+06 ( 1.000e-14)
389        Index:  1.448e-01  2.507e-01  0.000e+00  1.000e+01 (-1.000e+00)
390        Scale:  3.849e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
787    Prefactor:  1.023e+00  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
788        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
789        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
786   Normalization:  1.300e+00  1.176e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 302.489 35.746

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31685812/cmap_HighResolution_805075201_805680001_4FGL_J2009.9+3544_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2026-07-14 18:27:40.234239', job_id='31685812', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784078860.23', return_code2='101', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.01e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='936' AND source_name='4FGL J2009.9+3544' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 18:27:40 PDT 2026

