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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1612
RA = 29.0777, Dec = -24.3345
tmin = 657158401, tmax = 657417601
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='143776', job_status='RUN', time_executed='2021-12-07 12:21:22.971519', time_epoch_executed='1638908482.97' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143776

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143776/ft1_4FGL_J0156.3-2420_daily_bin1612.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143776/ft1_4FGL_J0156.3-2420_daily_bin1612.fits outfile=/scratch/kocevski/143776/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1612.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=657158401.0 tmax=657417601.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.70
user 3.48
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.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/143776/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1612.fits evtable="EVENTS" outfile="/scratch/kocevski/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits" evtable="EVENTS" scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits sctable="SC_DATA" outfile=/scratch/kocevski/143776/ltcube_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.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/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits
.....................!
real 14.89
user 14.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits sctable="SC_DATA" expcube=/scratch/kocevski/143776/ltcube_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.fits outfile=/scratch/kocevski/143776/expmap_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.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/143776/ltcube_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.fits
.....................!
real 192.27
user 187.01
sys 4.89

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/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits outfile=/scratch/kocevski/143776/cmap_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.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 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits outfile=/scratch/kocevski/143776/cmap_HighResolution_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.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 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/143776/ft2_4FGL_J0156.3-2420_daily_bin1612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143776/Model_4FGL_J0156.3-2420_daily_bin1612.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/143776/ft1_filtered_4FGL_J0156.3-2420_daily_bin1612.fits.....................!
real 56.22
user 54.77
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57357E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .23193       1.0000         .10000E-03   10000.    
     5 'norm      '    2.6780       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2777       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22044E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .88281       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0931       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1425       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.751       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.244       1.0000         .10000E-03   10000.    
    16 'norm      '    29.521       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3865       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.144       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.244       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9555       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8397       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73581       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0239       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=   6736.686     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2595 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1815        .27518E-07** at limit **
   2  Prefactor     .10000E-03    4.1922        .63975E-06** at limit **
   3  Prefactor     .10000E-03    6.2931        .95438E-06** at limit **
   4  norm          .23023        1.5248       -.12188E-05   -.11816E-02
   5  norm          2.6783        1.6366        .36594E-06    .15602E-02
   6  Prefactor     9.2819        8.5681       -.58799E-05   -.47138E-04
   7  Prefactor     .10017E-03    1.6730        .56779E-06** at limit **
   8  norm          .88277        .77667       -.72447E-07   -.69715E-03
   9  norm          2.0941        1.6286        .18504E-07   -.54216E-03
  10  norm          .10000E-03    .95527       -.17427E-07** at limit **
  11  Prefactor     .10000E-03    14.863       -.44078E-06** at limit **
  12  norm          1.1423        1.3729       -.93924E-06   -.15591E-02
  13  Prefactor     15.749        9.7733        .18719E-05    .18984E-04
  14  Prefactor     .10000E-03    1.9164        .10375E-07** at limit **
  15  Prefactor     31.248        14.714        .16363E-04    .54073E-04
  16  norm          29.468        60.442       -.67381E-04    .26198E-04
  17  Prefactor     1.3865        3.9330       -.26952E-05   -.10666E-02
  18  Prefactor     23.137        36.340       -.48938E-05    .33404E-04
  19  Prefactor     29.235        42.963       -.15410E-04    .13225E-04
  20  Prefactor     5.9545        11.419        .18287E-05   -.17224E-04
  21  Prefactor     1.8410        3.3353       -.84516E-07   -.49905E-03
  22  Normalizat    .73577        .13950        .51033E-06    .23025E-04
  23  Prefactor     1.0240        .16119        .12083E-05   -.75975E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.230231
  norm       = 2.67825
  Prefactor  = 9.28194
  Prefactor  = 0.000100172
  norm       = 0.88277
  norm       = 2.09412
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.14225
  Prefactor  = 15.7491
  Prefactor  = 0.0001
  Prefactor  = 31.2484
  norm       = 29.4679
  Prefactor  = 1.38646
  Prefactor  = 23.137
  Prefactor  = 29.2348
  Prefactor  = 5.9545
  Prefactor  = 1.84097
  Normalizat = 0.735775
  Prefactor  = 1.02398
 **********
 **   18 **HESSE 
 **********

 FCN=   6736.686     FROM HESSE     STATUS=OK           392 CALLS     2987 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1878        .11837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2103        .16410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.047        .34688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .23023        2.0629        .16171E-02   -1.5612    
   5  norm          2.6783        1.6395        .39599E-03   -1.5381    
   6  Prefactor     9.2819        8.5700        .13158E-03   -1.5099    
   7  Prefactor     .10017E-03    6.2205        .30646E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .88277        .74616        .65335E-03   -1.5520    
   9  norm          2.0941        1.6196        .87080E-04   -1.5419    
  10  norm          .10000E-03    .97854        .15642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1423        1.3444        .10013E-03   -1.5494    
  13  Prefactor     15.749        9.7756        .10092E-03   -1.4914    
  14  Prefactor     .10000E-03    1.9386        .11084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.248        14.637        .71682E-04   -1.4589    
  16  norm          29.468        60.121        .73739E-04   -1.4622    
  17  Prefactor     1.3865        3.9359        .26169E-03   -1.5472    
  18  Prefactor     23.137        36.313        .83261E-04   -1.4746    
  19  Prefactor     29.235        42.825        .74088E-04   -1.4626    
  20  Prefactor     5.9545        11.403        .16454E-03   -1.5220    
  21  Prefactor     1.8410        3.3042        .19234E-03   -1.5437    
  22  Normalizat    .73577        .16197        .22447E-03   -1.0250    
  23  Prefactor     1.0240        .18815        .23491E-03   -.91934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36085e-09
Minuit parameter uncertainties:
  1  3.64135e-06
  2  1.02742e-05
  3  0.000438564
  4  1.37809
  5  1.63955
  6  8.5711
  7  0.00207158
  8  0.746168
  9  1.6196
  10  9.85578e-07
  11  2.07519e-05
  12  1.34439
  13  9.77661
  14  3.71707e-06
  15  14.6387
  16  60.2452
  17  3.9366
  18  36.348
  19  42.8705
  20  11.4072
  21  3.30451
  22  0.162071
  23  0.188272
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.075e-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:  1.024e+00  1.883e-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:  7.358e-01  1.621e-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: 3.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/143776/likelihoodResults_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.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) = 6736.68603584
delta logL = -0.000320304924571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6736.68571556
delta logL = -2.32730599237e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0422       1.0000          .0000       10.000    
     3 'Normalizat'    .73577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0240       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=   6736.686     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    442.05        .90712E-02** at limit **
   2  Index         2.0478        6.9708        .50000       -.31546E-05
   3  Normalizat    .73577        .18262E-01    .42766E-01   -.25283E-05
   4  Prefactor     1.0240        .22343E-01    .41765E-01   -.38891E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.04781
  Normalizat = 0.735774
  Prefactor  = 1.02398
 **********
 **   18 **HESSE 
 **********

 FCN=   6736.686     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6431.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0478        5.1648        .50000       -.63160    
   3  Normalizat    .73577        .80514E-01    .22447E-03   -1.0250    
   4  Prefactor     1.0240        .98514E-01    .23491E-03   -.91934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.32233e-09
Minuit parameter uncertainties:
  1  0.000607217
  2  58.6112
  3  0.0805273
  4  0.0985309
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143776': 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) = 6736.68571546
delta logL = 7.20001480659e-08

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  6.072e-04  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  2.048e+00  5.861e+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:  1.024e+00  9.853e-02  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:  7.358e-01  8.053e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/143776/cmap_HighResolution_657158401_657417601_4FGL_J0156.3-2420_daily_bin1612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-03', job_status='DONE', photon_flux_upper_limit='3.41e-08', time_completed='2021-12-07 12:32:50.072222', job_id='143776', GAL2='1.02', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1638909170.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='7.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1612' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:32:50 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 143776: <4FGL_J0156.3-2420_daily_bin1612> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1612> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:20:17 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:21:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:21:16 2021
Terminated at Tue Dec  7 12:32:50 2021
Results reported at Tue Dec  7 12:32:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1612 29.0777 -24.3345 657158401 657417601 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 :                                   686.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            753 sec.

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

