aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 105 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 = 17232
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0137.6-2430_weekly_bin104
RA = 24.4069, Dec = -24.5163
tmin = 301881601, tmax = 302486401
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='208029', job_status='RUN', time_executed='2021-07-03 23:37:50.094947', time_epoch_executed='1625380670.09' WHERE source_name='4FGL J0137.6-2430' and cadence='weekly' and bin_id='104'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208029

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208029/ft1_4FGL_J0137.6-2430_weekly_bin104.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208029/ft1_4FGL_J0137.6-2430_weekly_bin104.fits outfile=/scratch/kocevski/208029/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin104.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=301881601.0 tmax=302486401.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.77
user 7.76
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.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/208029/ft1_filteredMKT_4FGL_J0137.6-2430_weekly_bin104.fits evtable="EVENTS" outfile="/scratch/kocevski/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.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 1.30
user 0.36
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits" evtable="EVENTS" scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits sctable="SC_DATA" outfile=/scratch/kocevski/208029/ltcube_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.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/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits
.....................!
real 26.95
user 26.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits evtable="EVENTS" scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits sctable="SC_DATA" expcube=/scratch/kocevski/208029/ltcube_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.fits outfile=/scratch/kocevski/208029/expmap_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.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/208029/ltcube_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.fits
.....................!
real 193.96
user 185.55
sys 5.06

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/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits outfile=/scratch/kocevski/208029/cmap_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.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.68
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits outfile=/scratch/kocevski/208029/cmap_HighResolution_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.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.67
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits evtable="EVENTS" scfile=/scratch/kocevski/208029/ft2_4FGL_J0137.6-2430_weekly_bin104.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208029/Model_4FGL_J0137.6-2430_weekly_bin104.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/208029/ft1_filtered_4FGL_J0137.6-2430_weekly_bin104.fits.....................!
real 69.28
user 66.61
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    32.282       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8498       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8118       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.942       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2154       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6396       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13849E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8537       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.5165       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .42280E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4772       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.523       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0796       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69744       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=   8513.668     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     1898 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.373       -.62497E-05** at limit **
   2  norm          32.279        13.888        .13884E-06    .34133E-04
   3  norm          3.8497        3.2716        .13674E-06   -.31361E-03
   4  Prefactor     2.0705        3.1567       -.27845E-05   -.42911E-03
   5  Prefactor     5.8117        8.4739       -.19385E-06   -.78358E-04
   6  Prefactor     .10000E-03    6.6493        .10794E-05** at limit **
   7  norm          18.941        3.4170       -.52234E-06   -.10578E-03
   8  norm          .10000E-03    .60337       -.57067E-07** at limit **
   9  Prefactor     .10000E-03    6.6815       -.39571E-06** at limit **
  10  Prefactor     5.2155        3.6302        .22782E-06   -.16249E-03
  11  norm          2.6396        1.0670       -.24618E-07   -.15569E-03
  12  norm          .10000E-03    .47445        .11047E-06** at limit **
  13  Prefactor     .10000E-03    3.0245       -.57028E-06** at limit **
  14  norm          3.8538        2.8515       -.72970E-06   -.79428E-03
  15  Prefactor     .10000E-03    11.569        .12201E-05** at limit **
  16  norm          3.5164        1.9540       -.15201E-06   -.61019E-03
  17  Prefactor     .10147E-03    4.9148        .24332E-05** at limit **
  18  Prefactor     5.4764        5.3538        .35508E-06   -.82823E-03
  19  Prefactor     13.522        7.5338        .41659E-07   -.36894E-03
  20  Normalizat    1.0796        .14739        .42004E-06   -.31279E-03
  21  Prefactor     .69749        .15724        .42087E-06   -.20384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 32.2792
  norm       = 3.84968
  Prefactor  = 2.07049
  Prefactor  = 5.81174
  Prefactor  = 0.0001
  norm       = 18.9407
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.21554
  norm       = 2.63957
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.85379
  Prefactor  = 0.0001
  norm       = 3.51641
  Prefactor  = 0.000101469
  Prefactor  = 5.47637
  Prefactor  = 13.5221
  Normalizat = 1.07959
  Prefactor  = 0.697492
 **********
 **   18 **HESSE 
 **********

 FCN=   8513.668     FROM HESSE     STATUS=OK           319 CALLS     2217 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          32.279        13.888        .70524E-04   -1.4571    
   3  norm          3.8497        3.2637        .14882E-03   -1.5316    
   4  Prefactor     2.0705        3.2239        .20105E-03   -1.5420    
   5  Prefactor     5.8117        8.4579        .16659E-03   -1.5226    
   6  Prefactor     .10000E-03    6.7260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.941        3.3999        .66934E-04   -1.4837    
   8  norm          .10000E-03    .61020        .69939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.7018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2155        3.6233        .13687E-03   -1.5251    
  11  norm          2.6396        1.0663        .58202E-04   -1.5383    
  12  norm          .10000E-03    .47857        .62035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.6919        .30797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8538        2.8978        .12742E-03   -1.5315    
  15  Prefactor     .10000E-03    11.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5164        1.9586        .91549E-04   -1.5333    
  17  Prefactor     .10147E-03    41.355        .36685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4764        5.2746        .17169E-03   -1.5240    
  19  Prefactor     13.522        7.5275        .10892E-03   -1.4972    
  20  Normalizat    1.0796        .17278        .22545E-03   -.90410    
  21  Prefactor     .69749        .18370        .30430E-03   -1.0363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47313e-08
Minuit parameter uncertainties:
  1  8.82906e-06
  2  13.8891
  3  3.26382
  4  3.22417
  5  8.45963
  6  6.15783e-05
  7  3.39998
  8  1.25038e-06
  9  1.43817e-05
  10  3.62346
  11  1.06626
  12  1.56608e-06
  13  0.000245638
  14  2.89794
  15  7.68473e-06
  16  1.95867
  17  0.0156009
  18  5.27507
  19  7.52807
  20  0.172868
  21  0.183863
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  1.566e-06  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:  6.975e-01  1.839e-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.080e+00  1.729e-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.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/208029/likelihoodResults_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.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) = 8513.66827792
delta logL = -0.000209863332202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8513.66806653
delta logL = 1.52077518578e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5176       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69745       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=   8513.668     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      261 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .62207        .62652E-03** at limit **
   2  alpha         2.6280        3.6710        .16461       -.10829E-06
   3  Normalizat    1.0796        .16399        .22545E-03   -.67852E-03
   4  Prefactor     .69749        .18216        .30430E-03   -.47545E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.62799
  Normalizat = 1.07959
  Prefactor  = 0.697492
 **********
 **   18 **HESSE 
 **********

 FCN=   8513.668     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .49184        .12530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6280        2.9095        .65845E-02    .51219E-01
   3  Normalizat    1.0796        .16414        .45090E-04   -.90410    
   4  Prefactor     .69749        .18233        .12172E-04   -1.0363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12037e-10
Minuit parameter uncertainties:
  1  1.75333e-06
  2  94.9512
  3  0.164221
  4  0.182486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208029': 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) = 8513.66806524
delta logL = 2.81391112367e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  6.975e-01  1.825e-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.080e+00  1.642e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/208029/cmap_HighResolution_301881601_302486401_4FGL_J0137.6-2430_weekly_bin104.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-05', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2021-07-03 23:50:47.307759', job_id='208029', GAL2='0.70', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1625381447.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='104' AND source_name='4FGL J0137.6-2430' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 23:50:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 208029: <4FGL_J0137.6-2430_weekly_bin104> in cluster <slac> Done

Job <4FGL_J0137.6-2430_weekly_bin104> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 23:35:35 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 23:35:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 23:35:37 2021
Terminated at Sat Jul  3 23:50:48 2021
Results reported at Sat Jul  3 23:50:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_weekly_bin104 24.4069 -24.5163 301881601 302486401 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 :                                   696.00 sec.
    Max Memory :                                 1117 MB
    Average Memory :                             305.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

