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


Performing analysis on: 4FGL_J0152.6+0147_daily_bin1740
RA = 28.1614, Dec = 1.7894
tmin = 690336001, tmax = 690595201
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='822820', job_status='RUN', time_executed='2022-11-20 00:12:09.358679', time_epoch_executed='1668931929.36' WHERE source_name='4FGL J0152.6+0147' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822820

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822820/ft1_4FGL_J0152.6+0147_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822820/ft1_4FGL_J0152.6+0147_daily_bin1740.fits outfile=/scratch/kocevski/822820/ft1_filteredMKT_4FGL_J0152.6+0147_daily_bin1740.fits ra=28.1614 dec=1.7894 rad=12.0 tmin=690336001.0 tmax=690595201.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.08
user 2.75
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.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/822820/ft1_filteredMKT_4FGL_J0152.6+0147_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 455

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822820/ltcube_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.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/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits
.....................!
real 15.27
user 14.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822820/ltcube_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits outfile=/scratch/kocevski/822820/expmap_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.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/822820/ltcube_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits
.....................!
real 193.62
user 186.68
sys 5.16

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 J0152.6+0147 @ 28.1614 1.7894

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits outfile=/scratch/kocevski/822820/cmap_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.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=28.1614 yref=1.7894 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits outfile=/scratch/kocevski/822820/cmap_HighResolution_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.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=28.1614 yref=1.7894 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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822820/Model_4FGL_J0152.6+0147_daily_bin1740.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/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits.....................!
real 63.91
user 60.69
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits', '/scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits', expMap='/scratch/kocevski/822820/expmap_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits', expCube='/scratch/kocevski/822820/ltcube_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822820/Model_4FGL_J0152.6+0147_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.6+0147'

4FGL J0152.6+0147
   Spectrum: PowerLaw
237    Prefactor:  1.406e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
238        Index:  1.984e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/822820/ft1_filtered_4FGL_J0152.6+0147_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822820/ft2_4FGL_J0152.6+0147_daily_bin1740.fits
Exposure map: /scratch/kocevski/822820/expmap_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822820/ltcube_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822820/Model_4FGL_J0152.6+0147_daily_bin1740.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) = 5044.6029276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87706E-04   1.0000          .0000       .10000E+07
     2 'norm      '    28.860       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9976       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14487E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    25.221       1.0000          .0000       .10000E+07
     6 'norm      '    33.910       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6074       1.0000          .0000       .10000E+07
     8 'norm      '    .36542E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6995       1.0000          .0000       .10000E+07
    10 'norm      '    .23332E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.4963       1.0000          .0000       .10000E+07
    12 'norm      '    .21871E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39831E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31407E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5256       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .49327       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5044.528     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1274 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        32.797       -.14103E-06** at limit **
   2  norm          28.838        3.8503        .97616E-08   -.13798E-03
   3  Prefactor     3.2025        12.264       -.18331E-08    .35986E-06
   4  Prefactor      .0000        7.7310       -.30616E-07** at limit **
   5  Prefactor     25.439        38.774        .93884E-07    .37276E-06
   6  norm          33.947        10.348       -.85491E-09   -.76307E-05
   7  Prefactor     2.6220        6.1641        .68331E-08   -.29978E-04
   8  norm           .0000        39.073        .93018E-07** at limit **
   9  Prefactor     9.6594        12.632        .59506E-07    .66036E-04
  10  norm           .0000        4.0334        .51969E-07** at limit **
  11  Prefactor     9.5135        5.9081       -.10838E-07    .83340E-04
  12  norm           .0000        2.2609        .76422E-08** at limit **
  13  Prefactor     .33307E-09    170.56       -.33758E-05** at limit **
  14  Prefactor     122.92        165.27       -.18776E-06    .96450E-05
  15  Prefactor      .0000        33.360        .78429E-07** at limit **
  16  Normalizat    1.5244        .28872       -.27893E-06    .23619E-05
  17  Prefactor     .49369        .22217        .18246E-05    .76924E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 28.8384
  Prefactor  = 3.20252
  Prefactor  = 0
  Prefactor  = 25.4386
  norm       = 33.9474
  Prefactor  = 2.62204
  norm       = 0
  Prefactor  = 9.65944
  norm       = 0
  Prefactor  = 9.51348
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 122.923
  Prefactor  = 0
  Normalizat = 1.52437
  Prefactor  = 0.493685
 **********
 **   18 **HESSE 
 **********

 FCN=   5044.528     FROM HESSE     STATUS=OK           265 CALLS     1539 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        32.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          28.838        3.8735        .18618E-03   -1.5601    
   3  Prefactor     3.2025        12.397        .58603E-03   -1.5672    
   4  Prefactor      .0000        7.7214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.439        38.766        .19917E-03   -1.5607    
   6  norm          33.947        10.338        .17175E-03   -1.5591    
   7  Prefactor     2.6220        6.1958        .63149E-03   -1.5676    
   8  norm           .0000        38.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6594        12.587        .32152E-03   -1.5646    
  10  norm           .0000        4.0489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5135        5.9138        .32496E-03   -1.5646    
  12  norm           .0000        .96696        .22247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-09    170.16        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     122.92        165.27        .89485E-04   -1.5486    
  15  Prefactor      .0000        33.402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5244        .24442        .58778E-01   -.77096    
  17  Prefactor     .49369        .18979        .76057E-01   -1.1227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67306e-07
Minuit parameter uncertainties:
  1  8.31782e-06
  2  3.87352
  3  12.3973
  4  9.14034e-07
  5  38.7664
  6  10.3377
  7  6.19584
  8  1.742e-05
  9  12.5875
  10  1.38213e-06
  11  5.91384
  12  1.60017e-07
  13  0.000472124
  14  165.28
  15  4.79525e-06
  16  0.244607
  17  0.190034
Done.

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

Extracting fit parameters...

4FGL J0152.6+0147
   Spectrum: PowerLaw
237    Prefactor:  2.622e+00  6.196e+00  0.000e+00  1.000e+06 ( 1.000e-13)
238        Index:  1.984e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  4.937e-01  1.900e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.524e+00  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 28.161 1.789
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822820/likelihoodResults_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.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) = 5044.47616589
delta logL = 0.0513790926552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5044.46699379
delta logL = 0.0605511922349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9022       1.0000          .0000       .10000E+07
     2 'Index     '    2.3060       1.0000          .0000       10.000    
     3 'Normalizat'    1.5176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49590       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+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=   5044.467     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9019        5.9190        .17971E-04    .20813E-03
   2  Index         2.3062        1.1159        .82496E-02    .25663E-04
   3  Normalizat    1.5177        .27655        .26035E-03   -.20537E-03
   4  Prefactor     .49573        .21572        .33616E-03   -.17245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.90195
  Index      = 2.30618
  Normalizat = 1.51774
  Prefactor  = 0.495732
 **********
 **   18 **HESSE 
 **********

 FCN=   5044.467     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9019        5.0392        .71885E-06   -1.5680    
   2  Index         2.3062        .95342        .32999E-03   -.56897    
   3  Normalizat    1.5177        .27669        .52070E-04   -.77281    
   4  Prefactor     .49573        .21565        .13446E-04   -1.1217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94198e-11
Minuit parameter uncertainties:
  1  5.03924
  2  0.96175
  3  0.276963
  4  0.21601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822820': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5044.46699337
delta logL = 0.0605516134337

Extracting fit parameters...

4FGL J0152.6+0147
   Spectrum: PowerLaw
237    Prefactor:  1.902e+00  5.039e+00  0.000e+00  1.000e+06 ( 1.000e-13)
238        Index:  2.306e+00  9.618e-01  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  4.957e-01  2.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.518e+00  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 28.161 1.789

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/822820/cmap_HighResolution_690336001_690595201_4FGL_J0152.6+0147_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-11-20 00:20:29.448298', job_id='822820', GAL2='0.50', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1668932429.45', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='6.06e-02', ts2='0.33', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1740' AND source_name='4FGL J0152.6+0147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:20:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 822740: <4FGL_J0152.6+0147_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0152.6+0147_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:09 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:08:15 2022
Terminated at Sun Nov 20 00:18:49 2022
Results reported at Sun Nov 20 00:18:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.6+0147_daily_bin1740 28.1614 1.7894 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0152.6+0147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   503.54 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             305.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            820 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 822820: <4FGL_J0152.6+0147_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0152.6+0147_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:15 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:12 2022
Terminated at Sun Nov 20 00:20:30 2022
Results reported at Sun Nov 20 00:20:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.6+0147_daily_bin1740 28.1614 1.7894 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0152.6+0147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   497.04 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            915 sec.

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

