/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 21 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 = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0137.6-2430_daily_bin1360
RA = 24.4069, Dec = -24.5163
tmin = 591840001, tmax = 592099201
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='698683', job_status='RUN', time_executed='2021-08-14 07:58:21.938816', time_epoch_executed='1628953101.94' WHERE source_name='4FGL J0137.6-2430' and cadence='daily' and bin_id='1360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698683

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698683/ft1_4FGL_J0137.6-2430_daily_bin1360.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698683/ft1_4FGL_J0137.6-2430_daily_bin1360.fits outfile=/scratch/kocevski/698683/ft1_filteredMKT_4FGL_J0137.6-2430_daily_bin1360.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=591840001.0 tmax=592099201.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 5.82
user 5.04
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698683/ft1_filtered_4FGL_J0137.6-2430_daily_bin1360.fits" evtable="EVENTS" scfile=/scratch/kocevski/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits sctable="SC_DATA" outfile=/scratch/kocevski/698683/ltcube_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.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/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits
.....................!
real 13.65
user 12.00
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698683/ft1_filtered_4FGL_J0137.6-2430_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits sctable="SC_DATA" expcube=/scratch/kocevski/698683/ltcube_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.fits outfile=/scratch/kocevski/698683/expmap_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.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/698683/ltcube_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.fits
.....................!
real 191.86
user 185.33
sys 4.52

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/698683/ft1_filtered_4FGL_J0137.6-2430_daily_bin1360.fits scfile=/scratch/kocevski/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits outfile=/scratch/kocevski/698683/cmap_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.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.89
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698683/ft1_filtered_4FGL_J0137.6-2430_daily_bin1360.fits scfile=/scratch/kocevski/698683/ft2_4FGL_J0137.6-2430_daily_bin1360.fits outfile=/scratch/kocevski/698683/cmap_HighResolution_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.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.93
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    165.51       1.0000         .10000E-03   10000.    
     2 'norm      '    .10474E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9118       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8940       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.009       1.0000         .10000E-03   10000.    
     7 'norm      '    .10442E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8094       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.970       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6142       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0643       1.0000         .10000E-03   10000.    
    12 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.7728       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .63297E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2537       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4749       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .61268       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=   3959.273     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2220 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     165.41        198.50       -.28753E-05   -.86326E-04
   2  norm          .10000E-03    9.9604       -.43741E-06** at limit **
   3  norm          2.9126        4.7207        .27360E-06   -.10732E-04
   4  Prefactor     3.8955        11.355        .10547E-04   -.18856E-03
   5  Prefactor     .10000E-03    25.999       -.16486E-05** at limit **
   6  Prefactor     29.010        19.969       -.78118E-06   -.44497E-04
   7  norm          .10000E-03    3.9078        .30468E-07** at limit **
   8  norm          2.8097        2.4549       -.97216E-07   -.36682E-04
   9  Prefactor     13.971        16.577       -.24347E-06   -.20674E-05
  10  Prefactor     3.6151        8.6613        .46872E-06   -.53658E-04
  11  norm          1.0645        1.0996        .65159E-07    .37437E-04
  12  norm          .10000E-03    1.6461        .74503E-07** at limit **
  13  Prefactor     .10000E-03    4.1284        .17209E-06** at limit **
  14  norm          4.7716        4.6247        .13189E-06    .18076E-04
  15  Prefactor     .10013E-03    228.90       -.12474E-04** at limit **
  16  norm          .10000E-03    1.5052        .19405E-06** at limit **
  17  Prefactor     .10000E-03    20.849        .10383E-05** at limit **
  18  Prefactor     6.2525        7.4604        .38692E-06   -.96421E-05
  19  Prefactor     .10000E-03    13.089       -.30162E-06** at limit **
  20  Normalizat    1.4748        .23099       -.15878E-05    .60343E-06
  21  Prefactor     .61255        .23937       -.18827E-05   -.41468E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 165.408
  norm       = 0.0001
  norm       = 2.91258
  Prefactor  = 3.8955
  Prefactor  = 0.000100003
  Prefactor  = 29.0096
  norm       = 0.0001
  norm       = 2.80972
  Prefactor  = 13.9713
  Prefactor  = 3.61512
  norm       = 1.06449
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.77158
  Prefactor  = 0.000100129
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.25248
  Prefactor  = 0.0001
  Normalizat = 1.47482
  Prefactor  = 0.612553
 **********
 **   18 **HESSE 
 **********

 FCN=   3959.273     FROM HESSE     STATUS=OK           317 CALLS     2537 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     165.41        199.33        .15676E-03   -1.3129    
   2  norm          .10000E-03    9.9824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9126        4.7089        .16848E-03   -1.5367    
   4  Prefactor     3.8955        11.411        .10223E-02   -1.5313    
   5  Prefactor     .10000E-03    26.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.010        19.736        .74386E-04   -1.4630    
   7  norm          .10000E-03    3.9318        .24009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8097        2.4595        .89053E-04   -1.5373    
   9  Prefactor     13.971        16.571        .10716E-03   -1.4960    
  10  Prefactor     3.6151        8.5549        .21253E-03   -1.5328    
  11  norm          1.0645        1.1041        .65004E-04   -1.5502    
  12  norm          .10000E-03    1.6826        .15744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1844        .12486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7716        4.6537        .12488E-03   -1.5271    
  15  Prefactor     .10013E-03    237.89        .21035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.5655        .15074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.2525        7.4688        .16052E-03   -1.5208    
  19  Prefactor     .10000E-03    13.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4748        .27339        .21442E-03   -.78488    
  21  Prefactor     .61255        .27969        .34390E-03   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04675e-09
Minuit parameter uncertainties:
  1  200.146
  2  3.77076e-05
  3  4.70949
  4  11.4171
  5  0.000523354
  6  19.7403
  7  4.67767e-07
  8  2.45961
  9  16.5766
  10  8.55782
  11  1.10409
  12  4.50033e-06
  13  9.70217e-06
  14  4.65404
  15  0.011128
  16  7.39222e-06
  17  0.000388032
  18  7.46988
  19  5.15727e-05
  20  0.27366
  21  0.280327
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  4.500e-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.126e-01  2.803e-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.475e+00  2.737e-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: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698683/likelihoodResults_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.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) = 3959.27615213
delta logL = -0.00279399396823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3959.27335843
delta logL = -2.95803602057e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3989       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61273       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=   3959.273     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      249 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    327.46        .15777E-02** at limit **
   2  alpha         2.0300        3.5106        .50000       -.66916E-07
   3  Normalizat    1.4748        .10953        .21442E-03    .26130E-03
   4  Prefactor     .61255        .11898        .34390E-03    .18210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03
  Normalizat = 1.47482
  Prefactor  = 0.612555
 **********
 **   18 **HESSE 
 **********

 FCN=   3959.273     FROM HESSE     STATUS=OK            29 CALLS      278 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0335        .31554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0300        3.9839        .50000       -.18913    
   3  Normalizat    1.4748        .25451        .42885E-04   -.78488    
   4  Prefactor     .61255        .27599        .13756E-04   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17635e-10
Minuit parameter uncertainties:
  1  9.10181e-07
  2  134.425
  3  0.254735
  4  0.2766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698683': 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) = 3959.27335626
delta logL = 1.87096429727e-06

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  9.102e-07  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.030e+00  1.344e+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:  6.126e-01  2.766e-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.475e+00  2.547e-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/698683/cmap_HighResolution_591840001_592099201_4FGL_J0137.6-2430_daily_bin1360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2021-08-14 08:06:48.042884', job_id='698683', GAL2='0.61', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1628953608.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.87e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1360' AND source_name='4FGL J0137.6-2430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 08:06:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 698683: <4FGL_J0137.6-2430_daily_bin1360> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1360> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Aug 14 07:56:08 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 07:56:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 07:56:27 2021
Terminated at Sat Aug 14 08:06:49 2021
Results reported at Sat Aug 14 08:06:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1360 24.4069 -24.5163 591840001 592099201 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 :                                   493.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            641 sec.

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

