aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 44 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7445
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0746.6-4754_daily_bin1673
RA = 116.669, Dec = -47.9155
tmin = 672969601, tmax = 673228801
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='352079', job_status='RUN', time_executed='2022-05-03 00:19:46.348930', time_epoch_executed='1651562386.35' WHERE source_name='4FGL J0746.6-4754' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352079

Creating custom pfile directory:
/scratch/kocevski/352079/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=672969601.0 && nMetStart<673228801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=672969601.0 && nMetStart<673228801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352079/ft1_4FGL_J0746.6-4754_daily_bin1673.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=672969601.0 && nMetStart<673228801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352079/ft1_4FGL_J0746.6-4754_daily_bin1673.fits outfile=/scratch/kocevski/352079/ft1_filteredMKT_4FGL_J0746.6-4754_daily_bin1673.fits ra=116.669 dec=-47.9155 rad=12.0 tmin=672969601.0 tmax=673228801.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.07
user 2.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/352079/ft1_filteredMKT_4FGL_J0746.6-4754_daily_bin1673.fits evtable="EVENTS" outfile="/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.60
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 5459

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/352079/ltcube_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.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 /scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits
.....................!
real 13.62
user 13.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/352079/ltcube_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits outfile=/scratch/kocevski/352079/expmap_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.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 /scratch/kocevski/352079/ltcube_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits
.....................!
real 190.74
user 184.84
sys 5.48

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 218 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 J0746.6-4754 @ 116.669 -47.9155

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits outfile=/scratch/kocevski/352079/cmap_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.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.669 yref=-47.9155 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits outfile=/scratch/kocevski/352079/cmap_HighResolution_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.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.669 yref=-47.9155 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352079/Model_4FGL_J0746.6-4754_daily_bin1673.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...
/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits.....................!
real 721.23
user 718.57
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits', '/scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits', expMap='/scratch/kocevski/352079/expmap_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits', expCube='/scratch/kocevski/352079/ltcube_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/352079/Model_4FGL_J0746.6-4754_daily_bin1673.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.6-4754'

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  2.126e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/352079/ft1_filtered_4FGL_J0746.6-4754_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/352079/ft2_4FGL_J0746.6-4754_daily_bin1673.fits
Exposure map: /scratch/kocevski/352079/expmap_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits
Exposure cube: /scratch/kocevski/352079/ltcube_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/352079/Model_4FGL_J0746.6-4754_daily_bin1673.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) = 43716.8914977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9874       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6894       1.0000         .10000E-03   10000.    
     4 'norm      '    24.702       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.5696       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6000       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .55008       1.0000         .10000E-03   10000.    
    10 'norm      '    .11841E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .82238E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9801       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6636       1.0000         .10000E-03   10000.    
    14 'norm      '    .66297       1.0000         .10000E-03   10000.    
    15 'norm      '    19.273       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.495       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4001       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+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=   43716.81     FROM MIGRAD    STATUS=CONVERGED    773 CALLS     2185 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.542        .18142E-02** at limit **
   2  Prefactor     7.9862        13.695        .14187E-03   -.76930E-04
   3  norm          2.6892        3.3399        .24844E-03   -.76511E-04
   4  norm          24.699        20.014        .80598E-04   -.27083E-04
   5  norm          .10000E-03    1.5106        .18142E-02** at limit **
   6  norm          8.5679        8.2669        .13693E-03   -.41379E-03
   7  Prefactor     2.6006        5.3666        .25302E-03    .61682E-03
   8  Prefactor     .10000E-03    75.902        .18142E-02** at limit **
   9  Prefactor     .47207        12.882        .20290        .40768E-03
  10  norm          .10002E-03    1.7677        .73692E-01** at limit **
  11  Prefactor     .10009E-03    2.0995        .94794E-01** at limit **
  12  Prefactor     6.9436        26.165        .15185E-03    .13776E-04
  13  Prefactor     8.6628        6.1741        .13618E-03   -.10665E-02
  14  norm          .66625        10.116        .47736E-02    .46789E-03
  15  norm          19.258        43.371        .91233E-04    .11365E-04
  16  Prefactor     32.478        50.807        .70293E-04    .32605E-04
  17  Prefactor     .10000E-03    46.065        .18142E-02** at limit **
  18  Prefactor     .10000E-03    29.436        .18142E-02** at limit **
  19  Normalizat    1.4003        .20875        .83216E-03    .30394E-03
  20  Prefactor     .97526        .34838E-01    .17309E-03   -.55435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.98618
  norm       = 2.68922
  norm       = 24.6994
  norm       = 0.0001
  norm       = 8.56787
  Prefactor  = 2.60058
  Prefactor  = 0.0001
  Prefactor  = 0.472068
  norm       = 0.000100022
  Prefactor  = 0.000100091
  Prefactor  = 6.94359
  Prefactor  = 8.66284
  norm       = 0.666247
  norm       = 19.2577
  Prefactor  = 32.4784
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.40029
  Prefactor  = 0.975264
 **********
 **   18 **HESSE 
 **********

 FCN=   43716.81     FROM HESSE     STATUS=OK           303 CALLS     2488 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9862        13.692        .56748E-05   -1.5143    
   3  norm          2.6892        3.3396        .99377E-05   -1.5380    
   4  norm          24.699        20.006        .32239E-05   -1.4714    
   5  norm          .10000E-03    1.5108        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.5679        8.2683        .54774E-05   -1.5122    
   7  Prefactor     2.6006        5.3650        .10121E-04   -1.5385    
   8  Prefactor     .10000E-03    75.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .47207        13.159        .20000       -1.5571    
  10  norm          .10002E-03    1.6337        .76659E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10009E-03    2.0684        .96109E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9436        26.153        .60739E-05   -1.5181    
  13  Prefactor     8.6628        6.1773        .54474E-05   -1.5119    
  14  norm          .66625        9.8564        .19094E-03   -1.5545    
  15  norm          19.258        43.372        .18247E-04   -1.4830    
  16  Prefactor     32.478        50.801        .14059E-04   -1.4568    
  17  Prefactor     .10000E-03    46.074        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.462        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4003        .20862        .33286E-04   -.80620    
  20  Prefactor     .97526        .34840E-01    .69236E-05   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40016e-09
Minuit parameter uncertainties:
  1  2.5772e-05
  2  13.6975
  3  3.33986
  4  20.011
  5  2.55961e-06
  6  8.26943
  7  5.36598
  8  0.000219978
  9  4.98552
  10  0.000381684
  11  0.000869096
  12  26.1957
  13  6.17775
  14  5.12577
  15  43.443
  16  50.8686
  17  0.000474109
  18  0.000133657
  19  0.208746
  20  0.0348408
Done.

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

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  8.663e+00  6.178e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  9.753e-01  3.484e-02  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.400e+00  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.48
Ra Dec: 116.669 -47.916
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.00e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 3.37e-05 +/- 2.41e-05

TS (Fixed Index): 3.48
Ra Dec: 116.669 -47.916
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351959/likelihoodResults_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.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) = 43716.6120816
delta logL = 0.200478362683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 43716.6080958
delta logL = 0.204464188311

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0127       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3129       1.0000          .0000       10.000    
     3 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97603       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   43716.61     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      266 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0127        57.944        .40937E-02    .23284E-02
   2  Index         2.3129        2.0371        .13971        .79583E-03
   3  Normalizat    1.3842        .90254E-01    .18745        .87773E-04
   4  Prefactor     .97602        .13500E-01    .45967E-01   -.39553E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.01266
  Index      = 2.31286
  Normalizat = 1.38416
  Prefactor  = 0.976022
 **********
 **   18 **HESSE 
 **********

 FCN=   43716.61     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0127        8.8233        .16375E-03   -1.5218    
   2  Index         2.3129        .71774        .99757E-02   -.56739    
   3  Normalizat    1.3842        .19405        .83584E-03   -.81088    
   4  Prefactor     .97602        .34280E-01    .17301E-03   -.93533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40369e-07
Minuit parameter uncertainties:
  1  8.8252
  2  0.721254
  3  0.194158
  4  0.0342803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351959': No such file or directory
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) = 43716.6080958
delta logL = 0.204464234092

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  6.013e+00  8.825e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  2.313e+00  7.213e-01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  9.760e-01  3.428e-02  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.384e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.95
Ra Dec: 116.669 -47.916
Photon Index (Free Index): 2.31 +/- 0.72
Photon Flux (Free Index): 6.98e-08 +/- 5.13e-08
Energy Flux (Free Index): 2.59e-05 +/- 2.42e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/351959/cmap_HighResolution_672969601_673228801_4FGL_J0746.6-4754_daily_bin1673.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/351959

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', photon_flux='5.00e-08', energy_flux2='2.59e-05', photon_flux_error='3.56e-08', dlogl='2.04e-01', energy_flux='3.37e-05', photon_flux2='6.98e-08', job_status='DONE', time_completed='2022-05-03 01:31:04.247103', photon_index_error2='0.72', photon_index2='2.31', ts='3.48', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='2.42e-05', EG='1.40', time_epoch_completed='1651566664.25', return_code='0', job_id='351959', GAL2='0.98', EG2='1.38', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='5.13e-08', ts2='3.95', photon_index='2.01' WHERE bin_id='1673' AND source_name='4FGL J0746.6-4754' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 01:31:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 352079: <4FGL_J0746.6-4754_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0746.6-4754_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:06:18 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:18:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:18:47 2022
Terminated at Tue May  3 01:30:48 2022
Results reported at Tue May  3 01:30:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.6-4754_daily_bin1673 116.669 -47.9155 672969601 673228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.6-4754 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4258.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             436.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4320 sec.
    Turnaround time :                            5070 sec.

The output (if any) is above this job summary.


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 351959: <4FGL_J0746.6-4754_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0746.6-4754_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:06:14 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:18:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:18:24 2022
Terminated at Tue May  3 01:31:04 2022
Results reported at Tue May  3 01:31:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.6-4754_daily_bin1673 116.669 -47.9155 672969601 673228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.6-4754 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4268.72 sec.
    Max Memory :                                 633 MB
    Average Memory :                             427.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2940 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   4360 sec.
    Turnaround time :                            5090 sec.

The output (if any) is above this job summary.

