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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin855
RA = 127.701, Dec = 24.1727
tmin = 756086401, tmax = 756691201
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='60727673', job_status='RUN', time_executed='2024-12-24 03:22:50.873608', time_epoch_executed='1735039370.87' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60727673

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

Retrieving the FT1 file...

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

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

Retrieving 65 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60727673/ft1_4FGL_J0830.8+2410_weekly_bin855.fits


Retrieving the FT1 file...

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

Retrieving 65 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60727673/ft1_4FGL_J0830.8+2410_weekly_bin855.fits outfile=/lscratch/kocevski/60727673/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin855.fits ra=127.701 dec=24.1727 rad=12.0 tmin=756086401.0 tmax=756691201.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.48
user 2.23
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.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/60727673/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin855.fits evtable="EVENTS" outfile="/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.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.37
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60727673/ltcube_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.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/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits
.....................!
real 9.61
user 9.34
sys 0.18

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60727673/ltcube_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits outfile=/lscratch/kocevski/60727673/expmap_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.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/60727673/ltcube_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits
.....................!
real 59.12
user 55.64
sys 3.20

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

Setting source of interest to:
4FGL J0830.8+2410 @ 127.701 24.1727

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits outfile=/lscratch/kocevski/60727673/cmap_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.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=127.701 yref=24.1727 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.39
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits outfile=/lscratch/kocevski/60727673/cmap_HighResolution_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.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=127.701 yref=24.1727 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.38
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60727673/Model_4FGL_J0830.8+2410_weekly_bin855.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/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits.....................!
real 29.38
user 28.65
sys 0.54

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits', '/lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits', expMap='/lscratch/kocevski/60727673/expmap_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits', expCube='/lscratch/kocevski/60727673/ltcube_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60727673/Model_4FGL_J0830.8+2410_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0830.8+2410'

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60727673/ft1_filtered_4FGL_J0830.8+2410_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60727673/ft2_4FGL_J0830.8+2410_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60727673/expmap_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60727673/ltcube_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60727673/Model_4FGL_J0830.8+2410_weekly_bin855.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) = 9370.56814173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3457       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.655       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44541E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10818E-02   1.0000          .0000       .10000E+07
     5 'norm      '    21.399       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91635E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12184E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    21.583       1.0000          .0000       .10000E+07
     9 'norm      '    1.0433       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25234E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    28.043       1.0000          .0000       .10000E+07
    12 'norm      '    .38697E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.3320       1.0000          .0000       .10000E+07
    14 'Prefactor '    .27318E-02   1.0000          .0000       .10000E+07
    15 'norm      '    54.763       1.0000          .0000       .10000E+07
    16 'norm      '    .81990E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0063       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9370.567     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1301 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3562        3.8224        .12354E-06    .26324E-02
   2  Prefactor     28.732        1.6229        .10655E-08    .70735E-03
   3  Prefactor     .31641E-07    10.632       -.17852E-06** at limit **
   4  Prefactor     .11696E-06    7.4109       -.12368E-06** at limit **
   5  norm          21.862        39.215       -.55534E-07   -.30947E-01
   6  Prefactor     .77161E-07    12.523       -.10808E-06** at limit **
   7  Prefactor     .83267E-09    5.7444        .19482E-06** at limit **
   8  Prefactor     21.556        1.6134        .23200E-08   -.52634E-02
   9  norm          1.0438        .97160        .14524E-07    .13745E-02
  10  Prefactor     .43671E-06    4.6812       -.62735E-07** at limit **
  11  Prefactor     27.978        11.156        .29202E-07   -.14076    
  12  norm           .0000        .11531       -.80444E-08** at limit **
  13  Prefactor     7.3580        8.3557       -.49471E-07   -.73216E-03
  14  Prefactor     .93148E-07    7.4703       -.10348E-06** at limit **
  15  norm          54.769        1.9122        .20456E-08   -.22528E-01
  16  norm          .55511E-10    2.3853        .16710E-06** at limit **
  17  Normalizat    1.0063        .16256        .83309E-06    .46597E-05
  18  Prefactor     .92703        .13337       -.12016E-05   -.48672E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35618
  Prefactor  = 28.7323
  Prefactor  = 3.16414e-08
  Prefactor  = 1.16962e-07
  norm       = 21.8624
  Prefactor  = 7.71605e-08
  Prefactor  = 8.32667e-10
  Prefactor  = 21.556
  norm       = 1.04382
  Prefactor  = 4.36706e-07
  Prefactor  = 27.9778
  norm       = 0
  Prefactor  = 7.35799
  Prefactor  = 9.31477e-08
  norm       = 54.7691
  norm       = 5.55112e-11
  Normalizat = 1.00634
  Prefactor  = 0.927031
 **********
 **   18 **HESSE 
 **********

 FCN=   9370.567     FROM HESSE     STATUS=OK           284 CALLS     1585 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3562        4.4780        .55307E-03   -1.5671    
   2  Prefactor     28.732        39.363        .18684E-03   -1.5601    
   3  Prefactor     .31641E-07    12.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11696E-06    9.2992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          21.862        41.426        .21624E-03   -1.5614    
   6  Prefactor     .77161E-07    13.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .83267E-09    5.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.556        18.564        .21531E-03   -1.5615    
   9  norm          1.0438        1.0967        .12214E-02   -1.5688    
  10  Prefactor     .43671E-06    9.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.978        28.980        .18887E-03   -1.5602    
  12  norm           .0000        .11459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3580        8.4475        .37018E-03   -1.5654    
  14  Prefactor     .93148E-07    8.2835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          54.769        31.633        .13514E-03   -1.5560    
  16  norm          .55511E-10    .60288        .29045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0063        .14134        .46246E-01   -.92818    
  18  Prefactor     .92703        .11457        .45350E-01   -.95203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71846e-07
Minuit parameter uncertainties:
  1  4.47799
  2  39.3636
  3  0.00127307
  4  0.00208584
  5  41.4266
  6  0.00203515
  7  0.00014039
  8  18.5645
  9  1.09672
  10  0.00404433
  11  28.9806
  12  3.2241e-07
  13  8.44746
  14  0.00175662
  15  31.6329
  16  1.10983e-05
  17  0.14139
  18  0.114601
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.044e+00  1.097e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.270e-01  1.146e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.006e+00  1.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.29e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 9.75e-06 +/- 1.02e-05

TS (Fixed Index): 1.54
Ra Dec: 127.701 24.173
Photon Flux Upper Limit: 9.64144771718e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85877475288e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60727673/likelihoodResults_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.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) = 9370.41387827
delta logL = 0.153016836684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9370.3857868
delta logL = 0.181108303354

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9370.386     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75344        10.899        .56435E-03    .15782E-01
   2  alpha         3.2148        3.7716        .43507        .67791E-04
   3  Normalizat    .97527        .42409E-01    .45856E-01   -.20393E-04
   4  Prefactor     .94538        .33451E-01    .45581E-01   -.19932E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.753443
  alpha      = 3.21484
  Normalizat = 0.975265
  Prefactor  = 0.945384
 **********
 **   18 **HESSE 
 **********

 FCN=   9370.386     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75344        2.3881        .63757E-05   -1.5691    
   2  alpha         3.2148        3.9614        .25187E-01    .28998    
   3  Normalizat    .97527        .18794        .25573E-03   -.93864    
   4  Prefactor     .94538        .15007        .21373E-03   -.94573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44973e-07
Minuit parameter uncertainties:
  1  2.38808
  2  3.28834
  3  0.188069
  4  0.150138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9370.38578655
delta logL = 0.181108548495

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  7.534e-01  2.388e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  3.215e+00  3.288e+00  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.454e-01  1.501e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.753e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.95
Ra Dec: 127.701 24.173
Photon Index (Free Index): 3.21 +/- 3.29
Photon Flux (Free Index): 5.47e-08 +/- 5.93e-08
Energy Flux (Free Index): 1.04e-05 +/- 9.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/60727673/cmap_HighResolution_756086401_756691201_4FGL_J0830.8+2410_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-05', comment='SUCCESS', photon_flux='3.29e-08', energy_flux2='1.04e-05', photon_flux_error='3.45e-08', dlogl='1.81e-01', energy_flux='9.75e-06', photon_flux2='5.47e-08', job_status='DONE', time_completed='2024-12-24 03:26:39.151760', photon_index_error2='3.29', photon_index2='3.21', ts='1.54', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='9.64e-08', energy_flux_error2='9.60e-06', EG='1.01', time_epoch_completed='1735039599.15', return_code='0', job_id='60727673', GAL2='0.95', EG2='0.98', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='5.93e-08', ts2='1.95', photon_index='2.41' WHERE bin_id='855' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:26:39 PST 2024

