/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 23 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 = 7395
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin106
RA = 21.8237, Dec = 3.413
tmin = 266803201, tmax = 267062401
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='580408', job_status='RUN', time_executed='2021-08-14 01:02:40.767070', time_epoch_executed='1628928160.77' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580408

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580408/ft1_4FGL_J0127.2+0324_daily_bin106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580408/ft1_4FGL_J0127.2+0324_daily_bin106.fits outfile=/scratch/kocevski/580408/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin106.fits ra=21.8237 dec=3.413 rad=12.0 tmin=266803201.0 tmax=267062401.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.87
user 1.78
sys 5.01

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580408/ft1_filtered_4FGL_J0127.2+0324_daily_bin106.fits" evtable="EVENTS" scfile=/scratch/kocevski/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits sctable="SC_DATA" outfile=/scratch/kocevski/580408/ltcube_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.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/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits
.....................!
real 18.43
user 12.54
sys 5.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580408/ft1_filtered_4FGL_J0127.2+0324_daily_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits sctable="SC_DATA" expcube=/scratch/kocevski/580408/ltcube_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.fits outfile=/scratch/kocevski/580408/expmap_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.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/580408/ltcube_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.fits
.....................!
real 197.92
user 185.25
sys 11.92

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/580408/ft1_filtered_4FGL_J0127.2+0324_daily_bin106.fits scfile=/scratch/kocevski/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits outfile=/scratch/kocevski/580408/cmap_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.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 5.28
user 0.36
sys 4.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580408/ft1_filtered_4FGL_J0127.2+0324_daily_bin106.fits scfile=/scratch/kocevski/580408/ft2_4FGL_J0127.2+0324_daily_bin106.fits outfile=/scratch/kocevski/580408/cmap_HighResolution_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.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 5.22
user 0.38
sys 4.78

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45125E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.826       1.0000         .10000E-03   10000.    
     3 'norm      '    26.632       1.0000         .10000E-03   10000.    
     4 'Prefactor '    120.36       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.8473       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.166       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.701       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.387       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4674       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0387       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99399       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=   8936.201     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1584 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    .81976       -.45875E-07** at limit **
   2  Prefactor     54.808        32.558       -.15745E-05   -.20866E-03
   3  norm          26.632        14.160        .10378E-08    .95526E-06
   4  Prefactor     120.37        68.664        .65529E-07    .47177E-05
   5  Prefactor     .10000E-03    11.014       -.43021E-07** at limit **
   6  norm          5.8475        1.5214        .92013E-08    .70764E-04
   7  Prefactor     .10000E-03    6.6593       -.41870E-07** at limit **
   8  Prefactor     28.166        16.941        .79925E-10   -.28677E-05
   9  Prefactor     .10000E-03    2.0818       -.44472E-07** at limit **
  10  Prefactor     .10000E-03    1.8781       -.16239E-07** at limit **
  11  Prefactor     18.701        18.525        .10195E-07    .44723E-05
  12  Prefactor     .10000E-03    37.501       -.59976E-09** at limit **
  13  Prefactor     .10000E-03    1.3680        .32737E-07** at limit **
  14  norm          19.386        13.003       -.12717E-06   -.49755E-05
  15  Prefactor     7.4669        5.4757        .11637E-05   -.26982E-03
  16  Normalizat    1.0386        .15534        .11165E-06    .69985E-05
  17  Prefactor     .99409        .12531       -.21440E-06    .41271E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Prefactor  = 54.8081
  norm       = 26.6322
  Prefactor  = 120.365
  Prefactor  = 0.0001
  norm       = 5.84752
  Prefactor  = 0.0001
  Prefactor  = 28.1665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.3861
  Prefactor  = 7.46693
  Normalizat = 1.03863
  Prefactor  = 0.994088
 **********
 **   18 **HESSE 
 **********

 FCN=   8936.201     FROM HESSE     STATUS=OK           225 CALLS     1809 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    31.413        .16299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     54.808        34.453        .54172E-04   -1.4226    
   3  norm          26.632        14.165        .77627E-04   -1.4675    
   4  Prefactor     120.37        68.658        .36681E-04   -1.3509    
   5  Prefactor     .10000E-03    11.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.8475        1.5217        .56644E-04   -1.5224    
   7  Prefactor     .10000E-03    6.6606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.166        16.940        .75488E-04   -1.4646    
   9  Prefactor     .10000E-03    2.0945        .13312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.8812        .12652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.701        18.529        .92618E-04   -1.4843    
  12  Prefactor     .10000E-03    37.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3775        .10796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.386        13.009        .90965E-04   -1.4827    
  15  Prefactor     7.4669        5.5899        .73382E-03   -1.5161    
  16  Normalizat    1.0386        .17896        .27312E-03   -.91747    
  17  Prefactor     .99409        .14547        .22763E-03   -.92927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2364e-10
Minuit parameter uncertainties:
  1  0.00158612
  2  34.4658
  3  14.1666
  4  68.7033
  5  4.34493e-06
  6  1.52169
  7  2.51329e-06
  8  16.943
  9  8.61336e-07
  10  2.30709e-07
  11  18.5348
  12  6.789e-06
  13  6.56215e-08
  14  13.0109
  15  5.59025
  16  0.179068
  17  0.145524
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.870e+01  1.853e+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:  9.941e-01  1.455e-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.039e+00  1.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.63
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 9.80e-09 +/- 9.71e-09
Energy Flux (Fixed Index): 7.36e-06 +/- 7.30e-06

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) = 8934.26008035
delta logL = 1.94140899029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8934.23704336
delta logL = 1.96444598693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.697       1.0000         .10000E-03   10000.    
     2 'Index     '    .73486       1.0000          .0000       10.000    
     3 'Normalizat'    1.0461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99148       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=   8934.237     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      211 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.697        13.856        .27057E-02    .18957E-03
   2  Index         .73486        .44863        .33603       -.96849E-04
   3  Normalizat    1.0461        .15065        .61545E-01    .17709E-04
   4  Prefactor     .99149        .12376        .46161E-01    .95354E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6969
  Index      = 0.734859
  Normalizat = 1.04607
  Prefactor  = 0.991486
 **********
 **   18 **HESSE 
 **********

 FCN=   8934.237     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.697        20.317        .10823E-03   -1.4968    
   2  Index         .73486        .61989        .15680E-01   -1.0218    
   3  Normalizat    1.0461        .17451        .27220E-03   -.91503    
   4  Prefactor     .99149        .14347        .22786E-03   -.93014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08173e-10
Minuit parameter uncertainties:
  1  20.3277
  2  0.625879
  3  0.17461
  4  0.143526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580408': 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) = 8934.23704335
delta logL = 1.96444599054

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.370e+01  2.033e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  7.349e-01  6.259e-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:  9.915e-01  1.435e-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.046e+00  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.55
Ra Dec: 21.824 3.413
Photon Index (Free Index): 0.73 +/- 0.63
Photon Flux (Free Index): 2.78e-09 +/- 2.88e-09
Energy Flux (Free Index): 6.93e-05 +/- 8.61e-05

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/580408/cmap_HighResolution_266803201_267062401_4FGL_J0127.2+0324_daily_bin106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.80e-09', energy_flux2='6.93e-05', photon_flux_error='9.71e-09', dlogl='1.96e+00', energy_flux='7.36e-06', photon_flux2='2.78e-09', job_status='DONE', time_completed='2021-08-14 01:14:00.286824', photon_index_error2='0.63', photon_index2='0.73', ts='7.63', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='8.61e-05', EG='1.04', time_epoch_completed='1628928840.29', return_code='0', job_id='580408', GAL2='0.99', EG2='1.05', return_code2='0', energy_flux_error='7.30e-06', photon_flux_error2='2.88e-09', ts2='11.55', photon_index='1.97' WHERE bin_id='106' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:14:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 580408: <4FGL_J0127.2+0324_daily_bin106> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin106> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 14 01:00:30 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 01:00:54 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:00:54 2021
Terminated at Sat Aug 14 01:14:01 2021
Results reported at Sat Aug 14 01:14:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin106 21.8237 3.413 266803201 267062401 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 :                                   750.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            811 sec.

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

