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


Performing analysis on: 4FGL_J0732.7-4638_daily_bin1674
RA = 113.177, Dec = -46.6488
tmin = 673228801, tmax = 673488001
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='669342', job_status='RUN', time_executed='2022-05-06 02:46:12.271750', time_epoch_executed='1651830372.27' WHERE source_name='4FGL J0732.7-4638' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669342/ft1_4FGL_J0732.7-4638_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669342/ft1_4FGL_J0732.7-4638_daily_bin1674.fits outfile=/scratch/kocevski/669342/ft1_filteredMKT_4FGL_J0732.7-4638_daily_bin1674.fits ra=113.177 dec=-46.6488 rad=12.0 tmin=673228801.0 tmax=673488001.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.79
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.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/669342/ft1_filteredMKT_4FGL_J0732.7-4638_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 5642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669342/ltcube_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.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/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits
.....................!
real 16.01
user 15.58
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669342/ltcube_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits outfile=/scratch/kocevski/669342/expmap_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.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/669342/ltcube_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits
.....................!
real 195.62
user 188.60
sys 5.60

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 223 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 J0732.7-4638 @ 113.177 -46.6488

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits outfile=/scratch/kocevski/669342/cmap_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.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=113.177 yref=-46.6488 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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits outfile=/scratch/kocevski/669342/cmap_HighResolution_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.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=113.177 yref=-46.6488 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.64
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669342/Model_4FGL_J0732.7-4638_daily_bin1674.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/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits.....................!
real 706.10
user 703.22
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits', '/scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits', expMap='/scratch/kocevski/669342/expmap_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits', expCube='/scratch/kocevski/669342/ltcube_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669342/Model_4FGL_J0732.7-4638_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0732.7-4638'

4FGL J0732.7-4638
   Spectrum: LogParabola
346         norm:  3.685e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  2.354e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
348         beta:  4.952e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  5.985e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/669342/ft1_filtered_4FGL_J0732.7-4638_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669342/ft2_4FGL_J0732.7-4638_daily_bin1674.fits
Exposure map: /scratch/kocevski/669342/expmap_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669342/ltcube_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669342/Model_4FGL_J0732.7-4638_daily_bin1674.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) = 45110.0161841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11288E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.970       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2610       1.0000         .10000E-03   10000.    
     4 'norm      '    22.348       1.0000         .10000E-03   10000.    
     5 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.155       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.417       1.0000         .10000E-03   10000.    
     8 'norm      '    5.5076       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6521       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4492       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1020       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.352       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2952       1.0000         .10000E-03   10000.    
    17 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    36.122       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0194       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0131       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   45109.98     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2073 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    150.60        .83511E-06** at limit **
   2  Prefactor     22.967        16.359        .13152E-05    .81412E-04
   3  Prefactor     1.2616        3.1626        .10421E-05   -.19753E-05
   4  norm          22.347        7.9981       -.13319E-06    .34888E-04
   5  norm          .10000E-03    9.1775        .17966E-06** at limit **
   6  Prefactor     28.154        19.459       -.36843E-07   -.12434E-04
   7  Prefactor     17.418        19.041        .53403E-07   -.15709E-04
   8  norm          5.5062        6.3235       -.31128E-06   -.23393E-04
   9  norm          4.6535        8.0903       -.22283E-06   -.14780E-04
  10  Prefactor     .10000E-03    1.9283        .11477E-06** at limit **
  11  Prefactor     .10000E-03    143.97        .13821E-06** at limit **
  12  Prefactor     .10000E-03    10.510       -.89801E-06** at limit **
  13  norm          5.4498        3.5037        .42515E-06    .40174E-04
  14  Prefactor     9.1017        5.9690       -.10366E-06   -.23214E-04
  15  Prefactor     16.354        21.232        .14811E-06   -.35240E-04
  16  Prefactor     6.2952        4.0319       -.72288E-07   -.26667E-04
  17  norm          .10000E-03    2.7297       -.10003E-06** at limit **
  18  norm          36.125        26.113        .32026E-07   -.33847E-05
  19  Prefactor     .10000E-03    118.66       -.35668E-05** at limit **
  20  Prefactor     .10000E-03    29.714        .59266E-07** at limit **
  21  Normalizat    1.0194        .18240        .25410E-05    .15707E-04
  22  Prefactor     1.0131        .35475E-01   -.62500E-06    .27795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.9668
  Prefactor  = 1.26162
  norm       = 22.3473
  norm       = 0.0001
  Prefactor  = 28.1538
  Prefactor  = 17.4185
  norm       = 5.50624
  norm       = 4.65349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.44982
  Prefactor  = 9.10171
  Prefactor  = 16.3536
  Prefactor  = 6.29516
  norm       = 0.0001
  norm       = 36.1246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01944
  Prefactor  = 1.01314
 **********
 **   18 **HESSE 
 **********

 FCN=   45109.98     FROM HESSE     STATUS=OK           346 CALLS     2419 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    150.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.967        16.577        .83575E-04   -1.4749    
   3  Prefactor     1.2616        3.1682        .19858E-02   -1.5483    
   4  norm          22.347        8.0111        .84731E-04   -1.4762    
   5  norm          .10000E-03    9.2169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.154        19.445        .75503E-04   -1.4646    
   7  Prefactor     17.418        19.026        .95969E-04   -1.4873    
   8  norm          5.5062        6.2703        .17120E-03   -1.5239    
   9  norm          4.6535        8.0210        .18659E-03   -1.5276    
  10  Prefactor     .10000E-03    1.9402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    144.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4498        3.4977        .86067E-03   -1.5241    
  14  Prefactor     9.1017        5.9668        .13285E-03   -1.5104    
  15  Prefactor     16.354        21.253        .99045E-04   -1.4899    
  16  Prefactor     6.2952        4.0307        .15998E-03   -1.5206    
  17  norm          .10000E-03    2.8014        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          36.125        26.114        .66681E-04   -1.4505    
  19  Prefactor     .10000E-03    119.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0194        .18377        .81893E-03   -.92382    
  22  Prefactor     1.0131        .35790E-01    .17408E-03   -.92293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99937e-09
Minuit parameter uncertainties:
  1  6.97196e-05
  2  16.5802
  3  3.16861
  4  8.01153
  5  4.30438e-06
  6  19.4492
  7  19.0322
  8  6.27106
  9  8.02286
  10  2.71586e-06
  11  3.44998e-05
  12  1.19465e-05
  13  3.49783
  14  5.96716
  15  21.2631
  16  4.03082
  17  6.95234e-06
  18  26.1219
  19  0.000239196
  20  3.55718e-05
  21  0.183885
  22  0.0357912
Done.

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

Extracting fit parameters...

4FGL J0732.7-4638
   Spectrum: LogParabola
346         norm:  4.653e+00  8.023e+00  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  2.354e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
348         beta:  4.952e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  5.985e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.013e+00  3.579e-02  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.019e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 113.177 -46.649
Photon Flux Upper Limit: 5.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/669342/likelihoodResults_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.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) = 45107.9543041
delta logL = 2.0245956004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 45107.8778736
delta logL = 2.10102608809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9329       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .92316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   45107.88     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      315 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9326        1.2261        .14190E-03   -.11658E-02
   2  alpha         5.0000        .80283        .50000    ** at limit **
   3  Normalizat    .92314        .16907        .85389E-03   -.81375E-04
   4  Prefactor     1.0198        .34953E-01    .17345E-03   -.18614E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93256
  alpha      = 5
  Normalizat = 0.923138
  Prefactor  = 1.01979
 **********
 **   18 **HESSE 
 **********

 FCN=   45107.88     FROM HESSE     STATUS=OK            29 CALLS      344 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9326        1.2172        .56761E-05   -1.5430    
   2  alpha         5.0000        .79210        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .92314        .16911        .34156E-04   -.95652    
   4  Prefactor     1.0198        .34955E-01    .69381E-05   -.92073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17932e-10
Minuit parameter uncertainties:
  1  1.21725
  2  4.99274e-06
  3  0.169209
  4  0.0349558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669342': 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) = 45107.8778717
delta logL = 2.1010279788

Extracting fit parameters...

4FGL J0732.7-4638
   Spectrum: LogParabola
346         norm:  1.933e+00  1.217e+00  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  5.000e+00  4.993e-06  0.000e+00  5.000e+00 ( 1.000e+00)
348         beta:  4.952e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  5.985e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.020e+00  3.496e-02  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  9.231e-01  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.24
Ra Dec: 113.177 -46.649
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.18e-07 +/- 7.44e-08
Energy Flux (Free Index): 1.78e-05 +/- 1.12e-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/669342/cmap_HighResolution_673228801_673488001_4FGL_J0732.7-4638_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-05', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='2.10e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2022-05-06 04:02:35.935722', photon_index_error2='0.00', photon_index2='5.00', ts='0.49', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.96e-08', energy_flux_error2='1.12e-05', EG='1.02', time_epoch_completed='1651834955.94', return_code='0', job_id='669342', GAL2='1.02', EG2='0.92', return_code2='0', photon_flux_error2='7.44e-08', ts2='5.24', photon_index='2.35' WHERE bin_id='1674' AND source_name='4FGL J0732.7-4638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 04:02:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 669293: <4FGL_J0732.7-4638_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0732.7-4638_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:06:31 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:44:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:44:32 2022
Terminated at Fri May  6 04:01:29 2022
Results reported at Fri May  6 04:01:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0732.7-4638_daily_bin1674 113.177 -46.6488 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0732.7-4638 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4558.00 sec.
    Max Memory :                                 1263 MB
    Average Memory :                             436.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4617 sec.
    Turnaround time :                            14098 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 669342: <4FGL_J0732.7-4638_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0732.7-4638_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:06:34 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:44:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:44:49 2022
Terminated at Fri May  6 04:02:37 2022
Results reported at Fri May  6 04:02:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0732.7-4638_daily_bin1674 113.177 -46.6488 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0732.7-4638 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4580.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             423.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4667 sec.
    Turnaround time :                            14163 sec.

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

