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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1230
RA = 29.0777, Dec = -24.3345
tmin = 558144001, tmax = 558403201
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='916774', job_status='RUN', time_executed='2021-08-14 20:39:40.469518', time_epoch_executed='1628998780.47' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916774

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916774/ft1_4FGL_J0156.3-2420_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916774/ft1_4FGL_J0156.3-2420_daily_bin1230.fits outfile=/scratch/kocevski/916774/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1230.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=558144001.0 tmax=558403201.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 12.32
user 4.06
sys 8.13

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.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/916774/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1230.fits evtable="EVENTS" outfile="/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.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 8.64
user 0.35
sys 8.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/916774/ltcube_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.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/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits
.....................!
real 21.58
user 12.26
sys 9.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/916774/ltcube_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits outfile=/scratch/kocevski/916774/expmap_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.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/916774/ltcube_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits
.....................!
real 203.25
user 186.80
sys 15.33

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 172 point sources and 0 extended sources

Setting source of interest to:
4FGL J0156.3-2420 @ 29.0777 -24.3345

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits outfile=/scratch/kocevski/916774/cmap_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.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=29.0777 yref=-24.3345 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 7.60
user 0.38
sys 7.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits outfile=/scratch/kocevski/916774/cmap_HighResolution_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.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=29.0777 yref=-24.3345 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 9.16
user 0.38
sys 8.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916774/Model_4FGL_J0156.3-2420_daily_bin1230.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/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits.....................!
real 55.77
user 44.57
sys 10.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits', '/scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits', expMap='/scratch/kocevski/916774/expmap_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits', expCube='/scratch/kocevski/916774/ltcube_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/916774/Model_4FGL_J0156.3-2420_daily_bin1230.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.3-2420'

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  4.171e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  2.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/916774/ft1_filtered_4FGL_J0156.3-2420_daily_bin1230.fits
Spacecraft file(s): /scratch/kocevski/916774/ft2_4FGL_J0156.3-2420_daily_bin1230.fits
Exposure map: /scratch/kocevski/916774/expmap_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits
Exposure cube: /scratch/kocevski/916774/ltcube_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/916774/Model_4FGL_J0156.3-2420_daily_bin1230.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) = 5256.39302026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3477       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.975       1.0000         .10000E-03   10000.    
     4 'norm      '    .45900E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .85612       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7165       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0231       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5841       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.387       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15493E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10439E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9068       1.0000         .10000E-03   10000.    
    18 'Prefactor '    98.319       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.7762       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0357       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5256.368     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2595 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5520       -.41893E-07** at limit **
   2  Prefactor     7.3470        10.979        .45285E-06    .22707E-03
   3  Prefactor     12.965        10.193        .10638E-05    .18589E-02
   4  norm          .10043E-03    2.2006       -.28543E-05** at limit **
   5  norm          .85545        1.5255       -.36021E-07   -.22911E-03
   6  Prefactor     .10000E-03    10.440       -.20901E-07** at limit **
   7  Prefactor     3.7146        4.4070        .47477E-06    .12642E-02
   8  norm          4.0229        1.6770        .48869E-07    .40293E-03
   9  norm          .10000E-03    .70965       -.64371E-08** at limit **
  10  norm          1.6746        2.1440        .16669E-06    .10944E-03
  11  Prefactor     .10000E-03    26.240       -.69558E-06** at limit **
  12  norm          1.5835        2.4935        .36516E-06    .72461E-04
  13  Prefactor     14.394        14.035       -.50431E-06   -.43906E-03
  14  Prefactor     .10003E-03    11.371        .68971E-05** at limit **
  15  Prefactor     .10000E-03    4.1076        .35748E-06** at limit **
  16  norm          .10000E-03    35.247        .23292E-05** at limit **
  17  Prefactor     3.9094        5.7728        .37716E-05    .70721E-03
  18  Prefactor     98.332        60.665       -.18096E-05   -.22421E-04
  19  Prefactor     8.7723        38.638        .56036E-06   -.54190E-04
  20  Prefactor     .10000E-03    24.088        .64176E-06** at limit **
  21  Prefactor     .10000E-03    1.4825       -.96812E-07** at limit **
  22  Normalizat    1.0358        .16960       -.16481E-05   -.68019E-04
  23  Prefactor     .67854        .18098        .74506E-06   -.73564E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.34704
  Prefactor  = 12.9651
  norm       = 0.000100429
  norm       = 0.855452
  Prefactor  = 0.0001
  Prefactor  = 3.71456
  norm       = 4.02291
  norm       = 0.0001
  norm       = 1.67458
  Prefactor  = 0.000100001
  norm       = 1.58354
  Prefactor  = 14.3939
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.90941
  Prefactor  = 98.3317
  Prefactor  = 8.77229
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.0358
  Prefactor  = 0.678539
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.368     FROM HESSE     STATUS=OK           376 CALLS     2971 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5814        .15089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.3470        10.896        .14797E-03   -1.5166    
   3  Prefactor     12.965        9.3235        .11120E-03   -1.4988    
   4  norm          .10043E-03    24.625        .13938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .85545        1.2931        .11402E-02   -1.5523    
   6  Prefactor     .10000E-03    10.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7146        4.3453        .15120E-03   -1.5322    
   8  norm          4.0229        1.6779        .58059E-04   -1.5307    
   9  norm          .10000E-03    .72563        .11910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6746        2.1259        .11405E-03   -1.5449    
  11  Prefactor     .10000E-03    26.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5835        2.4776        .13579E-03   -1.5456    
  13  Prefactor     14.394        13.830        .10560E-03   -1.4949    
  14  Prefactor     .10003E-03    27.833        .32596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.1214        .14362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    35.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9094        6.2050        .10206E-02   -1.5312    
  18  Prefactor     98.332        60.649        .40541E-04   -1.3721    
  19  Prefactor     8.7723        38.579        .13530E-03   -1.5116    
  20  Prefactor     .10000E-03    24.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.4898        .86206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0358        .20067        .20504E-03   -.91841    
  23  Prefactor     .67854        .21375        .27998E-03   -1.0437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97086e-08
Minuit parameter uncertainties:
  1  5.91617e-06
  2  10.899
  3  9.32455
  4  0.0065064
  5  1.29318
  6  1.87298e-05
  7  4.34568
  8  1.67789
  9  1.51979e-08
  10  2.12596
  11  0.000252409
  12  2.47778
  13  13.8327
  14  0.00168648
  15  5.29618e-05
  16  2.2682e-05
  17  6.20606
  18  60.6872
  19  36.8323
  20  0.000246464
  21  7.98671e-06
  22  0.200815
  23  0.214012
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.524e-04  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  2.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  6.785e-01  2.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.036e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.078 -24.334
Photon Flux Upper Limit: 4.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916774/likelihoodResults_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.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): 102
logL (Free Index) = 5256.36782426
delta logL = -0.000181635437002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5256.36764303
delta logL = -4.09328094975e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10529E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1490       1.0000          .0000       10.000    
     3 'Normalizat'    1.0358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5256.368     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    13.560        .90712E-02** at limit **
   2  Index         2.1255        5.3677        .50000        .79404E-05
   3  Normalizat    1.0358        .30038E-02    .41628E-01   -.35506E-03
   4  Prefactor     .67854        .34018E-02    .63286E-01   -.41548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.12548
  Normalizat = 1.0358
  Prefactor  = 0.678536
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.368     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    99.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1255        5.1452        .50000       -.61249    
   3  Normalizat    1.0358        .81611E-02    .20504E-03   -.91840    
   4  Prefactor     .67854        .92302E-02    .27998E-03   -1.0437    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30944e-07
Minuit parameter uncertainties:
  1  0.00217526
  2  162.356
  3  0.0081611
  4  0.00923025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916774': 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): 102
logL (Free Index) = 5256.36764287
delta logL = -2.46171111939e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.175e-03  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  2.125e+00  1.624e+02  0.000e+00  1.000e+01 (-1.000e+00)
268        Scale:  2.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  6.785e-01  9.230e-03  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.036e+00  8.161e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.078 -24.334

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/916774/cmap_HighResolution_558144001_558403201_4FGL_J0156.3-2420_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-03', job_status='DONE', photon_flux_upper_limit='4.61e-08', time_completed='2021-08-14 20:51:40.018931', job_id='916774', GAL2='0.68', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1628999500.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='-2.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1230' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:51:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 916774: <4FGL_J0156.3-2420_daily_bin1230> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1230> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Aug 14 20:35:48 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:35:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:35:58 2021
Terminated at Sat Aug 14 20:51:41 2021
Results reported at Sat Aug 14 20:51:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1230 29.0777 -24.3345 558144001 558403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0156.3-2420 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   826.34 sec.
    Max Memory :                                 1064 MB
    Average Memory :                             262.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            953 sec.

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

