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 30 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7717
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1675
RA = 21.8237, Dec = 3.413
tmin = 673488001, tmax = 673747201
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='882779', job_status='RUN', time_executed='2022-05-09 01:21:07.499566', time_epoch_executed='1652084467.5' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882779/ft1_4FGL_J0127.2+0324_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882779/ft2_4FGL_J0127.2+0324_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882779/ft1_4FGL_J0127.2+0324_daily_bin1675.fits outfile=/scratch/kocevski/882779/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1675.fits ra=21.8237 dec=3.413 rad=12.0 tmin=673488001.0 tmax=673747201.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 2.68
user 2.43
sys 0.18

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

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

Number of photons that the gtmktime cut: 418

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882779/ft1_filtered_4FGL_J0127.2+0324_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882779/ft2_4FGL_J0127.2+0324_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/882779/ltcube_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits outfile=/scratch/kocevski/882779/expmap_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.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/882779/ltcube_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits
.....................!
real 190.92
user 185.87
sys 4.70

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/882779/ft1_filtered_4FGL_J0127.2+0324_daily_bin1675.fits scfile=/scratch/kocevski/882779/ft2_4FGL_J0127.2+0324_daily_bin1675.fits outfile=/scratch/kocevski/882779/cmap_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.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.58
user 0.38
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882779/ft1_filtered_4FGL_J0127.2+0324_daily_bin1675.fits', '/scratch/kocevski/882779/ft2_4FGL_J0127.2+0324_daily_bin1675.fits', expMap='/scratch/kocevski/882779/expmap_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits', expCube='/scratch/kocevski/882779/ltcube_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882779/Model_4FGL_J0127.2+0324_daily_bin1675.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  1.000e-04  1.000e+04 ( 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/882779/ft1_filtered_4FGL_J0127.2+0324_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/882779/ft2_4FGL_J0127.2+0324_daily_bin1675.fits
Exposure map: /scratch/kocevski/882779/expmap_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits
Exposure cube: /scratch/kocevski/882779/ltcube_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882779/Model_4FGL_J0127.2+0324_daily_bin1675.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) = 4496.64234208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4405       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    19.435       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .90656E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14113E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    67.448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.356       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.982       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    175.77       1.0000         .10000E-03   10000.    
    12 'Prefactor '    96.546       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4360       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72879       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4496.639     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1573 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4401        3.1240       -.21687E-06   -.55231E-03
   2  Prefactor     .10000E-03    16.419       -.10148E-05** at limit **
   3  norm          19.439        21.338       -.11398E-05    .19715E-04
   4  Prefactor     .10078E-03    712.76       -.34060E-03** at limit **
   5  Prefactor     .10000E-03    141.03        .74436E-05** at limit **
   6  norm          67.452        6.6406        .10096E-06    .24060E-04
   7  Prefactor     .10000E-03    38.161        .36577E-05** at limit **
   8  Prefactor     22.355        24.411        .16548E-05    .31536E-03
   9  Prefactor     22.982        14.220       -.32886E-07   -.26356E-04
  10  Prefactor     3.1733        14.507       -.27782E-05   -.14883E-03
  11  Prefactor     175.77        127.43       -.59387E-05   -.18165E-05
  12  Prefactor     96.607        121.38        .57944E-04   -.57053E-05
  13  Prefactor     .10000E-03    4.0430        .63038E-06** at limit **
  14  norm          .10000E-03    19.595        .15374E-04** at limit **
  15  Prefactor     .10000E-03    20.351       -.13578E-04** at limit **
  16  Normalizat    1.4362        .31864       -.31638E-05    .33003E-03
  17  Prefactor     .72870        .23232       -.47302E-06    .28511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4401
  Prefactor  = 0.0001
  norm       = 19.4388
  Prefactor  = 0.000100778
  Prefactor  = 0.0001
  norm       = 67.4515
  Prefactor  = 0.0001
  Prefactor  = 22.3551
  Prefactor  = 22.9817
  Prefactor  = 3.17332
  Prefactor  = 175.766
  Prefactor  = 96.6074
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43617
  Prefactor  = 0.728697
 **********
 **   18 **HESSE 
 **********

 FCN=   4496.639     FROM HESSE     STATUS=OK           219 CALLS     1792 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4401        3.0911        .16752E-03   -1.5468    
   2  Prefactor     .10000E-03    16.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.439        21.365        .90852E-04   -1.4826    
   4  Prefactor     .10078E-03    712.48        .41651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    141.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          67.452        6.6563        .48872E-04   -1.4064    
   7  Prefactor     .10000E-03    38.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.355        24.427        .84714E-04   -1.4762    
   9  Prefactor     22.982        14.228        .83554E-04   -1.4749    
  10  Prefactor     3.1733        14.556        .22740E-03   -1.5352    
  11  Prefactor     175.77        127.51        .15220E-03   -1.3049    
  12  Prefactor     96.607        121.74        .20454E-03   -1.3739    
  13  Prefactor     .10000E-03    4.0523        .13167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    19.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4362        .37978        .34454E-03   -.79588    
  17  Prefactor     .72870        .27471        .34975E-03   -1.0241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13036e-09
Minuit parameter uncertainties:
  1  3.09149
  2  8.93373e-06
  3  21.3739
  4  0.0476587
  5  0.000112769
  6  6.65634
  7  2.80606e-05
  8  24.4383
  9  14.2304
  10  13.5981
  11  127.712
  12  122.061
  13  3.97239e-06
  14  1.22605e-05
  15  4.17575e-05
  16  0.380535
  17  0.275223
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.758e+02  1.277e+02  1.000e-04  1.000e+04 ( 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:  7.287e-01  2.752e-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:  1.436e+00  3.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.70
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 9.21e-08 +/- 6.69e-08
Energy Flux (Fixed Index): 6.92e-05 +/- 5.03e-05

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) = 4496.6359813
delta logL = 0.00277662421468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4496.63475675
delta logL = 0.00400116861783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    169.06       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0183       1.0000          .0000       10.000    
     3 'Normalizat'    1.4309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73061       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4496.635     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      271 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     169.14        149.73        .15514E-03    .29152E-04
   2  Index         2.0180        .59388        .62092E-02    .33618E-03
   3  Normalizat    1.4308        .36760        .34501E-03   -.44815E-04
   4  Prefactor     .73068        .27344        .34927E-03    .34535E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 169.141
  Index      = 2.01802
  Normalizat = 1.43076
  Prefactor  = 0.730676
 **********
 **   18 **HESSE 
 **********

 FCN=   4496.635     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     169.14        145.17        .31027E-04   -1.3099    
   2  Index         2.0180        .57531        .12418E-02   -.63900    
   3  Normalizat    1.4308        .36748        .13800E-04   -.79743    
   4  Prefactor     .73068        .27355        .13971E-04   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47187e-11
Minuit parameter uncertainties:
  1  145.483
  2  0.577303
  3  0.368158
  4  0.274056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882779': 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) = 4496.63475648
delta logL = 0.00400144075684

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.691e+02  1.455e+02  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.018e+00  5.773e-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:  7.307e-01  2.741e-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:  1.431e+00  3.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.68
Ra Dec: 21.824 3.413
Photon Index (Free Index): 2.02 +/- 0.58
Photon Flux (Free Index): 9.91e-08 +/- 1.05e-07
Energy Flux (Free Index): 6.55e-05 +/- 6.13e-05

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/882779/cmap_HighResolution_673488001_673747201_4FGL_J0127.2+0324_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.21e-08', energy_flux2='6.55e-05', photon_flux_error='6.69e-08', dlogl='4.00e-03', energy_flux='6.92e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2022-05-09 01:28:53.610800', photon_index_error2='0.58', photon_index2='2.02', ts='4.70', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='6.13e-05', EG='1.44', time_epoch_completed='1652084933.61', return_code='0', job_id='882779', GAL2='0.73', EG2='1.43', return_code2='0', energy_flux_error='5.03e-05', photon_flux_error2='1.05e-07', ts2='4.68', photon_index='1.97' WHERE bin_id='1675' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:28:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 882779: <4FGL_J0127.2+0324_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 01:20:24 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:20:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:20:26 2022
Terminated at Mon May  9 01:28:54 2022
Results reported at Mon May  9 01:28:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1675 21.8237 3.413 673488001 673747201 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 :                                   468.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   507 sec.
    Turnaround time :                            510 sec.

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

