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


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1129
RA = 29.0777, Dec = -24.3345
tmin = 531964801, tmax = 532224001
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='915481', job_status='RUN', time_executed='2021-08-14 20:35:35.384092', time_epoch_executed='1628998535.38' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915481

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915481/ft1_4FGL_J0156.3-2420_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915481/ft1_4FGL_J0156.3-2420_daily_bin1129.fits outfile=/scratch/kocevski/915481/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1129.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=531964801.0 tmax=532224001.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.15
user 3.21
sys 2.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.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/915481/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.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 3.11
user 0.33
sys 2.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/915481/ltcube_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.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/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits
.....................!
real 15.61
user 12.26
sys 3.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/915481/ltcube_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.fits outfile=/scratch/kocevski/915481/expmap_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.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/915481/ltcube_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.fits
.....................!
real 195.66
user 186.64
sys 8.42

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/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits outfile=/scratch/kocevski/915481/cmap_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.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 3.06
user 0.37
sys 2.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits outfile=/scratch/kocevski/915481/cmap_HighResolution_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.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 3.10
user 0.39
sys 2.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/915481/ft2_4FGL_J0156.3-2420_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915481/Model_4FGL_J0156.3-2420_daily_bin1129.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/915481/ft1_filtered_4FGL_J0156.3-2420_daily_bin1129.fits.....................!
real 40.78
user 35.66
sys 4.56

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3429       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.4575       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.848       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4917       1.0000         .10000E-03   10000.    
     8 'norm      '    .73497       1.0000         .10000E-03   10000.    
     9 'norm      '    12.498       1.0000         .10000E-03   10000.    
    10 'norm      '    .94985       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.9087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.2746       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.290       1.0000         .10000E-03   10000.    
    16 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.684       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.735       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2757       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81992       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92007       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=   3632.407     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     3132 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8083        .10201E-06** at limit **
   2  Prefactor     4.3447        15.592        .36261E-06   -.33803E-06
   3  Prefactor     .10000E-03    4.6133        .22896E-07** at limit **
   4  norm          .10000E-03    1.0299        .37030E-07** at limit **
   5  norm          9.4585        5.5262        .31886E-06   -.54840E-04
   6  Prefactor     10.837        33.020       -.30999E-05   -.67251E-05
   7  Prefactor     1.4927        3.8582        .76122E-07   -.78278E-06
   8  norm          .73474        1.2617        .57575E-07    .95867E-04
   9  norm          12.499        4.5375        .11684E-06   -.27811E-04
  10  norm          .94999        3.5450        .15903E-06   -.25322E-05
  11  Prefactor     .10000E-03    29.381        .55818E-06** at limit **
  12  norm          1.9086        2.2331        .19220E-07   -.24873E-05
  13  Prefactor     9.2747        10.337        .13339E-06   -.35124E-05
  14  Prefactor     .10000E-03    3.0768        .24435E-07** at limit **
  15  Prefactor     16.278        13.703        .23201E-06   -.21390E-05
  16  norm          .10000E-03    172.15       -.19829E-06** at limit **
  17  Prefactor     23.682        11.175       -.42964E-06   -.11086E-04
  18  Prefactor     .10000E-03    56.033       -.10630E-06** at limit **
  19  Prefactor     39.748        63.112        .10297E-04    .34758E-05
  20  Prefactor     .10000E-03    39.120       -.22198E-06** at limit **
  21  Prefactor     2.2730        2.9660        .90686E-07   -.37501E-03
  22  Normalizat    .81987        .22485       -.68849E-06   -.71075E-05
  23  Prefactor     .92014        .23616       -.30786E-06   -.14991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.34473
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.45849
  Prefactor  = 10.8369
  Prefactor  = 1.49268
  norm       = 0.734737
  norm       = 12.4991
  norm       = 0.949987
  Prefactor  = 0.0001
  norm       = 1.90861
  Prefactor  = 9.27471
  Prefactor  = 0.0001
  Prefactor  = 16.2776
  norm       = 0.0001
  Prefactor  = 23.6824
  Prefactor  = 0.0001
  Prefactor  = 39.7475
  Prefactor  = 0.0001
  Prefactor  = 2.27304
  Normalizat = 0.819868
  Prefactor  = 0.920138
 **********
 **   18 **HESSE 
 **********

 FCN=   3632.407     FROM HESSE     STATUS=OK           378 CALLS     3510 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8214        .14181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3447        15.538        .19329E-03   -1.5291    
   3  Prefactor     .10000E-03    4.6235        .12642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.0387        .59701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.4585        5.5181        .45796E-03   -1.5093    
   6  Prefactor     10.837        32.880        .12164E-03   -1.5049    
   7  Prefactor     1.4927        3.7970        .18187E-03   -1.5464    
   8  norm          .73474        1.1091        .84891E-03   -1.5537    
   9  norm          12.499        4.5213        .69509E-04   -1.5001    
  10  norm          .94999        3.5228        .20369E-03   -1.5513    
  11  Prefactor     .10000E-03    29.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9086        2.2232        .92333E-04   -1.5432    
  13  Prefactor     9.2747        10.336        .13160E-03   -1.5099    
  14  Prefactor     .10000E-03    3.0872        .10322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.278        13.682        .99235E-04   -1.4901    
  16  norm          .10000E-03    172.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.682        11.186        .82308E-04   -1.4734    
  18  Prefactor     .10000E-03    56.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     39.748        66.994        .63588E-04   -1.4446    
  20  Prefactor     .10000E-03    39.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2730        9.0703        .13610E-02   -1.5406    
  22  Normalizat    .81987        .26171        .24805E-03   -.99336    
  23  Prefactor     .92014        .27670        .26238E-03   -.95441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77786e-10
Minuit parameter uncertainties:
  1  2.64539e-06
  2  15.5528
  3  2.68415e-06
  4  1.1971e-06
  5  5.51838
  6  32.9353
  7  3.79766
  8  1.10911
  9  4.5214
  10  3.52358
  11  5.81574e-06
  12  2.22329
  13  10.3384
  14  3.02287e-06
  15  13.6842
  16  2.78659e-05
  17  11.1867
  18  2.26333e-05
  19  67.121
  20  8.57681e-06
  21  9.07581
  22  0.26211
  23  0.277128
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  5.816e-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:  9.201e-01  2.771e-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.199e-01  2.621e-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.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915481/likelihoodResults_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.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) = 3632.40753432
delta logL = -0.000161802244747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3632.40737326
delta logL = -7.43649252399e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10779E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1145       1.0000          .0000       10.000    
     3 'Normalizat'    .81987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92014       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=   3632.407     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      266 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10179E-03    107.93        .18142E-02** at limit **
   2  Index         2.0484        8.9059        .50000        .14104E-04
   3  Normalizat    .81987        .10777E-01    .24805E-03   -.16101E-03
   4  Prefactor     .92014        .12086E-01    .26238E-03   -.92466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101787
  Index      = 2.04843
  Normalizat = 0.819866
  Prefactor  = 0.920139
 **********
 **   18 **HESSE 
 **********

 FCN=   3632.407     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10179E-03    466.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0484        5.2056        .50000       -.63145    
   3  Normalizat    .81987        .22893E-01    .99220E-05   -.99336    
   4  Prefactor     .92014        .25672E-01    .10495E-04   -.95441    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.18519e-09
Minuit parameter uncertainties:
  1  0.0581931
  2  354.616
  3  0.0228931
  4  0.0256724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915481': 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) = 3632.40737288
delta logL = -3.57068074663e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.018e-04  5.819e-02  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  2.048e+00  3.546e+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:  9.201e-01  2.567e-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:  8.199e-01  2.289e-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/915481/cmap_HighResolution_531964801_532224001_4FGL_J0156.3-2420_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-03', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-08-14 20:45:01.379862', job_id='915481', GAL2='0.92', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1628999101.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-3.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1129' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:45:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 915481: <4FGL_J0156.3-2420_daily_bin1129> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1129 29.0777 -24.3345 531964801 532224001 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 :                                   601.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            843 sec.

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

