aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 9 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 = 17171
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0904.9-5734_weekly_bin508
RA = 136.232, Dec = -57.5833
tmin = 546220801, tmax = 546825601
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='613183', job_status='RUN', time_executed='2021-07-15 00:55:29.327336', time_epoch_executed='1626335729.33' WHERE source_name='4FGL J0904.9-5734' and cadence='weekly' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/613183

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/613183/ft1_4FGL_J0904.9-5734_weekly_bin508.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/613183/ft1_4FGL_J0904.9-5734_weekly_bin508.fits outfile=/scratch/kocevski/613183/ft1_filteredMKT_4FGL_J0904.9-5734_weekly_bin508.fits ra=136.232 dec=-57.5833 rad=12.0 tmin=546220801.0 tmax=546825601.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 8.39
user 8.01
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.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/613183/ft1_filteredMKT_4FGL_J0904.9-5734_weekly_bin508.fits evtable="EVENTS" outfile="/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.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.57
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/613183/ltcube_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.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/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits
.....................!
real 27.42
user 26.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/613183/ltcube_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits outfile=/scratch/kocevski/613183/expmap_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.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/613183/ltcube_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits
.....................!
real 190.63
user 185.76
sys 4.02

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 Vela Junior in ROI with RadialDisk spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Added 253 point sources and 6 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 J0904.9-5734 @ 136.232 -57.5833

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits outfile=/scratch/kocevski/613183/cmap_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.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=136.232 yref=-57.5833 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.61
user 0.45
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits outfile=/scratch/kocevski/613183/cmap_HighResolution_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.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=136.232 yref=-57.5833 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.66
user 0.47
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/613183/Model_4FGL_J0904.9-5734_weekly_bin508.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits.....................!
real 2999.04
user 2990.99
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits', '/scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits', expMap='/scratch/kocevski/613183/expmap_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits', expCube='/scratch/kocevski/613183/ltcube_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/613183/Model_4FGL_J0904.9-5734_weekly_bin508.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0904.9-5734'

4FGL J0904.9-5734
   Spectrum: LogParabola
410         norm:  7.811e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
411        alpha:  2.232e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
412         beta:  4.239e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
413           Eb:  8.676e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/613183/ft1_filtered_4FGL_J0904.9-5734_weekly_bin508.fits
Spacecraft file(s): /scratch/kocevski/613183/ft2_4FGL_J0904.9-5734_weekly_bin508.fits
Exposure map: /scratch/kocevski/613183/expmap_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits
Exposure cube: /scratch/kocevski/613183/ltcube_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/613183/Model_4FGL_J0904.9-5734_weekly_bin508.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) = 181562.873415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5132       1.0000         .10000E-03   10000.    
     4 'norm      '    20.647       1.0000         .10000E-03   10000.    
     5 'norm      '    16.093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .79574       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.214       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1920       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1779       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.915       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .96760       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   181562.8     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1023 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .83389        .65967E-08** at limit **
   2  Prefactor     5.4127        4.0574        .13661E-06    .41909E-04
   3  Prefactor     5.5131        3.7064        .17884E-05   -.19184E-02
   4  norm          20.647        2.5802        .10940E-07    .34573E-03
   5  norm          16.093        2.6911        .16865E-07    .22472E-03
   6  Prefactor     .79822        1.0958       -.75172E-07   -.58863E-03
   7  Prefactor     26.213        12.382       -.21670E-06   -.15919E-03
   8  Prefactor     2.1921        3.4806        .32570E-06   -.24189E-03
   9  Prefactor     2.1794        4.7924        .13458E-06   -.26725E-03
  10  Prefactor     24.905        19.306       -.38695E-05   -.85885E-03
  11  Normalizat    1.3842        .11351        .54907E-07   -.45495E-04
  12  Prefactor     .96759        .12664E-01   -.21873E-07    .59231E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.41267
  Prefactor  = 5.5131
  norm       = 20.6469
  norm       = 16.0934
  Prefactor  = 0.798224
  Prefactor  = 26.2133
  Prefactor  = 2.19214
  Prefactor  = 2.17941
  Prefactor  = 24.9053
  Normalizat = 1.38421
  Prefactor  = 0.967594
 **********
 **   18 **HESSE 
 **********

 FCN=   181562.8     FROM HESSE     STATUS=OK           137 CALLS     1160 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .85329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4127        4.0554        .17272E-03   -1.5243    
   3  Prefactor     5.5131        3.9448        .85558E-03   -1.5238    
   4  norm          20.647        2.5790        .88147E-04   -1.4799    
   5  norm          16.093        2.6892        .99838E-04   -1.4905    
   6  Prefactor     .79822        3.2500        .48891E-02   -1.5529    
   7  Prefactor     26.213        12.393        .78242E-04   -1.4684    
   8  Prefactor     2.1921        3.4701        .27797E-03   -1.5412    
   9  Prefactor     2.1794        4.7765        .27898E-03   -1.5413    
  10  Prefactor     24.905        21.084        .80252E-04   -1.4709    
  11  Normalizat    1.3842        .11334        .98220E-03   -.81086    
  12  Prefactor     .96759        .13049E-01    .12913E-03   -.93818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89976e-07
Minuit parameter uncertainties:
  1  3.59889e-07
  2  4.05561
  3  3.94502
  4  2.57901
  5  2.68926
  6  3.22143
  7  12.3947
  8  3.47041
  9  4.77735
  10  21.0904
  11  0.113357
  12  0.0130486
Done.

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

Extracting fit parameters...

4FGL J0904.9-5734
   Spectrum: LogParabola
410         norm:  1.609e+01  2.689e+00  1.000e-04  1.000e+04 ( 1.000e-12)
411        alpha:  2.232e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
412         beta:  4.239e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
413           Eb:  8.676e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
899    Prefactor:  9.676e-01  1.305e-02  0.000e+00  1.000e+01 ( 1.000e+00)
900        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
901        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
891   Normalization:  1.384e+00  1.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 84.20
Ra Dec: 136.232 -57.583
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.46e-07 +/- 2.45e-08
Energy Flux (Fixed Index): 6.00e-05 +/- 1.00e-05

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) = 181562.822835
delta logL = 0.018302669836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 181562.813929
delta logL = 0.0272089062491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.293       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1984       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9150E+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=   181562.8     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      261 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.293        2.8335        .99225E-04    .85794E-03
   2  alpha         2.1984        .14406        .16132E-01    .24522E-02
   3  Normalizat    1.3877        .11140        .98127E-03   -.16461E-03
   4  Prefactor     .96750        .12536E-01    .12914E-03   -.42256E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.2929
  alpha      = 2.19838
  Normalizat = 1.38769
  Prefactor  = 0.967499
 **********
 **   18 **HESSE 
 **********

 FCN=   181562.8     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.293        2.7962        .39690E-05   -1.4900    
   2  alpha         2.1984        .14213        .32264E-02   -.12094    
   3  Normalizat    1.3877        .11138        .39251E-04   -.80985    
   4  Prefactor     .96750        .12536E-01    .51656E-05   -.93821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96505e-11
Minuit parameter uncertainties:
  1  2.79623
  2  0.142204
  3  0.111402
  4  0.0125358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/613183': 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) = 181562.813929
delta logL = 0.0272089109058

Extracting fit parameters...

4FGL J0904.9-5734
   Spectrum: LogParabola
410         norm:  1.629e+01  2.796e+00  1.000e-04  1.000e+04 ( 1.000e-12)
411        alpha:  2.198e+00  1.422e-01  0.000e+00  5.000e+00 ( 1.000e+00)
412         beta:  4.239e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
413           Eb:  8.676e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
899    Prefactor:  9.675e-01  1.254e-02  0.000e+00  1.000e+01 ( 1.000e+00)
900        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
901        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
891   Normalization:  1.388e+00  1.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 84.71
Ra Dec: 136.232 -57.583
Photon Index (Free Index): 2.20 +/- 0.14
Photon Flux (Free Index): 1.42e-07 +/- 3.01e-08
Energy Flux (Free Index): 6.12e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/613183/cmap_HighResolution_546220801_546825601_4FGL_J0904.9-5734_weekly_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-07', energy_flux2='6.12e-05', photon_flux_error='2.45e-08', dlogl='2.72e-02', energy_flux='6.00e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-07-15 03:32:37.231292', photon_index_error2='0.14', photon_index2='2.20', ts='84.20', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.38', time_epoch_completed='1626345157.23', return_code='0', job_id='613183', GAL2='0.97', EG2='1.39', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.01e-08', ts2='84.71', photon_index='2.23' WHERE bin_id='508' AND source_name='4FGL J0904.9-5734' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 03:32:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 613183: <4FGL_J0904.9-5734_weekly_bin508> in cluster <slac> Done

Job <4FGL_J0904.9-5734_weekly_bin508> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Jul 15 00:40:29 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 00:55:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 00:55:10 2021
Terminated at Thu Jul 15 03:32:39 2021
Results reported at Thu Jul 15 03:32:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0904.9-5734_weekly_bin508 136.232 -57.5833 546220801 546825601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0904.9-5734 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9390.00 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             702.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9449 sec.
    Turnaround time :                            10330 sec.

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

