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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1721
RA = 21.8237, Dec = 3.413
tmin = 685411201, tmax = 685670401
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='48772', job_status='RUN', time_executed='2022-09-24 00:09:32.766234', time_epoch_executed='1664003372.77' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48772/ft1_4FGL_J0127.2+0324_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48772/ft1_4FGL_J0127.2+0324_daily_bin1721.fits outfile=/scratch/kocevski/48772/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1721.fits ra=21.8237 dec=3.413 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.28
user 5.00
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.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/48772/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.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.52
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/48772/ltcube_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.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/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits
.....................!
real 16.72
user 16.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/48772/ltcube_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits outfile=/scratch/kocevski/48772/expmap_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.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/48772/ltcube_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits
.....................!
real 192.82
user 187.06
sys 5.15

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/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits scfile=/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits outfile=/scratch/kocevski/48772/cmap_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits scfile=/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits outfile=/scratch/kocevski/48772/cmap_HighResolution_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits', '/scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits', expMap='/scratch/kocevski/48772/expmap_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits', expCube='/scratch/kocevski/48772/ltcube_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/48772/Model_4FGL_J0127.2+0324_daily_bin1721.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/48772/ft1_filtered_4FGL_J0127.2+0324_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/48772/ft2_4FGL_J0127.2+0324_daily_bin1721.fits
Exposure map: /scratch/kocevski/48772/expmap_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits
Exposure cube: /scratch/kocevski/48772/ltcube_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/48772/Model_4FGL_J0127.2+0324_daily_bin1721.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) = 7372.43529305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12058E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .56317E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .10146E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .41855E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48578       1.0000          .0000       .10000E+07
     6 'norm      '    80.442       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.0556       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13769E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13446E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .66212E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17077E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .18618E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28240E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    .85325       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1072       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=   7372.366     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      828 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2403       -.73213E-07** at limit **
   2  Prefactor     .44409E-09    10.308        .15591E-07** at limit **
   3  norm          .17764E-07    82.922        .10562E-05** at limit **
   4  Prefactor     .39413E-08    17.417        .85751E-07** at limit **
   5  Prefactor     .17264E-06    82.112       -.27673E-06** at limit **
   6  norm          80.402        5.4447       -.68665E-08   -.28625E-03
   7  Prefactor     6.0722        1.7701       -.30321E-07    .86750E-01
   8  Prefactor      .0000        3.9056       -.86767E-07** at limit **
   9  Prefactor     .22204E-09    7.1128       -.19022E-06** at limit **
  10  Prefactor      .0000        25.432       -.65995E-07** at limit **
  11  Prefactor      .0000        1.7006        .44749E-07** at limit **
  12  norm          .88818E-09    15.137        .47921E-06** at limit **
  13  Prefactor      .0000        2.0012        .16276E-07** at limit **
  14  Normalizat    .85393        .24906        .14451E-05   -.69378E-04
  15  Prefactor     1.1070        .19358       -.18038E-05   -.15109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  norm       = 1.77636e-08
  Prefactor  = 3.94129e-09
  Prefactor  = 1.7264e-07
  norm       = 80.402
  Prefactor  = 6.07221
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.88178e-10
  Prefactor  = 0
  Normalizat = 0.85393
  Prefactor  = 1.10696
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.366     FROM HESSE     STATUS=OK           208 CALLS     1036 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    10.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17764E-07    80.620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39413E-08    17.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17264E-06    82.974        .80153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          80.402        5.4451        .11150E-03   -1.5529    
   7  Prefactor     6.0722        12.311        .40777E-03   -1.5659    
   8  Prefactor      .0000        3.9059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    7.1343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        25.406        .14945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.7039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .88818E-09    14.727        .17129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.0074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .85393        .21009        .84477E-01   -.98098    
  15  Prefactor     1.1070        .16333        .58847E-01   -.89244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94035e-07
Minuit parameter uncertainties:
  1  9.10752e-06
  2  0.000134393
  3  0.00239498
  4  0.000526555
  5  0.00756959
  6  5.44511
  7  12.3107
  8  5.88859e-06
  9  8.26038e-05
  10  1.93326e-05
  11  8.8408e-06
  12  0.000231685
  13  6.23689e-06
  14  0.210295
  15  0.163404
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.933e-05  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.107e+00  1.634e-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:  8.539e-01  2.103e-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: 5.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48772/likelihoodResults_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.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) = 7372.38466803
delta logL = -0.018799622153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7372.36586992
delta logL = -1.51384392666e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7372.366     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      297 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63838E-08    29.350        .42118E-03** at limit **
   2  Index         .75547        9.0764        .50000       -.14415E-08
   3  Normalizat    .85393        .90365E-02    .84477E-01    .57327E-05
   4  Prefactor     1.1070        .70981E-02    .58847E-01    .96122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38378e-09
  Index      = 0.755469
  Normalizat = 0.853929
  Prefactor  = 1.10696
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.366     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      326 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63838E-08    142.81        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75547        5.3289        .50000       -1.0139    
   3  Normalizat    .85393        .20090E-01    .37410E-03   -.98098    
   4  Prefactor     1.1070        .15811E-01    .26020E-03   -.89244    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.58265e-10
Minuit parameter uncertainties:
  1  0.00190693
  2  128920
  3  0.02009
  4  0.0158115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48772': 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) = 7372.36586841
delta logL = -2.77395884041e-10

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  6.384e-09  1.907e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  7.555e-01  1.289e+05  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.107e+00  1.581e-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:  8.539e-01  2.009e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/48772/cmap_HighResolution_685411201_685670401_4FGL_J0127.2+0324_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.71e-08', time_completed='2022-09-24 00:19:02.507256', job_id='48772', GAL2='1.11', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1664003942.51', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-2.77e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1721' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 00:19:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 48772: <4FGL_J0127.2+0324_daily_bin1721> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1721> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 24 00:05:04 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 00:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 00:05:25 2022
Terminated at Sat Sep 24 00:19:03 2022
Results reported at Sat Sep 24 00:19:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1721 21.8237 3.413 685411201 685670401 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 :                                   571.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            839 sec.

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

