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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 55 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 = 17066
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin119
RA = 24.4069, Dec = -24.5163
tmin = 310953601, tmax = 311558401
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='208052', job_status='RUN', time_executed='2021-07-03 23:37:23.573556', time_epoch_executed='1625380643.57' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208052

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208052/ft1_4FGL_J0137.6-2430_weekly_bin119.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits


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

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

Done.
real 7.99
user 7.24
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/208052/ltcube_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.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/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits
.....................!
real 27.46
user 26.30
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/208052/ltcube_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.fits outfile=/scratch/kocevski/208052/expmap_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.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/208052/ltcube_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.fits
.....................!
real 192.61
user 186.49
sys 4.27

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/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits scfile=/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits outfile=/scratch/kocevski/208052/cmap_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.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.75
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits scfile=/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits outfile=/scratch/kocevski/208052/cmap_HighResolution_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.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.67
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/208052/ft2_4FGL_J0137.6-2430_weekly_bin119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208052/Model_4FGL_J0137.6-2430_weekly_bin119.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/208052/ft1_filtered_4FGL_J0137.6-2430_weekly_bin119.fits.....................!
real 69.60
user 66.62
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.2701       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7969       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.505       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2979       1.0000         .10000E-03   10000.    
     8 'norm      '    4.2064       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0809       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5839       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4929       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2522       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .98859       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.1785       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2211       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .63643       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=   8636.409     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     1903 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.951        .90712E-02** at limit **
   2  norm          .10000E-03    2.9767        .90712E-02** at limit **
   3  norm          1.2700        1.4847        .98712E-02   -.11333E-03
   4  Prefactor     7.7963        6.0816        .35901E-02    .10710E-02
   5  Prefactor     .10000E-03    3.3121        .90712E-02** at limit **
   6  Prefactor     23.498        15.397        .20655E-02    .67516E-03
   7  norm          5.2984        3.2097        .43654E-02   -.16557E-03
   8  norm          4.2063        1.8206        .49122E-02   -.22416E-03
   9  Prefactor     .10000E-03    4.8334        .90712E-02** at limit **
  10  Prefactor     .10000E-03    2.7889        .90712E-02** at limit **
  11  norm          .10000E-03    .39137        .31009E-01** at limit **
  12  norm          3.0806        1.9179        .57769E-02    .36838E-03
  13  Prefactor     .10000E-03    1.3327        .90712E-02** at limit **
  14  norm          2.5838        2.6727        .63468E-02    .29217E-03
  15  Prefactor     .10000E-03    21.623        .90712E-02** at limit **
  16  norm          2.4926        1.8782        .64718E-02    .60256E-03
  17  Prefactor     1.2493        29.995        .99863E-02    .34710E-03
  18  Prefactor     .99015        6.5039        .13125E-01    .15840E-02
  19  Prefactor     7.1771        6.4373        .37429E-02    .44161E-02
  20  Normalizat    1.2212        .14989        .34393E-01   -.44288E-04
  21  Prefactor     .63630        .15070        .69894E-01    .17670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 1.27002
  Prefactor  = 7.79632
  Prefactor  = 0.0001
  Prefactor  = 23.4985
  norm       = 5.29837
  norm       = 4.2063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.08061
  Prefactor  = 0.0001
  norm       = 2.58376
  Prefactor  = 0.0001
  norm       = 2.49257
  Prefactor  = 1.2493
  Prefactor  = 0.990147
  Prefactor  = 7.17707
  Normalizat = 1.22123
  Prefactor  = 0.636298
 **********
 **   18 **HESSE 
 **********

 FCN=   8636.409     FROM HESSE     STATUS=OK           321 CALLS     2224 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.9826        .15659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2700        1.4801        .11944E-03   -1.5483    
   4  Prefactor     7.7963        6.0774        .14360E-03   -1.5149    
   5  Prefactor     .10000E-03    3.3185        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.498        15.511        .82622E-04   -1.4738    
   7  norm          5.2984        3.2177        .94175E-04   -1.5248    
   8  norm          4.2063        1.8204        .79983E-04   -1.5298    
   9  Prefactor     .10000E-03    4.8615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8359        .15103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .60548        .11124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0806        1.9110        .95697E-04   -1.5357    
  13  Prefactor     .10000E-03    1.3392        .10476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5838        2.6635        .14386E-03   -1.5386    
  15  Prefactor     .10000E-03    21.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4926        1.8734        .10484E-03   -1.5392    
  17  Prefactor     1.2493        28.727        .39945E-03   -1.5484    
  18  Prefactor     .99015        6.3490        .41385E-02   -1.5509    
  19  Prefactor     7.1771        6.4111        .14971E-03   -1.5172    
  20  Normalizat    1.2212        .17290        .21156E-03   -.85949    
  21  Prefactor     .63630        .17334        .30935E-03   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24756e-07
Minuit parameter uncertainties:
  1  0.000313565
  2  5.00432e-05
  3  1.48015
  4  6.07784
  5  3.8096e-05
  6  15.5137
  7  3.21781
  8  1.82043
  9  1.14094e-05
  10  4.59682e-05
  11  1.24959e-06
  12  1.91101
  13  1.87496e-06
  14  2.66365
  15  7.48653e-05
  16  1.87346
  17  11.9874
  18  5.01508
  19  6.41169
  20  0.172976
  21  0.17349
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  3.081e+00  1.911e+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:  6.363e-01  1.735e-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.221e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.64
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 3.04e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 8.55e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8636.40695601
delta logL = 0.00160336528097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8636.40676112
delta logL = 0.00179825663326

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1055       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4558       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63835       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=   8636.407     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1057        2.9856        .57527E-02    .41863E-03
   2  alpha         2.4559        .98610        .41160       -.30712E-04
   3  Normalizat    1.2185        .14104        .34449E-01    .13744E-05
   4  Prefactor     .63854        .15350        .69783E-01    .36556E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.10574
  alpha      = 2.45593
  Normalizat = 1.21846
  Prefactor  = 0.638542
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1057        1.9177        .95465E-04   -1.5355    
   2  alpha         2.4559        .81300        .22742E-01   -.17628E-01
   3  Normalizat    1.2185        .16479        .21176E-03   -.86034    
   4  Prefactor     .63854        .17530        .30886E-03   -1.0599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66537e-09
Minuit parameter uncertainties:
  1  1.91772
  2  0.828067
  3  0.164864
  4  0.175451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208052': 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) = 8636.40676049
delta logL = 0.00179888456296

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  3.106e+00  1.918e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.456e+00  8.281e-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:  6.385e-01  1.755e-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.218e+00  1.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.64
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.46 +/- 0.83
Photon Flux (Free Index): 5.09e-08 +/- 4.40e-08
Energy Flux (Free Index): 1.38e-05 +/- 8.44e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/208052/cmap_HighResolution_310953601_311558401_4FGL_J0137.6-2430_weekly_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='1.38e-05', photon_flux_error='3.04e-08', dlogl='1.80e-03', energy_flux='1.38e-05', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-07-03 23:48:58.078584', photon_index_error2='0.83', photon_index2='2.46', ts='4.64', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='8.44e-06', EG='1.22', time_epoch_completed='1625381338.08', return_code='0', job_id='208052', GAL2='0.64', EG2='1.22', return_code2='0', energy_flux_error='8.55e-06', photon_flux_error2='4.40e-08', ts2='4.64', photon_index='2.41' WHERE bin_id='119' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:48:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 208052: <4FGL_J0137.6-2430_weekly_bin119> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin119> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:35:37 2021
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:35:38 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:38 2021
Terminated at Sat Jul  3 23:48:58 2021
Results reported at Sat Jul  3 23:48:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin119 24.4069 -24.5163 310953601 311558401 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 :                                   627.28 sec.
    Max Memory :                                 629 MB
    Average Memory :                             261.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

