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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin191
RA = 21.8237, Dec = 3.413
tmin = 288835201, tmax = 289094401
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='580540', job_status='RUN', time_executed='2021-08-14 01:04:32.256461', time_epoch_executed='1628928272.26' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='191'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580540

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580540/ft1_4FGL_J0127.2+0324_daily_bin191.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580540/ft1_4FGL_J0127.2+0324_daily_bin191.fits outfile=/scratch/kocevski/580540/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin191.fits ra=21.8237 dec=3.413 rad=12.0 tmin=288835201.0 tmax=289094401.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 8.38
user 3.45
sys 4.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580540/ft1_filtered_4FGL_J0127.2+0324_daily_bin191.fits" evtable="EVENTS" scfile=/scratch/kocevski/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits sctable="SC_DATA" outfile=/scratch/kocevski/580540/ltcube_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.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/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits
.....................!
real 18.39
user 12.67
sys 5.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580540/ft1_filtered_4FGL_J0127.2+0324_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits sctable="SC_DATA" expcube=/scratch/kocevski/580540/ltcube_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.fits outfile=/scratch/kocevski/580540/expmap_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.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/580540/ltcube_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.fits
.....................!
real 196.54
user 185.45
sys 10.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/580540/ft1_filtered_4FGL_J0127.2+0324_daily_bin191.fits scfile=/scratch/kocevski/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits outfile=/scratch/kocevski/580540/cmap_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.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.16
user 0.40
sys 4.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580540/ft1_filtered_4FGL_J0127.2+0324_daily_bin191.fits scfile=/scratch/kocevski/580540/ft2_4FGL_J0127.2+0324_daily_bin191.fits outfile=/scratch/kocevski/580540/cmap_HighResolution_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.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 4.71
user 0.39
sys 4.29

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8346       1.0000         .10000E-03   10000.    
     3 'norm      '    12.567       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.8581       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.780       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16609E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    76.905       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0724       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1532       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95800       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=   5435.876     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1410 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5782        .72543E-07** at limit **
   2  Prefactor     1.7890        210.64       -.95186E-05    .29014E-04
   3  norm          12.538        21.824       -.40088E-06    .20891E-05
   4  Prefactor     .10000E-03    16.722        .10596E-06** at limit **
   5  Prefactor     .10000E-03    100.96       -.11328E-05** at limit **
   6  norm          2.8585        1.4161       -.18072E-07    .36859E-03
   7  Prefactor     30.784        37.324        .99971E-06    .15440E-03
   8  Prefactor     .10000E-03    44.574        .21781E-04** at limit **
   9  Prefactor     .10000E-03    6.6843        .10519E-06** at limit **
  10  Prefactor     .10000E-03    10.677        .12269E-06** at limit **
  11  Prefactor     76.919        47.617        .83802E-06    .82168E-04
  12  Prefactor     .10000E-03    39.077       -.38087E-05** at limit **
  13  Prefactor     4.0744        6.8096       -.26542E-05    .12678E-03
  14  norm          .10000E-03    8.2121       -.15534E-07** at limit **
  15  Prefactor     .10000E-03    2.5458       -.18023E-07** at limit **
  16  Normalizat    1.1527        .19862        .15319E-05    .34689E-03
  17  Prefactor     .95838        .15978        .18624E-06    .43282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.78895
  norm       = 12.538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.85849
  Prefactor  = 30.7842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.9189
  Prefactor  = 0.000100002
  Prefactor  = 4.07439
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15267
  Prefactor  = 0.958382
 **********
 **   18 **HESSE 
 **********

 FCN=   5435.876     FROM HESSE     STATUS=OK           217 CALLS     1627 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6051        .90396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7890        211.68        .30806E-03   -1.5440    
   3  norm          12.538        21.889        .11300E-03   -1.5000    
   4  Prefactor     .10000E-03    16.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    101.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8585        1.4165        .59569E-04   -1.5370    
   7  Prefactor     30.784        37.379        .72219E-04   -1.4598    
   8  Prefactor     .10000E-03    43.811        .34778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.8309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     76.919        47.663        .22895E-03   -1.3952    
  12  Prefactor     .10000E-03    39.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.0744        6.8155        .99896E-03   -1.5304    
  14  norm          .10000E-03    8.2329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5588        .11488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1527        .23377        .25600E-03   -.88078    
  17  Prefactor     .95838        .18964        .22474E-03   -.94130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60312e-10
Minuit parameter uncertainties:
  1  1.79537e-06
  2  39.0608
  3  21.9033
  4  4.9806e-06
  5  0.000302964
  6  1.41647
  7  37.4074
  8  0.000236893
  9  1.15279e-08
  10  1.37443e-05
  11  47.6865
  12  0.000515508
  13  6.81684
  14  6.27697e-06
  15  2.92816e-06
  16  0.233981
  17  0.189774
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  7.692e+01  4.769e+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.584e-01  1.898e-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.153e+00  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.46
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 1.88e-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) = 5434.25663832
delta logL = 1.61891871328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5434.20997619
delta logL = 1.66558084491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.301       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1909       1.0000          .0000       10.000    
     3 'Normalizat'    1.1753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95220       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=   5434.210     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.301        62.963        .10571E-02   -.15029E-02
   2  Index         1.1908        .35628        .18900       -.22977E-04
   3  Normalizat    1.1753        .19402        .57412E-01    .66594E-05
   4  Prefactor     .95218        .15764        .45667E-01    .73304E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.3006
  Index      = 1.19084
  Normalizat = 1.17534
  Prefactor  = 0.952179
 **********
 **   18 **HESSE 
 **********

 FCN=   5434.210     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.301        72.937        .42285E-04   -1.3805    
   2  Index         1.1908        .43606        .78979E-02   -.86614    
   3  Normalizat    1.1753        .22963        .25389E-03   -.87368    
   4  Prefactor     .95218        .18682        .22550E-03   -.94341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35118e-08
Minuit parameter uncertainties:
  1  73.0099
  2  0.437389
  3  0.229822
  4  0.186949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580540': 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) = 5434.20997618
delta logL = 1.66558085447

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  9.030e+01  7.301e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.191e+00  4.374e-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.522e-01  1.869e-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.175e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.78
Ra Dec: 21.824 3.413
Photon Index (Free Index): 1.19 +/- 0.44
Photon Flux (Free Index): 1.51e-08 +/- 1.39e-08
Energy Flux (Free Index): 1.29e-04 +/- 1.27e-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/580540/cmap_HighResolution_288835201_289094401_4FGL_J0127.2+0324_daily_bin191.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='1.29e-04', photon_flux_error='2.50e-08', dlogl='1.67e+00', energy_flux='3.03e-05', photon_flux2='1.51e-08', job_status='DONE', time_completed='2021-08-14 01:13:47.861718', photon_index_error2='0.44', photon_index2='1.19', ts='17.46', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.27e-04', EG='1.15', time_epoch_completed='1628928827.86', return_code='0', job_id='580540', GAL2='0.95', EG2='1.18', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='1.39e-08', ts2='20.78', photon_index='1.97' WHERE bin_id='191' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:13:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 580540: <4FGL_J0127.2+0324_daily_bin191> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin191 21.8237 3.413 288835201 289094401 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 :                                   626.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            790 sec.

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

