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


Performing analysis on: 4FGL_J0747.3-3310_daily_bin1875
RA = 116.833, Dec = -33.1778
tmin = 725328001, tmax = 725587201
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='37013793', job_status='RUN', time_executed='2023-12-30 00:10:52.228171', time_epoch_executed='1703923852.23' WHERE source_name='4FGL J0747.3-3310' and cadence='daily' and bin_id='1875'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37013793

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37013793/ft1_4FGL_J0747.3-3310_daily_bin1875.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37013793/ft1_4FGL_J0747.3-3310_daily_bin1875.fits outfile=/lscratch/kocevski/37013793/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1875.fits ra=116.833 dec=-33.1778 rad=12.0 tmin=725328001.0 tmax=725587201.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.20
user 1.96
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.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/37013793/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1875.fits evtable="EVENTS" outfile="/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.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.36
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37013793/ltcube_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.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/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits
.....................!
real 8.80
user 8.47
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits evtable="EVENTS" scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37013793/ltcube_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits outfile=/lscratch/kocevski/37013793/expmap_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.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/37013793/ltcube_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits
.....................!
real 71.98
user 67.63
sys 3.95

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 198 point sources and 3 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 J0747.3-3310 @ 116.833 -33.1778

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits outfile=/lscratch/kocevski/37013793/cmap_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.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=116.833 yref=-33.1778 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.41
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits outfile=/lscratch/kocevski/37013793/cmap_HighResolution_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.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=116.833 yref=-33.1778 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.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits evtable="EVENTS" scfile=/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37013793/Model_4FGL_J0747.3-3310_daily_bin1875.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 Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits.....................!
real 140.25
user 137.50
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits', '/lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits', expMap='/lscratch/kocevski/37013793/expmap_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits', expCube='/lscratch/kocevski/37013793/ltcube_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37013793/Model_4FGL_J0747.3-3310_daily_bin1875.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0747.3-3310'

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  6.976e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  1.657e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37013793/ft1_filtered_4FGL_J0747.3-3310_daily_bin1875.fits
Spacecraft file(s): /lscratch/kocevski/37013793/ft2_4FGL_J0747.3-3310_daily_bin1875.fits
Exposure map: /lscratch/kocevski/37013793/expmap_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits
Exposure cube: /lscratch/kocevski/37013793/ltcube_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37013793/Model_4FGL_J0747.3-3310_daily_bin1875.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) = 24629.5344436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.612       1.0000          .0000       .10000E+07
     2 'norm      '    .14916E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.084       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11665E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53618E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .40956E-02   1.0000          .0000       .10000E+07
     7 'norm      '    22.920       1.0000          .0000       .10000E+07
     8 'norm      '    .16152E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .61361E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .54762E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .89556E-06   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0491       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24629.53     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      819 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.667        3.9238        .28595E-07   -.80633E-01
   2  norm          .41633E-08    17.619       -.89435E-06** at limit **
   3  Prefactor     19.097        1.1430       -.71597E-08    .51125E-02
   4  Prefactor     .19762E-07    9.7486       -.30776E-06** at limit **
   5  Prefactor      .0000        3.2031        .11572E-06** at limit **
   6  norm          .22204E-07    11.637       -.27349E-06** at limit **
   7  norm          22.853        2.4920       -.24534E-07    .25872E-01
   8  norm          .21094E-08    8.4520        .73439E-07** at limit **
   9  norm           .0000        2.6245        .18943E-06** at limit **
  10  Prefactor     .55511E-10    5.0026        .38549E-06** at limit **
  11  norm           .0000        1.3978        .20728E-06** at limit **
  12  Normalizat    1.0491        .24319        .29880E-05   -.99326E-05
  13  Prefactor     1.0213        .35851E-01   -.38448E-06    .26043E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 31.6668
  norm       = 4.16334e-09
  Prefactor  = 19.0966
  Prefactor  = 1.9762e-08
  Prefactor  = 0
  norm       = 2.22045e-08
  norm       = 22.8529
  norm       = 2.10942e-09
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.04906
  Prefactor  = 1.02131
 **********
 **   18 **HESSE 
 **********

 FCN=   24629.53     FROM HESSE     STATUS=OK           167 CALLS      986 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.667        43.712        .17788E-03   -1.5595    
   2  norm          .41633E-08    17.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.097        24.331        .22899E-03   -1.5621    
   4  Prefactor     .19762E-07    9.8177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.2025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .22204E-07    11.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.853        24.239        .20893E-03   -1.5612    
   8  norm          .21094E-08    8.4562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.6278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    4.9412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0491        .25345        .18523       -.91404    
  13  Prefactor     1.0213        .35614E-01    .27457E-01   -.92023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14575e-07
Minuit parameter uncertainties:
  1  43.7123
  2  0.000542039
  3  24.331
  4  0.000881053
  5  6.13432e-06
  6  0.00102043
  7  24.2388
  8  0.000268672
  9  9.4937e-06
  10  3.13331e-05
  11  6.11111e-06
  12  0.253745
  13  0.0356148
Done.

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

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  6.134e-06  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  1.657e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.021e+00  3.561e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.049e+00  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 116.833 -33.178
Photon Flux Upper Limit: 8.0009029027e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00615097887978 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37013793/likelihoodResults_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.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): 102
logL (Free Index) = 24629.533572
delta logL = -0.000343706182321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24629.5332308
delta logL = -2.49070944847e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24629.53     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      244 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0819        .42118E-03** at limit **
   2  Index         3.1994        2.0274       -.19132E-04     .0000    
   3  Normalizat    1.0491        1.2047       -.15512E-05   -.91129E-05
   4  Prefactor     1.0213        1.2352       -.26355E-06   -.87787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.19945
  Normalizat = 1.04906
  Prefactor  = 1.02131
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24629.53     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1515        2.2270       -.19132E-04   -.36839    
   3  Normalizat    1.0491        1.2047       -.15512E-05   -.91404    
   4  Prefactor     1.0213        1.2352       -.26355E-06   -.92023    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.1578e-13
Minuit parameter uncertainties:
  1  7.5832e-07
  2  2.09732
  3  1.23841
  4  1.27226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24629.5332283
delta logL = 0.0

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  7.583e-07  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  3.199e+00  2.097e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  1.657e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.021e+00  1.272e+00  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.049e+00  1.238e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 116.833 -33.178

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/37013793/cmap_HighResolution_725328001_725587201_4FGL_J0747.3-3310_daily_bin1875.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2023-12-30 00:20:35.526949', job_id='37013793', GAL2='1.02', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1703924435.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1875' AND source_name='4FGL J0747.3-3310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 30 00:20:35 PST 2023

