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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1725
RA = 21.8237, Dec = 3.413
tmin = 686448001, tmax = 686707201
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='875402', job_status='RUN', time_executed='2022-10-06 00:10:56.565860', time_epoch_executed='1665040256.57' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875402/ft1_4FGL_J0127.2+0324_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875402/ft1_4FGL_J0127.2+0324_daily_bin1725.fits outfile=/scratch/kocevski/875402/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1725.fits ra=21.8237 dec=3.413 rad=12.0 tmin=686448001.0 tmax=686707201.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.79
user 3.58
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.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/875402/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.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.46
user 0.29
sys 0.16

Number of photons that the gtmktime cut: 412

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/875402/ltcube_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.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/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits
.....................!
real 14.01
user 13.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/875402/ltcube_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits outfile=/scratch/kocevski/875402/expmap_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.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/875402/ltcube_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits
.....................!
real 162.56
user 151.96
sys 4.60

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

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits outfile=/scratch/kocevski/875402/cmap_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.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=21.8237 yref=3.413 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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits outfile=/scratch/kocevski/875402/cmap_HighResolution_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.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=21.8237 yref=3.413 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875402/Model_4FGL_J0127.2+0324_daily_bin1725.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/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits.....................!
real 42.71
user 41.51
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits', '/scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits', expMap='/scratch/kocevski/875402/expmap_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits', expCube='/scratch/kocevski/875402/ltcube_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875402/Model_4FGL_J0127.2+0324_daily_bin1725.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/875402/ft1_filtered_4FGL_J0127.2+0324_daily_bin1725.fits
Spacecraft file(s): /scratch/kocevski/875402/ft2_4FGL_J0127.2+0324_daily_bin1725.fits
Exposure map: /scratch/kocevski/875402/expmap_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits
Exposure cube: /scratch/kocevski/875402/ltcube_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875402/Model_4FGL_J0127.2+0324_daily_bin1725.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) = 4274.55360801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17248E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12051E-02   1.0000          .0000       .10000E+07
     3 'norm      '    58.589       1.0000          .0000       .10000E+07
     4 'Prefactor '    68.206       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.344       1.0000          .0000       .10000E+07
     6 'norm      '    59.472       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45020E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .90234E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35428E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21109E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8846       1.0000          .0000       .10000E+07
    12 'norm      '    .34777E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13016E-02   1.0000          .0000       .10000E+07
    14 'Normalizat'    .58523       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4274.552     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1073 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14988E-08    24.809       -.45815E-05** at limit **
   2  Prefactor     .12768E-08    16.552        .45750E-05** at limit **
   3  norm          58.647        3.3759       -.12778E-07    .32202    
   4  Prefactor     68.712        25.333        .94811E-07    .29800    
   5  Prefactor     24.229        150.58        .61269E-06   -.42517E-01
   6  norm          59.451        6.1324        .21626E-06   -.23467E-02
   7  Prefactor     .22204E-09    7.1264       -.58995E-06** at limit **
   8  Prefactor     .55511E-10    65.765       -.20904E-05** at limit **
   9  Prefactor     .44409E-09    6.7454       -.67318E-06** at limit **
  10  Prefactor     .26090E-07    105.08       -.52956E-05** at limit **
  11  Prefactor     2.8847        3.6040        .38124E-06   -.12796E-02
  12  norm          .47184E-08    17.888        .44171E-05** at limit **
  13  Prefactor     .72164E-09    9.8914       -.41557E-05** at limit **
  14  Normalizat    .58501        .28190       -.17178E-04    .18842E-04
  15  Prefactor     1.1769        .23145        .77368E-05    .11049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4988e-09
  Prefactor  = 1.27676e-09
  norm       = 58.647
  Prefactor  = 68.7121
  Prefactor  = 24.2289
  norm       = 59.4513
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 2.60902e-08
  Prefactor  = 2.88466
  norm       = 4.71845e-09
  Prefactor  = 7.21645e-10
  Normalizat = 0.58501
  Prefactor  = 1.17689
 **********
 **   18 **HESSE 
 **********

 FCN=   4274.552     FROM HESSE     STATUS=OK           218 CALLS     1291 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14988E-08    2.2801        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    16.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          58.647        31.164        .13065E-03   -1.5555    
   4  Prefactor     68.712        72.100        .12109E-03   -1.5542    
   5  Prefactor     24.229        167.74        .21161E-03   -1.5610    
   6  norm          59.451        6.2396        .12968E-03   -1.5554    
   7  Prefactor     .22204E-09    7.1239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    5.7763        .94957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-09    6.7437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26090E-07    104.99        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8847        3.6102        .59814E-03   -1.5674    
  12  norm          .47184E-08    17.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    9.8749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .58501        .24843        .87143E-01   -1.0862    
  15  Prefactor     1.1769        .20211        .52347E-01   -.87045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67325e-06
Minuit parameter uncertainties:
  1  0.0001173
  2  0.000291894
  3  31.1641
  4  72.1006
  5  127.509
  6  6.23965
  7  7.91753e-05
  8  4.06202e-05
  9  0.000106683
  10  0.00330872
  11  3.61017
  12  0.000582693
  13  0.000170202
  14  0.248903
  15  0.202243
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  2.609e-08  3.309e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.177e+00  2.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  5.850e-01  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 9.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875402/likelihoodResults_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.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) = 4274.55644217
delta logL = -0.0046326434649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4274.55180977
delta logL = -2.46281160798e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4274.552     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      226 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60507E-08    160.53        .33290E-05** at limit **
   2  Index         1.5668        5.2797        .59281E-05   -.83141E-11
   3  Normalizat    .58501        .27729       -.75163E-05   -.33383E-04
   4  Prefactor     1.1769        .23100        .95234E-05   -.81052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.05072e-09
  Index      = 1.5668
  Normalizat = 0.585009
  Prefactor  = 1.17689
 **********
 **   18 **HESSE 
 **********

 FCN=   4274.552     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      265 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60507E-08    21004.        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5668        7.5123        .50000       -.75686    
   3  Normalizat    .58501        .87763E-01    .87143E-01   -1.0862    
   4  Prefactor     1.1769        .72947E-01    .52347E-01   -.87045    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.94356e-09
Minuit parameter uncertainties:
  1  0.0225932
  2  41.7501
  3  0.0877839
  4  0.0729536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875402': 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) = 4274.55180953
delta logL = 1.01863406599e-10

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  6.051e-09  2.259e-02  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.567e+00  4.175e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.177e+00  7.295e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  5.850e-01  8.778e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.824 3.413

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/875402/cmap_HighResolution_686448001_686707201_4FGL_J0127.2+0324_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2022-10-06 00:17:29.404959', job_id='875402', GAL2='1.18', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1665040649.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='1.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1725' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 00:17:29 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 875401: <4FGL_J0127.2+0324_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1725> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:51 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:08:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:08:11 2022
Terminated at Thu Oct  6 00:16:28 2022
Results reported at Thu Oct  6 00:16:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1725 21.8237 3.413 686448001 686707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0127.2+0324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   466.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   496 sec.
    Turnaround time :                            637 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 875402: <4FGL_J0127.2+0324_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:51 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:08:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:08:11 2022
Terminated at Thu Oct  6 00:17:30 2022
Results reported at Thu Oct  6 00:17:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1725 21.8237 3.413 686448001 686707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0127.2+0324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   388.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            699 sec.

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

