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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin348
RA = 24.4069, Dec = -24.5163
tmin = 449452801, tmax = 450057601
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='208359', job_status='RUN', time_executed='2021-07-03 23:36:37.388053', time_epoch_executed='1625380597.39' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208359

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208359/ft1_4FGL_J0137.6-2430_weekly_bin348.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208359/ft1_4FGL_J0137.6-2430_weekly_bin348.fits outfile=/scratch/kocevski/208359/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin348.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=449452801.0 tmax=450057601.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 10.98
user 10.48
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits" evtable="EVENTS" scfile=/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits sctable="SC_DATA" outfile=/scratch/kocevski/208359/ltcube_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.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/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits
.....................!
real 26.61
user 26.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits sctable="SC_DATA" expcube=/scratch/kocevski/208359/ltcube_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.fits outfile=/scratch/kocevski/208359/expmap_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.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/208359/ltcube_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.fits
.....................!
real 192.70
user 185.30
sys 5.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0137.6-2430 @ 24.4069 -24.5163

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits scfile=/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits outfile=/scratch/kocevski/208359/cmap_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.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.59
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits scfile=/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits outfile=/scratch/kocevski/208359/cmap_HighResolution_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/208359/ft2_4FGL_J0137.6-2430_weekly_bin348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208359/Model_4FGL_J0137.6-2430_weekly_bin348.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/208359/ft1_filtered_4FGL_J0137.6-2430_weekly_bin348.fits.....................!
real 55.03
user 52.55
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.2845       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9013       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.8635       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.913       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6594       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9242       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.776       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .50434       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4246       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0354       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0927       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=   6423.432     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2203 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    75.252        .90712E-02** at limit **
   2  norm          4.2840        13.522        .48659E-02    .19311E-02
   3  norm          2.9013        2.7930        .59639E-02   -.16564E-03
   4  Prefactor     .10000E-03    4.7487        .90712E-02** at limit **
   5  Prefactor     .10000E-03    7.6516        .90712E-02** at limit **
   6  Prefactor     .10000E-03    8.6957        .90712E-02** at limit **
   7  norm          .10000E-03    1.3010        .90712E-02** at limit **
   8  norm          3.8638        2.3132        .51325E-02   -.52317E-04
   9  Prefactor     .10000E-03    6.4736        .90712E-02** at limit **
  10  Prefactor     19.911        7.4572        .22439E-02   -.70081E-03
  11  norm          3.6595        1.6095        .52790E-02    .21990E-03
  12  norm          1.6567        1.9333        .81988E-02    .50196E-03
  13  Prefactor     5.9252        7.1873        .41246E-02    .36939E-03
  14  norm          .10000E-03    .77905        .90712E-02** at limit **
  15  Prefactor     .10000E-03    18.509        .90712E-02** at limit **
  16  norm          .10000E-03    1.0713        .90712E-02** at limit **
  17  Prefactor     11.771        14.239        .29185E-02   -.90207E-03
  18  Prefactor     .50230        3.4404        .80676E-01    .57489E-03
  19  Prefactor     7.4240        6.2500        .36797E-02   -.11797E-03
  20  Normalizat    1.0352        .18140        .41663E-01    .11408E-04
  21  Prefactor     1.0930        .19675        .62043E-01    .90102E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.284
  norm       = 2.90125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.86376
  Prefactor  = 0.0001
  Prefactor  = 19.9111
  norm       = 3.65948
  norm       = 1.65675
  Prefactor  = 5.92524
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.7715
  Prefactor  = 0.502299
  Prefactor  = 7.42398
  Normalizat = 1.03515
  Prefactor  = 1.09295
 **********
 **   18 **HESSE 
 **********

 FCN=   6423.432     FROM HESSE     STATUS=OK           319 CALLS     2522 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    75.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2840        13.526        .97318E-03   -1.5294    
   3  norm          2.9013        2.8002        .12815E-03   -1.5367    
   4  Prefactor     .10000E-03    4.7806        .17049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.7573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.3145        .88984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8638        2.3140        .91407E-04   -1.5315    
   9  Prefactor     .10000E-03    6.4811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.911        7.4567        .89757E-04   -1.4815    
  11  norm          3.6595        1.6073        .64278E-04   -1.5325    
  12  norm          1.6567        1.9073        .11391E-03   -1.5451    
  13  Prefactor     5.9252        7.1950        .16498E-03   -1.5221    
  14  norm          .10000E-03    .78739        .69063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1143        .16181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.771        14.181        .11674E-03   -1.5022    
  18  Prefactor     .50230        18.166        .26742E-02   -1.5566    
  19  Prefactor     7.4240        6.2391        .14719E-03   -1.5163    
  20  Normalizat    1.0352        .21662        .24774E-03   -.91862    
  21  Prefactor     1.0930        .23490        .27441E-03   -.89692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65068e-09
Minuit parameter uncertainties:
  1  0.000163848
  2  13.5361
  3  2.80033
  4  3.5705e-07
  5  1.96733e-05
  6  2.39187e-05
  7  5.76843e-07
  8  2.3141
  9  2.95139e-06
  10  7.45701
  11  1.60734
  12  1.90742
  13  7.19607
  14  1.15619e-07
  15  6.45763e-06
  16  5.49289e-08
  17  14.1851
  18  6.04291
  19  6.23961
  20  0.216803
  21  0.23512
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.657e+00  1.907e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.406e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.093e+00  2.351e-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.035e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 7.41e-06 +/- 8.53e-06

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

Saving results to:
/scratch/kocevski/208359/likelihoodResults_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.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) = 6423.33332438
delta logL = 0.0988979837839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6423.32303381
delta logL = 0.109188548346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3973       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0841       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=   6423.323     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3939        1.5786        .91811E-02    .31590E-03
   2  alpha         1.9296        .66360        .42591       -.33930E-04
   3  Normalizat    1.0464        .17198        .40808E-01    .14971E-04
   4  Prefactor     1.0840        .19568        .62259E-01    .81878E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39391
  alpha      = 1.92959
  Normalizat = 1.04642
  Prefactor  = 1.08396
 **********
 **   18 **HESSE 
 **********

 FCN=   6423.323     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3939        1.8034        .10378E-03   -1.5472    
   2  alpha         1.9296        .91926        .21565E-01   -.23019    
   3  Normalizat    1.0464        .20480        .24658E-03   -.91491    
   4  Prefactor     1.0840        .23250        .27536E-03   -.89981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30319e-09
Minuit parameter uncertainties:
  1  1.80348
  2  0.942649
  3  0.204953
  4  0.232713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208359': 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) = 6423.32303171
delta logL = 0.109190656779

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.394e+00  1.803e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  1.930e+00  9.426e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.084e+00  2.327e-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.046e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 1.93 +/- 0.94
Photon Flux (Free Index): 1.75e-08 +/- 2.60e-08
Energy Flux (Free Index): 8.20e-06 +/- 9.55e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/208359/cmap_HighResolution_449452801_450057601_4FGL_J0137.6-2430_weekly_bin348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='8.20e-06', photon_flux_error='3.03e-08', dlogl='1.09e-01', energy_flux='7.41e-06', photon_flux2='1.75e-08', job_status='DONE', time_completed='2021-07-03 23:48:10.040490', photon_index_error2='0.94', photon_index2='1.93', ts='1.18', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.99e-08', energy_flux_error2='9.55e-06', EG='1.04', time_epoch_completed='1625381290.04', return_code='0', job_id='208359', GAL2='1.08', EG2='1.05', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.60e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='348' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:48:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 208359: <4FGL_J0137.6-2430_weekly_bin348> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin348> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:36:05 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:36:06 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:36:06 2021
Terminated at Sat Jul  3 23:48:10 2021
Results reported at Sat Jul  3 23:48:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin348 24.4069 -24.5163 449452801 450057601 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 :                                   642.20 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             300.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

