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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin248
RA = 24.4069, Dec = -24.5163
tmin = 388972801, tmax = 389577601
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='208242', job_status='RUN', time_executed='2021-07-03 23:37:58.561822', time_epoch_executed='1625380678.56' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208242

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208242/ft1_4FGL_J0137.6-2430_weekly_bin248.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208242/ft1_4FGL_J0137.6-2430_weekly_bin248.fits outfile=/scratch/kocevski/208242/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin248.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=388972801.0 tmax=389577601.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.04
user 7.42
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208242/ft1_filtered_4FGL_J0137.6-2430_weekly_bin248.fits" evtable="EVENTS" scfile=/scratch/kocevski/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits sctable="SC_DATA" outfile=/scratch/kocevski/208242/ltcube_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.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/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits
.....................!
real 21.49
user 21.05
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208242/ft1_filtered_4FGL_J0137.6-2430_weekly_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits sctable="SC_DATA" expcube=/scratch/kocevski/208242/ltcube_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.fits outfile=/scratch/kocevski/208242/expmap_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.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/208242/ltcube_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.fits
.....................!
real 152.32
user 147.10
sys 3.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/208242/ft1_filtered_4FGL_J0137.6-2430_weekly_bin248.fits scfile=/scratch/kocevski/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits outfile=/scratch/kocevski/208242/cmap_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.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.55
user 0.35
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208242/ft1_filtered_4FGL_J0137.6-2430_weekly_bin248.fits scfile=/scratch/kocevski/208242/ft2_4FGL_J0137.6-2430_weekly_bin248.fits outfile=/scratch/kocevski/208242/cmap_HighResolution_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.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.55
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.916       1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.364       1.0000         .10000E-03   10000.    
     7 'norm      '    4.5275       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65149       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6288       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.287       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1111       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .87050E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .93589       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88402       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=   8399.980     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2787 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.203        .21638E-07** at limit **
   2  norm          .10000E-03    2.5404        .21170E-07** at limit **
   3  norm          .10000E-03    .59852        .96053E-08** at limit **
   4  Prefactor     .10000E-03    4.1557       -.49053E-07** at limit **
   5  Prefactor     22.920        13.409       -.41937E-06   -.51024E-04
   6  Prefactor     51.369        17.403       -.40959E-06   -.21628E-03
   7  norm          4.5277        3.5797       -.88387E-07   -.34664E-03
   8  norm          .10000E-03    .71294        .64616E-08** at limit **
   9  Prefactor     .10000E-03    14.355       -.75478E-07** at limit **
  10  Prefactor     .65200        3.9192        .65489E-06   -.24877E-03
  11  norm          1.6293        1.1503       -.43064E-07   -.19033E-03
  12  norm          1.0089        1.3461       -.12956E-06   -.10377E-03
  13  Prefactor     .10000E-03    4.1221        .23673E-06** at limit **
  14  norm          .10000E-03    1.0511       -.22548E-06** at limit **
  15  Prefactor     11.222        33.765        .45068E-05   -.29122E-04
  16  norm          1.1115        1.5349        .21366E-06   -.94767E-04
  17  Prefactor     .10005E-03    6.6821       -.66477E-06** at limit **
  18  Prefactor     .10000E-03    5.0870        .30797E-06** at limit **
  19  Prefactor     .10000E-03    3.4187        .11089E-06** at limit **
  20  Normalizat    .93582        .13744        .63318E-06   -.62415E-04
  21  Prefactor     .88392        .14836        .61290E-06   -.20498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.9195
  Prefactor  = 51.3688
  norm       = 4.52767
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.651999
  norm       = 1.62927
  norm       = 1.00886
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.2223
  norm       = 1.11145
  Prefactor  = 0.000100054
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.93582
  Prefactor  = 0.883915
 **********
 **   18 **HESSE 
 **********

 FCN=   8399.980     FROM HESSE     STATUS=OK           319 CALLS     3106 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5431        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .59889        .69244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.1956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.920        13.369        .83674E-04   -1.4750    
   6  Prefactor     51.369        17.147        .55959E-04   -1.4273    
   7  norm          4.5277        3.5037        .10719E-03   -1.5282    
   8  norm          .10000E-03    .72725        .75493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .65200        6.3711        .28602E-02   -1.5546    
  11  norm          1.6293        1.1392        .77900E-04   -1.5453    
  12  norm          1.0089        1.3382        .52987E-04   -1.5507    
  13  Prefactor     .10000E-03    4.2987        .36249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0830        .18386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.222        33.562        .11925E-03   -1.5038    
  16  norm          1.1115        1.5002        .12644E-03   -1.5497    
  17  Prefactor     .10005E-03    58.843        .45396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.2234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4581        .16534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93582        .16071        .22624E-03   -.95213    
  21  Prefactor     .88392        .17483        .26161E-03   -.96705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74221e-08
Minuit parameter uncertainties:
  1  8.90312e-06
  2  1.12946e-06
  3  3.00394e-07
  4  1.20905e-07
  5  13.3707
  6  17.1484
  7  3.50389
  8  1.04925e-06
  9  2.49231e-05
  10  4.07649
  11  1.13918
  12  1.3382
  13  1.75403e-05
  14  3.54364e-06
  15  33.6181
  16  1.50025
  17  0.00356098
  18  2.86464e-05
  19  9.369e-06
  20  0.160793
  21  0.174936
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.009e+00  1.338e+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.839e-01  1.749e-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.358e-01  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/208242/likelihoodResults_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.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) = 8399.97964589
delta logL = 0.000189239974134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8399.9796394
delta logL = 0.000195730850464

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0127       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4257       1.0000          .0000       5.0000    
     3 'Normalizat'    .93552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88413       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=   8399.980     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      194 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0128        1.6367        .13066E-02    .45655E-02
   2  alpha         2.4261        1.0588        .41175       -.21765E-04
   3  Normalizat    .93552        .13139        .45354E-01    .12894E-04
   4  Prefactor     .88413        .14842        .44802E-01    .17350E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01279
  alpha      = 2.4261
  Normalizat = 0.935518
  Prefactor  = 0.884133
 **********
 **   18 **HESSE 
 **********

 FCN=   8399.980     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0128        1.3384        .26133E-03   -1.5507    
   2  alpha         2.4261        .97022        .31737E-01   -.29566E-01
   3  Normalizat    .93552        .15501        .22628E-03   -.95223    
   4  Prefactor     .88413        .17437        .26158E-03   -.96698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25548e-09
Minuit parameter uncertainties:
  1  1.33843
  2  0.996412
  3  0.155088
  4  0.174477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208242': 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) = 8399.97963934
delta logL = 0.000195794706087

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.013e+00  1.338e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.426e+00  9.964e-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.841e-01  1.745e-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.355e-01  1.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.83
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/208242/cmap_HighResolution_388972801_389577601_4FGL_J0137.6-2430_weekly_bin248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-05', job_status='DONE', photon_flux_upper_limit='6.90e-08', time_completed='2021-07-03 23:49:19.256613', job_id='208242', GAL2='0.88', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1625381359.26', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.96e-04', ts2='0.83', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='248' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:49:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 208242: <4FGL_J0137.6-2430_weekly_bin248> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin248> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:35:53 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:35:54 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:54 2021
Terminated at Sat Jul  3 23:49:20 2021
Results reported at Sat Jul  3 23:49:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin248 24.4069 -24.5163 388972801 389577601 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 :                                   617.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

