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 8 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 = 16968
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin51
RA = 24.4069, Dec = -24.5163
tmin = 269827201, tmax = 270432001
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='206956', job_status='RUN', time_executed='2021-07-03 23:31:38.391181', time_epoch_executed='1625380298.39' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/206956

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/206956/ft1_4FGL_J0137.6-2430_weekly_bin51.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/206956/ft1_4FGL_J0137.6-2430_weekly_bin51.fits outfile=/scratch/kocevski/206956/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin51.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=269827201.0 tmax=270432001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.64
user 2.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits" evtable="EVENTS" scfile=/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits sctable="SC_DATA" outfile=/scratch/kocevski/206956/ltcube_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.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/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits
.....................!
real 22.44
user 22.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/206956/ltcube_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.fits outfile=/scratch/kocevski/206956/expmap_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.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/206956/ltcube_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.fits
.....................!
real 151.36
user 145.87
sys 4.19

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/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits scfile=/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits outfile=/scratch/kocevski/206956/cmap_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.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.49
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits scfile=/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits outfile=/scratch/kocevski/206956/cmap_HighResolution_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.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.49
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/206956/ft2_4FGL_J0137.6-2430_weekly_bin51.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/206956/Model_4FGL_J0137.6-2430_weekly_bin51.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/206956/ft1_filtered_4FGL_J0137.6-2430_weekly_bin51.fits.....................!
real 68.86
user 67.46
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11405E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.2411       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50397       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.100       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .78044       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0444       1.0000         .10000E-03   10000.    
     8 'norm      '    5.2486       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2339       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1124       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3433       1.0000         .10000E-03   10000.    
    12 'norm      '    .65960       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.700       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1109       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10578E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1770       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86642       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=   11581.53     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     1962 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    103.48       -.13244E-05** at limit **
   2  norm          5.2410        5.1105        .34659E-06    .30326E-03
   3  norm          1.7307        2.0383        .79406E-07    .32634E-04
   4  Prefactor     .50084        3.2988        .21081E-05   -.17379E-03
   5  Prefactor     15.087        8.9909        .19634E-05    .14117E-02
   6  Prefactor     .79723        15.210       -.44094E-05    .88029E-03
   7  norm          1.0419        2.7801        .75518E-06    .14174E-02
   8  norm          5.2489        1.9414       -.13912E-06   -.12273E-03
   9  Prefactor     1.2329        4.7110        .13306E-05   -.19145E-04
  10  Prefactor     3.1127        3.6367       -.28416E-06    .58269E-03
  11  norm          1.3432        .75546        .29718E-07    .24954E-03
  12  norm          .65917        1.1770        .46810E-06    .10292E-02
  13  Prefactor     .10000E-03    2.3697        .21400E-06** at limit **
  14  norm          10.699        3.0337       -.95505E-07   -.75813E-03
  15  Prefactor     .10000E-03    14.560       -.92134E-06** at limit **
  16  norm          1.1109        1.0246        .95353E-07   -.63570E-05
  17  Prefactor     .10000E-03    2.3610       -.16010E-06** at limit **
  18  Prefactor     .10000E-03    1.1815       -.34262E-07** at limit **
  19  Prefactor     .10000E-03    2.9779        .73567E-06** at limit **
  20  Normalizat    1.1771        .12837       -.11113E-05    .64810E-04
  21  Prefactor     .86637        .14009        .26396E-06    .19373E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.24098
  norm       = 1.73068
  Prefactor  = 0.500841
  Prefactor  = 15.0875
  Prefactor  = 0.797233
  norm       = 1.0419
  norm       = 5.24887
  Prefactor  = 1.2329
  Prefactor  = 3.1127
  norm       = 1.34321
  norm       = 0.659167
  Prefactor  = 0.0001
  norm       = 10.6994
  Prefactor  = 0.0001
  norm       = 1.11086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.17708
  Prefactor  = 0.866365
 **********
 **   18 **HESSE 
 **********

 FCN=   11581.53     FROM HESSE     STATUS=OK           329 CALLS     2291 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    104.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.2410        5.1276        .17558E-03   -1.5250    
   3  norm          1.7307        2.0305        .16228E-03   -1.5445    
   4  Prefactor     .50084        4.0115        .40922E-03   -1.5566    
   5  Prefactor     15.087        9.6773        .10307E-03   -1.4931    
   6  Prefactor     .79723        51.181        .39168E-02   -1.5529    
   7  norm          1.0419        3.6653        .15034E-03   -1.5504    
   8  norm          5.2489        1.9408        .87337E-04   -1.5250    
   9  Prefactor     1.2329        4.7102        .40444E-03   -1.5486    
  10  Prefactor     3.1127        3.5259        .18580E-03   -1.5355    
  11  norm          1.3432        .75791        .67389E-04   -1.5476    
  12  norm          .65917        1.0678        .14705E-02   -1.5546    
  13  Prefactor     .10000E-03    2.4202        .16183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.699        3.0252        .93106E-04   -1.5054    
  15  Prefactor     .10000E-03    14.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1109        1.0057        .10104E-03   -1.5497    
  17  Prefactor     .10000E-03    2.3680        .16147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1881        .11417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.364        .35160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1771        .15030        .22170E-03   -.87314    
  21  Prefactor     .86637        .16488        .28957E-03   -.97326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39762e-08
Minuit parameter uncertainties:
  1  0.000445651
  2  5.12802
  3  2.03056
  4  2.83483
  5  9.67825
  6  12.7861
  7  3.66606
  8  1.94078
  9  4.71161
  10  3.52617
  11  0.757912
  12  1.06782
  13  1.38096e-05
  14  3.02522
  15  0.000121793
  16  1.00569
  17  7.77432e-06
  18  9.96924e-07
  19  0.000224168
  20  0.150358
  21  0.164977
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  6.592e-01  1.068e+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:  8.664e-01  1.650e-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:  1.177e+00  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 24.407 -24.516
Photon Flux Upper Limit: 5.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/206956/likelihoodResults_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11581.352795
delta logL = 0.173529686623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11581.3419853
delta logL = 0.184339309348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78411       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2734       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87836       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=   11581.34     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78603        29.665        .12381E-01    .19939E-02
   2  alpha         3.2754        3.3603        .43968        .27653E-04
   3  Normalizat    1.1607        .36356E-01    .35941E-01    .69427E-05
   4  Prefactor     .87829        .42716E-01    .65059E-01    .29803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.786027
  alpha      = 3.27541
  Normalizat = 1.16068
  Prefactor  = 0.878286
 **********
 **   18 **HESSE 
 **********

 FCN=   11581.34     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78603        1.1308        .11147E-03   -1.5531    
   2  alpha         3.2754        1.4905        .52047E-01    .31537    
   3  Normalizat    1.1607        .14653        .22296E-03   -.87827    
   4  Prefactor     .87829        .16446        .28777E-03   -.96904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08787e-12
Minuit parameter uncertainties:
  1  1.13081
  2  1.61112
  3  0.146584
  4  0.164555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/206956': 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) = 11581.3419783
delta logL = 0.184346336069

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  7.860e-01  1.131e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  3.275e+00  1.611e+00  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:  8.783e-01  1.646e-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:  1.161e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
Ra Dec: 24.407 -24.516

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/206956/cmap_HighResolution_269827201_270432001_4FGL_J0137.6-2430_weekly_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-05', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-07-03 23:42:47.145178', job_id='206956', GAL2='0.88', fit_tolerance='1e-08', EG2='1.16', EG='1.18', time_epoch_completed='1625380967.15', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.84e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='51' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:42:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0178>
Subject: Job 206956: <4FGL_J0137.6-2430_weekly_bin51> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin51> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul  3 23:31:15 2021
Job was executed on host(s) <bullet0178>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:31:16 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:31:16 2021
Terminated at Sat Jul  3 23:42:48 2021
Results reported at Sat Jul  3 23:42:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin51 24.4069 -24.5163 269827201 270432001 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 :                                   650.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

