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


Performing analysis on: 4FGL_J0719.3+3307_weekly_bin853
RA = 109.84, Dec = 33.1232
tmin = 754876801, tmax = 755481601
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='59976906', job_status='RUN', time_executed='2024-12-10 00:11:31.459274', time_epoch_executed='1733818291.46' WHERE source_name='4FGL J0719.3+3307' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59976906

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59976906/ft1_4FGL_J0719.3+3307_weekly_bin853.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59976906/ft1_4FGL_J0719.3+3307_weekly_bin853.fits outfile=/lscratch/kocevski/59976906/ft1_filteredMKT_4FGL_J0719.3+3307_weekly_bin853.fits ra=109.84 dec=33.1232 rad=12.0 tmin=754876801.0 tmax=755481601.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 3.12
user 2.67
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.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/59976906/ft1_filteredMKT_4FGL_J0719.3+3307_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.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.46
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59976906/ltcube_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.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/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits
.....................!
real 16.60
user 15.94
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59976906/ltcube_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits outfile=/lscratch/kocevski/59976906/expmap_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.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/59976906/ltcube_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits
.....................!
real 59.52
user 55.45
sys 3.24

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 IC 443 in ROI with RadialGaussian spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 183 point sources and 2 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 J0719.3+3307 @ 109.84 33.1232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits outfile=/lscratch/kocevski/59976906/cmap_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.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=109.84 yref=33.1232 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.71
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits outfile=/lscratch/kocevski/59976906/cmap_HighResolution_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.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=109.84 yref=33.1232 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.52
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59976906/Model_4FGL_J0719.3+3307_weekly_bin853.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
adding source IC 443
adding source S 147
Working on...
/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits.....................!
real 47.81
user 46.56
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits', '/lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits', expMap='/lscratch/kocevski/59976906/expmap_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits', expCube='/lscratch/kocevski/59976906/ltcube_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59976906/Model_4FGL_J0719.3+3307_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0719.3+3307'

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.022e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
296        alpha:  2.082e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.031e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59976906/ft1_filtered_4FGL_J0719.3+3307_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59976906/ft2_4FGL_J0719.3+3307_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59976906/expmap_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59976906/ltcube_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59976906/Model_4FGL_J0719.3+3307_weekly_bin853.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) = 8930.5557501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13259E-03   1.0000          .0000       .10000E+07
     2 'norm      '    18.202       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19763E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .60154       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49636E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.281       1.0000          .0000       .10000E+07
     7 'norm      '    .75637       1.0000          .0000       .10000E+07
     8 'Prefactor '    84.074       1.0000          .0000       .10000E+07
     9 'Prefactor '    .88679E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .29421E-08   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1517       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .97007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8930.540     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      787 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        12.313        .51603E-09** at limit **
   2  norm          18.085        13.336       -.15309E-06    .61011E-02
   3  Prefactor      .0000        2.9143       -.15812E-07** at limit **
   4  norm          .60171        .58464       -.11500E-07   -.51255E-02
   5  Prefactor     .11102E-09    3.3359       -.12326E-06** at limit **
   6  Prefactor     12.315        1.8028        .20763E-07   -.59582E-01
   7  norm          .59110        10.167       -.55649E-06   -.40185E-02
   8  Prefactor     87.684        53.705       -.14393E-06   -.10933E-02
   9  Prefactor     .67724E-07    1216.4        .42768E-05** at limit **
  10  norm           .0000        3.1784        .64560E-07** at limit **
  11  Normalizat    1.1493        .20738        .47341E-06    .23781E-04
  12  Prefactor     .97074        .10998       -.33979E-06    .33753E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 18.0851
  Prefactor  = 0
  norm       = 0.601708
  Prefactor  = 1.11022e-10
  Prefactor  = 12.3154
  norm       = 0.591098
  Prefactor  = 87.6843
  Prefactor  = 6.77236e-08
  norm       = 0
  Normalizat = 1.14925
  Prefactor  = 0.970737
 **********
 **   18 **HESSE 
 **********

 FCN=   8930.540     FROM HESSE     STATUS=OK           155 CALLS      942 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        12.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          18.085        13.485        .23448E-03   -1.5623    
   3  Prefactor      .0000        2.9249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .60171        .59819        .69090E-03   -1.5692    
   5  Prefactor     .11102E-09    3.3574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.315        13.389        .28559E-03   -1.5638    
   7  norm          .59110        15.101        .56246E-03   -1.5693    
   8  Prefactor     87.684        58.915        .10907E-03   -1.5521    
   9  Prefactor     .67724E-07    9.2318        .14244E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1493        .18446        .72750E-01   -.88186    
  12  Prefactor     .97074        .95781E-01    .45892E-01   -.93711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21064e-06
Minuit parameter uncertainties:
  1  5.80481e-06
  2  13.4854
  3  1.76183e-05
  4  0.59819
  5  3.56656e-05
  6  13.3886
  7  5.97529
  8  58.9157
  9  0.00158122
  10  3.10306e-06
  11  0.184559
  12  0.0957976
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  6.017e-01  5.982e-01  0.000e+00  1.000e+06 ( 1.000e-11)
296        alpha:  2.082e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.031e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.707e-01  9.580e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.149e+00  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.61
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.24e-05 +/- 1.23e-05

TS (Fixed Index): 1.61
Ra Dec: 109.840 33.123
Photon Flux Upper Limit: 8.82160963207e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.11763003959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59976906/likelihoodResults_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.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) = 8930.53172349
delta logL = 0.00838496920005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8930.53158538
delta logL = 0.00852307694004

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8930.532     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59770        21.802        .69386E-03    .12783E-01
   2  alpha         2.1845        2.9852        .41571        .44771E-05
   3  Normalizat    1.1467        .87945E-01    .72820E-01    .12048E-03
   4  Prefactor     .97143        .46596E-01    .45909E-01    .19193E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.597701
  alpha      = 2.18453
  Normalizat = 1.14671
  Prefactor  = 0.971433
 **********
 **   18 **HESSE 
 **********

 FCN=   8930.532     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59770        .58562        .69259E-05   -1.5693    
   2  alpha         2.1845        .78580        .24308E-01   -.12652    
   3  Normalizat    1.1467        .20142        .32224E-03   -.88266    
   4  Prefactor     .97143        .10918        .18764E-03   -.93688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53915e-11
Minuit parameter uncertainties:
  1  0.585625
  2  0.799578
  3  0.201552
  4  0.1092
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) = 8930.53158443
delta logL = 0.0085240274766

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  5.977e-01  5.856e-01  0.000e+00  1.000e+06 ( 1.000e-11)
296        alpha:  2.185e+00  7.996e-01  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.031e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.714e-01  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.147e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 109.840 33.123
Photon Index (Free Index): 2.18 +/- 0.80
Photon Flux (Free Index): 2.92e-08 +/- 3.39e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.22e-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/59976906/cmap_HighResolution_754876801_755481601_4FGL_J0719.3+3307_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='1.19e-05', photon_flux_error='2.63e-08', dlogl='8.52e-03', energy_flux='1.24e-05', photon_flux2='2.92e-08', job_status='DONE', time_completed='2024-12-10 00:16:04.542405', photon_index_error2='0.80', photon_index2='2.18', ts='1.61', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.82e-08', energy_flux_error2='1.22e-05', EG='1.15', time_epoch_completed='1733818564.54', return_code='0', job_id='59976906', GAL2='0.97', EG2='1.15', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.39e-08', ts2='1.63', photon_index='2.08' WHERE bin_id='853' AND source_name='4FGL J0719.3+3307' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 00:16:04 PST 2024

