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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1645
RA = 29.0777, Dec = -24.3345
tmin = 665712001, tmax = 665971201
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='619201', job_status='RUN', time_executed='2022-02-08 00:07:53.310901', time_epoch_executed='1644307673.31' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/619201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/619201/ft1_4FGL_J0156.3-2420_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/619201/ft1_4FGL_J0156.3-2420_daily_bin1645.fits outfile=/scratch/kocevski/619201/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1645.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=665712001.0 tmax=665971201.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.23
user 3.36
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits" evtable="EVENTS" scfile=/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits sctable="SC_DATA" outfile=/scratch/kocevski/619201/ltcube_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.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/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits
.....................!
real 17.53
user 16.77
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/619201/ltcube_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.fits outfile=/scratch/kocevski/619201/expmap_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.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/619201/ltcube_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.fits
.....................!
real 202.07
user 191.94
sys 5.10

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/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits scfile=/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits outfile=/scratch/kocevski/619201/cmap_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.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.94
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits scfile=/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits outfile=/scratch/kocevski/619201/cmap_HighResolution_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.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.64
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/619201/ft2_4FGL_J0156.3-2420_daily_bin1645.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/619201/Model_4FGL_J0156.3-2420_daily_bin1645.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/619201/ft1_filtered_4FGL_J0156.3-2420_daily_bin1645.fits.....................!
real 51.05
user 49.02
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7127       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.469       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1891       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.509       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2919       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3338       1.0000         .10000E-03   10000.    
     9 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.1633       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5944       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2229       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    63.681       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .55590E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79747       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96287       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=   6054.566     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2951 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7103        9.6647       -.12014E-04   -.24535E-03
   2  Prefactor     10.466        14.121        .25067E-04    .77599E-04
   3  Prefactor     .10000E-03    1.8868        .21481E-07** at limit **
   4  norm          .10000E-03    .49373        .61950E-07** at limit **
   5  norm          1.1899        1.5770       -.12118E-05   -.12310E-02
   6  Prefactor     11.509        11.665       -.16449E-05   -.74061E-04
   7  Prefactor     1.2909        3.5576       -.45024E-06   -.10566E-02
   8  norm          3.3335        1.2833        .10077E-06   -.15557E-03
   9  norm          .10000E-03    .71563        .22449E-06** at limit **
  10  norm          .10000E-03    1.4214        .30102E-06** at limit **
  11  Prefactor     .10000E-03    10.216       -.31393E-07** at limit **
  12  norm          8.1630        2.2895        .17680E-06   -.12342E-03
  13  Prefactor     20.939        9.9552       -.24299E-05   -.33137E-04
  14  Prefactor     2.5936        3.8154       -.47106E-06   -.50429E-03
  15  Prefactor     .10000E-03    2.2097       -.20036E-07** at limit **
  16  norm          .10000E-03    14.323        .12939E-06** at limit **
  17  Prefactor     2.2253        4.6506        .32216E-05   -.33449E-03
  18  Prefactor     .10000E-03    26.812       -.48981E-06** at limit **
  19  Prefactor     63.674        46.677        .25479E-04    .38138E-04
  20  Prefactor     .15112E-03    22.820       -.39505E-05** at limit **
  21  Prefactor     .10000E-03    1.1829       -.17717E-06** at limit **
  22  Normalizat    .79764        .15350       -.19488E-05    .16121E-03
  23  Prefactor     .96281        .17214       -.16502E-05    .72281E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.71029
  Prefactor  = 10.4656
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.18994
  Prefactor  = 11.5086
  Prefactor  = 1.29094
  norm       = 3.33349
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.16305
  Prefactor  = 20.939
  Prefactor  = 2.59358
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.22533
  Prefactor  = 0.0001
  Prefactor  = 63.6743
  Prefactor  = 0.000151118
  Prefactor  = 0.0001
  Normalizat = 0.797636
  Prefactor  = 0.962812
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.566     FROM HESSE     STATUS=OK           384 CALLS     3335 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7103        9.6698        .13580E-03   -1.5118    
   2  Prefactor     10.466        14.084        .12383E-03   -1.5061    
   3  Prefactor     .10000E-03    1.8881        .10436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .49529        .53324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1899        1.5437        .10679E-03   -1.5490    
   6  Prefactor     11.509        11.594        .11809E-03   -1.5029    
   7  Prefactor     1.2909        3.5244        .22615E-03   -1.5481    
   8  norm          3.3335        1.2833        .52626E-04   -1.5343    
   9  norm          .10000E-03    1.1588        .12547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2757        .17773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.1630        2.2902        .59535E-04   -1.5136    
  13  Prefactor     20.939        9.9529        .87527E-04   -1.4792    
  14  Prefactor     2.5936        3.7919        .17432E-03   -1.5386    
  15  Prefactor     .10000E-03    2.2171        .11295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    14.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2253        4.5926        .22507E-03   -1.5410    
  18  Prefactor     .10000E-03    27.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     63.674        46.531        .50287E-04   -1.4110    
  20  Prefactor     .15112E-03    28.540        .97249E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.1888        .82645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .79764        .17843        .22442E-03   -1.0016    
  23  Prefactor     .96281        .20204        .24606E-03   -.93980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39604e-09
Minuit parameter uncertainties:
  1  9.6715
  2  14.0883
  3  6.94757e-06
  4  3.15396e-06
  5  1.54375
  6  11.5968
  7  3.52492
  8  1.28331
  9  2.63345e-05
  10  5.96584e-05
  11  1.3909e-05
  12  2.29026
  13  9.9537
  14  3.79225
  15  5.35611e-06
  16  1.95891e-05
  17  4.59336
  18  8.66713e-05
  19  46.5575
  20  0.076428
  21  1.79644e-05
  22  0.178564
  23  0.202198
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  1.391e-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:  9.628e-01  2.022e-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.976e-01  1.786e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/619201/likelihoodResults_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.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): 0
logL (Free Index) = 6054.56640375
delta logL = -0.000465389530291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6054.56593835
delta logL = 4.86124918098e-09

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.9203       1.0000          .0000       10.000    
     3 'Normalizat'    .79769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96274       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=   6054.566     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    664.86        .90712E-02** at limit **
   2  Index         1.9019        5.0472        .50000        .13398E-04
   3  Normalizat    .79764        .30941E-01    .43580E-01    .21009E-04
   4  Prefactor     .96281        .37165E-01    .45800E-01    .14354E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9019
  Normalizat = 0.797635
  Prefactor  = 0.962813
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.566     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9019        5.9383        .50000       -.66826    
   3  Normalizat    .79764        .16667        .22442E-03   -1.0016    
   4  Prefactor     .96281        .20020        .24606E-03   -.93980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8469e-10
Minuit parameter uncertainties:
  1  2.53121e-05
  2  3.93686
  3  0.166775
  4  0.200357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/619201': 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): 0
logL (Free Index) = 6054.56593822
delta logL = 1.32165041578e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.531e-05  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.902e+00  3.937e+00  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:  9.628e-01  2.004e-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.976e-01  1.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.078 -24.334

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/619201/cmap_HighResolution_665712001_665971201_4FGL_J0156.3-2420_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.81e-08', time_completed='2022-02-08 00:19:25.781133', job_id='619201', GAL2='0.96', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1644308365.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1645' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 00:19:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 619202: <4FGL_J0156.3-2420_daily_bin1645> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1645> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb  8 00:06:01 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:06:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:06:04 2022
Terminated at Tue Feb  8 00:18:53 2022
Results reported at Tue Feb  8 00:18:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1645 29.0777 -24.3345 665712001 665971201 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 :                                   667.33 sec.
    Max Memory :                                 617 MB
    Average Memory :                             298.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            772 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 619201: <4FGL_J0156.3-2420_daily_bin1645> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1645> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb  8 00:06:01 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:06:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:06:04 2022
Terminated at Tue Feb  8 00:19:26 2022
Results reported at Tue Feb  8 00:19:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1645 29.0777 -24.3345 665712001 665971201 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 :                                   679.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            805 sec.

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

