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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1019
RA = 29.0777, Dec = -24.3345
tmin = 503452801, tmax = 503712001
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='915329', job_status='RUN', time_executed='2021-08-14 20:34:52.744038', time_epoch_executed='1628998492.74' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915329

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915329/ft1_4FGL_J0156.3-2420_daily_bin1019.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915329/ft1_4FGL_J0156.3-2420_daily_bin1019.fits outfile=/scratch/kocevski/915329/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1019.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=503452801.0 tmax=503712001.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 14.18
user 7.50
sys 6.60

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.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/915329/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1019.fits evtable="EVENTS" outfile="/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.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 6.92
user 0.34
sys 6.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/915329/ltcube_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.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/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits
.....................!
real 19.91
user 12.91
sys 6.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/915329/ltcube_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits outfile=/scratch/kocevski/915329/expmap_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.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/915329/ltcube_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits
.....................!
real 199.22
user 185.67
sys 12.97

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/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits outfile=/scratch/kocevski/915329/cmap_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.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.16
user 0.37
sys 6.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits outfile=/scratch/kocevski/915329/cmap_HighResolution_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.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 6.89
user 0.39
sys 6.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915329/Model_4FGL_J0156.3-2420_daily_bin1019.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/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits.....................!
real 46.23
user 36.55
sys 9.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits', '/scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits', expMap='/scratch/kocevski/915329/expmap_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits', expCube='/scratch/kocevski/915329/ltcube_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915329/Model_4FGL_J0156.3-2420_daily_bin1019.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/915329/ft1_filtered_4FGL_J0156.3-2420_daily_bin1019.fits
Spacecraft file(s): /scratch/kocevski/915329/ft2_4FGL_J0156.3-2420_daily_bin1019.fits
Exposure map: /scratch/kocevski/915329/expmap_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits
Exposure cube: /scratch/kocevski/915329/ltcube_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915329/Model_4FGL_J0156.3-2420_daily_bin1019.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) = 3606.29407528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.052       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.6714       1.0000         .10000E-03   10000.    
     5 'norm      '    2.3318       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.952       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18523       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3096       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.6095       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .25104E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    39.614       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0946       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    79.983       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2410       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73226       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=   3606.255     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2900 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1528        .35044E-07** at limit **
   2  Prefactor     17.052        15.315        .10538E-06    .52200E-04
   3  Prefactor     .10004E-03    12.697       -.17004E-07** at limit **
   4  norm          1.6696        3.2387        .32813E-06    .21386E-03
   5  norm          2.3323        2.0569        .60572E-07    .14907E-03
   6  Prefactor     17.943        18.483       -.26821E-06    .71906E-04
   7  Prefactor     .22430        4.0679       -.12172E-05    .74542E-03
   8  norm          2.3102        1.7527        .16515E-06    .53815E-04
   9  norm          .10000E-03    .97134        .93723E-07** at limit **
  10  norm          .10000E-03    2.5937       -.24598E-06** at limit **
  11  Prefactor     .10000E-03    68.236       -.65188E-05** at limit **
  12  norm          4.6099        3.6945       -.16355E-05   -.27824E-03
  13  Prefactor     .10000E-03    12.188       -.11150E-07** at limit **
  14  Prefactor     .10000E-03    2.6694        .31382E-06** at limit **
  15  Prefactor     .10009E-03    18.795        .44498E-06** at limit **
  16  norm          39.616        93.258        .26789E-05   -.32386E-04
  17  Prefactor     7.0979        13.015        .30318E-06   -.13956E-03
  18  Prefactor     .10000E-03    23.860       -.46888E-05** at limit **
  19  Prefactor     80.031        91.394        .49678E-04   -.92303E-05
  20  Prefactor     .10000E-03    52.668        .12234E-04** at limit **
  21  Prefactor     .10000E-03    3.3532       -.15914E-06** at limit **
  22  Normalizat    1.2407        .22620       -.10235E-05    .16245E-03
  23  Prefactor     .73239        .23449       -.12778E-05    .37883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.0518
  Prefactor  = 0.000100042
  norm       = 1.66956
  norm       = 2.33228
  Prefactor  = 17.9432
  Prefactor  = 0.2243
  norm       = 2.31021
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.60987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100089
  norm       = 39.6161
  Prefactor  = 7.09786
  Prefactor  = 0.0001
  Prefactor  = 80.0313
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24067
  Prefactor  = 0.732388
 **********
 **   18 **HESSE 
 **********

 FCN=   3606.255     FROM HESSE     STATUS=OK           372 CALLS     3272 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1565        .10411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.052        15.314        .96991E-04   -1.4882    
   3  Prefactor     .10004E-03    47.420        .32392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6696        2.7159        .10792E-03   -1.5450    
   5  norm          2.3323        2.0616        .77384E-04   -1.5403    
   6  Prefactor     17.943        18.429        .94528E-04   -1.4861    
   7  Prefactor     .22430        28.505        .20268E-02   -1.5613    
   8  norm          2.3102        1.7472        .64532E-04   -1.5404    
   9  norm          .10000E-03    .98303        .57759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6312        .94361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    68.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.6099        3.6934        .95174E-04   -1.5279    
  13  Prefactor     .10000E-03    12.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6723        .95811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10009E-03    106.62        .39028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          39.616        74.656        .63684E-04   -1.4448    
  17  Prefactor     7.0979        13.051        .15060E-03   -1.5175    
  18  Prefactor     .10000E-03    23.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     80.031        91.373        .22454E-03   -1.3916    
  20  Prefactor     .10000E-03    52.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3556        .10740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2407        .26505        .21963E-03   -.85355    
  23  Prefactor     .73239        .27376        .30389E-03   -1.0227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38578e-09
Minuit parameter uncertainties:
  1  3.88296e-06
  2  15.318
  3  0.00282792
  4  2.71608
  5  2.06164
  6  18.4349
  7  5.05848
  8  1.74726
  9  4.26001e-06
  10  8.75222e-06
  11  8.79865e-05
  12  3.69357
  13  1.17841e-05
  14  6.87757e-07
  15  0.00616224
  16  74.8327
  17  13.056
  18  1.03868e-05
  19  91.5335
  20  0.000293951
  21  3.727e-05
  22  0.265336
  23  0.274268
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  8.799e-05  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:  7.324e-01  2.743e-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.241e+00  2.653e-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: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915329/likelihoodResults_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.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) = 3606.2547089
delta logL = -6.95716748851e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3606.25463935
delta logL = -2.67687028099e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8918       1.0000          .0000       10.000    
     3 'Normalizat'    1.2407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73239       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=   3606.255     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7336.5        .90712E-02** at limit **
   2  Index         1.9061        7.8603        .50000       -.16900E-05
   3  Normalizat    1.2407        .57081E-01    .49681E-01    .74827E-05
   4  Prefactor     .73239        .62630E-01    .68677E-01    .15890E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9061
  Normalizat = 1.24067
  Prefactor  = 0.73239
 **********
 **   18 **HESSE 
 **********

 FCN=   3606.255     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8764.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9061        5.6623        .50000       -.66719    
   3  Normalizat    1.2407        .97338E-01    .21964E-03   -.85355    
   4  Prefactor     .73239        .10664        .30389E-03   -1.0227    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9622e-10
Minuit parameter uncertainties:
  1  0.00107026
  2  50.9944
  3  0.0973526
  4  0.106666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915329': 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) = 3606.25463934
delta logL = -1.38898030855e-08

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  1.070e-03  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.906e+00  5.099e+01  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:  7.324e-01  1.067e-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.241e+00  9.735e-02  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/915329/cmap_HighResolution_503452801_503712001_4FGL_J0156.3-2420_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2021-08-14 20:45:28.898386', job_id='915329', GAL2='0.73', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1628999128.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-1.39e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1019' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:45:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 915329: <4FGL_J0156.3-2420_daily_bin1019> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1019> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:30:45 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:31:38 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:31:38 2021
Terminated at Sat Aug 14 20:45:31 2021
Results reported at Sat Aug 14 20:45:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1019 29.0777 -24.3345 503452801 503712001 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 :                                   732.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            886 sec.

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

