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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin213
RA = 24.4069, Dec = -24.5163
tmin = 367804801, tmax = 368409601
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='208201', job_status='RUN', time_executed='2021-07-03 23:37:48.365489', time_epoch_executed='1625380668.37' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208201

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208201/ft1_4FGL_J0137.6-2430_weekly_bin213.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208201/ft1_4FGL_J0137.6-2430_weekly_bin213.fits outfile=/scratch/kocevski/208201/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin213.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=367804801.0 tmax=368409601.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.65
user 6.83
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits" evtable="EVENTS" scfile=/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits sctable="SC_DATA" outfile=/scratch/kocevski/208201/ltcube_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.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/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits
.....................!
real 27.36
user 26.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits sctable="SC_DATA" expcube=/scratch/kocevski/208201/ltcube_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.fits outfile=/scratch/kocevski/208201/expmap_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.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/208201/ltcube_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.fits
.....................!
real 193.60
user 185.37
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/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits scfile=/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits outfile=/scratch/kocevski/208201/cmap_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.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.64
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits scfile=/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits outfile=/scratch/kocevski/208201/cmap_HighResolution_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.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.61
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/208201/ft2_4FGL_J0137.6-2430_weekly_bin213.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208201/Model_4FGL_J0137.6-2430_weekly_bin213.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/208201/ft1_filtered_4FGL_J0137.6-2430_weekly_bin213.fits.....................!
real 88.86
user 86.81
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.095       1.0000         .10000E-03   10000.    
     2 'norm      '    6.7254       1.0000         .10000E-03   10000.    
     3 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9709       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.528       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2004       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5500       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9197       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4047       1.0000         .10000E-03   10000.    
    11 'norm      '    .11074E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2703       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2150       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0577       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .86114E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4685       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6370       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .89884       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86067       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=   11990.53     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2239 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.210        74.294        .11842E-05    .10466E-03
   2  norm          6.7247        6.2088        .70646E-07    .13876E-05
   3  norm          .10000E-03    1.1535       -.20315E-06** at limit **
   4  Prefactor     .10000E-03    1.4563        .19035E-06** at limit **
   5  Prefactor     8.9741        8.4390       -.34847E-07   -.17212E-04
   6  Prefactor     24.531        11.048       -.31763E-06   -.87141E-05
   7  norm          5.1993        2.5956       -.20416E-06   -.75398E-04
   8  norm          2.5513        1.3811       -.12964E-07   -.23950E-04
   9  Prefactor     9.8996        10.195       -.23514E-06   -.12914E-04
  10  Prefactor     7.4053        3.5097        .15802E-05   -.15360E-03
  11  norm          .10000E-03    .24233       -.12625E-06** at limit **
  12  norm          4.2687        1.5347       -.83726E-07   -.71787E-04
  13  Prefactor     2.2098        2.4100        .15765E-06   -.63193E-05
  14  norm          2.0544        1.6251        .89585E-07   -.25394E-04
  15  Prefactor     .10000E-03    27.913       -.33995E-06** at limit **
  16  norm          2.4686        1.2056        .56483E-07    .21994E-04
  17  Prefactor     2.6408        4.8323        .66490E-06    .49712E-04
  18  Prefactor     .10000E-03    1.3552       -.19495E-06** at limit **
  19  Prefactor     .10001E-03    2.1011       -.23865E-06** at limit **
  20  Normalizat    .89903        .11229       -.98547E-06    .39223E-03
  21  Prefactor     .86065        .12519        .13057E-05    .76326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.2099
  norm       = 6.72472
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.97413
  Prefactor  = 24.5309
  norm       = 5.19927
  norm       = 2.55135
  Prefactor  = 9.89959
  Prefactor  = 7.40533
  norm       = 0.000100002
  norm       = 4.26871
  Prefactor  = 2.20979
  norm       = 2.05439
  Prefactor  = 0.0001
  norm       = 2.46864
  Prefactor  = 2.64076
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 0.899028
  Prefactor  = 0.86065
 **********
 **   18 **HESSE 
 **********

 FCN=   11990.53     FROM HESSE     STATUS=OK           333 CALLS     2572 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.210        74.138        .29528E-03   -1.4347    
   2  norm          6.7247        6.2064        .15473E-03   -1.5189    
   3  norm          .10000E-03    2.2794        .22815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.4655        .12891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9741        8.4144        .13382E-03   -1.5109    
   6  Prefactor     24.531        11.118        .80881E-04   -1.4717    
   7  norm          5.1993        2.6058        .93689E-04   -1.5252    
   8  norm          2.5513        1.3790        .88641E-04   -1.5388    
   9  Prefactor     9.8996        10.162        .12723E-03   -1.5079    
  10  Prefactor     7.4053        3.5082        .63446E-03   -1.5164    
  11  norm          .10000E-03    2.7230        .10289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2687        1.5339        .76303E-04   -1.5295    
  13  Prefactor     2.2098        2.3967        .17179E-03   -1.5411    
  14  norm          2.0544        1.6143        .11760E-03   -1.5421    
  15  Prefactor     .10000E-03    28.273        .20858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4686        1.2038        .80174E-04   -1.5394    
  17  Prefactor     2.6408        4.7970        .25109E-03   -1.5383    
  18  Prefactor     .10000E-03    2.7857        .24439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    14.569        .30390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .89903        .12954        .21774E-03   -.96494    
  21  Prefactor     .86065        .14551        .26003E-03   -.97530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27909e-09
Minuit parameter uncertainties:
  1  74.2862
  2  6.20702
  3  2.58506e-05
  4  2.23753e-06
  5  8.41555
  6  11.1188
  7  2.60588
  8  1.37901
  9  10.1634
  10  3.50826
  11  0.000134688
  12  1.53395
  13  2.39682
  14  1.61438
  15  1.27748e-05
  16  1.20382
  17  4.79772
  18  2.31585e-05
  19  0.000550802
  20  0.129587
  21  0.145571
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  4.269e+00  1.534e+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.606e-01  1.456e-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.990e-01  1.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.80
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 6.79e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 6.86e-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) = 11990.2549741
delta logL = 0.270853963504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11990.2505875
delta logL = 0.27524055206

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2050       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7256       1.0000          .0000       5.0000    
     3 'Normalizat'    .87827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87785       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=   11990.25     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2048        21.458        .49130E-02    .38434E-03
   2  alpha         2.7256        3.7822        .39324        .26678E-04
   3  Normalizat    .87829        .69273E-01    .44623E-01    .22606E-04
   4  Prefactor     .87785        .85854E-01    .44722E-01    .25612E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20484
  alpha      = 2.72558
  Normalizat = 0.878287
  Prefactor  = 0.877854
 **********
 **   18 **HESSE 
 **********

 FCN=   11990.25     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .61E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2048        1.4862        .71399E-04   -1.5298    
   2  alpha         2.7256        .44195        .15548E-01    .90354E-01
   3  Normalizat    .87829        .12749        .21987E-03   -.97227    
   4  Prefactor     .87785        .14709        .25777E-03   -.96919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06668e-13
Minuit parameter uncertainties:
  1  1.48617
  2  0.444299
  3  0.127535
  4  0.147159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208201': 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) = 11990.2505875
delta logL = 0.275240598938

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  4.205e+00  1.486e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.726e+00  4.443e-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.779e-01  1.472e-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.783e-01  1.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.49
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.73 +/- 0.44
Photon Flux (Free Index): 8.31e-08 +/- 3.29e-08
Energy Flux (Free Index): 1.89e-05 +/- 6.35e-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/208201/cmap_HighResolution_367804801_368409601_4FGL_J0137.6-2430_weekly_bin213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.79e-08', energy_flux2='1.89e-05', photon_flux_error='2.44e-08', dlogl='2.75e-01', energy_flux='1.91e-05', photon_flux2='8.31e-08', job_status='DONE', time_completed='2021-07-03 23:52:24.483981', photon_index_error2='0.44', photon_index2='2.73', ts='15.80', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='6.35e-06', EG='0.90', time_epoch_completed='1625381544.48', return_code='0', job_id='208201', GAL2='0.88', EG2='0.88', return_code2='0', energy_flux_error='6.86e-06', photon_flux_error2='3.29e-08', ts2='16.49', photon_index='2.41' WHERE bin_id='213' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:52:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 208201: <4FGL_J0137.6-2430_weekly_bin213> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin213 24.4069 -24.5163 367804801 368409601 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 :                                   806.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

