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


Performing analysis on: 4FGL_J0137.6-2430_daily_bin1644
RA = 24.4069, Dec = -24.5163
tmin = 665452801, tmax = 665712001
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='560678', job_status='RUN', time_executed='2022-02-05 00:08:41.731978', time_epoch_executed='1644048521.73' WHERE source_name='4FGL J0137.6-2430' and cadence='daily' and bin_id='1644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/560678

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/560678/ft1_4FGL_J0137.6-2430_daily_bin1644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/560678/ft1_4FGL_J0137.6-2430_daily_bin1644.fits outfile=/scratch/kocevski/560678/ft1_filteredMKT_4FGL_J0137.6-2430_daily_bin1644.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=665452801.0 tmax=665712001.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 3.06
user 2.83
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits" evtable="EVENTS" scfile=/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits sctable="SC_DATA" outfile=/scratch/kocevski/560678/ltcube_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.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/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits
.....................!
real 13.36
user 12.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits evtable="EVENTS" scfile=/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits sctable="SC_DATA" expcube=/scratch/kocevski/560678/ltcube_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.fits outfile=/scratch/kocevski/560678/expmap_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.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/560678/ltcube_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.fits
.....................!
real 158.36
user 154.33
sys 3.73

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/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits scfile=/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits outfile=/scratch/kocevski/560678/cmap_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.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.50
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits scfile=/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits outfile=/scratch/kocevski/560678/cmap_HighResolution_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.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.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits evtable="EVENTS" scfile=/scratch/kocevski/560678/ft2_4FGL_J0137.6-2430_daily_bin1644.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/560678/Model_4FGL_J0137.6-2430_daily_bin1644.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/560678/ft1_filtered_4FGL_J0137.6-2430_daily_bin1644.fits.....................!
real 37.62
user 36.45
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.258       1.0000         .10000E-03   10000.    
     2 'norm      '    .10371E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .32379E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.1768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15787       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11355E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9007       1.0000         .10000E-03   10000.    
    12 'norm      '    2.3166       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12440E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8303       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.9485       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85114       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91750       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=   5242.899     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2290 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.228        95.418       -.48753E-04   -.73312E-05
   2  norm          .10000E-03    15.713        .19418E-05** at limit **
   3  norm          .10000E-03    1.4257       -.15092E-07** at limit **
   4  Prefactor     .10000E-03    7.3527        .31153E-06** at limit **
   5  Prefactor     13.283        11.348        .29058E-05    .73870E-04
   6  Prefactor     .10000E-03    7.3380       -.60396E-06** at limit **
   7  norm          .47337E-03    .98815        .15389E-06** at limit **
   8  norm          5.1807        2.6827       -.85173E-07    .46701E-03
   9  Prefactor     .11888        14.519       -.12223E-05   -.47202E-04
  10  Prefactor     .10000E-03    2.4492       -.90912E-07** at limit **
  11  norm          1.9007        1.0431       -.20416E-07    .42389E-05
  12  norm          2.3173        2.0057       -.11331E-06   -.13312E-03
  13  Prefactor     .10000E-03    4.2520       -.26783E-06** at limit **
  14  norm          .10000E-03    1.5781       -.25446E-07** at limit **
  15  Prefactor     .10000E-03    18.512       -.10832E-05** at limit **
  16  norm          3.8304        2.1943       -.90183E-07   -.23649E-03
  17  Prefactor     9.9497        8.9724       -.16738E-07   -.39600E-04
  18  Prefactor     .10000E-03    2.7414       -.25374E-07** at limit **
  19  Prefactor     .10000E-03    1.0290       -.46830E-08** at limit **
  20  Normalizat    .85108        .15338        .33164E-06    .13017E-03
  21  Prefactor     .91755        .17841        .73003E-06    .65991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2283
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2827
  Prefactor  = 0.0001
  norm       = 0.000473373
  norm       = 5.18066
  Prefactor  = 0.118875
  Prefactor  = 0.0001
  norm       = 1.90068
  norm       = 2.31732
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.83038
  Prefactor  = 9.94968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.851077
  Prefactor  = 0.917555
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.899     FROM HESSE     STATUS=OK           337 CALLS     2627 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.228        95.576        .96410E-04   -1.4878    
   2  norm          .10000E-03    16.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4293        .84429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.5874        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.283        11.355        .10988E-03   -1.4979    
   6  Prefactor     .10000E-03    7.4030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .47337E-03    3.4870        .23552E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.1807        2.7427        .77682E-04   -1.5253    
   9  Prefactor     .11888        25.396        .70694E-01   -1.5639    
  10  Prefactor     .10000E-03    7.0497        .20484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9007        1.0430        .30167E-04   -1.5432    
  12  norm          2.3173        1.9896        .89224E-04   -1.5404    
  13  Prefactor     .10000E-03    12.344        .28700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6274        .17734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.8304        2.1939        .77303E-04   -1.5317    
  17  Prefactor     9.9497        8.9695        .12704E-03   -1.5077    
  18  Prefactor     .10000E-03    2.8078        .23398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.0299        .71730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85108        .18035        .21029E-03   -.98201    
  21  Prefactor     .91755        .21115        .24342E-03   -.95530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5971e-10
Minuit parameter uncertainties:
  1  81.3574
  2  0.000435383
  3  1.32227e-06
  4  4.61596e-05
  5  11.357
  6  7.18485e-07
  7  0.072169
  8  2.74279
  9  3.47507
  10  6.91015e-05
  11  1.043
  12  1.98963
  13  1.89514e-05
  14  3.29573e-06
  15  5.74568e-06
  16  2.19398
  17  8.97067
  18  4.57e-06
  19  3.54299e-07
  20  0.18048
  21  0.21133DoDone.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  2.317e+00  1.990e+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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  9.176e-01  2.113e-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.511e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.12
Ra Dec: 24.407 -24.516
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.68e-08 +/- 3.16e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 8.90e-06

TS (Fixed Index): 2.12
Ra Dec: 24.407 -24.516
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/560678/likelihoodResults_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.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) = 5242.86634076
delta logL = 0.0329080035262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5242.86530179
delta logL = 0.0339469645087

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3678       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2107       1.0000          .0000       5.0000    
     3 'Normalizat'    .85644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91249       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5242.865     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      190 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3694        3.2987        .66572E-02    .33956E-03
   2  alpha         2.2088        1.0122        .41505       -.12028E-04
   3  Normalizat    .85684        .14858        .44342E-01    .17276E-04
   4  Prefactor     .91198        .17941        .45164E-01    .14684E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3694
  alpha      = 2.20883
  Normalizat = 0.856841
  Prefactor  = 0.911984
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.865     FROM HESSE     STATUS=OK            33 CALLS      223 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3694        1.9982        .90153E-04   -1.5400    
   2  alpha         2.2088        .72488        .17879E-01   -.11673    
   3  Normalizat    .85684        .17686        .20964E-03   -.97994    
   4  Prefactor     .91198        .21126        .24406E-03   -.95724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22918e-13
Minuit parameter uncertainties:
  1  1.99825
  2  0.735597
  3  0.17698
  4  0.211455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/560678': 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) = 5242.86529576
delta logL = 0.0339530025822

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  2.369e+00  1.998e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.209e+00  7.356e-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:  9.120e-01  2.115e-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.568e-01  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.17
Ra Dec: 24.407 -24.516
Photon Index (Free Index): 2.21 +/- 0.74
Photon Flux (Free Index): 3.36e-08 +/- 3.12e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.03e-05

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/560678/cmap_HighResolution_665452801_665712001_4FGL_J0137.6-2430_daily_bin1644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', comment='SUCCESS', photon_flux='3.68e-08', energy_flux2='1.13e-05', photon_flux_error='3.16e-08', dlogl='3.40e-02', energy_flux='1.04e-05', photon_flux2='3.36e-08', job_status='DONE', time_completed='2022-02-05 00:16:22.412540', photon_index_error2='0.74', photon_index2='2.21', ts='2.12', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.03e-05', EG='0.85', time_epoch_completed='1644048982.41', return_code='0', job_id='560678', GAL2='0.91', EG2='0.86', return_code2='0', energy_flux_error='8.90e-06', photon_flux_error2='3.12e-08', ts2='2.17', photon_index='2.41' WHERE bin_id='1644' AND source_name='4FGL J0137.6-2430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb  5 00:16:22 PST 2022

-----------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 560679: <4FGL_J0137.6-2430_daily_bin1644> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1644> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb  5 00:06:32 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb  5 00:07:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb  5 00:07:36 2022
Terminated at Sat Feb  5 00:16:08 2022
Results reported at Sat Feb  5 00:16:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1644 24.4069 -24.5163 665452801 665712001 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 :                                   451.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             279.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            576 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 560678: <4FGL_J0137.6-2430_daily_bin1644> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1644> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Feb  5 00:06:32 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb  5 00:07:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb  5 00:07:36 2022
Terminated at Sat Feb  5 00:16:22 2022
Results reported at Sat Feb  5 00:16:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1644 24.4069 -24.5163 665452801 665712001 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 :                                   462.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   526 sec.
    Turnaround time :                            590 sec.

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

