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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin650
RA = 29.0777, Dec = -24.3345
tmin = 407808001, tmax = 408067201
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='913962', job_status='RUN', time_executed='2021-08-14 20:28:16.336951', time_epoch_executed='1628998096.34' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/913962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/913962/ft1_4FGL_J0156.3-2420_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/913962/ft1_4FGL_J0156.3-2420_daily_bin650.fits outfile=/scratch/kocevski/913962/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin650.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=407808001.0 tmax=408067201.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 7.35
user 3.15
sys 1.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.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/913962/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin650.fits evtable="EVENTS" outfile="/scratch/kocevski/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.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.02
user 0.29
sys 1.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/913962/ltcube_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.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/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits
.....................!
real 13.04
user 11.20
sys 1.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/913962/ltcube_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.fits outfile=/scratch/kocevski/913962/expmap_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.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/913962/ltcube_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.fits
.....................!
real 159.42
user 152.43
sys 6.57

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/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits outfile=/scratch/kocevski/913962/cmap_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.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.77
user 0.31
sys 1.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits outfile=/scratch/kocevski/913962/cmap_HighResolution_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.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.75
user 0.33
sys 1.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/913962/ft2_4FGL_J0156.3-2420_daily_bin650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/913962/Model_4FGL_J0156.3-2420_daily_bin650.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/913962/ft1_filtered_4FGL_J0156.3-2420_daily_bin650.fits.....................!
real 29.51
user 26.76
sys 2.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.094       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.720       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1697       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3609       1.0000         .10000E-03   10000.    
     9 'norm      '    10.063       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.822       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2624       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18756E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2722       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76577       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=   3232.530     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2568 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.095        13.327        .38401E-06   -.29059E-04
   2  Prefactor     .10000E-03    7.7787        .41845E-07** at limit **
   3  Prefactor     .10000E-03    24.815        .44594E-05** at limit **
   4  norm          10.721        5.2787        .55661E-06   -.32210E-03
   5  norm          4.1697        3.3702        .22999E-06   -.10173E-04
   6  Prefactor     .10000E-03    12.471       -.51279E-05** at limit **
   7  Prefactor     .10000E-03    4.9468        .58169E-07** at limit **
   8  norm          1.3609        1.6496        .11158E-06   -.32327E-03
   9  norm          10.064        4.9831       -.11867E-05   -.20567E-03
  10  norm          .10000E-03    2.0908       -.15316E-06** at limit **
  11  Prefactor     22.915        74.971        .14441E-03    .47700E-05
  12  norm          .10000E-03    1.9213        .74923E-07** at limit **
  13  Prefactor     27.231        21.881       -.75072E-05   -.11295E-03
  14  Prefactor     8.2631        7.9880        .32911E-06   -.15603E-03
  15  Prefactor     .10000E-03    17.034       -.93805E-05** at limit **
  16  norm          .10000E-03    132.06       -.94537E-06** at limit **
  17  Prefactor     .10000E-03    14.619        .10400E-04** at limit **
  18  Prefactor     .10000E-03    53.513       -.19799E-04** at limit **
  19  Prefactor     .10000E-03    73.760        .23621E-04** at limit **
  20  Prefactor     .10000E-03    37.102        .27148E-05** at limit **
  21  Prefactor     .10000E-03    5.3638        .13155E-05** at limit **
  22  Normalizat    1.2720        .25901       -.43254E-05   -.12010E-03
  23  Prefactor     .76590        .27827       -.25890E-05   -.21625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7214
  norm       = 4.16974
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.36092
  norm       = 10.0636
  norm       = 0.0001
  Prefactor  = 22.9151
  norm       = 0.0001
  Prefactor  = 27.2314
  Prefactor  = 8.26308
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.272
  Prefactor  = 0.765903
 **********
 **   18 **HESSE 
 **********

 FCN=   3232.530     FROM HESSE     STATUS=OK           364 CALLS     2932 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.095        13.323        .10669E-03   -1.4957    
   2  Prefactor     .10000E-03    7.7846        .15488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.721        5.2566        .86899E-04   -1.5053    
   5  norm          4.1697        3.3674        .90948E-04   -1.5300    
   6  Prefactor     .10000E-03    12.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.9664        .12329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3609        1.6233        .77744E-04   -1.5475    
   9  norm          10.064        5.0178        .83553E-04   -1.5073    
  10  norm          .10000E-03    2.0997        .80244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.915        74.951        .83846E-04   -1.4750    
  12  norm          .10000E-03    1.9676        .15381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.231        21.889        .76769E-04   -1.4664    
  14  Prefactor     8.2631        7.9906        .13947E-03   -1.5133    
  15  Prefactor     .10000E-03    17.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    132.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    53.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    73.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    37.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.125        .25542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2720        .32042        .23066E-03   -.84406    
  23  Prefactor     .76590        .34161        .31705E-03   -1.0100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14361e-10
Minuit parameter uncertainties:
  1  13.326
  2  9.96169e-06
  3  4.86805e-05
  4  5.25687
  5  3.36753
  6  3.2375e-05
  7  8.67153e-07
  8  1.62336
  9  5.01804
  10  2.0699e-05
  11  75.2612
  12  1.3874e-05
  13  21.8951
  14  7.99164
  15  0.000203608
  16  0.000829175
  17  3.82408e-05
  18  0.000178791
  19  0.000116422
  20  8.15417e-05
  21  0.000100659
  22  0.320917
  23  0.342555
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  2.292e+01  7.526e+01  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.659e-01  3.426e-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.272e+00  3.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 29.078 -24.334
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/913962/likelihoodResults_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.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) = 3231.99985426
delta logL = 0.530569791884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3231.95267497
delta logL = 0.577749083613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0179       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1036       1.0000          .0000       10.000    
     3 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81593       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=   3231.953     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      290 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0153        84.173        .13347E-03   -.11918E-02
   2  Index         3.1037        2.3447        .35906E-02   -.57739E-03
   3  Normalizat    1.1929        .33034        .23648E-03   -.57349E-03
   4  Prefactor     .81588        .35442        .30758E-03   -.39330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.01534
  Index      = 3.10366
  Normalizat = 1.19286
  Prefactor  = 0.815876
 **********
 **   18 **HESSE 
 **********

 FCN=   3231.953     FROM HESSE     STATUS=OK            23 CALLS      313 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0153        24.951        .53387E-05   -1.5107    
   2  Index         3.1037        1.1003        .14362E-03   -.38901    
   3  Normalizat    1.1929        .32229        .47297E-04   -.86824    
   4  Prefactor     .81588        .34609        .61516E-04   -.99146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75284e-09
Minuit parameter uncertainties:
  1  24.9798
  2  1.11095
  3  0.322823
  4  0.347015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/913962': 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) = 3231.95267494
delta logL = 0.577749106452

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  9.015e+00  2.498e+01  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  3.104e+00  1.111e+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:  8.159e-01  3.470e-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.193e+00  3.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 29.078 -24.334
Photon Index (Free Index): 3.10 +/- 1.11
Photon Flux (Free Index): 8.37e-08 +/- 9.31e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.64e-05

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/913962/cmap_HighResolution_407808001_408067201_4FGL_J0156.3-2420_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.48e-03', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='5.78e-01', photon_flux2='8.37e-08', job_status='DONE', time_completed='2021-08-14 20:35:25.647002', photon_index_error2='1.11', photon_index2='3.10', ts='0.11', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.64e-05', EG='1.27', time_epoch_completed='1628998525.65', return_code='0', job_id='913962', GAL2='0.82', EG2='1.19', return_code2='0', photon_flux_error2='9.31e-08', ts2='1.31', photon_index='1.94' WHERE bin_id='650' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:35:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 913962: <4FGL_J0156.3-2420_daily_bin650> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin650> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 14 20:25:43 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:26:31 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:26:31 2021
Terminated at Sat Aug 14 20:35:26 2021
Results reported at Sat Aug 14 20:35:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin650 29.0777 -24.3345 407808001 408067201 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 :                                   444.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            583 sec.

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

