/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 = 7324
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2206.8-0032_daily_bin2025
RA = 331.709, Dec = -0.5461
tmin = 764208001, tmax = 764467201
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='1486162', job_status='RUN', time_executed='2025-03-24 01:01:55.172176', time_epoch_executed='1742803315.17' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='2025'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/1486162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/1486162/ft1_4FGL_J2206.8-0032_daily_bin2025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/1486162/ft1_4FGL_J2206.8-0032_daily_bin2025.fits outfile=/lscratch/kocevski/1486162/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin2025.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=764208001.0 tmax=764467201.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 1.97
user 1.50
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.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/1486162/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin2025.fits evtable="EVENTS" outfile="/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.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.60
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 413

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits" evtable="EVENTS" scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits sctable="SC_DATA" outfile=/lscratch/kocevski/1486162/ltcube_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.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/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits
.....................!
real 8.11
user 7.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits evtable="EVENTS" scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits sctable="SC_DATA" expcube=/lscratch/kocevski/1486162/ltcube_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits outfile=/lscratch/kocevski/1486162/expmap_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.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/1486162/ltcube_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits
.....................!
real 68.66
user 63.93
sys 4.08

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

Setting source of interest to:
4FGL J2206.8-0032 @ 331.709 -0.5461

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits outfile=/lscratch/kocevski/1486162/cmap_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.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=331.709 yref=-0.5461 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits outfile=/lscratch/kocevski/1486162/cmap_HighResolution_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.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=331.709 yref=-0.5461 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.46
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits evtable="EVENTS" scfile=/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/1486162/Model_4FGL_J2206.8-0032_daily_bin2025.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits.....................!
real 22.11
user 20.94
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits', '/lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits', expMap='/lscratch/kocevski/1486162/expmap_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits', expCube='/lscratch/kocevski/1486162/ltcube_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/1486162/Model_4FGL_J2206.8-0032_daily_bin2025.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2206.8-0032'

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  6.940e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/1486162/ft1_filtered_4FGL_J2206.8-0032_daily_bin2025.fits
Spacecraft file(s): /lscratch/kocevski/1486162/ft2_4FGL_J2206.8-0032_daily_bin2025.fits
Exposure map: /lscratch/kocevski/1486162/expmap_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits
Exposure cube: /lscratch/kocevski/1486162/ltcube_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/1486162/Model_4FGL_J2206.8-0032_daily_bin2025.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) = 4678.87327799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66774E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.8197       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6323       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51295E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .50440E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .54873E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23145E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11269E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12736E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21894E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .48599E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.797       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17786E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.9622       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2300       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.6026       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .77096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4678.832     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1280 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-08    15.054       -.89889E-07** at limit **
   2  Prefactor     1.8184        1.8350       -.51857E-07   -.39181E-02
   3  Prefactor     6.6397        20.105        .34893E-05   -.68235E-04
   4  Prefactor      .0000        22.413       -.98963E-07** at limit **
   5  norm          .25258E-07    3.4927       -.65938E-08** at limit **
   6  norm           .0000        12.323       -.10224E-06** at limit **
   7  Prefactor      .0000        3.1026       -.37813E-09** at limit **
   8  Prefactor      .0000        4.9640        .14443E-07** at limit **
   9  Prefactor      .0000        6.0334        .29396E-07** at limit **
  10  Prefactor      .0000        11.137        .10573E-06** at limit **
  11  Prefactor     .10658E-07    22.382        .13080E-06** at limit **
  12  Prefactor     11.609        17.618       -.15390E-05   -.68585E-03
  13  Prefactor     .77716E-09    8.3414        .53398E-07** at limit **
  14  norm          1.9691        3.8274        .14247E-07   -.34806E-02
  15  Prefactor     .40339E-04    124.47        .19341E-06** at limit **
  16  Normalizat    1.6033        .27650        .12421E-05   -.10727E-03
  17  Prefactor     .77125        .14705       -.72229E-07   -.51273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-09
  Prefactor  = 1.81835
  Prefactor  = 6.63967
  Prefactor  = 0
  norm       = 2.52576e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.06581e-08
  Prefactor  = 11.6093
  Prefactor  = 7.77156e-10
  norm       = 1.96913
  Prefactor  = 4.03386e-05
  Normalizat = 1.60332
  Prefactor  = 0.77125
 **********
 **   18 **HESSE 
 **********

 FCN=   4678.832     FROM HESSE     STATUS=OK           233 CALLS     1513 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-08    54.892        .51178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8184        1.8094        .89304E-05   -1.5681    
   3  Prefactor     6.6397        20.043        .15577E-04   -1.5656    
   4  Prefactor      .0000        22.417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .25258E-07    38.241        .24438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        12.329        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.1043        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.9695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.0360        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        11.140        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10658E-07    76.268        .61526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.609        17.677        .11656E-04   -1.5640    
  13  Prefactor     .77716E-09    8.4437        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9691        3.7955        .17943E-04   -1.5680    
  15  Prefactor     .40339E-04    93.605        .21586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6033        .32765        .28461E-03   -.74915    
  17  Prefactor     .77125        .17548        .21256E-03   -1.0080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16382e-09
Minuit parameter uncertainties:
  1  0.0014408
  2  1.80936
  3  20.0428
  4  1.98787e-05
  5  0.00196602
  6  8.73941e-06
  7  4.18455e-06
  8  1.98975e-07
  9  3.44365e-06
  10  1.40024e-05
  11  0.0018019
  12  17.6775
  13  0.000163987
  14  3.79551
  15  0.122898
  16  0.328087
  17  0.17561
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.400e-05  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  7.712e-01  1.756e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.603e+00  3.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 1.04580893754e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00799582137491 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/1486162/likelihoodResults_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.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) = 4678.83306724
delta logL = -0.000780061947808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4678.83228817
delta logL = -9.92960849544e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4678.551     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      316 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17531E-01    .42474        .27093E-03** at limit **
   2  Index         5.8743        3.0365        .10720        .85028E-04
   3  Normalizat    1.5114        .52424E-01    .65889E-01    .80947E-05
   4  Prefactor     .80265        .28564E-01    .43342E-01    .83368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0175307
  Index      = 5.87429
  Normalizat = 1.51142
  Prefactor  = 0.802654
 **********
 **   18 **HESSE 
 **********

 FCN=   4678.551     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      351 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17531E-01    1.5735        .12283E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.8743        7.9250        .62639E-02    .17576    
   3  Normalizat    1.5114        .21917        .29145E-03   -.77458    
   4  Prefactor     .80265        .11637        .20875E-03   -.99631    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73014e-10
Minuit parameter uncertainties:
  1  0.332177
  2  8.11239
  3  0.219306
  4  0.116403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4678.55135294
delta logL = 0.28093423329

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.753e-02  3.322e-01  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  5.874e+00  8.112e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.027e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.511e+00  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 331.709 -0.546

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/1486162/cmap_HighResolution_764208001_764467201_4FGL_J2206.8-0032_daily_bin2025.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2025-03-24 01:06:02.301018', job_id='1486162', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.60', time_epoch_completed='1742803562.3', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.81e-01', ts2='0.62', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2025' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 24 01:06:02 PDT 2025

