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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1232
RA = 29.0777, Dec = -24.3345
tmin = 558662401, tmax = 558921601
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='916777', job_status='RUN', time_executed='2021-08-14 20:36:39.825372', time_epoch_executed='1628998599.83' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916777/ft1_4FGL_J0156.3-2420_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916777/ft1_4FGL_J0156.3-2420_daily_bin1232.fits outfile=/scratch/kocevski/916777/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1232.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=558662401.0 tmax=558921601.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.72
user 3.37
sys 1.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/916777/ltcube_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.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/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits
.....................!
real 15.21
user 13.54
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/916777/ltcube_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.fits outfile=/scratch/kocevski/916777/expmap_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.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/916777/ltcube_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.fits
.....................!
real 193.01
user 185.78
sys 6.45

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/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits scfile=/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits outfile=/scratch/kocevski/916777/cmap_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.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.71
user 0.38
sys 1.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits scfile=/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits outfile=/scratch/kocevski/916777/cmap_HighResolution_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.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.85
user 0.39
sys 1.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/916777/ft2_4FGL_J0156.3-2420_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916777/Model_4FGL_J0156.3-2420_daily_bin1232.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/916777/ft1_filtered_4FGL_J0156.3-2420_daily_bin1232.fits....................!
real 38.89
user 35.53
sys 2.65

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5899       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.5687       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1266       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26892       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14969       1.0000         .10000E-03   10000.    
     8 'norm      '    .34436       1.0000         .10000E-03   10000.    
     9 'norm      '    .12568E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5009       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.7998       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27636       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11729E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    28.785       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.881       1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.552       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.277       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2857       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .49826       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=   3464.158     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2700 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9615        .19429E-05** at limit **
   2  Prefactor     1.5706        70.546       -.33069E-05    .57061E-04
   3  Prefactor     .10000E-03    11.161        .68822E-06** at limit **
   4  norm          8.5912        4.1564       -.59136E-06   -.54920E-03
   5  norm          4.1198        3.4186        .18612E-06   -.16267E-04
   6  Prefactor     .64086        31.633        .59341E-05    .19215E-04
   7  Prefactor     .42183E-01    6.2665        .34160E-05   -.34077E-03
   8  norm          .34518        1.1495       -.19975E-05   -.11884E-03
   9  norm          .10000E-03    2.9373       -.82639E-07** at limit **
  10  norm          1.4993        2.7674       -.66099E-06    .18245E-03
  11  Prefactor     .10000E-03    27.151       -.51074E-05** at limit **
  12  norm          3.8003        2.3790       -.15436E-06    .46613E-03
  13  Prefactor     .31068        90.165       -.30928E-04    .82090E-05
  14  Prefactor     .10000E-03    16.321       -.93542E-05** at limit **
  15  Prefactor     .10000E-03    9.4031       -.33938E-05** at limit **
  16  norm          28.800        57.849       -.34733E-05    .11296E-03
  17  Prefactor     17.868        14.720        .47847E-06    .33916E-03
  18  Prefactor     49.534        59.311        .12622E-05    .12939E-03
  19  Prefactor     .10000E-03    25.853        .42887E-05** at limit **
  20  Prefactor     11.288        95.814       -.94338E-05    .40808E-05
  21  Prefactor     .10000E-03    2.3634       -.65903E-07** at limit **
  22  Normalizat    1.2858        .24686        .24414E-05    .54707E-03
  23  Prefactor     .49805        .24075        .18993E-05    .27182E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.57055
  Prefactor  = 0.0001
  norm       = 8.59124
  norm       = 4.11981
  Prefactor  = 0.640858
  Prefactor  = 0.0421829
  norm       = 0.345182
  norm       = 0.0001
  norm       = 1.49935
  Prefactor  = 0.0001
  norm       = 3.80026
  Prefactor  = 0.310683
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 28.8005
  Prefactor  = 17.8681
  Prefactor  = 49.5337
  Prefactor  = 0.0001
  Prefactor  = 11.2883
  Prefactor  = 0.0001
  Normalizat = 1.28576
  Prefactor  = 0.498055
 **********
 **   18 **HESSE 
 **********

 FCN=   3464.158     FROM HESSE     STATUS=OK           386 CALLS     3086 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9555        .15145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5706        71.847        .33655E-03   -1.5457    
   3  Prefactor     .10000E-03    11.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.5912        4.5271        .73057E-04   -1.5122    
   5  norm          4.1198        3.4235        .93151E-04   -1.5302    
   6  Prefactor     .64086        194.73        .54509E-02   -1.5548    
   7  Prefactor     .42183E-01    26.320        .35578E-01   -1.5667    
   8  norm          .34518        1.1459        .10914E-03   -1.5590    
   9  norm          .10000E-03    5.7655        .18637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4993        2.7207        .12793E-03   -1.5463    
  11  Prefactor     .10000E-03    27.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8003        2.3822        .67303E-04   -1.5318    
  13  Prefactor     .31068        105.88        .40393E-02   -1.5597    
  14  Prefactor     .10000E-03    48.086        .34066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.3012        .17422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          28.800        57.402        .74674E-04   -1.4634    
  17  Prefactor     17.868        14.321        .94717E-04   -1.4862    
  18  Prefactor     49.534        59.136        .56968E-04   -1.4299    
  19  Prefactor     .10000E-03    25.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.288        96.051        .11930E-03   -1.5036    
  21  Prefactor     .10000E-03    2.3638        .88372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2858        .28046        .20462E-03   -.83992    
  23  Prefactor     .49805        .26815        .33759E-03   -1.1207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22168e-09
Minuit parameter uncertainties:
  1  5.97044e-05
  2  21.2717
  3  3.99578e-05
  4  4.52727
  5  3.4237
  6  22.4145
  7  2.10578
  8  1.14594
  9  2.12927e-05
  10  2.72094
  11  0.000176011
  12  2.3823
  13  11.4897
  14  8.07344e-05
  15  0.000253463
  16  57.5121
  17  14.3241
  18  59.2063
  19  0.000144715
  20  65.9991
  21  1.22615e-06
  22  0.280794
  23  0.268834
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  1.760e-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:  4.981e-01  2.688e-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.286e+00  2.808e-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: 5.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916777/likelihoodResults_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.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) = 3464.15854092
delta logL = -0.000174552927547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3464.15836682
delta logL = -4.47847469331e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10425E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2748       1.0000          .0000       10.000    
     3 'Normalizat'    1.2858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49806       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=   3464.158     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.884        .90712E-02** at limit **
   2  Index         2.2564        6.7246        .50000        .65724E-05
   3  Normalizat    1.2858        .39617E-02    .33065E-01   -.15821E-03
   4  Prefactor     .49805        .42647E-02    .76230E-01   -.11168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.25641
  Normalizat = 1.28576
  Prefactor  = 0.498054
 **********
 **   18 **HESSE 
 **********

 FCN=   3464.158     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    121.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2564        7.0923        .50000       -.58083    
   3  Normalizat    1.2858        .12223E-01    .20461E-03   -.83992    
   4  Prefactor     .49805        .13123E-01    .33760E-03   -1.1207    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45144e-07
Minuit parameter uncertainties:
  1  0.000698362
  2  232.726
  3  0.012223
  4  0.0131234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916777': 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) = 3464.1583667
delta logL = -3.25543624058e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  6.984e-04  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  2.256e+00  2.327e+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:  4.981e-01  1.312e-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:  1.286e+00  1.222e-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/916777/cmap_HighResolution_558662401_558921601_4FGL_J0156.3-2420_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2021-08-14 20:45:24.455742', job_id='916777', GAL2='0.50', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1628999124.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='-3.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1232' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:45:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 916777: <4FGL_J0156.3-2420_daily_bin1232> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1232> 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) <bullet0174>, 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:45:25 2021
Results reported at Sat Aug 14 20:45:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1232 29.0777 -24.3345 558662401 558921601 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 :                                   539.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            577 sec.

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

