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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1256
RA = 29.0777, Dec = -24.3345
tmin = 564883201, tmax = 565142401
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='916812', job_status='RUN', time_executed='2021-08-14 20:38:00.398252', time_epoch_executed='1628998680.4' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916812/ft1_4FGL_J0156.3-2420_daily_bin1256.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916812/ft1_4FGL_J0156.3-2420_daily_bin1256.fits outfile=/scratch/kocevski/916812/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1256.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=564883201.0 tmax=565142401.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.57
user 3.39
sys 1.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits" evtable="EVENTS" scfile=/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits sctable="SC_DATA" outfile=/scratch/kocevski/916812/ltcube_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.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/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits
.....................!
real 14.26
user 12.86
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits sctable="SC_DATA" expcube=/scratch/kocevski/916812/ltcube_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.fits outfile=/scratch/kocevski/916812/expmap_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.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/916812/ltcube_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.fits
.....................!
real 195.50
user 187.11
sys 6.80

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/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits scfile=/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits outfile=/scratch/kocevski/916812/cmap_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.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.42
user 0.37
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits scfile=/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits outfile=/scratch/kocevski/916812/cmap_HighResolution_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.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.45
user 0.37
sys 1.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/916812/ft2_4FGL_J0156.3-2420_daily_bin1256.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916812/Model_4FGL_J0156.3-2420_daily_bin1256.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/916812/ft1_filtered_4FGL_J0156.3-2420_daily_bin1256.fits.....................!
real 36.65
user 34.06
sys 2.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.851       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6876       1.0000         .10000E-03   10000.    
     5 'norm      '    2.1973       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.610       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0327       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7008       1.0000         .10000E-03   10000.    
     9 'norm      '    2.9001       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0352       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.6186       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.098       1.0000         .10000E-03   10000.    
    16 'norm      '    84.952       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.339       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .96082       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85546       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .55123       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3459.213     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     2123 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.852        2.9906       -.10662E-05    .35842E-02
   2  Prefactor     .10000E-03    4.8045        .64587E-06** at limit **
   3  Prefactor     .10000E-03    7.1205        .66422E-06** at limit **
   4  norm          2.6873        2.4070       -.15331E-05   -.28851E-03
   5  norm          2.1973        1.9509        .24862E-07    .85796E-05
   6  Prefactor     24.608        1.3328        .17430E-06   -.14549E-03
   7  Prefactor     2.0344        5.2775        .94167E-05    .53340E-03
   8  norm          2.7007        1.5154       -.13243E-06   -.16159E-03
   9  norm          2.8996        2.0543       -.41914E-06   -.11504E-03
  10  norm          1.0359        2.3871       -.53163E-06   -.22321E-03
  11  Prefactor     .10000E-03    44.212        .22761E-05** at limit **
  12  norm          2.6183        1.9609        .64080E-07   -.14048E-03
  13  Prefactor     .10000E-03    5.1314       -.10378E-05** at limit **
  14  Prefactor     .10000E-03    4.0382       -.47161E-06** at limit **
  15  Prefactor     22.094        13.493       -.19474E-05    .67870E-03
  16  norm          84.923        3.5700        .20386E-06   -.82573E-02
  17  Prefactor     14.336        1.7156       -.78562E-06    .52991E-03
  18  Prefactor     .62518        751.80       -.16927E-04    .93465E-04
  19  Prefactor     .10001E-03    10.987       -.47041E-05** at limit **
  20  Prefactor     .10001E-03    11.115        .35434E-05** at limit **
  21  Prefactor     .10000E-03    1.5349        .22451E-06** at limit **
  22  Normalizat    .85554        .20851       -.34028E-05   -.19415E-03
  23  Prefactor     .55112        .23303        .35682E-05   -.10626E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.68726
  norm       = 2.19732
  Prefactor  = 24.6079
  Prefactor  = 2.03438
  norm       = 2.70071
  norm       = 2.8996
  norm       = 1.03592
  Prefactor  = 0.0001
  norm       = 2.61832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0941
  norm       = 84.9234
  Prefactor  = 14.3364
  Prefactor  = 0.625182
  Prefactor  = 0.000100007
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Normalizat = 0.855539
  Prefactor  = 0.55112
 **********
 **   18 **HESSE 
 **********

 FCN=   3459.213     FROM HESSE     STATUS=OK           420 CALLS     2543 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.852        9.4125        .27935E-02   -1.4991    
   2  Prefactor     .10000E-03    4.8004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.1023        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6873        2.4452        .62133E-02   -1.5380    
   5  norm          2.1973        1.9617        .69398E-02   -1.5411    
   6  Prefactor     24.608        16.556        .20187E-02   -1.4715    
   7  Prefactor     2.0344        5.4441        .72534E-02   -1.5423    
   8  norm          2.7007        1.5171        .61969E-02   -1.5379    
   9  norm          2.8996        2.0623        .59652E-02   -1.5367    
  10  norm          1.0359        2.4599        .12392E-01   -1.5504    
  11  Prefactor     .10000E-03    44.275        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.6183        1.9683        .63012E-02   -1.5384    
  13  Prefactor     .10000E-03    5.1255        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9829        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.094        17.360        .21302E-02   -1.4768    
  16  norm          84.923        93.529        .10896E-02   -1.3862    
  17  Prefactor     14.336        7.8613        .26444E-02   -1.4951    
  18  Prefactor     .62518        66.631        .13026       -1.5550    
  19  Prefactor     .10001E-03    11.305        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    11.457        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.5289        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85554        .17739        .44330E-01   -.98040    
  23  Prefactor     .55112        .19571        .61562E-01   -1.0969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6571e-07
Minuit parameter uncertainties:
  1  9.41355
  2  5.74118e-07
  3  5.46122e-06
  4  2.44531
  5  1.96171
  6  16.5595
  7  5.44545
  8  1.51708
  9  2.06236
  10  2.46018
  11  0.000236042
  12  1.96839
  13  1.29849e-05
  14  1.59492e-05
  15  17.3636
  16  93.692
  17  7.86183
  18  12.9222
  19  0.000546932
  20  0.000532898
  21  5.18446e-06
  22  0.177512
  23  0.195947
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.360e-04  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  2.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  5.511e-01  1.959e-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:  8.555e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.078 -24.334
Photon Flux Upper Limit: 5.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916812/likelihoodResults_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.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) = 3459.21350946
delta logL = -0.000107310622298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3459.2134015
delta logL = 6.45748514216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11470E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5120       1.0000          .0000       10.000    
     3 'Normalizat'    .85554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55112       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=   3459.213     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      250 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10048E-03    .49070E-01    .90712E-01** at limit **
   2  Index         2.6257        6.2564        .50000       -.10696E-04
   3  Normalizat    .85554        .26536E-03    .44331E-01    .63197E-04
   4  Prefactor     .55112        .30552E-03    .61562E-01    .28476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100478
  Index      = 2.62568
  Normalizat = 0.855541
  Prefactor  = 0.551119
 **********
 **   18 **HESSE 
 **********

 FCN=   3459.213     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      293 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10048E-03    .10269        .61368E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6257        6.1929        .50000       -.49481    
   3  Normalizat    .85554        .28534E-03    .19415E-03   -.98040    
   4  Prefactor     .55112        .32812E-03    .27238E-03   -1.0969    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98161e-10
Minuit parameter uncertainties:
  1  0.000443216
  2  6.10324
  3  0.000285343
  4  0.000328117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916812': 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) = 3459.21340119
delta logL = 9.53451944952e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.005e-04  4.432e-04  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  2.626e+00  6.103e+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:  5.511e-01  3.281e-04  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:  8.555e-01  2.853e-04  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/916812/cmap_HighResolution_564883201_565142401_4FGL_J0156.3-2420_daily_bin1256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2021-08-14 20:46:28.544727', job_id='916812', GAL2='0.55', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1628999188.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='9.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1256' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:46:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 916812: <4FGL_J0156.3-2420_daily_bin1256> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1256> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Aug 14 20:35:50 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:36:08 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:36:08 2021
Terminated at Sat Aug 14 20:46:29 2021
Results reported at Sat Aug 14 20:46:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1256 29.0777 -24.3345 564883201 565142401 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 :                                   520.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            639 sec.

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

