/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 113 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin418
RA = 21.8237, Dec = 3.413
tmin = 347673601, tmax = 347932801
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='580841', job_status='RUN', time_executed='2021-08-14 01:07:14.925688', time_epoch_executed='1628928434.93' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580841/ft1_4FGL_J0127.2+0324_daily_bin418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580841/ft1_4FGL_J0127.2+0324_daily_bin418.fits outfile=/scratch/kocevski/580841/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin418.fits ra=21.8237 dec=3.413 rad=12.0 tmin=347673601.0 tmax=347932801.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 6.64
user 3.20
sys 3.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.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/580841/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin418.fits evtable="EVENTS" outfile="/scratch/kocevski/580841/ft1_filtered_4FGL_J0127.2+0324_daily_bin418.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 3.69
user 0.33
sys 3.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580841/ft1_filtered_4FGL_J0127.2+0324_daily_bin418.fits" evtable="EVENTS" scfile=/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits sctable="SC_DATA" outfile=/scratch/kocevski/580841/ltcube_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.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/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits
.....................!
real 15.95
user 11.91
sys 3.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580841/ft1_filtered_4FGL_J0127.2+0324_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits sctable="SC_DATA" expcube=/scratch/kocevski/580841/ltcube_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.fits outfile=/scratch/kocevski/580841/expmap_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.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/580841/ltcube_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.fits
.....................!
real 196.81
user 187.14
sys 8.48

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/580841/ft1_filtered_4FGL_J0127.2+0324_daily_bin418.fits scfile=/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits outfile=/scratch/kocevski/580841/cmap_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.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 3.65
user 0.37
sys 3.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580841/ft1_filtered_4FGL_J0127.2+0324_daily_bin418.fits scfile=/scratch/kocevski/580841/ft2_4FGL_J0127.2+0324_daily_bin418.fits outfile=/scratch/kocevski/580841/cmap_HighResolution_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.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 3.64
user 0.40
sys 3.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7631       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.284       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0679       1.0000         .10000E-03   10000.    
     7 'Prefactor '    67.124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2164       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.655       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    73.280       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0929       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .82285       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0547       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=   4904.521     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1588 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7629        2.8052        .10919E-08    .20196E-04
   2  Prefactor     33.273        50.777       -.14767E-04    .18754E-06
   3  norm          .10000E-03    4.4836       -.50299E-07** at limit **
   4  Prefactor     .10000E-03    17.241        .38806E-06** at limit **
   5  Prefactor     .10000E-03    29.425       -.46749E-06** at limit **
   6  norm          1.0678        1.0044       -.48823E-07    .66479E-04
   7  Prefactor     67.122        56.516       -.16700E-05    .21548E-05
   8  Prefactor     5.2164        9.7470       -.45584E-06   -.16975E-05
   9  Prefactor     16.654        10.241        .36374E-06    .12720E-04
  10  Prefactor     2.5693        8.3439        .13378E-05   -.70443E-04
  11  Prefactor     73.279        46.068       -.13670E-05    .13755E-05
  12  Prefactor     .10000E-03    56.527        .12134E-05** at limit **
  13  Prefactor     .10000E-03    1.5557       -.18183E-06** at limit **
  14  norm          13.325        14.973       -.26405E-06    .44084E-05
  15  Prefactor     1.0722        1.9813       -.45015E-06   -.24211E-03
  16  Normalizat    .82291        .19762        .74582E-06   -.46033E-05
  17  Prefactor     1.0547        .15998        .60918E-07    .19339E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.76286
  Prefactor  = 33.2735
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.06777
  Prefactor  = 67.122
  Prefactor  = 5.21645
  Prefactor  = 16.6539
  Prefactor  = 2.56932
  Prefactor  = 73.2788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.3254
  Prefactor  = 1.07217
  Normalizat = 0.82291
  Prefactor  = 1.0547
 **********
 **   18 **HESSE 
 **********

 FCN=   4904.521     FROM HESSE     STATUS=OK           233 CALLS     1821 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7629        2.8087        .79158E-04   -1.5228    
   2  Prefactor     33.273        50.803        .69457E-04   -1.4554    
   3  norm          .10000E-03    4.4842        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0678        .98888        .65619E-04   -1.5501    
   7  Prefactor     67.122        56.506        .48989E-04   -1.4068    
   8  Prefactor     5.2164        9.7518        .17600E-03   -1.5251    
   9  Prefactor     16.654        10.243        .98141E-04   -1.4892    
  10  Prefactor     2.5693        8.5908        .12730E-02   -1.5387    
  11  Prefactor     73.279        46.084        .46900E-04   -1.3994    
  12  Prefactor     .10000E-03    56.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.5594        .85304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.325        15.054        .10973E-03   -1.4978    
  15  Prefactor     1.0722        5.4906        .85003E-01   -1.5501    
  16  Normalizat    .82291        .22623        .28397E-03   -.99224    
  17  Prefactor     1.0547        .18551        .20865E-03   -.90928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37407e-11
Minuit parameter uncertainties:
  1  2.80878
  2  50.8688
  3  3.74399e-07
  4  8.64447e-07
  5  2.17746e-06
  6  0.988898
  7  56.5512
  8  9.75473
  9  10.2437
  10  8.59488
  11  46.1062
  12  1.09136e-05
  13  5.88104e-07
  14  15.0579
  15  4.85304
  16  0.226493
  17  0.185623
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  7.328e+01  4.611e+01  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:  1.055e+00  1.856e-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.229e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.01
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.84e-08 +/- 2.42e-08
Energy Flux (Fixed Index): 2.89e-05 +/- 1.82e-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) = 4901.06246128
delta logL = 3.45856114542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4901.05354022
delta logL = 3.46748220649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.800       1.0000         .10000E-03   10000.    
     2 'Index     '    .94998       1.0000          .0000       10.000    
     3 'Normalizat'    .83877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0535       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=   4901.054     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.757        73.313       -.11576E-04   -.16223E-04
   2  Index         .94981        .42900       -.40834E-04    .55251E-05
   3  Normalizat    .83885        .19188       -.13847E-06    .97986E-04
   4  Prefactor     1.0535        .15876        .48306E-06    .97475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.7571
  Index      = 0.949811
  Normalizat = 0.838848
  Prefactor  = 1.05351
 **********
 **   18 **HESSE 
 **********

 FCN=   4901.054     FROM HESSE     STATUS=OK            29 CALLS      226 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.757        73.071        .22620E-03   -1.3931    
   2  Index         .94981        .42812        .70839E-03   -.94422    
   3  Normalizat    .83885        .21955        .28141E-03   -.98643    
   4  Prefactor     1.0535        .18188        .20875E-03   -.90967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.817e-11
Minuit parameter uncertainties:
  1  73.1547
  2  0.429652
  3  0.219778
  4  0.181989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580841': 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) = 4901.05353994
delta logL = 3.4674824851

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  7.876e+01  7.315e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  9.498e-01  4.297e-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.054e+00  1.820e-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.388e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.92
Ra Dec: 21.824 3.413
Photon Index (Free Index): 0.95 +/- 0.43
Photon Flux (Free Index): 1.32e-08 +/- 1.05e-08
Energy Flux (Free Index): 2.15e-04 +/- 1.86e-04

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/580841/cmap_HighResolution_347673601_347932801_4FGL_J0127.2+0324_daily_bin418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.84e-08', energy_flux2='2.15e-04', photon_flux_error='2.42e-08', dlogl='3.47e+00', energy_flux='2.89e-05', photon_flux2='1.32e-08', job_status='DONE', time_completed='2021-08-14 01:15:58.260753', photon_index_error2='0.43', photon_index2='0.95', ts='16.01', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.86e-04', EG='0.82', time_epoch_completed='1628928958.26', return_code='0', job_id='580841', GAL2='1.05', EG2='0.84', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='1.05e-08', ts2='22.92', photon_index='1.97' WHERE bin_id='418' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:15:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 580841: <4FGL_J0127.2+0324_daily_bin418> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin418> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 14 01:00:59 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 01:04:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 01:04:20 2021
Terminated at Sat Aug 14 01:15:59 2021
Results reported at Sat Aug 14 01:15:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin418 21.8237 3.413 347673601 347932801 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 :                                   569.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             231.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            900 sec.

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

