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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin762
RA = 24.4069, Dec = -24.5163
tmin = 699840001, tmax = 700444801
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='962237', job_status='RUN', time_executed='2023-03-14 00:56:47.422543', time_epoch_executed='1678780607.42' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/962237

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/962237/ft1_4FGL_J0137.6-2430_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/962237/ft1_4FGL_J0137.6-2430_weekly_bin762.fits outfile=/scratch/kocevski/962237/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin762.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=699840001.0 tmax=700444801.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.06
user 7.73
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.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/962237/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/962237/ft1_filtered_4FGL_J0137.6-2430_weekly_bin762.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.55
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 807

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/962237/ft1_filtered_4FGL_J0137.6-2430_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/962237/ltcube_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.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/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits
.....................!
real 26.14
user 25.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/962237/ft1_filtered_4FGL_J0137.6-2430_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/962237/ltcube_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.fits outfile=/scratch/kocevski/962237/expmap_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.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/962237/ltcube_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.fits
.....................!
real 189.76
user 184.93
sys 4.51

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/962237/ft1_filtered_4FGL_J0137.6-2430_weekly_bin762.fits scfile=/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits outfile=/scratch/kocevski/962237/cmap_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/962237/ft1_filtered_4FGL_J0137.6-2430_weekly_bin762.fits scfile=/scratch/kocevski/962237/ft2_4FGL_J0137.6-2430_weekly_bin762.fits outfile=/scratch/kocevski/962237/cmap_HighResolution_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.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.58
user 0.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47942E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .12401E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .83939E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49639E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.0670       1.0000          .0000       .10000E+07
     6 'norm      '    .17988E-04   1.0000          .0000       .10000E+07
     7 'norm      '    7.9252       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64378E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .65308E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.3660       1.0000          .0000       .10000E+07
    11 'norm      '    5.0011       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.4838       1.0000          .0000       .10000E+07
    13 'norm      '    4.2525       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.373       1.0000          .0000       .10000E+07
    15 'norm      '    8.5166       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.892       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36999E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .13282E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .77107       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2372       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=   9423.129     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1533 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    9.8098       -.77384E-07** at limit **
   2  norm          .55511E-10    2.6379        .27621E-07** at limit **
   3  Prefactor     .11102E-09    2.4306       -.13192E-07** at limit **
   4  Prefactor     .55511E-10    4.5574        .48280E-07** at limit **
   5  Prefactor     7.0870        7.9250        .18917E-07    .41397E-02
   6  norm           .0000        1.1179        .27479E-07** at limit **
   7  norm          7.9222        2.4612       -.28247E-07    .15861E-03
   8  Prefactor      .0000        5.6975       -.10986E-06** at limit **
   9  Prefactor      .0000        2.1326        .65505E-07** at limit **
  10  norm          2.3646        1.0932       -.10160E-07   -.77393E-03
  11  norm          5.0010        2.1885       -.23377E-07    .95805E-05
  12  Prefactor     7.4047        4.8441       -.17720E-08    .57861E-03
  13  norm          4.2515        3.1817        .48565E-07   -.28143E-03
  14  Prefactor     24.397        1.2882       -.10470E-08    .40916E-01
  15  norm          8.5130        2.4510        .30595E-07   -.74974E-03
  16  Prefactor     10.882        2.7703       -.43127E-08    .14344E-01
  17  Prefactor     .55511E-10    27.284        .35408E-06** at limit **
  18  Prefactor      .0000        1.4245        .74302E-07** at limit **
  19  Normalizat    .77129        .16944       -.68135E-06   -.39272E-04
  20  Prefactor     1.2371        .18935        .20237E-05   -.49278E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 7.08702
  norm       = 0
  norm       = 7.92216
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.36461
  norm       = 5.00103
  Prefactor  = 7.40467
  norm       = 4.25154
  Prefactor  = 24.3969
  norm       = 8.51296
  Prefactor  = 10.8822
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.771289
  Prefactor  = 1.23714
 **********
 **   18 **HESSE 
 **********

 FCN=   9423.129     FROM HESSE     STATUS=OK           339 CALLS     1872 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    9.7737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    2.6382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    2.4633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    4.5628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0870        8.3098        .37712E-03   -1.5655    
   6  norm           .0000        1.1161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.9222        2.4649        .35593E-03   -1.5652    
   8  Prefactor      .0000        5.7199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.1402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3646        1.0983        .66591E-03   -1.5677    
  11  norm          5.0010        2.1957        .44944E-03   -1.5663    
  12  Prefactor     7.4047        4.8600        .36637E-03   -1.5654    
  13  norm          4.2515        3.1998        .48836E-03   -1.5667    
  14  Prefactor     24.397        35.916        .20260E-03   -1.5609    
  15  norm          8.5130        2.4512        .34326E-03   -1.5650    
  16  Prefactor     10.882        9.4387        .30333E-03   -1.5642    
  17  Prefactor     .55511E-10    3.2798        .56041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.4314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77129        .14555        .43232E-01   -1.0114    
  20  Prefactor     1.2371        .15933        .57416E-01   -.85196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.78967e-08
Minuit parameter uncertainties:
  1  8.27638e-05
  2  2.73714e-05
  3  3.24098e-05
  4  2.90447e-05
  5  8.30979
  6  5.01939e-07
  7  2.46486
  8  2.31954e-05
  9  8.93854e-06
  10  1.09834
  11  2.19573
  12  4.85996
  13  3.19983
  14  35.9167
  15  2.45116
  16  9.43874
  17  2.94903e-05
  18  3.20235e-06
  19  0.145628
  20  0.159389
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  5.001e+00  2.196e+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:  1.237e+00  1.594e-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:  7.713e-01  1.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.27
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.95e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 9.82e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9422.89607328
delta logL = 0.232463135755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9422.88858337
delta logL = 0.239953042526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8789       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1001       1.0000          .0000       5.0000    
     3 'Normalizat'    .79235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2181       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=   9422.889     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8792        2.2384        .45515E-03    .26038E-02
   2  alpha         2.1002        .37238        .35003       -.42806E-04
   3  Normalizat    .79235        .13777        .43510E-01    .28700E-04
   4  Prefactor     1.2181        .15957        .57787E-01    .70543E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.87924
  alpha      = 2.1002
  Normalizat = 0.792349
  Prefactor  = 1.21808
 **********
 **   18 **HESSE 
 **********

 FCN=   9422.889     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8792        2.2067        .89571E-05   -1.5664    
   2  alpha         2.1002        .42075        .13538E-01   -.16061    
   3  Normalizat    .79235        .16521        .26750E-03   -1.0035    
   4  Prefactor     1.2181        .19016        .25554E-03   -.85777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39704e-12
Minuit parameter uncertainties:
  1  2.20666
  2  0.422811
  3  0.165313
  4  0.19027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/962237': 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) = 9422.88858335
delta logL = 0.239953058946

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  4.879e+00  2.207e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        alpha:  2.100e+00  4.228e-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:  1.218e+00  1.903e-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:  7.923e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.73
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.10 +/- 0.42
Photon Flux (Free Index): 6.56e-08 +/- 3.53e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.16e-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/962237/cmap_HighResolution_699840001_700444801_4FGL_J0137.6-2430_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.95e-08', energy_flux2='2.48e-05', photon_flux_error='3.49e-08', dlogl='2.40e-01', energy_flux='2.24e-05', photon_flux2='6.56e-08', job_status='DONE', time_completed='2023-03-14 01:07:09.650631', photon_index_error2='0.42', photon_index2='2.10', ts='11.27', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='0.77', time_epoch_completed='1678781229.65', return_code='0', job_id='962237', GAL2='1.22', EG2='0.79', return_code2='0', energy_flux_error='9.82e-06', photon_flux_error2='3.53e-08', ts2='11.73', photon_index='2.41' WHERE bin_id='762' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:07:09 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 962237: <4FGL_J0137.6-2430_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:55:25 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:55:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:55:26 2023
Terminated at Tue Mar 14 01:07:10 2023
Results reported at Tue Mar 14 01:07:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin762 24.4069 -24.5163 699840001 700444801 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

