aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 11 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin734
RA = 24.4069, Dec = -24.5163
tmin = 682905601, tmax = 683510401
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='31592', job_status='RUN', time_executed='2022-09-16 11:51:38.338402', time_epoch_executed='1663354298.34' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/31592

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/31592/ft1_4FGL_J0137.6-2430_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/31592/ft1_4FGL_J0137.6-2430_weekly_bin734.fits outfile=/scratch/kocevski/31592/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin734.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=682905601.0 tmax=683510401.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 9.73
user 9.35
sys 0.33

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

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

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/31592/ltcube_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.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/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits
.....................!
real 34.88
user 34.12
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/31592/ltcube_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits outfile=/scratch/kocevski/31592/expmap_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.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/31592/ltcube_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits
.....................!
real 191.82
user 186.45
sys 4.94

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/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits scfile=/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits outfile=/scratch/kocevski/31592/cmap_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.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.61
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits scfile=/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits outfile=/scratch/kocevski/31592/cmap_HighResolution_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.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.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/31592/Model_4FGL_J0137.6-2430_weekly_bin734.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/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits.....................!
real 73.15
user 70.80
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits', '/scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits', expMap='/scratch/kocevski/31592/expmap_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits', expCube='/scratch/kocevski/31592/ltcube_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/31592/Model_4FGL_J0137.6-2430_weekly_bin734.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  0.000e+00  1.000e+06 ( 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 -5.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/31592/ft1_filtered_4FGL_J0137.6-2430_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/31592/ft2_4FGL_J0137.6-2430_weekly_bin734.fits
Exposure map: /scratch/kocevski/31592/expmap_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits
Exposure cube: /scratch/kocevski/31592/ltcube_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/31592/Model_4FGL_J0137.6-2430_weekly_bin734.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) = 9383.79750554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72479E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .29449E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9283       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.8453       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13700E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .15553E-05   1.0000          .0000       .10000E+07
     7 'norm      '    1.0095       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26476       1.0000          .0000       .10000E+07
     9 'Prefactor '    .37340       1.0000          .0000       .10000E+07
    10 'norm      '    3.1235       1.0000          .0000       .10000E+07
    11 'norm      '    1.0199       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1477       1.0000          .0000       .10000E+07
    13 'norm      '    2.9495       1.0000          .0000       .10000E+07
    14 'Prefactor '    .30009E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .91303       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9672       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17765E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .13032E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .89679       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94798       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=   9383.751     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1216 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.5736       -.18641E-06** at limit **
   2  norm           .0000        .97721       -.55034E-07** at limit **
   3  Prefactor     2.8670        6.2424       -.15774E-06   -.54421E-02
   4  Prefactor     2.9353        8.4633       -.63565E-06   -.12052E-02
   5  Prefactor     .11102E-09    2.0449        .11542E-06** at limit **
   6  norm           .0000        .56694        .48537E-07** at limit **
   7  norm          1.0153        1.3742        .96812E-07   -.27725E-02
   8  Prefactor      .0000        819.32        .63415E-05** at limit **
   9  Prefactor     .37591        3.0848       -.23471E-06   -.22701E-03
  10  norm          3.1224        1.0755        .27195E-07   -.28161E-03
  11  norm          1.0226        1.1430        .61570E-09   -.17761E-02
  12  Prefactor     3.1238        4.2417        .70480E-07   -.32612E-03
  13  norm          2.9504        1.9047       -.54503E-07   -.71301E-03
  14  Prefactor      .0000        10.823        .80427E-06** at limit **
  15  norm          .91579        1.1029        .35026E-07    .16382E-04
  16  Prefactor     6.9588        5.4935        .29973E-06    .49008E-02
  17  Prefactor     .29976E-08    1.2054        .14893E-06** at limit **
  18  Prefactor     .36082E-08    1.0042       -.38357E-07** at limit **
  19  Normalizat    .89724        .14468        .32244E-05   -.13427E-03
  20  Prefactor     .94793        .16078       -.37965E-05   -.11142E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 2.86705
  Prefactor  = 2.93527
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 1.01533
  Prefactor  = 0
  Prefactor  = 0.375913
  norm       = 3.12239
  norm       = 1.02257
  Prefactor  = 3.12383
  norm       = 2.95039
  Prefactor  = 0
  norm       = 0.915791
  Prefactor  = 6.95885
  Prefactor  = 2.9976e-09
  Prefactor  = 3.60822e-09
  Normalizat = 0.897238
  Prefactor  = 0.947929
 **********
 **   18 **HESSE 
 **********

 FCN=   9383.751     FROM HESSE     STATUS=OK           337 CALLS     1553 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .97934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8670        6.6397        .59336E-03   -1.5674    
   4  Prefactor     2.9353        8.6929        .60252E-03   -1.5674    
   5  Prefactor     .11102E-09    2.0754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .56329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0153        1.4112        .44102E-03   -1.5688    
   8  Prefactor      .0000        6.2676        .10721E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .37591        3.0615        .92636E-03   -1.5696    
  10  norm          3.1224        1.0761        .57342E-03   -1.5673    
  11  norm          1.0226        1.3168        .24591E-02   -1.5688    
  12  Prefactor     3.1238        4.2455        .57108E-03   -1.5673    
  13  norm          2.9504        1.9139        .59109E-03   -1.5674    
  14  Prefactor      .0000        10.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91579        1.1199        .44863E-03   -1.5689    
  16  Prefactor     6.9588        5.5724        .37984E-03   -1.5655    
  17  Prefactor     .29976E-08    1.9550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .36082E-08    1.8959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .89724        .12329        .44861E-01   -.96557    
  20  Prefactor     .94793        .13607        .45614E-01   -.94486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06716e-07
Minuit parameter uncertainties:
  1  1.04217e-06
  2  3.08109e-06
  3  6.63972
  4  8.6929
  5  2.94877e-05
  6  3.90661e-07
  7  1.41124
  8  2.52078e-06
  9  2.14556
  10  1.07612
  11  1.31679
  12  4.2455
  13  1.91394
  14  2.34054e-08
  15  1.11994
  16  5.57244
  17  0.000153586
  18  0.000165039
  19  0.123329
  20  0.136124
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.023e+00  1.317e+00  0.000e+00  1.000e+06 ( 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 -5.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:  9.479e-01  1.361e-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.972e-01  1.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.63e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 4.57e-06 +/- 5.89e-06

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

Saving results to:
/scratch/kocevski/31592/likelihoodResults_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.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) = 9383.5466384
delta logL = 0.203925078435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9383.50591643
delta logL = 0.244647047302

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67056       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6374       1.0000          .0000       5.0000    
     3 'Normalizat'    .90931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93877       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=   9383.506     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67016        .72704        .63131E-03    .56257E-02
   2  alpha         1.6371        .54003        .44779       -.64763E-04
   3  Normalizat    .90929        .11694        .45020E-01    .14203E-04
   4  Prefactor     .93879        .13553        .45497E-01    .16050E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.670163
  alpha      = 1.63707
  Normalizat = 0.909288
  Prefactor  = 0.938788
 **********
 **   18 **HESSE 
 **********

 FCN=   9383.506     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67016        .99724        .82503E-05   -1.5692    
   2  alpha         1.6371        .92059        .21643E-01   -.35242    
   3  Normalizat    .90929        .13853        .21760E-03   -.96135    
   4  Prefactor     .93879        .16031        .24740E-03   -.94799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09759e-08
Minuit parameter uncertainties:
  1  0.997245
  2  0.946014
  3  0.138583
  4  0.160395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/31592': 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) = 9383.50591634
delta logL = 0.244647134858

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  6.702e-01  9.972e-01  0.000e+00  1.000e+06 ( 1.000e-11)
275        alpha:  1.637e+00  9.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  1.159e-01  0.000e+00 -5.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:  9.388e-01  1.604e-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:  9.093e-01  1.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.65
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 1.64 +/- 0.95
Photon Flux (Free Index): 7.85e-09 +/- 1.22e-08
Energy Flux (Free Index): 5.93e-06 +/- 7.28e-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/31592/cmap_HighResolution_682905601_683510401_4FGL_J0137.6-2430_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-05', comment='SUCCESS', photon_flux='1.63e-08', energy_flux2='5.93e-06', photon_flux_error='2.09e-08', dlogl='2.45e-01', energy_flux='4.57e-06', photon_flux2='7.85e-09', job_status='DONE', time_completed='2022-09-16 12:02:48.549185', photon_index_error2='0.95', photon_index2='1.64', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.28e-06', EG='0.90', time_epoch_completed='1663354968.55', return_code='0', job_id='31592', GAL2='0.94', EG2='0.91', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.22e-08', ts2='1.65', photon_index='2.41' WHERE bin_id='734' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 12:02:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 31592: <4FGL_J0137.6-2430_weekly_bin734> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin734> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 11:50:26 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:51:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:51:18 2022
Terminated at Fri Sep 16 12:02:49 2022
Results reported at Fri Sep 16 12:02:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin734 24.4069 -24.5163 682905601 683510401 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 :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             371.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            743 sec.

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

