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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin589
RA = 24.4069, Dec = -24.5163
tmin = 595209601, tmax = 595814401
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='209959', job_status='RUN', time_executed='2021-07-03 23:41:48.018883', time_epoch_executed='1625380908.02' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209959

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209959/ft1_4FGL_J0137.6-2430_weekly_bin589.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209959/ft1_4FGL_J0137.6-2430_weekly_bin589.fits outfile=/scratch/kocevski/209959/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin589.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=595209601.0 tmax=595814401.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 6.16
user 5.51
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.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/209959/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin589.fits evtable="EVENTS" outfile="/scratch/kocevski/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.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.78
user 0.40
sys 0.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits" evtable="EVENTS" scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits sctable="SC_DATA" outfile=/scratch/kocevski/209959/ltcube_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.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/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits
.....................!
real 28.82
user 28.13
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/209959/ltcube_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.fits outfile=/scratch/kocevski/209959/expmap_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.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/209959/ltcube_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.fits
.....................!
real 192.36
user 185.41
sys 5.56

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/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits outfile=/scratch/kocevski/209959/cmap_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.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.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits outfile=/scratch/kocevski/209959/cmap_HighResolution_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/209959/ft2_4FGL_J0137.6-2430_weekly_bin589.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209959/Model_4FGL_J0137.6-2430_weekly_bin589.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/209959/ft1_filtered_4FGL_J0137.6-2430_weekly_bin589.fits.....................!
real 70.16
user 68.59
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2203       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28066E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.3929       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9264       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10274E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1652       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4940       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4595       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .97896E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7369       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7966       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1037       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9285.983     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1579 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.744        .12561E-05** at limit **
   2  norm          .10000E-03    6.3787        .15126E-05** at limit **
   3  norm          3.2188        2.3876       -.18980E-06    .13077E-04
   4  Prefactor     .10005E-03    191.81       -.40837E-05** at limit **
   5  Prefactor     .10000E-03    4.7347        .19350E-05** at limit **
   6  Prefactor     .10000E-03    5.0850       -.26491E-05** at limit **
   7  norm          .10000E-03    .63434       -.28443E-07** at limit **
   8  norm          4.3933        1.8335        .24911E-07    .32988E-03
   9  Prefactor     .10000E-03    11.261        .55596E-05** at limit **
  10  Prefactor     4.9261        4.4719       -.42204E-05   -.48425E-04
  11  norm          .10000E-03    .63391       -.32443E-07** at limit **
  12  norm          .10000E-03    1.7576       -.91915E-07** at limit **
  13  Prefactor     5.1637        3.9233       -.42896E-05    .86461E-04
  14  norm          3.4939        3.0235       -.18320E-06    .40473E-03
  15  Prefactor     .10000E-03    9.4290       -.38773E-05** at limit **
  16  norm          2.4586        3.1434       -.60646E-06    .22626E-04
  17  Prefactor     .10000E-03    21.296       -.12625E-04** at limit **
  18  Prefactor     8.7351        1.1152        .48634E-06    .25894E-03
  19  Prefactor     4.7946        1.1199        .66141E-06    .18821E-03
  20  Normalizat    1.1038        .17615        .25959E-05    .34624E-04
  21  Prefactor     1.0690        .19276       -.41979E-06    .98081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.21883
  Prefactor  = 0.000100051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.39334
  Prefactor  = 0.0001
  Prefactor  = 4.92613
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.16365
  norm       = 3.49388
  Prefactor  = 0.0001
  norm       = 2.45857
  Prefactor  = 0.0001
  Prefactor  = 8.73508
  Prefactor  = 4.79456
  Normalizat = 1.10375
  Prefactor  = 1.06902
 **********
 **   18 **HESSE 
 **********

 FCN=   9285.983     FROM HESSE     STATUS=OK           373 CALLS     1952 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.827        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.3013        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2188        2.3904        .56437E-02   -1.5349    
   4  Prefactor     .10005E-03    3.1778        .54927E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0086        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .62556        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3933        1.8360        .48039E-02   -1.5289    
   9  Prefactor     .10000E-03    11.174        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9261        4.5870        .45302E-02   -1.5264    
  11  norm          .10000E-03    .60999        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.0081        .33233E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1637        3.9444        .44222E-02   -1.5253    
  14  norm          3.4939        3.0737        .54077E-02   -1.5334    
  15  Prefactor     .10000E-03    9.4368        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4586        3.1630        .65197E-02   -1.5394    
  17  Prefactor     .10000E-03    4.3768        .10388       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.7351        5.8441        .33902E-02   -1.5117    
  19  Prefactor     4.7946        6.0202        .45924E-02   -1.5270    
  20  Normalizat    1.1038        .15126        .37854E-01   -.89631    
  21  Prefactor     1.0690        .16184        .61757E-01   -.90463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04539e-07
Minuit parameter uncertainties:
  1  0.000265238
  2  3.81623e-06
  3  2.39049
  4  0.00080638
  5  1.45868e-05
  6  2.27876e-05
  7  3.37868e-06
  8  1.83605
  9  1.3654e-05
  10  4.5873
  11  2.2886e-06
  12  8.0394e-06
  13  3.94458
  14  3.07382
  15  7.29761e-05
  16  3.16318
  17  9.68251e-06
  18  5.8445
  19  6.02096
  20  0.151322
  21  0.161915
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.069e+00  1.619e-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.104e+00  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/209959/likelihoodResults_595209601_595814401_4FGL_J0137.6-2430_weekly_bin589.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): 102
logL (Free Index) = 9285.98556981
delta logL = -0.00271757076371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9285.75614219
delta logL = 0.226710048557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43161       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1988       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0959       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9285.756     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      321 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43146        3.2559        .90682E-04    .27857E-03
   2  alpha         4.1989        4.5801        .70749E-01    .82109E-05
   3  Normalizat    1.0652        .17890        .24125E-03    .17097E-03
   4  Prefactor     1.0959        .19599        .27017E-03   -.15485E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.431457
  alpha      = 4.19891
  Normalizat = 1.06517
  Prefactor  = 1.09591
 **********
 **   18 **HESSE 
 **********

 FCN=   9285.756     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43146        1.1079        .36273E-05   -1.5577    
   2  alpha         4.1989        3.8529        .28300E-02    .74717    
   3  Normalizat    1.0652        .17799        .96499E-05   -.90878    
   4  Prefactor     1.0959        .19634        .10807E-04   -.89597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05775e-10
Minuit parameter uncertainties:
  1  1.10794
  2  2.13065
  3  0.178089
  4  0.196466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209959': 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) = 9285.75614218
delta logL = 0.226710065861

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  4.315e-01  1.108e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  4.199e+00  2.131e+00  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.096e+00  1.965e-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.065e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 24.407 -24.516

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-07-03 23:53:44.660673', job_id='209959', GAL2='1.10', fit_tolerance='1e-08', EG2='1.07', EG='1.10', time_epoch_completed='1625381624.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.27e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='589' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:53:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 209959: <4FGL_J0137.6-2430_weekly_bin589> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin589> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul  3 23:41:34 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:41:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 23:41:35 2021
Terminated at Sat Jul  3 23:53:46 2021
Results reported at Sat Jul  3 23:53:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin589 24.4069 -24.5163 595209601 595814401 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 :                                   703.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

