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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1201
RA = 29.0777, Dec = -24.3345
tmin = 550627201, tmax = 550886401
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='915586', job_status='RUN', time_executed='2021-08-14 20:34:08.509201', time_epoch_executed='1628998448.51' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915586

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915586/ft1_4FGL_J0156.3-2420_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915586/ft1_4FGL_J0156.3-2420_daily_bin1201.fits outfile=/scratch/kocevski/915586/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1201.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=550627201.0 tmax=550886401.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 6.35
user 3.80
sys 2.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.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/915586/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.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 2.71
user 0.35
sys 2.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/915586/ltcube_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.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/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits
.....................!
real 16.06
user 13.38
sys 2.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/915586/ltcube_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.fits outfile=/scratch/kocevski/915586/expmap_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.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/915586/ltcube_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.fits
.....................!
real 197.03
user 187.97
sys 8.30

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/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits outfile=/scratch/kocevski/915586/cmap_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.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 2.96
user 0.36
sys 2.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits outfile=/scratch/kocevski/915586/cmap_HighResolution_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.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 2.74
user 0.39
sys 2.25

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/915586/ft2_4FGL_J0156.3-2420_daily_bin1201.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915586/Model_4FGL_J0156.3-2420_daily_bin1201.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/915586/ft1_filtered_4FGL_J0156.3-2420_daily_bin1201.fits.....................!
real 61.40
user 56.24
sys 4.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5461       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42075E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .21807       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7922       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20448E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.5613       1.0000         .10000E-03   10000.    
     9 'norm      '    .37207E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0098       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15535E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6266       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.241       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5246       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .37074E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11737E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .24815       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .48914E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.182       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19902E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7564       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79895       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1751       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=   6538.659     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2575 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5474        5.4101       -.80853E-06    .42672E-03
   2  Prefactor     .10000E-03    7.3855        .58745E-06** at limit **
   3  Prefactor     .10000E-03    14.078       -.15166E-06** at limit **
   4  norm          .21352        1.3454        .40866E-06   -.60429E-03
   5  norm          3.7908        2.2293        .48595E-07   -.89537E-04
   6  Prefactor     .10000E-03    17.230        .87520E-06** at limit **
   7  Prefactor     .10000E-03    2.8530       -.10306E-07** at limit **
   8  norm          4.5572        1.9018        .36151E-07   -.89877E-04
   9  norm          .10000E-03    .88944       -.12021E-06** at limit **
  10  norm          1.0101        2.7111        .73951E-06   -.22769E-03
  11  Prefactor     .10000E-03    10.023        .28713E-07** at limit **
  12  norm          1.6287        1.9110        .18357E-06   -.92732E-04
  13  Prefactor     26.238        12.672       -.13218E-06   -.74619E-04
  14  Prefactor     4.5338        5.1011        .14229E-06   -.10690E-03
  15  Prefactor     .10000E-03    5.0411       -.79958E-07** at limit **
  16  norm          .10000E-03    19.458       -.47866E-06** at limit **
  17  Prefactor     .22877        3.0414       -.20784E-06    .11170E-03
  18  Prefactor     .10000E-03    15.315       -.24957E-06** at limit **
  19  Prefactor     23.190        39.915        .30797E-05    .18015E-03
  20  Prefactor     .10000E-03    4.8310       -.69815E-07** at limit **
  21  Prefactor     3.7682        3.5293       -.52457E-08   -.78393E-04
  22  Normalizat    .79895        .16074       -.18345E-06   -.49020E-04
  23  Prefactor     1.1751        .17931       -.56026E-06   -.20118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.54739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.213517
  norm       = 3.79084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.55721
  norm       = 0.000100002
  norm       = 1.01006
  Prefactor  = 0.0001
  norm       = 1.62872
  Prefactor  = 26.2379
  Prefactor  = 4.53383
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.228766
  Prefactor  = 0.0001
  Prefactor  = 23.1901
  Prefactor  = 0.0001
  Prefactor  = 3.76822
  Normalizat = 0.79895
  Prefactor  = 1.17511
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.659     FROM HESSE     STATUS=OK           380 CALLS     2955 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5474        5.6234        .85299E-03   -1.5237    
   2  Prefactor     .10000E-03    7.5368        .21240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .21352        5.4365        .17170E-02   -1.5616    
   5  norm          3.7908        2.2253        .89414E-04   -1.5319    
   6  Prefactor     .10000E-03    17.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8817        .13301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.5572        1.9003        .68889E-04   -1.5281    
   9  norm          .10000E-03    15.539        .14221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0101        2.7319        .20145E-03   -1.5507    
  11  Prefactor     .10000E-03    10.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6287        1.8941        .11533E-03   -1.5453    
  13  Prefactor     26.238        12.674        .78203E-04   -1.4683    
  14  Prefactor     4.5338        5.0810        .17994E-03   -1.5282    
  15  Prefactor     .10000E-03    14.362        .35051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    19.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22877        26.303        .25842E-02   -1.5612    
  18  Prefactor     .10000E-03    15.362        .21168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.190        42.874        .83194E-04   -1.4744    
  20  Prefactor     .10000E-03    4.8341        .17361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.7682        3.5360        .14121E-03   -1.5320    
  22  Normalizat    .79895        .18740        .24417E-03   -1.0011    
  23  Prefactor     1.1751        .21360        .24236E-03   -.87101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37818e-09
Minuit parameter uncertainties:
  1  5.62394
  2  7.22717e-05
  3  3.88709e-05
  4  2.15451
  5  2.2254
  6  0.000158051
  7  2.43018e-06
  8  1.90037
  9  0.000346092
  10  2.73226
  11  5.9732e-06
  12  1.89414
  13  12.6749
  14  5.0815
  15  0.000136809
  16  9.03253e-05
  17  4.90717
  18  3.7436e-05
  19  42.9311
  20  7.17801e-06
  21  3.53615
  22  0.187555
  23  0.213759
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  5.973e-06  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.175e+00  2.138e-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.990e-01  1.876e-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: 2.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915586/likelihoodResults_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.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) = 6538.65977933
delta logL = -0.000472489665299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6538.65930774
delta logL = -9.01223756955e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10788E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9167       1.0000          .0000       10.000    
     3 'Normalizat'    .79914       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1749       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=   6538.659     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10114E-03    85.053        .18142E-02** at limit **
   2  Index         1.8666        8.3590        .50000        .14233E-04
   3  Normalizat    .79895        .10615E-01    .24417E-03    .62020E-04
   4  Prefactor     1.1751        .12594E-01    .24236E-03    .70830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101135
  Index      = 1.86661
  Normalizat = 0.798951
  Prefactor  = 1.17511
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.659     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10114E-03    366.89        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8666        7.6702        .50000       -.67728    
   3  Normalizat    .79895        .22830E-01    .97666E-05   -1.0011    
   4  Prefactor     1.1751        .27085E-01    .96946E-05   -.87101    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4678e-08
Minuit parameter uncertainties:
  1  0.0410746
  2  549.982
  3  0.0228301
  4  0.0270853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915586': 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) = 6538.65930661
delta logL = 2.35263541981e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.011e-04  4.107e-02  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.867e+00  5.500e+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:  1.175e+00  2.709e-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.990e-01  2.283e-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/915586/cmap_HighResolution_550627201_550886401_4FGL_J0156.3-2420_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-03', job_status='DONE', photon_flux_upper_limit='2.83e-08', time_completed='2021-08-14 20:45:59.449237', job_id='915586', GAL2='1.18', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1628999159.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1201' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:45:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 915586: <4FGL_J0156.3-2420_daily_bin1201> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1201 29.0777 -24.3345 550627201 550886401 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 :                                   739.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            892 sec.

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

