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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin488
RA = 24.4069, Dec = -24.5163
tmin = 534124801, tmax = 534729601
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='209759', job_status='RUN', time_executed='2021-07-03 23:41:37.361428', time_epoch_executed='1625380897.36' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209759

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209759/ft1_4FGL_J0137.6-2430_weekly_bin488.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209759/ft1_4FGL_J0137.6-2430_weekly_bin488.fits outfile=/scratch/kocevski/209759/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin488.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=534124801.0 tmax=534729601.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.93
user 7.56
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits" evtable="EVENTS" scfile=/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits sctable="SC_DATA" outfile=/scratch/kocevski/209759/ltcube_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.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/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits
.....................!
real 26.78
user 26.28
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits sctable="SC_DATA" expcube=/scratch/kocevski/209759/ltcube_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits outfile=/scratch/kocevski/209759/expmap_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.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/209759/ltcube_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits
.....................!
real 190.81
user 185.69
sys 4.49

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/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits scfile=/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits outfile=/scratch/kocevski/209759/cmap_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.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.72
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits scfile=/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits outfile=/scratch/kocevski/209759/cmap_HighResolution_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.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.69
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209759/Model_4FGL_J0137.6-2430_weekly_bin488.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/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits.....................!
real 96.92
user 93.73
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits', '/scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits', expMap='/scratch/kocevski/209759/expmap_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits', expCube='/scratch/kocevski/209759/ltcube_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/209759/Model_4FGL_J0137.6-2430_weekly_bin488.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/209759/ft1_filtered_4FGL_J0137.6-2430_weekly_bin488.fits
Spacecraft file(s): /scratch/kocevski/209759/ft2_4FGL_J0137.6-2430_weekly_bin488.fits
Exposure map: /scratch/kocevski/209759/expmap_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits
Exposure cube: /scratch/kocevski/209759/ltcube_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/209759/Model_4FGL_J0137.6-2430_weekly_bin488.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 13553.7180946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10921E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.1809       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2927       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8979       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11562E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4561       1.0000         .10000E-03   10000.    
     7 'norm      '    2.6227       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0034       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.895       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .68461       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8952       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24291       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1293       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.482       1.0000         .10000E-03   10000.    
    16 'norm      '    .31111       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8458       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7941       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .44357       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95246       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13552.94     FROM MIGRAD    STATUS=CONVERGED     62 CALLS     1584 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.550       -.23474E-06** at limit **
   2  norm          8.1996        2.5141        .11506E-05   -.74960E-02
   3  norm          1.2926        .99204       -.94952E-07   -.37026E-04
   4  Prefactor     1.8981        2.5866        .55951E-05    .34466E-02
   5  Prefactor     .10000E-03    4.3767        .12495E-05** at limit **
   6  Prefactor     3.4556        1.0283        .10784E-06    .38079E-03
   7  norm          2.6235        1.1859       -.24826E-06   -.17959E-03
   8  norm          3.0036        1.1968       -.80586E-07   -.96140E-05
   9  Prefactor     10.880        2.8853        .15811E-05   -.57668E-02
  10  Prefactor     .10000E-03    1.1753        .13372E-05** at limit **
  11  norm          .68498        .58486       -.49571E-07   -.10785E-03
  12  norm          1.8960        .94697       -.12012E-08    .74793E-04
  13  Prefactor     .24346        .81069       -.34661E-05   -.19127E-02
  14  norm          1.1283        1.0472        .10400E-06    .13114E-04
  15  Prefactor     13.481        1.1180       -.29913E-06    .21221E-02
  16  norm          .31218        1.0405       -.21722E-05   -.10397E-04
  17  Prefactor     3.8679        5.1519       -.36960E-05    .14665E-02
  18  Prefactor     2.7908        2.6918       -.72846E-07   -.12336E-02
  19  Prefactor     .43471        1.9122       -.13938E-05    .16949E-02
  20  Normalizat    .95240        .10754       -.59152E-06   -.16418E-03
  21  Prefactor     .76509        .12427       -.11052E-06   -.11308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 8.19956
  norm       = 1.2926
  Prefactor  = 1.89813
  Prefactor  = 0.0001
  Prefactor  = 3.45557
  norm       = 2.62353
  norm       = 3.00357
  Prefactor  = 10.8796
  Prefactor  = 0.0001
  norm       = 0.68498
  norm       = 1.89597
  Prefactor  = 0.243464
  norm       = 1.1283
  Prefactor  = 13.4808
  norm       = 0.312178
  Prefactor  = 3.86787
  Prefactor  = 2.79084
  Prefactor  = 0.434706
  Normalizat = 0.952402
  Prefactor  = 0.765092
 **********
 **   18 **HESSE 
 **********

 FCN=   13552.94     FROM HESSE     STATUS=OK           385 CALLS     1969 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.573        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.1996        4.9127        .35043E-02   -1.5135    
   3  norm          1.2926        .98542        .97329E-02   -1.5481    
   4  Prefactor     1.8981        3.2683        .75483E-02   -1.5432    
   5  Prefactor     .10000E-03    4.2620        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4556        5.9694        .54385E-02   -1.5336    
   7  norm          2.6235        1.5153        .62959E-02   -1.5384    
   8  norm          3.0036        1.2101        .58553E-02   -1.5361    
   9  Prefactor     10.880        7.2041        .30345E-02   -1.5048    
  10  Prefactor     .10000E-03    1.1416        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .68498        .63886        .18530E-01   -1.5542    
  12  norm          1.8960        .95499        .75546E-02   -1.5433    
  13  Prefactor     .24346        2.1611        .10172E-01   -1.5609    
  14  norm          1.1283        1.0775        .10997E-01   -1.5496    
  15  Prefactor     13.481        17.710        .27272E-02   -1.4973    
  16  norm          .31218        .80506        .29151E-01   -1.5596    
  17  Prefactor     3.8679        6.5465        .51447E-02   -1.5315    
  18  Prefactor     2.7908        2.9400        .60850E-02   -1.5374    
  19  Prefactor     .43471        1.6205        .78577E-01   -1.5576    
  20  Normalizat    .95240        .94782E-01    .45568E-01   -.94643    
  21  Prefactor     .76509        .10600        .43260E-01   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44176e-05
Minuit parameter uncertainties:
  1  0.000544096
  2  4.91293
  3  0.985434
  4  3.26864
  5  8.05767e-05
  6  5.97047
  7  1.51531
  8  1.21007
  9  7.20468
  10  8.07578e-06
  11  0.638865
  12  0.955002
  13  1.4505
  14  1.0775
  15  17.7174
  16  0.80509
  17  6.54768
  18  2.9402
  19  1.62069
  20  0.0947983
  21  0.106033
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.896e+00  9.550e-01  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:  7.651e-01  1.060e-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:  9.524e-01  9.480e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.70
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 8.48e-06 +/- 4.27e-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) = 13551.5979945
delta logL = 1.34350791812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13551.5487154
delta logL = 1.39278703066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6702       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6670       1.0000          .0000       5.0000    
     3 'Normalizat'    .97077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74803       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=   13551.55     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6703        .79325        .81550E-02    .35134E-02
   2  alpha         1.6670        .29585        .36732       -.71231E-04
   3  Normalizat    .97077        .88551E-01    .45800E-01    .11323E-04
   4  Prefactor     .74801        .10554        .43037E-01    .40046E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67026
  alpha      = 1.66696
  Normalizat = 0.970773
  Prefactor  = 0.748011
 **********
 **   18 **HESSE 
 **********

 FCN=   13551.55     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6703        .90321        .69260E-04   -1.5449    
   2  alpha         1.6670        .38556        .14250E-01   -.33971    
   3  Normalizat    .97077        .10403        .19398E-03   -.94016    
   4  Prefactor     .74801        .12385        .25902E-03   -1.0167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10147e-09
Minuit parameter uncertainties:
  1  0.903218
  2  0.387305
  3  0.104049
  4  0.123896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209759': 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) = 13551.5487153
delta logL = 1.39278707626

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.670e+00  9.032e-01  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  1.667e+00  3.873e-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:  7.480e-01  1.239e-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:  9.708e-01  1.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.52
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 1.67 +/- 0.39
Photon Flux (Free Index): 1.96e-08 +/- 1.11e-08
Energy Flux (Free Index): 1.40e-05 +/- 8.60e-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/209759/cmap_HighResolution_534124801_534729601_4FGL_J0137.6-2430_weekly_bin488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='1.40e-05', photon_flux_error='1.52e-08', dlogl='1.39e+00', energy_flux='8.48e-06', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-07-03 23:54:43.147452', photon_index_error2='0.39', photon_index2='1.67', ts='8.70', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='0.95', time_epoch_completed='1625381683.15', return_code='0', job_id='209759', GAL2='0.75', EG2='0.97', return_code2='0', energy_flux_error='4.27e-06', photon_flux_error2='1.11e-08', ts2='11.52', photon_index='2.41' WHERE bin_id='488' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:54:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 209759: <4FGL_J0137.6-2430_weekly_bin488> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin488> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul  3 23:41:12 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:41:14 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:41:14 2021
Terminated at Sat Jul  3 23:54:46 2021
Results reported at Sat Jul  3 23:54:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin488 24.4069 -24.5163 534124801 534729601 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 :                                   772.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

