aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 21 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 = 7444
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.3-2420_daily_bin1696
RA = 29.0777, Dec = -24.3345
tmin = 678931201, tmax = 679190401
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='785098', job_status='RUN', time_executed='2022-07-11 00:05:25.494781', time_epoch_executed='1657523125.49' WHERE source_name='4FGL J0156.3-2420' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785098/ft1_4FGL_J0156.3-2420_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785098/ft1_4FGL_J0156.3-2420_daily_bin1696.fits outfile=/scratch/kocevski/785098/ft1_filteredMKT_4FGL_J0156.3-2420_daily_bin1696.fits ra=29.0777 dec=-24.3345 rad=12.0 tmin=678931201.0 tmax=679190401.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 3.60
user 3.34
sys 0.20

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

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

Number of photons that the gtmktime cut: 559

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/785098/ltcube_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.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/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits
.....................!
real 12.22
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785098/ltcube_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.fits outfile=/scratch/kocevski/785098/expmap_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.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/785098/ltcube_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.fits
.....................!
real 189.77
user 185.28
sys 3.94

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/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits scfile=/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits outfile=/scratch/kocevski/785098/cmap_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.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.45
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits scfile=/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits outfile=/scratch/kocevski/785098/cmap_HighResolution_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.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.00
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785098/ft2_4FGL_J0156.3-2420_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785098/Model_4FGL_J0156.3-2420_daily_bin1696.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/785098/ft1_filtered_4FGL_J0156.3-2420_daily_bin1696.fits.....................!
real 65.96
user 50.70
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23599E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10612E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5168       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6908       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6588       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7446       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6330       1.0000         .10000E-03   10000.    
     9 'norm      '    .98951       1.0000         .10000E-03   10000.    
    10 'norm      '    .57508E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10409E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    5.8355       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.794       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8352       1.0000         .10000E-03   10000.    
    16 'norm      '    35.282       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11380E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    68.716       1.0000         .10000E-03   10000.    
    19 'Prefactor '    229.62       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15098E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89112       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94225       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=   6126.516     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     3192 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6214        .12702E-07** at limit **
   2  Prefactor     .10000E-03    5.8080        .33271E-07** at limit **
   3  Prefactor     9.5373        8.6345       -.13257E-06   -.86923E-04
   4  norm          1.6911        1.6534       -.80956E-07   -.16688E-03
   5  norm          2.4475        1.9409        .56793E-07   -.47282E-04
   6  Prefactor     6.6587        7.0404       -.12055E-05   -.25036E-04
   7  Prefactor     1.7416        5.4692        .11182E-05   -.57920E-04
   8  norm          1.6329        1.2095        .50142E-07   -.10875E-03
   9  norm          .99044        1.8509        .55565E-06    .30915E-03
  10  norm          .10000E-03    1.1764       -.95845E-07** at limit **
  11  Prefactor     .10000E-03    12.005       -.38346E-07** at limit **
  12  norm          5.8368        2.3529        .28145E-07   -.13687E-03
  13  Prefactor     14.832        11.089       -.27116E-06   -.12036E-03
  14  Prefactor     1.3013        5.4147        .27781E-05    .86035E-05
  15  Prefactor     5.8408        6.5020        .16333E-06   -.13051E-04
  16  norm          35.098        40.108        .11603E-07    .93990E-05
  17  Prefactor     .10000E-03    2.0801       -.16057E-06** at limit **
  18  Prefactor     68.777        44.431        .76011E-07    .41463E-04
  19  Prefactor     229.50        63.858       -.49405E-07   -.10151E-03
  20  Prefactor     .10000E-03    22.969       -.40189E-06** at limit **
  21  Prefactor     .10000E-03    1.2526       -.24402E-06** at limit **
  22  Normalizat    .89098        .16555       -.84116E-06   -.11701E-03
  23  Prefactor     .94232        .17809        .16306E-07   -.11009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.53726
  norm       = 1.69108
  norm       = 2.44748
  Prefactor  = 6.65874
  Prefactor  = 1.74159
  norm       = 1.63292
  norm       = 0.990444
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 5.83681
  Prefactor  = 14.8322
  Prefactor  = 1.30132
  Prefactor  = 5.84082
  norm       = 35.0979
  Prefactor  = 0.0001
  Prefactor  = 68.7772
  Prefactor  = 229.499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.890984
  Prefactor  = 0.942325
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.516     FROM HESSE     STATUS=OK           380 CALLS     3572 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6487        .14545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.8310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.5373        8.5253        .12990E-03   -1.5090    
   4  norm          1.6911        1.6461        .90609E-04   -1.5448    
   5  norm          2.4475        1.9342        .93989E-04   -1.5395    
   6  Prefactor     6.6587        7.0309        .77752E-03   -1.5192    
   7  Prefactor     1.7416        5.1896        .26027E-03   -1.5444    
   8  norm          1.6329        1.2000        .70696E-04   -1.5452    
   9  norm          .99044        1.6538        .13445E-02   -1.5509    
  10  norm          .10000E-03    14.515        .15956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.007        .20736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.8368        2.3551        .72042E-04   -1.5225    
  13  Prefactor     14.832        11.071        .10413E-03   -1.4938    
  14  Prefactor     1.3013        5.3439        .33170E-03   -1.5480    
  15  Prefactor     5.8408        6.4865        .16626E-03   -1.5225    
  16  norm          35.098        40.039        .67467E-04   -1.4522    
  17  Prefactor     .10000E-03    2.0916        .11027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     68.777        44.425        .24211E-03   -1.4047    
  19  Prefactor     229.50        63.999        .13353E-03   -1.2666    
  20  Prefactor     .10000E-03    23.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.2561        .85484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89098        .18916        .23112E-03   -.96778    
  23  Prefactor     .94232        .20646        .26271E-03   -.94677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65998e-10
Minuit parameter uncertainties:
  1  1.9261e-07
  2  1.65332e-06
  3  8.52635
  4  1.64613
  5  1.93424
  6  7.03178
  7  5.19093
  8  1.20003
  9  1.65385
  10  0.000346169
  11  2.19323e-06
  12  2.35517
  13  11.073
  14  5.27475
  15  6.48725
  16  40.0701
  17  4.58021e-06
  18  44.4466
  19  64.0188
  20  2.21885e-06
  21  5.82406e-07
  22  0.189302
  23  0.206631
Done.

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

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.000e-04  2.193e-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.423e-01  2.066e-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.910e-01  1.893e-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: 3.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785098/likelihoodResults_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.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) = 6126.51604647
delta logL = -0.000395890581785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6126.51565059
delta logL = -1.40371412272e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9195       1.0000          .0000       10.000    
     3 'Normalizat'    .89105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94225       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=   6126.516     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      237 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10447E-03    9.2227        .18142E-01** at limit **
   2  Index         1.7225        5.8579        .50000        .68565E-05
   3  Normalizat    .89098        .31294E-02    .23113E-03    .61486E-05
   4  Prefactor     .94232        .36687E-02    .26271E-03    .49766E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104474
  Index      = 1.72252
  Normalizat = 0.890984
  Prefactor  = 0.942325
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.516     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10447E-03    219.72        .28394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7225        8.1203        .50000       -.71484    
   3  Normalizat    .89098        .15574E-01    .92450E-05   -.96778    
   4  Prefactor     .94232        .18258E-01    .10508E-04   -.94677    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32072e-07
Minuit parameter uncertainties:
  1  0.0629411
  2  1062.54
  3  0.0155741
  4  0.0182577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785098': 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) = 6126.5156502
delta logL = 3.77874130209e-07

Extracting fit parameters...

4FGL J0156.3-2420
   Spectrum: PowerLaw
266    Prefactor:  1.045e-04  6.294e-02  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.723e+00  1.063e+03  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.423e-01  1.826e-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.910e-01  1.557e-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/785098/cmap_HighResolution_678931201_679190401_4FGL_J0156.3-2420_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-03', job_status='DONE', photon_flux_upper_limit='3.36e-08', time_completed='2022-07-11 00:16:58.969938', job_id='785098', GAL2='0.94', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1657523818.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1696' AND source_name='4FGL J0156.3-2420' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:16:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 785098: <4FGL_J0156.3-2420_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0156.3-2420_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:50 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:50 2022
Terminated at Mon Jul 11 00:16:59 2022
Results reported at Mon Jul 11 00:16:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.3-2420_daily_bin1696 29.0777 -24.3345 678931201 679190401 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 :                                   674.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            729 sec.

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

