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


Performing analysis on: 4FGL_J0137.6-2430_daily_bin1697
RA = 24.4069, Dec = -24.5163
tmin = 679190401, tmax = 679449601
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='848432', job_status='RUN', time_executed='2022-07-14 00:06:37.537866', time_epoch_executed='1657782397.54' WHERE source_name='4FGL J0137.6-2430' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848432/ft1_4FGL_J0137.6-2430_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848432/ft1_4FGL_J0137.6-2430_daily_bin1697.fits outfile=/scratch/kocevski/848432/ft1_filteredMKT_4FGL_J0137.6-2430_daily_bin1697.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=679190401.0 tmax=679449601.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 4.17
user 3.17
sys 0.22

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

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

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/848432/ltcube_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.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/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits
.....................!
real 15.66
user 14.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/848432/ltcube_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.fits outfile=/scratch/kocevski/848432/expmap_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.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/848432/ltcube_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.fits
.....................!
real 196.03
user 186.10
sys 4.85

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/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits scfile=/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits outfile=/scratch/kocevski/848432/cmap_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.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.87
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits scfile=/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits outfile=/scratch/kocevski/848432/cmap_HighResolution_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.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.73
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/848432/ft2_4FGL_J0137.6-2430_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848432/Model_4FGL_J0137.6-2430_daily_bin1697.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/848432/ft1_filtered_4FGL_J0137.6-2430_daily_bin1697.fits.....................!
real 57.81
user 46.03
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7464       1.0000         .10000E-03   10000.    
     2 'norm      '    4.1687       1.0000         .10000E-03   10000.    
     3 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .18349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.131       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9705       1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.993       1.0000         .10000E-03   10000.    
    14 'norm      '    .89395       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.394       1.0000         .10000E-03   10000.    
    16 'norm      '    5.1083       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15591E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3499       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3583       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .82346       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97634       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=   5661.430     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2194 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7749        184.90        .11043E-05    .72172E-05
   2  norm          4.1677        9.4994        .37360E-06   -.11405E-04
   3  norm          .10000E-03    1.4277        .13262E-07** at limit **
   4  Prefactor     .10000E-03    2.0279        .34501E-07** at limit **
   5  Prefactor     .10000E-03    6.2210        .57167E-08** at limit **
   6  Prefactor     .10000E-03    4.6811        .65797E-07** at limit **
   7  norm          .10000E-03    .80519        .37723E-07** at limit **
   8  norm          .18376        1.8128        .17543E-05   -.14628E-03
   9  Prefactor     10.134        9.0651       -.35195E-06   -.67770E-04
  10  Prefactor     .10000E-03    .96363        .16510E-07** at limit **
  11  norm          1.9703        .94664        .59884E-08   -.12263E-04
  12  norm          .10000E-03    .44250       -.28012E-07** at limit **
  13  Prefactor     31.993        8.4917        .14090E-07   -.30573E-04
  14  norm          .89299        1.8010        .23827E-06    .19772E-03
  15  Prefactor     18.403        20.511       -.29179E-06   -.14772E-03
  16  norm          5.1078        2.3615        .46956E-07    .39592E-05
  17  Prefactor     .10399E-03    5.4006       -.56863E-06** at limit **
  18  Prefactor     3.3600        5.1303        .50338E-06    .52348E-04
  19  Prefactor     3.3550        5.3710        .30381E-06   -.19084E-04
  20  Normalizat    .82360        .15890       -.57208E-07   -.46288E-04
  21  Prefactor     .97642        .18493       -.45628E-06   -.17334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.77491
  norm       = 4.16775
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.183761
  Prefactor  = 10.1339
  Prefactor  = 0.0001
  norm       = 1.97034
  norm       = 0.0001
  Prefactor  = 31.9927
  norm       = 0.892989
  Prefactor  = 18.4029
  norm       = 5.10781
  Prefactor  = 0.000103992
  Prefactor  = 3.36002
  Prefactor  = 3.35504
  Normalizat = 0.823603
  Prefactor  = 0.976423
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.430     FROM HESSE     STATUS=OK           331 CALLS     2525 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7749        184.10        .20860E-03   -1.5319    
   2  norm          4.1677        9.4841        .19740E-03   -1.5300    
   3  norm          .10000E-03    1.4352        .87796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.0368        .10462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.7274        .15893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .82769        .13178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .18376        1.7892        .19179E-03   -1.5622    
   9  Prefactor     10.134        9.0769        .12589E-03   -1.5071    
  10  Prefactor     .10000E-03    .96838        .72111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9703        .94893        .49128E-04   -1.5427    
  12  norm          .10000E-03    .44637        .48850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.993        8.4999        .70841E-04   -1.4576    
  14  norm          .89299        1.5563        .13779E-02   -1.5519    
  15  Prefactor     18.403        20.445        .93388E-04   -1.4850    
  16  norm          5.1078        2.3629        .74556E-04   -1.5256    
  17  Prefactor     .10399E-03    9.6120        .56443E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3600        5.1229        .19475E-03   -1.5341    
  19  Prefactor     3.3550        5.3523        .20902E-03   -1.5342    
  20  Normalizat    .82360        .18999        .22189E-03   -.99199    
  21  Prefactor     .97642        .22189        .24653E-03   -.93520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24024e-10
Minuit parameter uncertainties:
  1  52.8965
  2  9.48754
  3  3.46668e-07
  4  3.69211e-07
  5  6.18143e-06
  6  7.70945e-07
  7  2.114e-07
  8  1.14654
  9  9.07816
  10  6.20274e-09
  11  0.948941
  12  4.80493e-08
  13  8.50022
  14  1.55635
  15  20.4527
  16  2.3629
  17  0.0123916
  18  5.12358
  19  5.35304
  20  0.190143
  21  0.2221
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  4.805e-08  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:  9.764e-01  2.221e-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.236e-01  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/848432/likelihoodResults_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.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) = 5661.42988251
delta logL = -0.000275209646134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5661.42960747
delta logL = -1.66993231687e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4087       1.0000          .0000       5.0000    
     3 'Normalizat'    .82361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97647       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5661.430     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      232 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .48152        .48854E-03** at limit **
   2  alpha         2.4812        3.1164        .16475       -.12835E-07
   3  Normalizat    .82360        .18229        .22189E-03   -.14618E-03
   4  Prefactor     .97642        .22000        .24653E-03   -.13747E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.48122
  Normalizat = 0.823603
  Prefactor  = 0.976423
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.430     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .44723        .97707E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4812        3.1890        .65898E-02   -.75126E-02
   3  Normalizat    .82360        .18251        .88755E-05   -.99199    
   4  Prefactor     .97642        .22028        .98612E-05   -.93520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20368e-11
Minuit parameter uncertainties:
  1  4.13103e-07
  2  116.306
  3  0.182651
  4  0.220479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848432': 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) = 5661.42960709
delta logL = 2.11466613109e-07

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  4.131e-07  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.481e+00  1.163e+02  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:  9.764e-01  2.205e-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.236e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/848432/cmap_HighResolution_679190401_679449601_4FGL_J0137.6-2430_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-05', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2022-07-14 00:16:30.228059', job_id='848432', GAL2='0.98', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1657782990.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1697' AND source_name='4FGL J0137.6-2430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:16:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 848433: <4FGL_J0137.6-2430_daily_bin1697> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1697> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Jul 14 00:05:34 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:05:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:05:34 2022
Terminated at Thu Jul 14 00:16:12 2022
Results reported at Thu Jul 14 00:16:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1697 24.4069 -24.5163 679190401 679449601 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 :                                   554.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             315.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            638 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 848432: <4FGL_J0137.6-2430_daily_bin1697> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:05:34 2022
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:05:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:05:34 2022
Terminated at Thu Jul 14 00:16:31 2022
Results reported at Thu Jul 14 00:16:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1697 24.4069 -24.5163 679190401 679449601 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 :                                   560.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            657 sec.

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

