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


Performing analysis on: 4FGL_J0747.3-3310_daily_bin1885
RA = 116.833, Dec = -33.1778
tmin = 727920001, tmax = 728179201
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='38914349', job_status='RUN', time_executed='2024-01-29 00:10:50.502301', time_epoch_executed='1706515850.5' WHERE source_name='4FGL J0747.3-3310' and cadence='daily' and bin_id='1885'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38914349

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38914349/ft1_4FGL_J0747.3-3310_daily_bin1885.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38914349/ft1_4FGL_J0747.3-3310_daily_bin1885.fits outfile=/lscratch/kocevski/38914349/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1885.fits ra=116.833 dec=-33.1778 rad=12.0 tmin=727920001.0 tmax=728179201.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.13
user 1.68
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.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/38914349/ft1_filteredMKT_4FGL_J0747.3-3310_daily_bin1885.fits evtable="EVENTS" outfile="/lscratch/kocevski/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.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.65
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 2608

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38914349/ltcube_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.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/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits
.....................!
real 7.24
user 6.71
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits evtable="EVENTS" scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38914349/ltcube_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.fits outfile=/lscratch/kocevski/38914349/expmap_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.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/38914349/ltcube_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.fits
.....................!
real 66.31
user 62.18
sys 3.45

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/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits outfile=/lscratch/kocevski/38914349/cmap_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.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.43
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits outfile=/lscratch/kocevski/38914349/cmap_HighResolution_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.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.43
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits evtable="EVENTS" scfile=/lscratch/kocevski/38914349/ft2_4FGL_J0747.3-3310_daily_bin1885.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38914349/Model_4FGL_J0747.3-3310_daily_bin1885.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/38914349/ft1_filtered_4FGL_J0747.3-3310_daily_bin1885.fits.....................!
real 139.03
user 137.15
sys 0.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49960E-08   1.0000          .0000       .10000E+07
     2 'norm      '    35.056       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.603       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1228       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13922E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     7 'norm      '    13.613       1.0000          .0000       .10000E+07
     8 'norm      '    .65120E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .16653E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .60008E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
    12 'Normalizat'    .92387       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0248       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=   24875.47     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     1107 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        19.442        .90607E-08** at limit **
   2  norm          35.054        24.629        .51179E-06   -.12487E-03
   3  Prefactor     14.604        20.824        .11127E-05   -.19811E-03
   4  Prefactor     7.1061        22.574        .13684E-05   -.93356E-04
   5  Prefactor      .0000        8.3157        .16944E-08** at limit **
   6  norm           .0000        9.8157        .17827E-07** at limit **
   7  norm          13.611        37.535       -.44797E-06   -.17524E-04
   8  norm          .55511E-10    41.346       -.89306E-07** at limit **
   9  norm           .0000        3.7827        .28664E-08** at limit **
  10  Prefactor      .0000        2.7311        .10648E-07** at limit **
  11  norm           .0000        2.4507        .45702E-08** at limit **
  12  Normalizat    .92382        .25400       -.91119E-05   -.21293E-03
  13  Prefactor     1.0248        .35614E-01    .43652E-06    .16584E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 35.0539
  Prefactor  = 14.6036
  Prefactor  = 7.10612
  Prefactor  = 0
  norm       = 0
  norm       = 13.6111
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.923824
  Prefactor  = 1.02482
 **********
 **   18 **HESSE 
 **********

 FCN=   24875.47     FROM HESSE     STATUS=OK           143 CALLS     1250 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        19.444        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          35.054        24.655        .67567E-05   -1.5590    
   3  Prefactor     14.604        20.831        .10474E-04   -1.5632    
   4  Prefactor     7.1061        22.509        .15025E-04   -1.5655    
   5  Prefactor      .0000        8.3342        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        9.8166        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.611        37.552        .10849E-04   -1.5634    
   8  norm          .55511E-10    41.472        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.7851        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.7574        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.4568        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .92382        .25506        .87635E-03   -.95628    
  13  Prefactor     1.0248        .35682E-01    .11967E-03   -.91907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05338e-10
Minuit parameter uncertainties:
  1  5.88526e-06
  2  24.6552
  3  20.8306
  4  22.5097
  5  1.52559e-06
  6  3.1581e-06
  7  37.5527
  8  0.000108063
  9  4.68024e-06
  10  8.57372e-06
  11  2.50267e-07
  12  0.255399
  13  0.0356831
Done.

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

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  1.526e-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.025e+00  3.568e-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:  9.238e-01  2.554e-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.0928707888e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00840183317055 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38914349/likelihoodResults_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.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) = 24875.5259966
delta logL = -0.0600180170259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24875.4659786
delta logL = -1.75095919985e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44409E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .64448       1.0000          .0000       10.000    
     3 'Normalizat'    .92383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0248       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=   24875.47     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .46841        .61306E-02** at limit **
   2  Index         3.2842        1.9003        .47815E-05     .0000    
   3  Normalizat    .92383        1.2580       -.12015E-04    .16953E-04
   4  Prefactor     1.0248        1.2281        .12082E-05    .32655E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.2842
  Normalizat = 0.923829
  Prefactor  = 1.02482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24875.47     FROM HESSE     STATUS=FAILED         9 CALLS      231 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .46841        .61306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2099        2.2211        .47815E-05   -.35028    
   3  Normalizat    .92383        1.2580       -.12015E-04   -.95628    
   4  Prefactor     1.0248        1.2281        .12082E-05   -.91907    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.75096e-13
Minuit parameter uncertainties:
  1  5.68836e-08
  2  1.95639
  3  1.30189
  4  1.26441
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) = 24875.4659785
delta logL = 1.89174897969e-10

Extracting fit parameters...

4FGL J0747.3-3310
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  5.688e-08  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  3.284e+00  1.956e+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.025e+00  1.264e+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:  9.238e-01  1.302e+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/38914349/cmap_HighResolution_727920001_728179201_4FGL_J0747.3-3310_daily_bin1885.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2024-01-29 00:21:08.669909', job_id='38914349', GAL2='1.02', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1706516468.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.89e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1885' AND source_name='4FGL J0747.3-3310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 29 00:21:08 PST 2024

