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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 212 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 = 17531
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin282
RA = 24.4069, Dec = -24.5163
tmin = 409536001, tmax = 410140801
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='208276', job_status='RUN', time_executed='2021-07-03 23:40:21.337877', time_epoch_executed='1625380821.34' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208276

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208276/ft1_4FGL_J0137.6-2430_weekly_bin282.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208276/ft1_4FGL_J0137.6-2430_weekly_bin282.fits outfile=/scratch/kocevski/208276/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin282.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=409536001.0 tmax=410140801.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 13.00
user 12.48
sys 0.39

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.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/208276/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin282.fits evtable="EVENTS" outfile="/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.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.55
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits" evtable="EVENTS" scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits sctable="SC_DATA" outfile=/scratch/kocevski/208276/ltcube_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.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/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits
.....................!
real 26.78
user 26.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits evtable="EVENTS" scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits sctable="SC_DATA" expcube=/scratch/kocevski/208276/ltcube_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits outfile=/scratch/kocevski/208276/expmap_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.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/208276/ltcube_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits
.....................!
real 191.76
user 185.42
sys 5.29

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/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits outfile=/scratch/kocevski/208276/cmap_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits outfile=/scratch/kocevski/208276/cmap_HighResolution_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits evtable="EVENTS" scfile=/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208276/Model_4FGL_J0137.6-2430_weekly_bin282.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/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits.....................!
real 63.53
user 62.11
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits', '/scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits', expMap='/scratch/kocevski/208276/expmap_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits', expCube='/scratch/kocevski/208276/ltcube_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/208276/Model_4FGL_J0137.6-2430_weekly_bin282.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/208276/ft1_filtered_4FGL_J0137.6-2430_weekly_bin282.fits
Spacecraft file(s): /scratch/kocevski/208276/ft2_4FGL_J0137.6-2430_weekly_bin282.fits
Exposure map: /scratch/kocevski/208276/expmap_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits
Exposure cube: /scratch/kocevski/208276/ltcube_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/208276/Model_4FGL_J0137.6-2430_weekly_bin282.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) = 8478.52410953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .75231       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.065       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1915       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65831E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .29624       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9215       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10324E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7715       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65933       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1100       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=   8478.458     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     1977 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.107       -.37107E-06** at limit **
   2  norm          .10000E-03    2.2992       -.10838E-06** at limit **
   3  norm          .10000E-03    2.4442        .18177E-06** at limit **
   4  Prefactor     .10000E-03    1.7355       -.39003E-06** at limit **
   5  Prefactor     .72198        34.112       -.12350E-04    .22742E-03
   6  Prefactor     .10000E-03    5.4130       -.60298E-06** at limit **
   7  norm          13.079        2.9059        .26443E-06    .78241E-03
   8  norm          4.1926        2.0502       -.74606E-08   -.57156E-03
   9  Prefactor     .10000E-03    8.9339       -.10369E-05** at limit **
  10  Prefactor     .11318E-03    1.8951        .48960E-06** at limit **
  11  norm          .29567        .70428        .66785E-06    .45072E-03
  12  norm          5.9265        1.9877        .16284E-06    .10082E-02
  13  Prefactor     .10000E-03    2.2456        .11346E-06** at limit **
  14  norm          .10000E-03    .69904        .11415E-06** at limit **
  15  Prefactor     .10000E-03    8.6810        .11977E-05** at limit **
  16  norm          .10000E-03    .63796        .31721E-06** at limit **
  17  Prefactor     .10000E-03    1.7737        .30602E-06** at limit **
  18  Prefactor     .10000E-03    1.4764        .72436E-06** at limit **
  19  Prefactor     6.7698        4.2732        .17393E-06    .37526E-03
  20  Normalizat    .65952        .12208       -.82104E-06   -.10625E-02
  21  Prefactor     1.1098        .14186       -.64021E-06   -.11234E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.72198
  Prefactor  = 0.0001
  norm       = 13.0787
  norm       = 4.19264
  Prefactor  = 0.0001
  Prefactor  = 0.000113185
  norm       = 0.295666
  norm       = 5.92655
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.76984
  Normalizat = 0.659517
  Prefactor  = 1.10984
 **********
 **   18 **HESSE 
 **********

 FCN=   8478.458     FROM HESSE     STATUS=OK           325 CALLS     2302 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.2992        .13634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.5583        .28123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.7447        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .72198        39.397        .47099E-02   -1.5538    
   6  Prefactor     .10000E-03    5.4616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.079        2.9607        .66890E-04   -1.4985    
   8  norm          4.1926        2.0457        .86366E-04   -1.5298    
   9  Prefactor     .10000E-03    8.9221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11318E-03    7.5980        .33775E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .29567        .92513        .11031E-02   -1.5599    
  12  norm          5.9265        2.0068        .70047E-04   -1.5221    
  13  Prefactor     .10000E-03    5.4213        .26694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .72432        .15040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.6825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2355        .14217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.7803        .11983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1031        .21521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7698        4.2640        .14479E-03   -1.5188    
  20  Normalizat    .65952        .13985        .23554E-03   -1.0551    
  21  Prefactor     1.1098        .16390        .22682E-03   -.89153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2168e-09
Minuit parameter uncertainties:
  1  1.92161e-05
  2  1.96398e-06
  3  6.14823e-06
  4  2.07938e-06
  5  10.6732
  6  0.000104053
  7  2.96075
  8  2.0457
  9  8.60364e-05
  10  0.0200202
  11  0.925173
  12  2.00684
  13  3.43689e-05
  14  7.72555e-06
  15  2.97447e-06
  16  1.94525e-05
  17  4.37184e-06
  18  5.99926e-05
  19  4.26417
  20  0.139922
  21  0.163979
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  5.927e+00  2.007e+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:  1.110e+00  1.640e-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.595e-01  1.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.77
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 9.42e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 8.98e-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) = 8477.79363557
delta logL = 0.663963533463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8477.79244263
delta logL = 0.665156470042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5689       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9176       1.0000          .0000       5.0000    
     3 'Normalizat'    .61289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1481       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=   8477.792     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      257 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5672        21.643        .42561E-02    .26734E-03
   2  alpha         2.9170        3.9328        .30803        .35194E-04
   3  Normalizat    .61301        .89385E-01    .41115E-01    .90976E-05
   4  Prefactor     1.1481        .95781E-01    .35990E-01    .34620E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.5672
  alpha      = 2.91701
  Normalizat = 0.61301
  Prefactor  = 1.14807
 **********
 **   18 **HESSE 
 **********

 FCN=   8477.792     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5672        1.9692        .60998E-04   -1.5236    
   2  alpha         2.9170        .47062        .12785E-01    .16759    
   3  Normalizat    .61301        .14134        .24323E-03   -1.0743    
   4  Prefactor     1.1481        .16787        .22346E-03   -.87945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.6162e-10
Minuit parameter uncertainties:
  1  1.96919
  2  0.473531
  3  0.141423
  4  0.167944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208276': 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) = 8477.79244047
delta logL = 0.665158634169

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  5.567e+00  1.969e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.917e+00  4.735e-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:  1.148e+00  1.679e-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.130e-01  1.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.51
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.92 +/- 0.47
Photon Flux (Free Index): 1.27e-07 +/- 4.51e-08
Energy Flux (Free Index): 2.63e-05 +/- 7.94e-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/208276/cmap_HighResolution_409536001_410140801_4FGL_J0137.6-2430_weekly_bin282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.42e-08', energy_flux2='2.63e-05', photon_flux_error='3.19e-08', dlogl='6.65e-01', energy_flux='2.65e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-07-03 23:52:24.110354', photon_index_error2='0.47', photon_index2='2.92', ts='20.77', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='7.94e-06', EG='0.66', time_epoch_completed='1625381544.11', return_code='0', job_id='208276', GAL2='1.15', EG2='0.61', return_code2='0', energy_flux_error='8.98e-06', photon_flux_error2='4.51e-08', ts2='22.51', photon_index='2.41' WHERE bin_id='282' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:52:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 208276: <4FGL_J0137.6-2430_weekly_bin282> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin282> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:35:57 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:35:59 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:35:59 2021
Terminated at Sat Jul  3 23:52:25 2021
Results reported at Sat Jul  3 23:52:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin282 24.4069 -24.5163 409536001 410140801 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 :                                   667.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             237.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            988 sec.

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

