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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin443
RA = 24.4069, Dec = -24.5163
tmin = 506908801, tmax = 507513601
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='209673', job_status='RUN', time_executed='2021-07-03 23:42:19.202092', time_epoch_executed='1625380939.2' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='443'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209673

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209673/ft1_4FGL_J0137.6-2430_weekly_bin443.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits


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

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

Done.
real 8.58
user 8.14
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits" evtable="EVENTS" scfile=/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits sctable="SC_DATA" outfile=/scratch/kocevski/209673/ltcube_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.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/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits
.....................!
real 27.45
user 26.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits evtable="EVENTS" scfile=/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits sctable="SC_DATA" expcube=/scratch/kocevski/209673/ltcube_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.fits outfile=/scratch/kocevski/209673/expmap_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.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/209673/ltcube_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.fits
.....................!
real 192.55
user 185.77
sys 4.88

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/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits scfile=/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits outfile=/scratch/kocevski/209673/cmap_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.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.68
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits scfile=/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits outfile=/scratch/kocevski/209673/cmap_HighResolution_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.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.68
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits evtable="EVENTS" scfile=/scratch/kocevski/209673/ft2_4FGL_J0137.6-2430_weekly_bin443.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209673/Model_4FGL_J0137.6-2430_weekly_bin443.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/209673/ft1_filtered_4FGL_J0137.6-2430_weekly_bin443.fits.....................!
real 94.26
user 92.33
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.775       1.0000         .10000E-03   10000.    
     2 'norm      '    4.4652       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0150       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96011       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0960       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2918       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5313       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3100       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .90516       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4512       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10538E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4794       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.3268       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1787       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .89953       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83283       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=   13114.02     FROM MIGRAD    STATUS=CONVERGED     58 CALLS     1558 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.777        1.0918        .47514E-06   -.41107E-02
   2  norm          4.4653        1.0081       -.15612E-06   -.15473E-03
   3  norm          4.0147        1.0141        .35062E-06    .15985E-02
   4  Prefactor     .10000E-03    1.9611       -.72211E-06** at limit **
   5  Prefactor     .95526        4.6220        .23246E-04    .21935E-02
   6  Prefactor     2.0915        3.9353        .14473E-04   -.35874E-02
   7  norm          1.2930        1.2328       -.38118E-05   -.90112E-03
   8  norm          2.5315        1.2011       -.65153E-06   -.13042E-05
   9  Prefactor     .10000E-03    1.6755        .85248E-06** at limit **
  10  Prefactor     .10000E-03    .82653        .20546E-06** at limit **
  11  norm          1.3100        .63129        .18783E-07   -.27632E-03
  12  norm          .10000E-03    .37170       -.40228E-07** at limit **
  13  Prefactor     .90513        1.2432        .15719E-05    .10459E-02
  14  norm          1.4510        1.2234        .24721E-06    .21164E-03
  15  Prefactor     .10000E-03    27.396       -.35082E-05** at limit **
  16  norm          2.4793        1.3149        .18525E-06    .74379E-03
  17  Prefactor     8.3284        1.6039       -.24107E-05    .11442E-02
  18  Prefactor     8.1785        1.0816        .80578E-06    .10587E-02
  19  Prefactor     .10000E-03    1.3462       -.70216E-08** at limit **
  20  Normalizat    .89953        .11221       -.82034E-06    .63893E-03
  21  Prefactor     .83285        .13037       -.11641E-05    .60091E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7767
  norm       = 4.46526
  norm       = 4.01474
  Prefactor  = 0.0001
  Prefactor  = 0.955256
  Prefactor  = 2.09153
  norm       = 1.29303
  norm       = 2.53147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.31001
  norm       = 0.0001
  Prefactor  = 0.905132
  norm       = 1.45103
  Prefactor  = 0.0001
  norm       = 2.4793
  Prefactor  = 8.32841
  Prefactor  = 8.17848
  Prefactor  = 0.0001
  Normalizat = 0.899525
  Prefactor  = 0.832845
 **********
 **   18 **HESSE 
 **********

 FCN=   13114.02     FROM HESSE     STATUS=OK           377 CALLS     1935 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.777        32.399        .20538E-02   -1.4732    
   2  norm          4.4653        3.9700        .47638E-02   -1.5285    
   3  norm          4.0147        2.3604        .50315E-02   -1.5307    
   4  Prefactor     .10000E-03    1.9173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .95526        3.0740        .91664E-01   -1.5512    
   6  Prefactor     2.0915        5.9945        .71273E-02   -1.5419    
   7  norm          1.2930        1.4953        .97379E-02   -1.5481    
   8  norm          2.5315        1.2120        .64181E-02   -1.5390    
   9  Prefactor     .10000E-03    1.6737        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .80715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3100        .63662        .96322E-02   -1.5479    
  12  norm          .10000E-03    .25910        .30011E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .90513        2.7435        .12826E-01   -1.5518    
  14  norm          1.4510        1.2335        .89400E-02   -1.5467    
  15  Prefactor     .10000E-03    27.093        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4793        1.3230        .64911E-02   -1.5393    
  17  Prefactor     8.3284        5.8215        .34732E-02   -1.5131    
  18  Prefactor     8.1785        3.2771        .35047E-02   -1.5136    
  19  Prefactor     .10000E-03    1.3263        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .89953        .96705E-01    .44896E-01   -.96477    
  21  Prefactor     .83285        .11047        .44143E-01   -.98529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04643e-07
Minuit parameter uncertainties:
  1  32.4234
  2  3.97022
  3  2.36041
  4  1.58199e-05
  5  3.07451
  6  5.99618
  7  1.49532
  8  1.21203
  9  5.04516e-06
  10  5.93049e-06
  11  0.636626
  12  2.59227e-06
  13  2.74389
  14  1.2335
  15  1.62e-05
  16  1.323
  17  5.8219
  18  3.27721
  19  5.99982e-06
  20  0.0967233
  21  0.110501
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  2.592e-06  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.328e-01  1.105e-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:  8.995e-01  9.672e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 24.407 -24.516
Photon Flux Upper Limit: 2.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/209673/likelihoodResults_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.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) = 13114.0368604
delta logL = -0.0128040630807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13114.0240562
delta logL = 9.64537321124e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4105       1.0000          .0000       5.0000    
     3 'Normalizat'    .89953       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83284       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13114.02     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7631        .11265E-02** at limit **
   2  alpha         2.5375        3.4257        .16474        .12836E-07
   3  Normalizat    .89952        .10882        .20235E-03   -.27889E-02
   4  Prefactor     .83284        .13009        .24915E-03   -.22878E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.53747
  Normalizat = 0.899524
  Prefactor  = 0.832843
 **********
 **   18 **HESSE 
 **********

 FCN=   13114.02     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .37622        .22529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5375        3.5051        .65896E-02    .14987E-01
   3  Normalizat    .89952        .10891        .40471E-04   -.96477    
   4  Prefactor     .83284        .13021        .49830E-04   -.98529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80168e-09
Minuit parameter uncertainties:
  1  6.25858e-06
  2  76.1693
  3  0.108934
  4  0.130256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209673': 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) = 13114.0240548
delta logL = 1.51447602548e-06

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  6.259e-06  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.537e+00  7.617e+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:  8.328e-01  1.303e-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:  8.995e-01  1.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/209673/cmap_HighResolution_506908801_507513601_4FGL_J0137.6-2430_weekly_bin443.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-06', job_status='DONE', photon_flux_upper_limit='2.36e-08', time_completed='2021-07-03 23:56:55.607380', job_id='209673', GAL2='0.83', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1625381815.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='443' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 209673: <4FGL_J0137.6-2430_weekly_bin443> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin443> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul  3 23:41:03 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:41:04 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:04 2021
Terminated at Sat Jul  3 23:56:57 2021
Results reported at Sat Jul  3 23:56:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin443 24.4069 -24.5163 506908801 507513601 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 :                                   860.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            954 sec.

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

