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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1284
RA = 29.0777, Dec = -24.3345
tmin = 572140801, tmax = 572400001
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='916855', job_status='RUN', time_executed='2021-08-14 20:38:17.600222', time_epoch_executed='1628998697.6' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916855

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916855/ft1_4FGL_J0156.3-2420_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916855/ft1_4FGL_J0156.3-2420_daily_bin1284.fits outfile=/scratch/kocevski/916855/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1284.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=572140801.0 tmax=572400001.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 4.64
user 3.01
sys 1.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/916855/ltcube_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.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/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits
.....................!
real 17.34
user 14.19
sys 1.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/916855/ltcube_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.fits outfile=/scratch/kocevski/916855/expmap_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.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/916855/ltcube_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.fits
.....................!
real 200.04
user 187.45
sys 7.11

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/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits scfile=/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits outfile=/scratch/kocevski/916855/cmap_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.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 1.86
user 0.37
sys 1.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits scfile=/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits outfile=/scratch/kocevski/916855/cmap_HighResolution_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.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 1.88
user 0.39
sys 1.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/916855/ft2_4FGL_J0156.3-2420_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916855/Model_4FGL_J0156.3-2420_daily_bin1284.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/916855/ft1_filtered_4FGL_J0156.3-2420_daily_bin1284.fits......................!
real 38.26
user 35.00
sys 3.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0024       1.0000         .10000E-03   10000.    
     5 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    59.160       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11077E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3372       1.0000         .10000E-03   10000.    
    10 'norm      '    .31926       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5909       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.841       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1328       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4098       1.0000         .10000E-03   10000.    
    19 'Prefactor '    41.218       1.0000         .10000E-03   10000.    
    20 'Prefactor '    71.481       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10914E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0406       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .59143       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=   3642.887     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2606 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.474       -.26074E-05** at limit **
   2  Prefactor     .10000E-03    19.614       -.11809E-06** at limit **
   3  Prefactor     .10000E-03    6.9778        .51860E-06** at limit **
   4  norm          2.0030        1.8028        .16637E-06   -.17132E-03
   5  norm          .10000E-03    1.0417        .99139E-07** at limit **
   6  Prefactor     59.151        27.195       -.13928E-05   -.30567E-04
   7  Prefactor     .10000E-03    3.0169        .22808E-06** at limit **
   8  norm          .10000E-03    .86569        .68624E-06** at limit **
   9  norm          2.3364        3.0079        .61742E-06   -.32507E-03
  10  norm          .31684        2.9673       -.10607E-06   -.40204E-03
  11  Prefactor     .10000E-03    98.010        .24794E-05** at limit **
  12  norm          1.5911        1.8741        .24957E-06   -.41855E-03
  13  Prefactor     38.821        21.238        .14223E-05    .60134E-04
  14  Prefactor     4.1361        7.3015       -.35383E-06   -.17162E-03
  15  Prefactor     .10000E-03    9.4726        .25453E-05** at limit **
  16  norm          .10000E-03    30.796       -.10147E-06** at limit **
  17  Prefactor     .10001E-03    5.7919       -.19263E-05** at limit **
  18  Prefactor     9.4105        32.304        .10560E-05   -.20711E-04
  19  Prefactor     41.256        80.667        .49353E-04    .64165E-04
  20  Prefactor     71.495        45.597        .88029E-05    .99579E-04
  21  Prefactor     .10001E-03    8.3595       -.31698E-05** at limit **
  22  Normalizat    1.0406        .20236       -.30697E-05   -.16697E-04
  23  Prefactor     .59135        .21117       -.36188E-05   -.14321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.00302
  norm       = 0.0001
  Prefactor  = 59.1508
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 2.33638
  norm       = 0.316844
  Prefactor  = 0.0001
  norm       = 1.59113
  Prefactor  = 38.821
  Prefactor  = 4.13608
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 9.4105
  Prefactor  = 41.2558
  Prefactor  = 71.4951
  Prefactor  = 0.000100012
  Normalizat = 1.04057
  Prefactor  = 0.591353
 **********
 **   18 **HESSE 
 **********

 FCN=   3642.887     FROM HESSE     STATUS=OK           372 CALLS     2978 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.0349        .15534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0030        1.7910        .74393E-04   -1.5425    
   5  norm          .10000E-03    1.0446        .60122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     59.151        27.102        .52162E-04   -1.4168    
   7  Prefactor     .10000E-03    3.0549        .10227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.400        .10604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3364        2.9672        .10764E-03   -1.5402    
  10  norm          .31684        5.2504        .19225E-02   -1.5595    
  11  Prefactor     .10000E-03    98.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5911        1.8516        .85568E-04   -1.5456    
  13  Prefactor     38.821        21.217        .64312E-04   -1.4461    
  14  Prefactor     4.1361        7.2302        .19590E-03   -1.5301    
  15  Prefactor     .10000E-03    9.6928        .18138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    30.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    12.085        .27818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.4105        32.266        .13065E-03   -1.5094    
  19  Prefactor     41.256        80.499        .62437E-04   -1.4422    
  20  Prefactor     71.495        45.423        .47482E-04   -1.4015    
  21  Prefactor     .10001E-03    8.7386        .34355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0406        .23466        .20392E-03   -.91684    
  23  Prefactor     .59135        .24616        .29140E-03   -1.0795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92961e-09
Minuit parameter uncertainties:
  1  9.07707e-05
  2  0.000181858
  3  1.58899e-05
  4  1.79106
  5  7.51934e-06
  6  27.1077
  7  2.12337e-05
  8  0.000357479
  9  2.96742
  10  2.57944
  11  0.000167271
  12  1.85168
  13  21.221
  14  7.23175
  15  5.78368e-05
  16  5.68535e-05
  17  0.000650287
  18  32.3262
  19  80.7123
  20  45.4446
  21  0.00064364
  22  0.234896
  23  0.246606
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  1.673e-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:  5.914e-01  2.466e-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.041e+00  2.349e-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.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916855/likelihoodResults_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.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) = 3642.88690568
delta logL = -4.83493959109e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3642.88685741
delta logL = -7.9524852481e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8995       1.0000          .0000       10.000    
     3 'Normalizat'    1.0406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59136       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3642.887     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      280 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    7757.4        .18142E-02** at limit **
   2  Index         1.9827        5.5560        .50000       -.88316E-05
   3  Normalizat    1.0406        .39370E-01    .20392E-03    .94218E-05
   4  Prefactor     .59136        .43572E-01    .29140E-03    .38429E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010003
  Index      = 1.98273
  Normalizat = 1.04056
  Prefactor  = 0.591357
 **********
 **   18 **HESSE 
 **********

 FCN=   3642.887     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    9985.8        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9827        5.4665        .50000       -.64783    
   3  Normalizat    1.0406        .10557        .81569E-05   -.91684    
   4  Prefactor     .59136        .11682        .11656E-04   -1.0795    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.57219e-09
Minuit parameter uncertainties:
  1  0.0523377
  2  56.4129
  3  0.105595
  4  0.116867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916855': 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) = 3642.88685724
delta logL = 9.21759237826e-08

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  5.234e-02  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.983e+00  5.641e+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:  5.914e-01  1.169e-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.041e+00  1.056e-01  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/916855/cmap_HighResolution_572140801_572400001_4FGL_J0156.3-2420_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2021-08-14 20:47:17.494423', job_id='916855', GAL2='0.59', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1628999237.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='9.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1284' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:47:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 916855: <4FGL_J0156.3-2420_daily_bin1284> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1284> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Aug 14 20:35:53 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:36:21 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:36:21 2021
Terminated at Sat Aug 14 20:47:18 2021
Results reported at Sat Aug 14 20:47:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1284 29.0777 -24.3345 572140801 572400001 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 :                                   552.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            685 sec.

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

