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


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin726
RA = 24.4069, Dec = -24.5163
tmin = 678067201, tmax = 678672001
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='700106', job_status='RUN', time_executed='2022-07-05 04:08:20.324706', time_epoch_executed='1657019300.32' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700106

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700106/ft1_4FGL_J0137.6-2430_weekly_bin726.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700106/ft1_4FGL_J0137.6-2430_weekly_bin726.fits outfile=/scratch/kocevski/700106/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin726.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=678067201.0 tmax=678672001.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 7.80
user 6.87
sys 0.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.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/700106/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin726.fits evtable="EVENTS" outfile="/scratch/kocevski/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.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.50
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 897

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits" evtable="EVENTS" scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits sctable="SC_DATA" outfile=/scratch/kocevski/700106/ltcube_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.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/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits
.....................!
real 25.39
user 24.97
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits sctable="SC_DATA" expcube=/scratch/kocevski/700106/ltcube_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.fits outfile=/scratch/kocevski/700106/expmap_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.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/700106/ltcube_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.fits
.....................!
real 156.94
user 151.66
sys 4.57

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/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits outfile=/scratch/kocevski/700106/cmap_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits outfile=/scratch/kocevski/700106/cmap_HighResolution_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/700106/ft2_4FGL_J0137.6-2430_weekly_bin726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700106/Model_4FGL_J0137.6-2430_weekly_bin726.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/700106/ft1_filtered_4FGL_J0137.6-2430_weekly_bin726.fits.....................!
real 65.69
user 64.47
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3053       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0093       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9095       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8262       1.0000         .10000E-03   10000.    
    12 'norm      '    .11397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.884       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0155       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.8913       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .85383       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2054       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .72052       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=   10101.68     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     1659 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.543        .13905E-05** at limit **
   2  norm          .10000E-03    3.2471       -.33401E-07** at limit **
   3  norm          2.7634        2.2932        .25486E-08   -.19306E-03
   4  Prefactor     .10000E-03    1.5808        .24943E-07** at limit **
   5  Prefactor     .10000E-03    3.5921        .24575E-06** at limit **
   6  Prefactor     4.3040        5.2321        .71153E-06    .33785E-03
   7  norm          .10000E-03    .85178        .29033E-06** at limit **
   8  norm          .10000E-03    .56603       -.28219E-07** at limit **
   9  Prefactor     3.0075        8.8588        .22344E-06   -.11999E-03
  10  Prefactor     1.9089        2.5569        .17864E-06   -.35831E-03
  11  norm          1.8260        .99955        .85653E-07   -.19156E-03
  12  norm          .11412        .86860        .18829E-06   -.92365E-03
  13  Prefactor     21.886        6.1297        .30493E-06    .54610E-03
  14  norm          1.0145        2.6952        .14006E-05   -.22223E-03
  15  Prefactor     .10000E-03    32.347       -.16261E-05** at limit **
  16  norm          7.8916        2.1012        .27611E-07   -.47229E-03
  17  Prefactor     .10000E-03    3.3716       -.14195E-08** at limit **
  18  Prefactor     .85323        3.1315        .76983E-06   -.34609E-03
  19  Prefactor     .10000E-03    1.3508       -.20538E-07** at limit **
  20  Normalizat    1.2055        .13760       -.12259E-05   -.41247E-03
  21  Prefactor     .72048        .14308        .53879E-07   -.35392E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.76345
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.30399
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.0075
  Prefactor  = 1.90893
  norm       = 1.826
  norm       = 0.11412
  Prefactor  = 21.8858
  norm       = 1.0145
  Prefactor  = 0.000100001
  norm       = 7.89164
  Prefactor  = 0.0001
  Prefactor  = 0.853233
  Prefactor  = 0.0001
  Normalizat = 1.20548
  Prefactor  = 0.720477
 **********
 **   18 **HESSE 
 **********

 FCN=   10101.68     FROM HESSE     STATUS=OK           325 CALLS     1984 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.2542        .17688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7634        2.2932        .13510E-03   -1.5375    
   4  Prefactor     .10000E-03    1.5924        .12337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.877        .36542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3040        5.2867        .19415E-03   -1.5293    
   7  norm          .10000E-03    .86167        .17817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .57641        .73683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0075        8.7699        .23397E-03   -1.5361    
  10  Prefactor     1.9089        2.5359        .17516E-03   -1.5432    
  11  norm          1.8260        .99510        .70637E-04   -1.5438    
  12  norm          .11412        2.1478        .17174E-02   -1.5640    
  13  Prefactor     21.886        6.2024        .85623E-04   -1.4772    
  14  norm          1.0145        2.7692        .24462E-02   -1.5507    
  15  Prefactor     .10000E-03    33.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.8916        2.1052        .71583E-04   -1.5146    
  17  Prefactor     .10000E-03    3.3907        .18018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85323        5.5268        .30980E-02   -1.5523    
  19  Prefactor     .10000E-03    1.3564        .11403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2055        .15822        .20882E-03   -.86434    
  21  Prefactor     .72048        .16708        .29778E-03   -1.0273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03583e-07
Minuit parameter uncertainties:
  1  0.00038022
  2  2.58692e-06
  3  2.29323
  4  9.66406e-07
  5  9.70549e-05
  6  5.2873
  7  9.14944e-06
  8  1.66168e-07
  9  8.77364
  10  2.53601
  11  0.995113
  12  0.989765
  13  6.20258
  14  2.76952
  15  0.000411798
  16  2.10518
  17  4.44304e-06
  18  4.34345
  19  4.09596e-07
  20  0.158286
  21  0.167195
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.141e-01  9.898e-01  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.205e-01  1.672e-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.205e+00  1.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/700106/likelihoodResults_678067201_678672001_4FGL_J0137.6-2430_weekly_bin726.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) = 10101.6727216
delta logL = 0.00403821569125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10101.6720883
delta logL = 0.00467144411959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14964       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6828       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2043       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72122       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10101.67     FROM MIGRAD    STATUS=FAILED       101 CALLS      271 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14909        2.0015        .16537E-02    .93582E-02
   2  alpha         2.6802        3.7150        .97529E-01    .34138E-05
   3  Normalizat    1.2043        .14746        .20891E-03   -.70746E-05
   4  Prefactor     .72112        .16602        .29766E-03   -.82497E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10101.67     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      351 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14909        2.0015        .11399E-03   -1.5631    
   2  alpha         2.6802        3.7150        .43208E-02    .72160E-01
   3  Normalizat    1.2043        .14746        .15234E-03   -.86470    
   4  Prefactor     .72112        .16602        .20050E-03   -1.0271    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10101.67     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      382 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14910        1.6760        .33075E-03    .36327E-03
   2  alpha         2.6802        3.6583        .39012E-02   -.81014E-06
   3  Normalizat    1.2043        .14759        .83563E-05   -.87072E-05
   4  Prefactor     .72112        .16622        .11907E-04   -.64928E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.149099
  alpha      = 2.68022
  Normalizat = 1.20432
  Prefactor  = 0.721117
 **********
 **   18 **HESSE 
 **********

 FCN=   10101.67     FROM HESSE     STATUS=OK            25 CALLS      407 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14910        1.6727        .66149E-04   -1.5631    
   2  alpha         2.6802        3.6580        .15605E-03    .72152E-01
   3  Normalizat    1.2043        .14758        .16713E-05   -.86470    
   4  Prefactor     .72112        .16622        .23813E-05   -1.0271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16169e-12
Minuit parameter uncertainties:
  1  0.998485
  2  2.73369
  3  0.14763
  4  0.16633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700106': 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) = 10101.6720868
delta logL = 0.00467296488023

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.491e-01  9.985e-01  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.680e+00  2.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:  7.211e-01  1.663e-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.204e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-05', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2022-07-05 04:19:06.401599', job_id='700106', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1657019946.4', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='4.67e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='726' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:19:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 700106: <4FGL_J0137.6-2430_weekly_bin726> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin726> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jul  5 04:05:32 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 04:06:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 04:06:40 2022
Terminated at Tue Jul  5 04:19:07 2022
Results reported at Tue Jul  5 04:19:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin726 24.4069 -24.5163 678067201 678672001 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 :                                   635.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             261.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            815 sec.

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

