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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin612
RA = 24.4069, Dec = -24.5163
tmin = 609120001, tmax = 609724801
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='210005', job_status='RUN', time_executed='2021-07-03 23:43:17.114066', time_epoch_executed='1625380997.11' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210005

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210005/ft1_4FGL_J0137.6-2430_weekly_bin612.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210005/ft1_4FGL_J0137.6-2430_weekly_bin612.fits outfile=/scratch/kocevski/210005/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin612.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=609120001.0 tmax=609724801.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.38
user 5.89
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210005/ft1_filtered_4FGL_J0137.6-2430_weekly_bin612.fits" evtable="EVENTS" scfile=/scratch/kocevski/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits sctable="SC_DATA" outfile=/scratch/kocevski/210005/ltcube_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.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/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits
.....................!
real 27.46
user 27.10
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210005/ft1_filtered_4FGL_J0137.6-2430_weekly_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits sctable="SC_DATA" expcube=/scratch/kocevski/210005/ltcube_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.fits outfile=/scratch/kocevski/210005/expmap_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.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/210005/ltcube_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.fits
.....................!
real 191.54
user 185.23
sys 5.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/210005/ft1_filtered_4FGL_J0137.6-2430_weekly_bin612.fits scfile=/scratch/kocevski/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits outfile=/scratch/kocevski/210005/cmap_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.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.70
user 0.41
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210005/ft1_filtered_4FGL_J0137.6-2430_weekly_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/210005/ft2_4FGL_J0137.6-2430_weekly_bin612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210005/Model_4FGL_J0137.6-2430_weekly_bin612.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/210005/ft1_filtered_4FGL_J0137.6-2430_weekly_bin612.fits.....................!
real 85.33
user 83.50
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    94.176       1.0000         .10000E-03   10000.    
     2 'norm      '    3.2708       1.0000         .10000E-03   10000.    
     3 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6989       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3511       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .36973       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.740       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .26833       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3224       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .78300       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .90457       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11175E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.132       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.161       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0749       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0372       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=   11380.84     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2252 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     94.186        73.779        .50105E-05    .10520E-03
   2  norm          3.2707        4.1702        .14828E-05   -.22286E-02
   3  norm          .10000E-03    1.2910       -.86306E-08** at limit **
   4  Prefactor     3.7004        5.0943       -.17970E-05   -.49307E-03
   5  Prefactor     .10000E-03    3.0828        .19792E-07** at limit **
   6  Prefactor     1.3503        2.7068        .12056E-06   -.19666E-03
   7  norm          .10000E-03    .39130        .14804E-07** at limit **
   8  norm          .37071        1.3157        .36187E-06   -.90360E-03
   9  Prefactor     14.738        10.920       -.16627E-06   -.25731E-04
  10  Prefactor     .27485        1.2538       -.44447E-07    .11929E-03
  11  norm          .10000E-03    .38058        .16081E-07** at limit **
  12  norm          1.3224        1.2025       -.27193E-07   -.24106E-03
  13  Prefactor     .10000E-03    1.9553        .19672E-07** at limit **
  14  norm          .78318        1.7773        .25961E-06   -.63032E-03
  15  Prefactor     .10000E-03    55.758       -.34641E-06** at limit **
  16  norm          .90455        1.5771        .11186E-06   -.51151E-03
  17  Prefactor     .10000E-03    23.428        .59147E-06** at limit **
  18  Prefactor     16.127        5.8039       -.10212E-05   -.52203E-03
  19  Prefactor     17.161        6.7407        .16230E-05    .62169E-03
  20  Normalizat    1.0748        .13148       -.16854E-06    .67256E-05
  21  Prefactor     1.0372        .14487       -.86885E-07   -.23930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 94.1864
  norm       = 3.27068
  norm       = 0.0001
  Prefactor  = 3.7004
  Prefactor  = 0.0001
  Prefactor  = 1.35031
  norm       = 0.0001
  norm       = 0.370711
  Prefactor  = 14.7383
  Prefactor  = 0.274854
  norm       = 0.0001
  norm       = 1.32237
  Prefactor  = 0.0001
  norm       = 0.783185
  Prefactor  = 0.0001
  norm       = 0.904548
  Prefactor  = 0.0001
  Prefactor  = 16.127
  Prefactor  = 17.1608
  Normalizat = 1.07482
  Prefactor  = 1.03723
 **********
 **   18 **HESSE 
 **********

 FCN=   11380.84     FROM HESSE     STATUS=OK           325 CALLS     2577 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     94.186        75.097        .41414E-04   -1.3764    
   2  norm          3.2707        5.9246        .11196E-02   -1.5346    
   3  norm          .10000E-03    3.7131        .23531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7004        5.1429        .20999E-03   -1.5323    
   5  Prefactor     .10000E-03    3.0934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3503        2.6485        .24067E-03   -1.5476    
   7  norm          .10000E-03    .39344        .64976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .37071        1.3286        .21612E-03   -1.5586    
   9  Prefactor     14.738        10.711        .10432E-03   -1.4940    
  10  Prefactor     .27485        7.3255        .22184E-02   -1.5603    
  11  norm          .10000E-03    .39443        .12839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3224        1.1754        .10560E-03   -1.5478    
  13  Prefactor     .10000E-03    2.0010        .14557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .78318        1.7739        .20235E-03   -1.5531    
  15  Prefactor     .10000E-03    56.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .90455        1.5517        .17011E-03   -1.5518    
  17  Prefactor     .10000E-03    24.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.127        5.8535        .99720E-04   -1.4905    
  19  Prefactor     17.161        6.8077        .96683E-04   -1.4879    
  20  Normalizat    1.0748        .15634        .23315E-03   -.90564    
  21  Prefactor     1.0372        .17381        .27178E-03   -.91499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68351e-09
Minuit parameter uncertainties:
  1  75.1732
  2  5.92571
  3  1.88758e-05
  4  5.14353
  5  1.26009e-05
  6  2.64873
  7  7.84555e-07
  8  1.32873
  9  10.7128
  10  2.83779
  11  2.74216e-07
  12  1.17543
  13  2.87155e-07
  14  1.77405
  15  9.58495e-06
  16  1.55182
  17  0.000127261
  18  5.85374
  19  6.80797
  20  0.156405
  21  0.173899
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.037e+00  1.739e-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.075e+00  1.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.10e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 5.92e-06 +/- 5.26e-06

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

Saving results to:
/scratch/kocevski/210005/likelihoodResults_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.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) = 11380.7243364
delta logL = 0.111079803783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11380.7127844
delta logL = 0.122631875956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1459       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9926       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0305       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=   11380.71     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1437        1.0330        .10831E-01    .62159E-03
   2  alpha         1.9924        .57515        .42277       -.73176E-04
   3  Normalizat    1.0840        .12523        .38706E-01    .29278E-04
   4  Prefactor     1.0301        .14393        .61631E-01    .10210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.14366
  alpha      = 1.99241
  Normalizat = 1.08403
  Prefactor  = 1.03012
 **********
 **   18 **HESSE 
 **********

 FCN=   11380.71     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1437        1.1461        .99407E-04   -1.5494    
   2  alpha         1.9924        .77490        .24558E-01   -.20446    
   3  Normalizat    1.0840        .15036        .23226E-03   -.90266    
   4  Prefactor     1.0301        .17235        .27257E-03   -.91732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58259e-11
Minuit parameter uncertainties:
  1  1.14616
  2  0.788466
  3  0.150424
  4  0.172446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210005': 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) = 11380.7127798
delta logL = 0.122636473672

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.030e+00  1.724e-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.084e+00  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 1.99 +/- 0.79
Photon Flux (Free Index): 1.47e-08 +/- 1.74e-08
Energy Flux (Free Index): 6.33e-06 +/- 5.75e-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/210005/cmap_HighResolution_609120001_609724801_4FGL_J0137.6-2430_weekly_bin612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-05', comment='SUCCESS', photon_flux='2.10e-08', energy_flux2='6.33e-06', photon_flux_error='1.87e-08', dlogl='1.23e-01', energy_flux='5.92e-06', photon_flux2='1.47e-08', job_status='DONE', time_completed='2021-07-03 23:57:30.974165', photon_index_error2='0.79', photon_index2='1.99', ts='2.17', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='6.43e-08', energy_flux_error2='5.75e-06', EG='1.07', time_epoch_completed='1625381850.97', return_code='0', job_id='210005', GAL2='1.03', EG2='1.08', return_code2='0', energy_flux_error='5.26e-06', photon_flux_error2='1.74e-08', ts2='2.41', photon_index='2.41' WHERE bin_id='612' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:57:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 210005: <4FGL_J0137.6-2430_weekly_bin612> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin612> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul  3 23:41:38 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:41:40 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:40 2021
Terminated at Sat Jul  3 23:57:31 2021
Results reported at Sat Jul  3 23:57:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin612 24.4069 -24.5163 609120001 609724801 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 :                                   840.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

