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


Performing analysis on: 4FGL_J0747.3-3310_daily_bin1941
RA = 116.833, Dec = -33.1778
tmin = 742435201, tmax = 742694401
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='52068584', job_status='RUN', time_executed='2024-07-15 12:01:03.500744', time_epoch_executed='1721070063.5' WHERE source_name='4FGL J0747.3-3310' and cadence='daily' and bin_id='1941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/52068584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/52068584/ft1_4FGL_J0747.3-3310_daily_bin1941.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/52068584/ft1_4FGL_J0747.3-3310_daily_bin1941.fits outfile=/lscratch/kocevski/52068584/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1941.fits ra=116.833 dec=-33.1778 rad=12.0 tmin=742435201.0 tmax=742694401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.95
user 1.70
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.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/52068584/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1941.fits evtable="EVENTS" outfile="/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.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.48
user 0.17
sys 0.15

Number of photons that the gtmktime cut: 3311

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/52068584/ltcube_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.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/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits
.....................!
real 7.05
user 6.72
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits evtable="EVENTS" scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/52068584/ltcube_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits outfile=/lscratch/kocevski/52068584/expmap_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.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/52068584/ltcube_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits
.....................!
real 59.45
user 55.48
sys 3.53

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/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits outfile=/lscratch/kocevski/52068584/cmap_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.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.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits outfile=/lscratch/kocevski/52068584/cmap_HighResolution_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.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.49
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits evtable="EVENTS" scfile=/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/52068584/Model_4FGL_J0747.3-3310_daily_bin1941.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/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits.....................!
real 141.73
user 139.84
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits', '/lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits', expMap='/lscratch/kocevski/52068584/expmap_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits', expCube='/lscratch/kocevski/52068584/ltcube_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/52068584/Model_4FGL_J0747.3-3310_daily_bin1941.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/52068584/ft1_filtered_4FGL_J0747.3-3310_daily_bin1941.fits
Spacecraft file(s): /lscratch/kocevski/52068584/ft2_4FGL_J0747.3-3310_daily_bin1941.fits
Exposure map: /lscratch/kocevski/52068584/expmap_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits
Exposure cube: /lscratch/kocevski/52068584/ltcube_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/52068584/Model_4FGL_J0747.3-3310_daily_bin1941.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) = 31035.3715503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49703E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .46779E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.680       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19225E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .81624E-02   1.0000          .0000       .10000E+07
     6 'norm      '    15.089       1.0000          .0000       .10000E+07
     7 'norm      '    .52565E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .15546E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8201       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.7399       1.0000          .0000       .10000E+07
    11 'norm      '    .41475E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    .84533       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0022       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   31035.23     FROM MIGRAD    STATUS=CONVERGED    274 CALLS      858 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.6217       -.59758E-07** at limit **
   2  norm           .0000        39.915       -.49190E-06** at limit **
   3  Prefactor     10.382        17.743       -.31458E-06   -.30172E-03
   4  Prefactor      .0000        12.564        .97393E-07** at limit **
   5  Prefactor      .0000        25.894       -.31601E-07** at limit **
   6  norm          16.899        30.764       -.90048E-06   -.89912E-04
   7  norm           .0000        11.730        .34610E-08** at limit **
   8  norm           .0000        8.1191       -.14589E-07** at limit **
   9  norm          4.7382        8.3556       -.11657E-06   -.19525E-02
  10  Prefactor     6.7453        3.5444       -.30464E-07   -.93624E-02
  11  norm           .0000        3.8003        .39158E-07** at limit **
  12  Normalizat    .84594        .21817        .48160E-06   -.12419E-03
  13  Prefactor     1.0021        .31388E-01    .54814E-07   -.48090E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 10.3818
  Prefactor  = 0
  Prefactor  = 0
  norm       = 16.8991
  norm       = 0
  norm       = 0
  norm       = 4.73821
  Prefactor  = 6.74532
  norm       = 0
  Normalizat = 0.845939
  Prefactor  = 1.00213
 **********
 **   18 **HESSE 
 **********

 FCN=   31035.23     FROM HESSE     STATUS=OK           143 CALLS     1001 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.6202        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        40.021        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.382        17.635        .12254E-04   -1.5644    
   4  Prefactor      .0000        12.572        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.104        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.899        30.442        .10303E-04   -1.5626    
   7  norm           .0000        11.730        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        8.1229        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7382        8.4175        .18319E-04   -1.5664    
  10  Prefactor     6.7453        3.5969        .15450E-04   -1.5656    
  11  norm           .0000        3.8247        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .84594        .21236        .86452E-03   -.98387    
  13  Prefactor     1.0021        .31254E-01    .11793E-03   -.92658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92585e-10
Minuit parameter uncertainties:
  1  8.2142e-08
  2  3.17981e-05
  3  17.6354
  4  2.60802e-07
  5  7.91113e-08
  6  30.4424
  7  1.19315e-07
  8  1.08077e-06
  9  8.41756
  10  3.5969
  11  6.49325e-07
  12  0.212566
  13  0.0312546
Done.

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

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  7.911e-08  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.002e+00  3.125e-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:  8.459e-01  2.126e-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: 1.1735014053e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00902170973349 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/52068584/likelihoodResults_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.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) = 31035.252414
delta logL = -0.0215518918922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 31035.2249012
delta logL = 0.00596089125611

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45827       1.0000          .0000       .10000E+07
     2 'Index     '    2.8489       1.0000          .0000       10.000    
     3 'Normalizat'    .84417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0017       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.

 FCN=   31035.22     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      251 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46352        1.6464        .83024E-02    .14250E-01
   2  Index         2.8517        .15449        .50000        .62294E-05
   3  Normalizat    .84426        .68299E-02    .19426        .17204E-03
   4  Prefactor     1.0017        .10115E-02    .26688E-01   -.71755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.463524
  Index      = 2.85165
  Normalizat = 0.84426
  Prefactor  = 1.00171
 **********
 **   18 **HESSE 
 **********

 FCN=   31035.22     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      286 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46352        1983.6        .37881E-03   -1.5694    
   2  Index         2.8517        5.5159        .53611E-02   -.44413    
   3  Normalizat    .84426        .21507        .86524E-03   -.98447    
   4  Prefactor     1.0017        .52122E-01    .11795E-03   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.7756e-08
Minuit parameter uncertainties:
  1  60.6653
  2  29.4752
  3  0.21529
  4  0.052125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 31035.2248968
delta logL = 0.00596530460825

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  4.635e-01  6.067e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.852e+00  2.948e+01  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.002e+00  5.212e-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:  8.443e-01  2.153e-01  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/52068584/cmap_HighResolution_742435201_742694401_4FGL_J0747.3-3310_daily_bin1941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2024-07-15 12:11:30.334512', job_id='52068584', GAL2='1.00', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1721070690.33', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.97e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1941' AND source_name='4FGL J0747.3-3310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 15 12:11:31 PDT 2024

