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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1153
RA = 29.0777, Dec = -24.3345
tmin = 538185601, tmax = 538444801
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='915508', job_status='RUN', time_executed='2021-08-14 20:32:51.121429', time_epoch_executed='1628998371.12' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915508

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915508/ft1_4FGL_J0156.3-2420_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915508/ft1_4FGL_J0156.3-2420_daily_bin1153.fits outfile=/scratch/kocevski/915508/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1153.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=538185601.0 tmax=538444801.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.96
user 4.23
sys 0.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.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/915508/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1153.fits evtable="EVENTS" outfile="/scratch/kocevski/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.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.95
user 0.30
sys 0.59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/915508/ltcube_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.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/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits
.....................!
real 13.19
user 12.01
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/915508/ltcube_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.fits outfile=/scratch/kocevski/915508/expmap_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.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/915508/ltcube_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.fits
.....................!
real 159.03
user 151.85
sys 5.20

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/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits outfile=/scratch/kocevski/915508/cmap_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.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.96
user 0.35
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits outfile=/scratch/kocevski/915508/cmap_HighResolution_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.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.94
user 0.33
sys 0.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/915508/ft2_4FGL_J0156.3-2420_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915508/Model_4FGL_J0156.3-2420_daily_bin1153.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/915508/ft1_filtered_4FGL_J0156.3-2420_daily_bin1153.fits.....................!
real 44.61
user 42.58
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23919E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    5.2601       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9836       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6605       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1491       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1825       1.0000         .10000E-03   10000.    
     9 'norm      '    .78207       1.0000         .10000E-03   10000.    
    10 'norm      '    .10506E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6692       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3747       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0683       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11808E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94470       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79844       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=   6472.983     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2228 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7329        .98056E-08** at limit **
   2  Prefactor     .10000E-03    13.060        .98569E-05** at limit **
   3  Prefactor     .10003E-03    5.3436       -.30511E-06** at limit **
   4  norm          5.2716        2.4762        .27874E-06    .26402E-03
   5  norm          1.9830        1.6915       -.29635E-07   -.33295E-03
   6  Prefactor     8.6594        8.9341       -.72036E-07   -.86505E-04
   7  Prefactor     4.1505        3.5472       -.10190E-05   -.13428E-03
   8  norm          3.1829        1.2261        .16448E-07    .27231E-04
   9  norm          .78234        1.5428        .20219E-06    .25055E-03
  10  norm          .10000E-03    1.4672        .15378E-07** at limit **
  11  Prefactor     .10000E-03    15.100       -.14270E-04** at limit **
  12  norm          3.6692        1.8132       -.34710E-08   -.96315E-04
  13  Prefactor     1.3705        3.5184        .10674E-05   -.13692E-02
  14  Prefactor     3.8607        3.8287        .17164E-07   -.10390E-02
  15  Prefactor     .10000E-03    1.8654       -.14517E-07** at limit **
  16  norm          .10000E-03    8.5876       -.53544E-06** at limit **
  17  Prefactor     .10000E-03    1.4495        .20732E-08** at limit **
  18  Prefactor     .10000E-03    18.763        .15694E-04** at limit **
  19  Prefactor     .10000E-03    17.097       -.80457E-05** at limit **
  20  Prefactor     2.0620        8.8886       -.68715E-07   -.27032E-04
  21  Prefactor     .10006E-03    1.9969       -.50797E-06** at limit **
  22  Normalizat    .94463        .13744        .16659E-06   -.75113E-04
  23  Prefactor     .79844        .15502       -.36762E-06   -.26447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100033
  norm       = 5.27163
  norm       = 1.98301
  Prefactor  = 8.65942
  Prefactor  = 4.15048
  norm       = 3.18287
  norm       = 0.782341
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.66925
  Prefactor  = 1.37054
  Prefactor  = 3.86072
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.06198
  Prefactor  = 0.000100061
  Normalizat = 0.944628
  Prefactor  = 0.798439
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.983     FROM HESSE     STATUS=OK           376 CALLS     2604 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7377        .10343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    71.949        .31737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.2716        2.2445        .73047E-04   -1.5249    
   5  norm          1.9830        1.6958        .92979E-04   -1.5426    
   6  Prefactor     8.6594        8.9005        .13621E-03   -1.5119    
   7  Prefactor     4.1505        3.5120        .12758E-03   -1.5300    
   8  norm          3.1829        1.2257        .53154E-04   -1.5351    
   9  norm          .78234        1.3448        .12887E-02   -1.5531    
  10  norm          .10000E-03    3.1720        .18604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6692        1.8119        .72529E-04   -1.5325    
  13  Prefactor     1.3705        15.238        .18580E-02   -1.5474    
  14  Prefactor     3.8607        3.8079        .73614E-03   -1.5315    
  15  Prefactor     .10000E-03    1.8693        .10731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.5902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4720        .94575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0620        8.8378        .28727E-03   -1.5421    
  21  Prefactor     .10006E-03    19.411        .21978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .94463        .16028        .20238E-03   -.94909    
  23  Prefactor     .79844        .18094        .25654E-03   -.99786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42778e-08
Minuit parameter uncertainties:
  1  1.09358e-06
  2  1.37117e-05
  3  0.00310592
  4  2.2445
  5  1.69586
  6  8.9019
  7  3.5122
  8  1.22569
  9  1.34484
  10  2.42593e-06
  11  8.08305e-05
  12  1.81195
  13  9.14251
  14  3.80813
  15  6.08527e-07
  16  4.0552e-06
  17  2.97763e-07
  18  6.56707e-05
  19  4.41329e-05
  20  8.53968
  21  0.00217523
  22  0.160365
  23  0.181072
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  8.083e-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.984e-01  1.811e-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:  9.446e-01  1.604e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915508/likelihoodResults_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.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) = 6472.98350397
delta logL = -0.000314891266498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6472.98318905
delta logL = 2.99269231618e-08

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 'Index     '    1.9240       1.0000          .0000       10.000    
     3 'Normalizat'    .94463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79844       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=   6472.983     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    596.66        .90712E-02** at limit **
   2  Index         1.9089        5.0477        .50000        .75093E-05
   3  Normalizat    .94463        .22063E-01    .45469E-01   -.33315E-04
   4  Prefactor     .79844        .26052E-01    .43697E-01    .50072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.90894
  Normalizat = 0.944628
  Prefactor  = 0.79844
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.983     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1100.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9089        6.2495        .50000       -.66646    
   3  Normalizat    .94463        .31696E-01    .20238E-03   -.94909    
   4  Prefactor     .79844        .37426E-01    .25654E-03   -.99786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.18608e-11
Minuit parameter uncertainties:
  1  0.00214068
  2  33.9543
  3  0.0316971
  4  0.0374275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915508': 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) = 6472.98318902
delta logL = 5.92135620536e-08

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.141e-03  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.909e+00  3.395e+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.984e-01  3.743e-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:  9.446e-01  3.170e-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/915508/cmap_HighResolution_538185601_538444801_4FGL_J0156.3-2420_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-03', job_status='DONE', photon_flux_upper_limit='3.38e-08', time_completed='2021-08-14 20:42:05.333033', job_id='915508', GAL2='0.80', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1628998925.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1153' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:42:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 915508: <4FGL_J0156.3-2420_daily_bin1153> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1153 29.0777 -24.3345 538185601 538444801 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 :                                   554.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            663 sec.

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

