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 118 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0156.5+3914_daily_bin1709
RA = 29.1325, Dec = 39.2493
tmin = 682300801, tmax = 682560001
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='2525', job_status='RUN', time_executed='2022-09-16 10:24:10.696519', time_epoch_executed='1663349050.7' WHERE source_name='4FGL J0156.5+3914' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2525

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2525/ft1_4FGL_J0156.5+3914_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2525/ft1_4FGL_J0156.5+3914_daily_bin1709.fits outfile=/scratch/kocevski/2525/ft1_filteredMKT_4FGL_J0156.5+3914_daily_bin1709.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=682300801.0 tmax=682560001.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.76
user 3.53
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.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/2525/ft1_filteredMKT_4FGL_J0156.5+3914_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.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.50
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/2525/ltcube_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.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/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits
.....................!
real 15.25
user 14.80
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/2525/ltcube_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits outfile=/scratch/kocevski/2525/expmap_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.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/2525/ltcube_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits
.....................!
real 191.87
user 185.52
sys 5.82

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits outfile=/scratch/kocevski/2525/cmap_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.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.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.34
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits outfile=/scratch/kocevski/2525/cmap_HighResolution_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.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.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2525/Model_4FGL_J0156.5+3914_daily_bin1709.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/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits.....................!
real 89.69
user 88.21
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits', '/scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits', expMap='/scratch/kocevski/2525/expmap_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits', expCube='/scratch/kocevski/2525/ltcube_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2525/Model_4FGL_J0156.5+3914_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/2525/ft1_filtered_4FGL_J0156.5+3914_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/2525/ft2_4FGL_J0156.5+3914_daily_bin1709.fits
Exposure map: /scratch/kocevski/2525/expmap_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits
Exposure cube: /scratch/kocevski/2525/ltcube_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2525/Model_4FGL_J0156.5+3914_daily_bin1709.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) = 8402.09830581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.390       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20965E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14753       1.0000          .0000       .10000E+07
     4 'Prefactor '    90.491       1.0000          .0000       .10000E+07
     5 'norm      '    2.9391       1.0000          .0000       .10000E+07
     6 'norm      '    1.0354       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11920E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10822E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26521E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    37.586       1.0000          .0000       .10000E+07
    11 'norm      '    .19325E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1530       1.0000          .0000       .10000E+07
    13 'norm      '    3.7524       1.0000          .0000       .10000E+07
    14 'norm      '    .81717       1.0000          .0000       .10000E+07
    15 'norm      '    .13396       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.9133       1.0000          .0000       .10000E+07
    17 'norm      '    7.8930       1.0000          .0000       .10000E+07
    18 'Normalizat'    .88340       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0280       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8402.088     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1502 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.391        10.462       -.12465E-06   -.25133E-01
   2  Prefactor     .38636E-07    5.6216        .42768E-06** at limit **
   3  norm          .14861        2.7001        .55557E-07** at limit **
   4  Prefactor     91.045        52.849        .34613E-06   -.62907E-01
   5  norm          2.9388        1.3042        .46110E-07   -.80012E-03
   6  norm          1.0352        .75345        .10026E-07   -.17185E-02
   7  Prefactor     .23703E-07    3.6005        .30977E-09** at limit **
   8  Prefactor     .14965E-04    7.8554        .22081E-06** at limit **
   9  Prefactor     .75473E-06    13.269        .38924E-06** at limit **
  10  Prefactor     37.735        33.158        .71831E-07    .86388E-01
  11  norm          .35805E-07    3.4718       -.30454E-06** at limit **
  12  Prefactor     4.1338        5.6233        .12491E-06   -.22996E-02
  13  norm          3.7563        3.7042       -.73191E-07    .87681E-03
  14  norm          .81698        .67899       -.22799E-07    .43257E-02
  15  norm          .13399        .12808       -.54715E-07** at limit **
  16  Prefactor     5.9109        5.9970        .52477E-07   -.33154E-03
  17  norm          7.8911        7.5719        .38592E-06   -.18806E-02
  18  Normalizat    .88320        .23038       -.75230E-05    .24812E-05
  19  Prefactor     1.0280        .11432        .34148E-05   -.75122E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3914
  Prefactor  = 3.86358e-08
  norm       = 0.148609
  Prefactor  = 91.0448
  norm       = 2.9388
  norm       = 1.03524
  Prefactor  = 2.37033e-08
  Prefactor  = 1.49651e-05
  Prefactor  = 7.5473e-07
  Prefactor  = 37.7347
  norm       = 3.58047e-08
  Prefactor  = 4.1338
  norm       = 3.75632
  norm       = 0.816976
  norm       = 0.133986
  Prefactor  = 5.91091
  norm       = 7.89106
  Normalizat = 0.883197
  Prefactor  = 1.02798
 **********
 **   18 **HESSE 
 **********

 FCN=   8402.088     FROM HESSE     STATUS=OK           322 CALLS     1824 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.391        10.459        .28432E-03   -1.5638    
   2  Prefactor     .38636E-07    5.6546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .14861        .95126        .27697E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.045        55.820        .10513E-03   -1.5517    
   5  norm          2.9388        1.3027        .59221E-03   -1.5674    
   6  norm          1.0352        .76340        .12386E-02   -1.5688    
   7  Prefactor     .23703E-07    3.6281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14965E-04    1.4814        .60459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .75473E-06    13.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.735        37.678        .16313E-03   -1.5585    
  11  norm          .35805E-07    3.4663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1338        5.6101        .49435E-03   -1.5667    
  13  norm          3.7563        3.6852        .52096E-03   -1.5669    
  14  norm          .81698        .68151        .51664E-03   -1.5690    
  15  norm          .13399        .11705        .53845E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9109        6.0232        .41272E-03   -1.5659    
  17  norm          7.8911        7.6168        .35666E-03   -1.5652    
  18  Normalizat    .88320        .20494        .80975E-01   -.97053    
  19  Prefactor     1.0280        .10048        .41419E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27036e-07
Minuit parameter uncertainties:
  1  10.4588
  2  0.000934838
  3  0.751973
  4  55.82
  5  1.30272
  6  0.763404
  7  0.000586266
  8  0.00941687
  9  0.00646968
  10  37.6787
  11  0.00070449
  12  5.61015
  13  3.68516
  14  0.681511
  15  0.117051
  16  6.02323
  17  7.61682
  18  0.205118
  19  0.100497
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.497e-05  9.417e-03  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.028e+00  1.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.832e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/2525/likelihoodResults_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.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) = 8401.85226739
delta logL = 0.235939512204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8401.75680002
delta logL = 0.33140687464

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15864       1.0000          .0000       .10000E+07
     2 'Index     '    4.2880       1.0000          .0000       10.000    
     3 'Normalizat'    .82224       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0468       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8401.757     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      363 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16003        2.1114        .10037E-02** at limit **
   2  Index         4.2836        2.2375        .20355        .94679E-04
   3  Normalizat    .82217        .30176E-01    .83671E-01    .34523E-04
   4  Prefactor     1.0469        .15870E-01    .40102E-01    .29128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.16003
  Index      = 4.28361
  Normalizat = 0.822166
  Prefactor  = 1.04688
 **********
 **   18 **HESSE 
 **********

 FCN=   8401.757     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      396 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16003        12.730        .45187E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2836        6.8129        .72956E-02   -.14377    
   3  Normalizat    .82217        .19621        .37048E-03   -.99252    
   4  Prefactor     1.0469        .10081        .17379E-03   -.91183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.98666e-07
Minuit parameter uncertainties:
  1  2.85458
  2  9.62865
  3  0.196381
  4  0.100826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2525': 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) = 8401.75679695
delta logL = 0.331409944674

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.600e-01  2.855e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  4.284e+00  9.629e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.047e+00  1.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.222e-01  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.133 39.249

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/2525/cmap_HighResolution_682300801_682560001_4FGL_J0156.5+3914_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2022-09-16 10:35:17.035142', job_id='2525', GAL2='1.05', fit_tolerance='1e-08', EG2='0.82', EG='0.88', time_epoch_completed='1663349717.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.31e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1709' AND source_name='4FGL J0156.5+3914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 2525: <4FGL_J0156.5+3914_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0156.5+3914_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:20:53 2022
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:22:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:22:02 2022
Terminated at Fri Sep 16 10:35:17 2022
Results reported at Fri Sep 16 10:35:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.5+3914_daily_bin1709 29.1325 39.2493 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0156.5+3914 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            864 sec.

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

