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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin195
RA = 24.4069, Dec = -24.5163
tmin = 356918401, tmax = 357523201
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='208172', job_status='RUN', time_executed='2021-07-03 23:36:15.115260', time_epoch_executed='1625380575.12' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208172

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208172/ft1_4FGL_J0137.6-2430_weekly_bin195.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits


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

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

Done.
real 8.25
user 7.85
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits sctable="SC_DATA" expcube=/scratch/kocevski/208172/ltcube_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits outfile=/scratch/kocevski/208172/expmap_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.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/208172/ltcube_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits
.....................!
real 191.58
user 185.30
sys 4.75

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/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits scfile=/scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits outfile=/scratch/kocevski/208172/cmap_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.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.41
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208172/Model_4FGL_J0137.6-2430_weekly_bin195.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/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits.....................!
real 69.55
user 68.04
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits', '/scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits', expMap='/scratch/kocevski/208172/expmap_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits', expCube='/scratch/kocevski/208172/ltcube_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/208172/Model_4FGL_J0137.6-2430_weekly_bin195.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/208172/ft1_filtered_4FGL_J0137.6-2430_weekly_bin195.fits
Spacecraft file(s): /scratch/kocevski/208172/ft2_4FGL_J0137.6-2430_weekly_bin195.fits
Exposure map: /scratch/kocevski/208172/expmap_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits
Exposure cube: /scratch/kocevski/208172/ltcube_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/208172/Model_4FGL_J0137.6-2430_weekly_bin195.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8696.05434827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25874E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.6809       1.0000         .10000E-03   10000.    
     3 'norm      '    4.3604       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91874E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.2911       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0320       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .88288E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.755       1.0000         .10000E-03   10000.    
    11 'norm      '    .31243       1.0000         .10000E-03   10000.    
    12 'norm      '    .44965       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2422       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1312       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12338E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .49657       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2839       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76243       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=   8694.996     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     1969 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    24.748        .66016E-05** at limit **
   2  norm          3.6813        4.9285        .48881E-06   -.25285E-03
   3  norm          4.3592        2.9275        .56617E-06    .13529E-02
   4  Prefactor     .10000E-03    1.7512        .66632E-07** at limit **
   5  Prefactor     .10000E-03    3.9538       -.12588E-06** at limit **
   6  Prefactor     .81946E-03    6.6863       -.21033E-05** at limit **
   7  norm          3.2917        2.2854       -.13314E-07    .19380E-02
   8  norm          5.0307        2.2932       -.37515E-07    .18217E-03
   9  Prefactor     .10001E-03    8.7720       -.12891E-05** at limit **
  10  Prefactor     12.757        5.7095        .43819E-07    .11101E-02
  11  norm          .31250        .92298        .63848E-06   -.26680E-03
  12  norm          .44749        1.9273        .13442E-05   -.22141E-03
  13  Prefactor     1.2431        4.0030        .87427E-06   -.42209E-03
  14  norm          2.1321        3.2208       -.43891E-06   -.10100E-02
  15  Prefactor     .10000E-03    13.551       -.39240E-06** at limit **
  16  norm          .10000E-03    1.0530        .17892E-06** at limit **
  17  Prefactor     .10000E-03    5.7626       -.24261E-06** at limit **
  18  Prefactor     .50460        2.1845       -.47016E-06    .64318E-04
  19  Prefactor     .10000E-03    3.2544       -.91069E-07** at limit **
  20  Normalizat    1.2839        .14468       -.22129E-06    .38465E-03
  21  Prefactor     .76233        .15302       -.45038E-06    .23670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100027
  norm       = 3.68126
  norm       = 4.35925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000819462
  norm       = 3.29169
  norm       = 5.03073
  Prefactor  = 0.00010001
  Prefactor  = 12.7573
  norm       = 0.312503
  norm       = 0.447493
  Prefactor  = 1.2431
  norm       = 2.13212
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.504603
  Prefactor  = 0.0001
  Normalizat = 1.28393
  Prefactor  = 0.762325
 **********
 **   18 **HESSE 
 **********

 FCN=   8694.996     FROM HESSE     STATUS=OK           333 CALLS     2302 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    27.216        .21451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6813        5.0325        .10526E-02   -1.5324    
   3  norm          4.3592        2.9698        .12901E-03   -1.5290    
   4  Prefactor     .10000E-03    1.7600        .12049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9671        .18109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .81946E-03    15.708        .56940E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2917        2.4429        .96587E-04   -1.5345    
   8  norm          5.0307        2.2403        .89918E-04   -1.5259    
   9  Prefactor     .10001E-03    38.735        .49418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.757        5.5816        .11216E-03   -1.4993    
  11  norm          .31250        .98566        .15268E-03   -1.5596    
  12  norm          .44749        2.6157        .20002E-02   -1.5574    
  13  Prefactor     1.2431        4.3796        .35143E-03   -1.5485    
  14  norm          2.1321        3.2215        .18595E-03   -1.5416    
  15  Prefactor     .10000E-03    13.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1017        .18668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.8105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .50460        6.9353        .25966E-02   -1.5566    
  19  Prefactor     .10000E-03    3.2830        .16419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2839        .17495        .21498E-03   -.84047    
  21  Prefactor     .76233        .18301        .30003E-03   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31785e-08
Minuit parameter uncertainties:
  1  0.00172493
  2  5.03308
  3  2.96994
  4  4.41043e-06
  5  1.24949e-05
  6  0.21267
  7  2.44293
  8  2.24037
  9  0.00125311
  10  5.58186
  11  0.985711
  12  2.1637
  13  4.38073
  14  3.22173
  15  7.34807e-05
  16  7.14503e-06
  17  2.60764e-05
  18  3.74158
  19  5.74546e-06
  20  0.175031
  21  0.183158
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  4.475e-01  2.164e+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:  7.623e-01  1.832e-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.284e+00  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/208172/likelihoodResults_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.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) = 8694.10920273
delta logL = 0.886397960661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8694.03902106
delta logL = 0.956579629006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98184       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3461       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82051       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=   8694.039     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98221        13.972        .13101E-01    .37256E-02
   2  alpha         4.3458        2.5573        .50000        .63176E-04
   3  Normalizat    1.2016        .45829E-01    .49918E-01    .58496E-04
   4  Prefactor     .82052        .49718E-01    .65578E-01   -.66759E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.982214
  alpha      = 4.34575
  Normalizat = 1.20157
  Prefactor  = 0.820516
 **********
 **   18 **HESSE 
 **********

 FCN=   8694.039     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98221        9.0695        .65656E-04   -1.5510    
   2  alpha         4.3458        4.0991        .42901E-01    .83055    
   3  Normalizat    1.2016        .17509        .22069E-03   -.86554    
   4  Prefactor     .82052        .18868        .29010E-03   -.98976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31771e-10
Minuit parameter uncertainties:
  1  5.97022
  2  5.73399
  3  0.175177
  4  0.188831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208172': 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) = 8694.03902103
delta logL = 0.956579658905

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  9.822e-01  5.970e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  4.346e+00  5.734e+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:  8.205e-01  1.888e-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.202e+00  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 4.35 +/- 5.73
Photon Flux (Free Index): 8.42e-08 +/- 6.73e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.50e-05

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/208172/cmap_HighResolution_356918401_357523201_4FGL_J0137.6-2430_weekly_bin195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-05', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='9.57e-01', photon_flux2='8.42e-08', job_status='DONE', time_completed='2021-07-03 23:48:29.165652', photon_index_error2='5.73', photon_index2='4.35', ts='0.05', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='8.28e-08', energy_flux_error2='1.50e-05', EG='1.28', time_epoch_completed='1625381309.17', return_code='0', job_id='208172', GAL2='0.82', EG2='1.20', return_code2='0', photon_flux_error2='6.73e-08', ts2='2.14', photon_index='2.41' WHERE bin_id='195' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:48:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 208172: <4FGL_J0137.6-2430_weekly_bin195> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin195 24.4069 -24.5163 356918401 357523201 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 :                                   713.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

