/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_J0608.0+6721_weekly_bin855
RA = 92.0057, Dec = 67.3512
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='60727389', job_status='RUN', time_executed='2024-12-24 03:21:19.332096', time_epoch_executed='1735039279.33' WHERE source_name='4FGL J0608.0+6721' and cadence='weekly' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60727389

Creating custom pfile directory:
/lscratch/kocevski/60727389/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/60727389/ft1_4FGL_J0608.0+6721_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/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60727389/ft1_4FGL_J0608.0+6721_weekly_bin855.fits outfile=/lscratch/kocevski/60727389/ft1_filteredMKT_4FGL_J0608.0+6721_weekly_bin855.fits ra=92.0057 dec=67.3512 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.65
user 2.34
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_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/60727389/ft1_filteredMKT_4FGL_J0608.0+6721_weekly_bin855.fits evtable="EVENTS" outfile="/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_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.39
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1922

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60727389/ltcube_756086401_756691201_4FGL_J0608.0+6721_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/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits
.....................!
real 10.14
user 9.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60727389/ltcube_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits outfile=/lscratch/kocevski/60727389/expmap_756086401_756691201_4FGL_J0608.0+6721_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/60727389/ltcube_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits
.....................!
real 60.63
user 57.05
sys 3.09

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 G150.3+4.5 in ROI with RadialDisk spatial model.
Added 198 point sources and 1 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 J0608.0+6721 @ 92.0057 67.3512

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits outfile=/lscratch/kocevski/60727389/cmap_756086401_756691201_4FGL_J0608.0+6721_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=92.0057 yref=67.3512 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.42
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits outfile=/lscratch/kocevski/60727389/cmap_HighResolution_756086401_756691201_4FGL_J0608.0+6721_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=92.0057 yref=67.3512 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.40
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60727389/Model_4FGL_J0608.0+6721_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 G150.3+4.5
adding source GAL_V02
Working on...
/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits.....................!
real 79.85
user 78.35
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits', '/lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits', expMap='/lscratch/kocevski/60727389/expmap_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits', expCube='/lscratch/kocevski/60727389/ltcube_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60727389/Model_4FGL_J0608.0+6721_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0608.0+6721'

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  8.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60727389/ft1_filtered_4FGL_J0608.0+6721_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60727389/ft2_4FGL_J0608.0+6721_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60727389/expmap_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60727389/ltcube_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60727389/Model_4FGL_J0608.0+6721_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) = 19669.3210425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35742E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .10632E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .70579E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48906E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    24.741       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38669E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5514       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    139.63       1.0000          .0000       .10000E+07
    10 'Prefactor '    33.765       1.0000          .0000       .10000E+07
    11 'Prefactor '    21.201       1.0000          .0000       .10000E+07
    12 'norm      '    9.1204       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90432E-05   1.0000          .0000       .10000E+07
    14 'norm      '    7.3001       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.8805       1.0000          .0000       .10000E+07
    16 'Normalizat'    .91640       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19669.29     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      952 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57632E-06    73.620        .14904E-05** at limit **
   2  norm          .49960E-09    4.2378        .42146E-06** at limit **
   3  norm          .33003E-05    19.953       -.12764E-04** at limit **
   4  Prefactor      .0000        11.186        .15932E-05** at limit **
   5  Prefactor     24.782        3.3607        .18882E-05    .96185E-02
   6  Prefactor     .46189E-05    19.634        .19682E-04** at limit **
   7  Prefactor     6.6417        7.1018       -.41030E-06   -.65531E-03
   8  Prefactor      .0000        6.9014        .22373E-05** at limit **
   9  Prefactor     139.47        3.8352        .93144E-06   -.66066E-01
  10  Prefactor     34.008        5.6186       -.28499E-05    .47753E-01
  11  Prefactor     20.455        16.896        .11178E-04   -.10974    
  12  norm          9.1197        8.8271       -.96501E-06   -.19412E-01
  13  Prefactor      .0000        3.5314        .18869E-05** at limit **
  14  norm          7.3000        .86758        .14015E-06    .44083E-02
  15  Prefactor     6.8832        2.1594        .71592E-06    .81081E-01
  16  Normalizat    .91681        .14612       -.13873E-04    .82485E-04
  17  Prefactor     1.0154        .53007E-01   -.11619E-04    .18761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.76317e-07
  norm       = 4.996e-10
  norm       = 3.3003e-06
  Prefactor  = 0
  Prefactor  = 24.7817
  Prefactor  = 4.61892e-06
  Prefactor  = 6.64169
  Prefactor  = 0
  Prefactor  = 139.471
  Prefactor  = 34.0079
  Prefactor  = 20.4555
  norm       = 9.11966
  Prefactor  = 0
  norm       = 7.29997
  Prefactor  = 6.88321
  Normalizat = 0.916811
  Prefactor  = 1.01539
 **********
 **   18 **HESSE 
 **********

 FCN=   19669.29     FROM HESSE     STATUS=OK           257 CALLS     1209 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57632E-06    73.897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .49960E-09    4.2283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .33003E-05    23.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.782        23.566        .20109E-03   -1.5608    
   6  Prefactor     .46189E-05    25.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6417        7.1429        .39184E-03   -1.5656    
   8  Prefactor      .0000        6.9007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     139.47        28.057        .84634E-04   -1.5472    
  10  Prefactor     34.008        28.175        .17212E-03   -1.5591    
  11  Prefactor     20.455        29.050        .21725E-03   -1.5618    
  12  norm          9.1197        8.9869        .33163E-03   -1.5648    
  13  Prefactor      .0000        3.5333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3000        .86855        .37099E-03   -1.5654    
  15  Prefactor     6.8832        9.1409        .38225E-03   -1.5655    
  16  Normalizat    .91681        .14200        .97899E-01   -.95872    
  17  Prefactor     1.0154        .49139E-01    .42624E-01   -.92218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0216e-06
Minuit parameter uncertainties:
  1  0.0130522
  2  8.97078e-05
  3  0.017786
  4  2.77971e-05
  5  23.5656
  6  0.021534
  7  7.1429
  8  1.92431e-05
  9  28.0566
  10  28.1751
  11  29.0498
  12  8.98689
  13  1.40582e-06
  14  0.868549
  15  9.14094
  16  0.142054
  17  0.0491415
Done.

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

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  2.478e+01  2.357e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  1.015e+00  4.914e-02  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.168e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.39
Ra Dec: 92.006 67.351
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 3.13e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 9.18e-06 +/- 8.73e-06

TS (Fixed Index): 1.39
Ra Dec: 92.006 67.351
Photon Flux Upper Limit: 9.15585458381e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711687039916 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60727389/likelihoodResults_756086401_756691201_4FGL_J0608.0+6721_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) = 19669.2750908
delta logL = 0.0142635437114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19669.2694997
delta logL = 0.0198547088621

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19669.27     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      255 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.668        29.816        .76042E-05   -.89703E-04
   2  Index         2.3585        .66603        .12536E-01    .49986E-03
   3  Normalizat    .91976        .14436        .43313E-03   -.10678E-03
   4  Prefactor     1.0147        .52832E-01    .15245E-03    .25922E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6682
  Index      = 2.35849
  Normalizat = 0.919761
  Prefactor  = 1.01475
 **********
 **   18 **HESSE 
 **********

 FCN=   19669.27     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.668        28.763        .30417E-06   -1.5603    
   2  Index         2.3585        .64258        .25071E-02   -.55660    
   3  Normalizat    .91976        .14439        .17325E-04   -.95769    
   4  Prefactor     1.0147        .52833E-01    .60979E-05   -.92240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57835e-11
Minuit parameter uncertainties:
  1  28.7635
  2  0.645062
  3  0.144446
  4  0.0528353
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) = 19669.2694989
delta logL = 0.0198554661256

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  2.767e+01  2.876e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.358e+00  6.451e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  1.015e+00  5.284e-02  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.198e-01  1.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 92.006 67.351
Photon Index (Free Index): 2.36 +/- 0.65
Photon Flux (Free Index): 2.90e-08 +/- 3.05e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/60727389/cmap_HighResolution_756086401_756691201_4FGL_J0608.0+6721_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', comment='SUCCESS', photon_flux='3.13e-08', energy_flux2='1.01e-05', photon_flux_error='2.97e-08', dlogl='1.99e-02', energy_flux='9.18e-06', photon_flux2='2.90e-08', job_status='DONE', time_completed='2024-12-24 03:28:29.443663', photon_index_error2='0.65', photon_index2='2.36', ts='1.39', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.16e-08', energy_flux_error2='1.06e-05', EG='0.92', time_epoch_completed='1735039709.44', return_code='0', job_id='60727389', GAL2='1.01', EG2='0.92', return_code2='0', energy_flux_error='8.73e-06', photon_flux_error2='3.05e-08', ts2='1.43', photon_index='2.49' WHERE bin_id='855' AND source_name='4FGL J0608.0+6721' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:28:29 PST 2024

