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

 FCN=   17471.37     FROM HESSE     STATUS=OK           455 CALLS     2099 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7368        2.4236        .46210E-03   -1.5664    
   2  norm          5.2915        1.1180        .43672E-03   -1.5662    
   3  norm          1.3893        2.8564        .92059E-03   -1.5684    
   4  Prefactor     .25438E-04    149.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9727        5.1370        .58943E-03   -1.5673    
   6  Prefactor     16.346        20.952        .24814E-03   -1.5627    
   7  Prefactor     44.289        50.332        .15305E-03   -1.5575    
   8  norm          10.121        4.2210        .31485E-03   -1.5644    
   9  norm          .11102E-09    3.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9848        12.392        .45040E-03   -1.5663    
  11  Prefactor     .56322        113.12        .58301E-03   -1.5693    
  12  Prefactor     1.6714        3.4637        .81257E-03   -1.5682    
  13  norm          2.1979        1.1296        .69374E-03   -1.5678    
  14  norm          .43854E-07    10.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98193        4.2030        .42843E-03   -1.5688    
  16  norm          .13878E-08    4.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4993        42.827        .91102E-03   -1.5683    
  18  norm          .28936        1.9099        .10363E-02   -1.5697    
  19  Prefactor     .23456E-05    4.6709        .15053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .13003E-05    14.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.3045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .47717E-06    13.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0186        .20657        .11721       -.92409    
  24  Prefactor     .98191        .44498E-01    .29951E-01   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08655e-06
Minuit parameter uncertainties:
  1  2.42363
  2  1.118
  3  2.85644
  4  0.123193
  5  5.13705
  6  20.9518
  7  50.3327
  8  4.22099
  9  3.98651e-05
  10  12.3918
  11  15.964
  12  3.46374
  13  1.12957
  14  0.0013292
  15  4.06306
  16  0.000162484
  17  16.0261
  18  1.48682
  19  0.00661997
  20  0.00853598
  21  2.95188e-06
  22  0.00500971
  23  0.206736
  24  0.0444994
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J2005.1+7003_daily_bin2169
RA = 301.278, Dec = 70.0624
tmin = 801532801, tmax = 801792001
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='27479657', job_status='RUN', time_executed='2026-05-30 16:24:55.582079', time_epoch_executed='1780183495.58' WHERE source_name='4FGL J2005.1+7003' and cadence='daily' and bin_id='2169'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27479657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27479657/ft1_4FGL_J2005.1+7003_daily_bin2169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27479657/ft1_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479657/ft1_filteredMKT_4FGL_J2005.1+7003_daily_bin2169.fits ra=301.278 dec=70.0624 rad=12.0 tmin=801532801.0 tmax=801792001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.29
user 1.87
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.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/27479657/ft1_filteredMKT_4FGL_J2005.1+7003_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.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.42
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1749

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27479583/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits
.....................!
real 8.69
user 8.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27479583/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479583/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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/27479583/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
.....................!
real 72.36
user 67.37
sys 4.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 193 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 J2005.1+7003 @ 301.278 70.0624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits scfile=/lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479583/cmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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=301.278 yref=70.0624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits scfile=/lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479583/cmap_HighResolution_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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=301.278 yref=70.0624 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.55
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits evtableDone.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  4.385e-08  1.329e-03  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  4.450e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 301.278 70.062
Photon Flux Upper Limit: 1.48199623384e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.9555357999e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27479163/likelihoodResults_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3749901
delta logL = -0.000123591715237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3748666
delta logL = -7.59937393013e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    .15306       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   17471.37     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      257 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0631        .42118E-03** at limit **
   2  alpha         3.0476        1.1693        .73126E-04     .0000    
   3  Normalizat    1.0186        1.2701        .66072E-05    .28548E-05
   4  Prefactor     .98191        1.3222       -.26669E-05    .26061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.04763
  Normalizat = 1.01863
  Prefactor  = 0.981912
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17471.37     FROM HESSE     STATUS=FAILED         9 CALLS      266 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7871        1.1935        .73126E-04    .22084    
   3  Normalizat    1.0186        1.2701        .66072E-05   -.92409    
   4  Prefactor     .98191        1.3222       -.26669E-05   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.09542e-11
Minuit parameter uncertainties:
  1  3.75791e-06
  2  1.21947
  3  1.31113
  4  1.37005
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) = 17471.3748665
delta logL = 2.17914930545e-09

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  0.000e+00  3.758e-06  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  3.048e+00  1.219e+00  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  1.370e+00  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  1.311e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 301.278 70.062

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/27479163/cmap_HighResolution_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', job_status='DONE', photon_flux_upper_limit='1.48e-08', time_completed='2026-05-30 16:26:24.291947', job_id='27479163', GAL2='0.98', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1780183584.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.18e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='2169' AND source_name='4FGL J2005.1+7003' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 16:26:24 PDT 2026

utfile=/lscratch/kocevski/27479657/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits
.....................!
real 7.83
user 7.39
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27479657/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479657/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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/27479657/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
.....................!
real 68.87
user 64.04
sys 4.12

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 193 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 J2005.1+7003 @ 301.278 70.0624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479657/cmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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=301.278 yref=70.0624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits outfile=/lscratch/kocevski/27479657/cmap_HighResolution_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.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=301.278 yref=70.0624 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.49
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27479583/Model_4FGL_J2005.1+7003_daily_bin2169.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits.....................!
real 93.41
user 91.21
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits', '/lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits', expMap='/lscratch/kocevski/27479583/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits', expCube='/lscratch/kocevski/27479583/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27479583/Model_4FGL_J2005.1+7003_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27479583/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27479583/ft2_4FGL_J2005.1+7003_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27479583/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27479583/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27479583/Model_4FGL_J2005.1+7003_daily_bin2169.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) = 17471.4407657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7365       1.0000          .0000       .10000E+07
     2 'norm      '    5.2909       1.0000          .0000       .10000E+07
     3 'norm      '    1.3918       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32931E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.9652       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.256       1.0000          .0000       .10000E+07
     7 'Prefactor '    42.700       1.0000          .0000       .10000E+07
     8 'norm      '    10.112       1.0000          .0000       .10000E+07
     9 'norm      '    .47662E-06   1.0000          .0000       .10000E+07
    10 'norm      '    4.9802       1.0000          .0000       .10000E+07
    11 'Prefactor '    .73006       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6796       1.0000          .0000       .10000E+07
    13 'norm      '    2.1982       1.0000          .0000       .10000E+07
    14 'norm      '    .12732E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .97400       1.0000          .0000       .10000E+07
    16 'norm      '    .26746E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4124       1.0000          .0000       .10000E+07
    18 'norm      '    .28931       1.0000          .0000       .10000E+07
    19 'Prefactor '    .63086E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .79996E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .86264E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .21459E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98190       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17471.37     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1644 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7368        2.4213        .72974E-08   -.32421E-03
   2  norm          5.2915        1.1173       -.21088E-07   -.51508E-02
   3  norm          1.3893        2.8009       -.59937E-07   -.96230E-03
   4  Prefactor     .25438E-04    139.99       -.10399E-06** at limit **
   5  Prefactor     2.9727        5.0085       -.20559E-06   -.74213E-03
   6  Prefactor     16.346        12.165       -.23567E-07   -.26832E-01
   7  Prefactor     44.289        31.824       -.50779E-06    .16633    
   8  norm          10.121        3.9410       -.35686E-08    .83772E-03
   9  norm          .11102E-09    3.3080        .87991E-07** at limit **
  10  norm          4.9848        12.318       -.19460E-06    .55359E-02
  11  Prefactor     .56322        76.978        .20007E-05    .42977E-01
  12  Prefactor     1.6714        3.4218       -.48831E-07    .16125E-03
  13  norm          2.1979        1.1094        .85871E-08    .79051E-03
  14  norm          .43854E-07    9.9113       -.12407E-06** at limit **
  15  norm          .98193        3.8765       -.34022E-07    .35285E-02
  16  norm          .13878E-08    4.7785       -.13034E-06** at limit **
  17  Prefactor     1.4993        19.914       -.66565E-07    .18768E-01
  18  norm          .28936        1.9872        .15472E-06    .15420E-02
  19  Prefactor     .23456E-05    60.623        .77846E-07** at limit **
  20  norm          .13003E-05    11.268       -.76020E-07** at limit **
  21  Prefactor      .0000        1.3020       -.32162E-07** at limit **
  22  Prefactor     .47717E-06    12.015       -.79786E-07** at limit **
  23  Normalizat    1.0186        .20535       -.17696E-05    .31352E-04
  24  Prefactor     .98191        .46481E-01    .92395E-06    .38206E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73678
  norm       = 5.2915
  norm       = 1.38934
  Prefactor  = 2.54384e-05
  Prefactor  = 2.97267
  Prefactor  = 16.3461
  Prefactor  = 44.2892
  norm       = 10.1208
  norm       = 1.11022e-10
  norm       = 4.98478
  Prefactor  = 0.563216
  Prefactor  = 1.67142
  norm       = 2.19789
  norm       = 4.38538e-08
  norm       = 0.981931
  norm       = 1.38778e-09
  Prefactor  = 1.49926
  norm       = 0.289364
  Prefactor  = 2.34557e-06
  norm       = 1.30035e-06
  Prefactor  = 0
  Prefactor  = 4.77174e-07
  Normalizat = 1.01863
  Prefactor  = 0.981912
="EVENTS" scfile=/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27479657/Model_4FGL_J2005.1+7003_daily_bin2169.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits.....................!
real 95.22
user 92.70
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits', '/lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits', expMap='/lscratch/kocevski/27479657/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits', expCube='/lscratch/kocevski/27479657/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27479657/Model_4FGL_J2005.1+7003_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27479657/ft1_filtered_4FGL_J2005.1+7003_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27479657/ft2_4FGL_J2005.1+7003_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27479657/expmap_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27479657/ltcube_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27479657/Model_4FGL_J2005.1+7003_daily_bin2169.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) = 17471.4407657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7365       1.0000          .0000       .10000E+07
     2 'norm      '    5.2909       1.0000          .0000       .10000E+07
     3 'norm      '    1.3918       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32931E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.9652       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.256       1.0000          .0000       .10000E+07
     7 'Prefactor '    42.700       1.0000          .0000       .10000E+07
     8 'norm      '    10.112       1.0000          .0000       .10000E+07
     9 'norm      '    .47662E-06   1.0000          .0000       .10000E+07
    10 'norm      '    4.9802       1.0000          .0000       .10000E+07
    11 'Prefactor '    .73006       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6796       1.0000          .0000       .10000E+07
    13 'norm      '    2.1982       1.0000          .0000       .10000E+07
    14 'norm      '    .12732E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .97400       1.0000          .0000       .10000E+07
    16 'norm      '    .26746E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4124       1.0000          .0000       .10000E+07
    18 'norm      '    .28931       1.0000          .0000       .10000E+07
    19 'Prefactor '    .63086E-01 **********
 **   18 **HESSE 
 **********

 FCN=   17471.37     FROM HESSE     STATUS=OK           455 CALLS     2099 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7368        2.4236        .46210E-03   -1.5664    
   2  norm          5.2915        1.1180        .43672E-03   -1.5662    
   3  norm          1.3893        2.8564        .92059E-03   -1.5684    
   4  Prefactor     .25438E-04    149.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9727        5.1370        .58943E-03   -1.5673    
   6  Prefactor     16.346        20.952        .24814E-03   -1.5627    
   7  Prefactor     44.289        50.332        .15305E-03   -1.5575    
   8  norm          10.121        4.2210        .31485E-03   -1.5644    
   9  norm          .11102E-09    3.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9848        12.392        .45040E-03   -1.5663    
  11  Prefactor     .56322        113.12        .58301E-03   -1.5693    
  12  Prefactor     1.6714        3.4637        .81257E-03   -1.5682    
  13  norm          2.1979        1.1296        .69374E-03   -1.5678    
  14  norm          .43854E-07    10.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98193        4.2030        .42843E-03   -1.5688    
  16  norm          .13878E-08    4.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4993        42.827        .91102E-03   -1.5683    
  18  norm          .28936        1.9099        .10363E-02   -1.5697    
  19  Prefactor     .23456E-05    4.6709        .15053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .13003E-05    14.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.3045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .47717E-06    13.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0186        .20657        .11721       -.92409    
  24  Prefactor     .98191        .44498E-01    .29951E-01   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08655e-06
Minuit parameter uncertainties:
  1  2.42363
  2  1.118
  3  2.85644
  4  0.123193
  5  5.13705
  6  20.9518
  7  50.3327
  8  4.22099
  9  3.98651e-05
  10  12.3918
  11  15.964
  12  3.46374
  13  1.12957
  14  0.0013292
  15  4.06306
  16  0.000162484
  17  16.0261
  18  1.48682
  19  0.00661997
  20  0.00853598
  21  2.95188e-06
  22  0.00500971
  23  0.206736
  24  0.0444994
   1.0000          .0000       .10000E+07
    20 'norm      '    .79996E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .86264E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .21459E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98190       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17471.37     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1644 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7368        2.4213        .72974E-08   -.32421E-03
   2  norm          5.2915        1.1173       -.21088E-07   -.51508E-02
   3  norm          1.3893        2.8009       -.59937E-07   -.96230E-03
   4  Prefactor     .25438E-04    139.99       -.10399E-06** at limit **
   5  Prefactor     2.9727        5.0085       -.20559E-06   -.74213E-03
   6  Prefactor     16.346        12.165       -.23567E-07   -.26832E-01
   7  Prefactor     44.289        31.824       -.50779E-06    .16633    
   8  norm          10.121        3.9410       -.35686E-08    .83772E-03
   9  norm          .11102E-09    3.3080        .87991E-07** at limit **
  10  norm          4.9848        12.318       -.19460E-06    .55359E-02
  11  Prefactor     .56322        76.978        .20007E-05    .42977E-01
  12  Prefactor     1.6714        3.4218       -.48831E-07    .16125E-03
  13  norm          2.1979        1.1094        .85871E-08    .79051E-03
  14  norm          .43854E-07    9.9113       -.12407E-06** at limit **
  15  norm          .98193        3.8765       -.34022E-07    .35285E-02
  16  norm          .13878E-08    4.7785       -.13034E-06** at limit **
  17  Prefactor     1.4993        19.914       -.66565E-07    .18768E-01
  18  norm          .28936        1.9872        .15472E-06    .15420E-02
  19  Prefactor     .23456E-05    60.623        .77846E-07** at limit **
  20  norm          .13003E-05    11.268       -.76020E-07** at limit **
  21  Prefactor      .0000        1.3020       -.32162E-07** at limit **
  22  Prefactor     .47717E-06    12.015       -.79786E-07** at limit **
  23  Normalizat    1.0186        .20535       -.17696E-05    .31352E-04
  24  Prefactor     .98191        .46481E-01    .92395E-06    .38206E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73678
  norm       = 5.2915
  norm       = 1.38934
  Prefactor  = 2.54384e-05
  Prefactor  = 2.97267
  Prefactor  = 16.3461
  Prefactor  = 44.2892
  norm       = 10.1208
  norm       = 1.11022e-10
  norm       = 4.98478
  Prefactor  = 0.563216
  Prefactor  = 1.67142
  norm       = 2.19789
  norm       = 4.38538e-08
  norm       = 0.981931
  norm       = 1.38778e-09
  Prefactor  = 1.49926
  norm       = 0.289364
  Prefactor  = 2.34557e-06
  norm       = 1.30035e-06
  Prefactor  = 0
  Prefactor  = 4.77174e-07
  Normalizat = 1.01863
  Prefactor  = 0.981912
 **********
 **   18 **HESSE 
 **********

 FCN=   17471.37     FROM HESSE     STATUS=OK           455 CALLS     2099 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7368        2.4236        .46210E-03   -1.5664    
   2  norm          5.2915        1.1180        .43672E-03   -1.5662    
   3  norm          1.3893        2.8564        .92059E-03   -1.5684    
   4  Prefactor     .25438E-04    149.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9727        5.1370        .58943E-03   -1.5673    
   6  Prefactor     16.346        20.952        .24814E-03   -1.5627    
   7  Prefactor     44.289        50.332        .15305E-03   -1.5575    
   8  norm          10.121        4.2210        .31485E-03   -1.5644    
   9  norm          .11102E-09    3.3099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9848        12.392        .45040E-03   -1.5663    
  11  Prefactor     .56322        113.12        .58301E-03   -1.5693    
  12  Prefactor     1.6714        3.4637        .81257E-03   -1.5682    
  13  norm          2.1979        1.1296        .69374E-03   -1.5678    
  14  norm          .43854E-07    10.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98193        4.2030        .42843E-03   -1.5688    
  16  norm          .13878E-08    4.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4993        42.827        .91102E-03   -1.5683    
  18  norm          .28936        1.9099        .10363E-02   -1.5697    
  19  Prefactor     .23456E-05    4.6709        .15053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .13003E-05    14.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.3045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .47717E-06    13.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0186        .20657        .11721       -.92409    
  24  Prefactor     .98191        .44498E-01    .29951E-01   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08655e-06
Minuit parameter uncertainties:
  1  2.42363
  2  1.118
  3  2.85644
  4  0.123193
  5  5.13705
  6  20.9518
  7  50.3327
  8  4.22099
  9  3.98651e-05
  10  12.3918
  11  15.964
  12  3.46374
  13  1.12957
  14  0.0013292
  15  4.06306
  16  0.000162484
  17  16.0261
  18  1.48682
  19  0.00661997
  20  0.00853598
  21  2.95188e-06
  22  0.00500971
  23  0.206736
  24  0.0444994
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  4.385e-08  1.329e-03  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  4.450e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 301.278 70.062
Photon Flux Upper Limit: 1.48199623384e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.9555357999e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27479583/likelihoodResults_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3749901
delta logL = -0.000123591715237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3748666
delta logL = -7.59937393013e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    .15306       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   17471.37     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      257 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0631        .42118E-03** at limit **
   2  alpha         3.0476        1.1693        .73126E-04     .0000    
   3  Normalizat    1.0186        1.2701        .66072E-05    .28548E-05
   4  Prefactor     .98191        1.3222       -.26669E-05    .26061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.04763
  Normalizat = 1.01863
  Prefactor  = 0.981912
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17471.37     FROM HESSE     STATUS=FAILED         9 CALLS      266 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7871        1.1935        .73126E-04    .22084    
   3  Normalizat    1.0186        1.2701        .66072E-05   -.92409    
   4  Prefactor     .98191        1.3222       -.26669E-05   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.09542e-11
Minuit parameter uncertainties:
  1  3.75791e-06
  2  1.21947
  3  1.31113
  4  1.37005
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) = 17471.3748665
delta logL = 2.17914930545e-09

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  0.000e+00  3.758e-06  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  3.048e+00  1.219e+00  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  1.370e+00  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  1.311e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 301.278 70.062

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/27479583/cmap_HighResolution_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', job_status='DONE', photon_flux_upper_limit='1.48e-08', time_completed='2026-05-30 16:33:43.783014', job_id='27479583', GAL2='0.98', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1780184023.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.18e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='2169' AND source_name='4FGL J2005.1+7003' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 16:33:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  4.385e-08  1.329e-03  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  4.450e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 301.278 70.062
Photon Flux Upper Limit: 1.48199623384e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.9555357999e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27479657/likelihoodResults_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3749901
delta logL = -0.000123591715237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17471.3748666
delta logL = -7.59937393013e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    .15306       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   17471.37     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      257 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0631        .42118E-03** at limit **
   2  alpha         3.0476        1.1693        .73126E-04     .0000    
   3  Normalizat    1.0186        1.2701        .66072E-05    .28548E-05
   4  Prefactor     .98191        1.3222       -.26669E-05    .26061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.04763
  Normalizat = 1.01863
  Prefactor  = 0.981912
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17471.37     FROM HESSE     STATUS=FAILED         9 CALLS      266 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7871        1.1935        .73126E-04    .22084    
   3  Normalizat    1.0186        1.2701        .66072E-05   -.92409    
   4  Prefactor     .98191        1.3222       -.26669E-05   -.93335    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.09542e-11
Minuit parameter uncertainties:
  1  3.75791e-06
  2  1.21947
  3  1.31113
  4  1.37005
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) = 17471.3748665
delta logL = 2.17914930545e-09

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  0.000e+00  3.758e-06  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  3.048e+00  1.219e+00  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.819e-01  1.370e+00  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.019e+00  1.311e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 301.278 70.062

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/27479657/cmap_HighResolution_801532801_801792001_4FGL_J2005.1+7003_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', job_status='DONE', photon_flux_upper_limit='1.48e-08', time_completed='2026-05-30 16:34:39.739367', job_id='27479657', GAL2='0.98', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1780184079.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.18e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='2169' AND source_name='4FGL J2005.1+7003' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 16:34:39 PDT 2026

