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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin382
RA = 24.4069, Dec = -24.5163
tmin = 470016001, tmax = 470620801
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='208411', job_status='RUN', time_executed='2021-07-03 23:36:49.013624', time_epoch_executed='1625380609.01' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='382'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208411

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208411/ft1_4FGL_J0137.6-2430_weekly_bin382.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208411/ft1_4FGL_J0137.6-2430_weekly_bin382.fits outfile=/scratch/kocevski/208411/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin382.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=470016001.0 tmax=470620801.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 7.55
user 7.10
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.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/208411/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin382.fits evtable="EVENTS" outfile="/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.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.64
user 0.38
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits" evtable="EVENTS" scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits sctable="SC_DATA" outfile=/scratch/kocevski/208411/ltcube_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.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/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits
.....................!
real 26.46
user 25.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits evtable="EVENTS" scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits sctable="SC_DATA" expcube=/scratch/kocevski/208411/ltcube_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits outfile=/scratch/kocevski/208411/expmap_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.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/208411/ltcube_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits
.....................!
real 193.45
user 185.46
sys 5.23

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
Added 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0137.6-2430 @ 24.4069 -24.5163

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits outfile=/scratch/kocevski/208411/cmap_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.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=24.4069 yref=-24.5163 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.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits outfile=/scratch/kocevski/208411/cmap_HighResolution_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.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=24.4069 yref=-24.5163 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.62
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits evtable="EVENTS" scfile=/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208411/Model_4FGL_J0137.6-2430_weekly_bin382.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
Working on...
/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits.....................!
real 93.54
user 91.41
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits', '/scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits', expMap='/scratch/kocevski/208411/expmap_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits', expCube='/scratch/kocevski/208411/ltcube_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/208411/Model_4FGL_J0137.6-2430_weekly_bin382.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0137.6-2430'

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.902e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.406e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/208411/ft1_filtered_4FGL_J0137.6-2430_weekly_bin382.fits
Spacecraft file(s): /scratch/kocevski/208411/ft2_4FGL_J0137.6-2430_weekly_bin382.fits
Exposure map: /scratch/kocevski/208411/expmap_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits
Exposure cube: /scratch/kocevski/208411/ltcube_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/208411/Model_4FGL_J0137.6-2430_weekly_bin382.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) = 13466.3080434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10243E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43860       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4110       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .35796E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.6510       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1508       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .26175       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8828       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66500E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0521       1.0000         .10000E-03   10000.    
    16 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0840       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4601       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70988       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96519       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13466.23     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2011 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2481       -.23699E-06** at limit **
   2  norm          .10000E-03    2.5172        .48454E-07** at limit **
   3  norm          .10000E-03    .79009       -.75473E-07** at limit **
   4  Prefactor     .43695        1.4696       -.63341E-07   -.58881E-04
   5  Prefactor     2.4115        4.3358        .68420E-07   -.13737E-03
   6  Prefactor     .10000E-03    2.4526       -.92310E-07** at limit **
   7  norm          3.6541        1.5337        .11912E-07    .17546E-03
   8  norm          3.1509        1.1321        .16925E-07    .18652E-03
   9  Prefactor     .10000E-03    2.2741        .21202E-06** at limit **
  10  Prefactor     .10000E-03    1.0201        .11254E-07** at limit **
  11  norm          .26174        .54522        .15403E-06   -.48968E-03
  12  norm          2.8822        1.2025        .38205E-07    .59604E-03
  13  Prefactor     .35470E-01    1.0025        .94014E-07   -.13826E-03
  14  norm          .10000E-03    .23500        .69171E-08** at limit **
  15  Prefactor     1.0284        21.554       -.52577E-05    .57452E-03
  16  norm          .10000E-03    .50324        .48835E-07** at limit **
  17  Prefactor     6.0787        5.0119        .16955E-05    .19833E-02
  18  Prefactor     .10000E-03    1.1994        .20913E-07** at limit **
  19  Prefactor     5.4597        2.0955        .16849E-06   -.11644E-02
  20  Normalizat    .70999        .88116E-01   -.20958E-06    .41309E-03
  21  Prefactor     .96515        .10268       -.37424E-07    .30371E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.436946
  Prefactor  = 2.41149
  Prefactor  = 0.0001
  norm       = 3.65406
  norm       = 3.15085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.261736
  norm       = 2.88221
  Prefactor  = 0.0354701
  norm       = 0.0001
  Prefactor  = 1.0284
  norm       = 0.0001
  Prefactor  = 6.07868
  Prefactor  = 0.0001
  Prefactor  = 5.45972
  Normalizat = 0.709991
  Prefactor  = 0.96515
 **********
 **   18 **HESSE 
 **********

 FCN=   13466.23     FROM HESSE     STATUS=OK           339 CALLS     2350 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.6383        .35959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2052        .20034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43695        6.9449        .23407E-02   -1.5576    
   5  Prefactor     2.4115        4.3659        .26365E-03   -1.5397    
   6  Prefactor     .10000E-03    13.864        .28916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6541        1.2616        .72986E-04   -1.5326    
   8  norm          3.1509        1.1314        .71630E-04   -1.5353    
   9  Prefactor     .10000E-03    2.2933        .17091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.8645        .21735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .26174        .59739        .12601E-03   -1.5606    
  12  norm          2.8822        1.1966        .77449E-04   -1.5368    
  13  Prefactor     .35470E-01    2.2239        .38909E-01   -1.5670    
  14  norm          .10000E-03    .23667        .54909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0284        64.170        .63776E-02   -1.5505    
  16  norm          .10000E-03    1.1603        .15824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.0787        5.2701        .16277E-03   -1.5215    
  18  Prefactor     .10000E-03    1.2280        .24790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4597        3.1674        .75848E-03   -1.5241    
  20  Normalizat    .70999        .10503        .20806E-03   -1.0350    
  21  Prefactor     .96515        .12227        .22092E-03   -.93900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36816e-08
Minuit parameter uncertainties:
  1  3.26502e-05
  2  3.90481e-06
  3  9.11273e-06
  4  3.48407
  5  4.36652
  6  0.000144207
  7  1.26165
  8  1.13144
  9  1.56906e-05
  10  5.01021e-06
  11  0.5974
  12  1.19661
  13  0.56095
  14  3.65358e-07
  15  16.2647
  16  6.39183e-07
  17  5.27047
  18  7.85346e-07
  19  3.16748
  20  0.105061
  21  0.122306
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  2.882e+00  1.197e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.406e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  9.652e-01  1.223e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  7.100e-01  1.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.99
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.58e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 5.35e-06

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) = 13465.7570071
delta logL = 0.469533254374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13465.7568165
delta logL = 0.469723806407

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13465.76     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      239 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4853        12.987        .64815E-02    .94598E-03
   2  alpha         2.9458        3.9382        .42009        .70531E-04
   3  Normalizat    .68724        .35149E-01    .42119E-01    .84697E-04
   4  Prefactor     .98663        .44671E-01    .46101E-01    .63873E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48526
  alpha      = 2.94583
  Normalizat = 0.687245
  Prefactor  = 0.986634
 **********
 **   18 **HESSE 
 **********

 FCN=   13465.76     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4853        1.3251        .66631E-04   -1.5393    
   2  alpha         2.9458        .62773        .18352E-01    .17929    
   3  Normalizat    .68724        .10308        .21112E-03   -1.0440    
   4  Prefactor     .98663        .12430        .21883E-03   -.93176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13179e-12
Minuit parameter uncertainties:
  1  1.32516
  2  0.634749
  3  0.103106
  4  0.124337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208411': 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) = 13465.7568159
delta logL = 0.469724423925

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  2.485e+00  1.325e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.946e+00  6.347e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  9.866e-01  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  6.872e-01  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.10
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.95 +/- 0.63
Photon Flux (Free Index): 5.82e-08 +/- 2.39e-08
Energy Flux (Free Index): 1.19e-05 +/- 4.87e-06

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 /scratch/kocevski/208411/cmap_HighResolution_470016001_470620801_4FGL_J0137.6-2430_weekly_bin382.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.58e-08', energy_flux2='1.19e-05', photon_flux_error='1.90e-08', dlogl='4.70e-01', energy_flux='1.29e-05', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-07-03 23:51:18.967468', photon_index_error2='0.63', photon_index2='2.95', ts='8.99', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.87e-06', EG='0.71', time_epoch_completed='1625381478.97', return_code='0', job_id='208411', GAL2='0.99', EG2='0.69', return_code2='0', energy_flux_error='5.35e-06', photon_flux_error2='2.39e-08', ts2='10.10', photon_index='2.41' WHERE bin_id='382' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:51:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 208411: <4FGL_J0137.6-2430_weekly_bin382> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin382> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:36:09 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:36:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 23:36:10 2021
Terminated at Sat Jul  3 23:51:20 2021
Results reported at Sat Jul  3 23:51:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin382 24.4069 -24.5163 470016001 470620801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0137.6-2430 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   814.00 sec.
    Max Memory :                                 1106 MB
    Average Memory :                             324.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

