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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin130
RA = 21.8237, Dec = 3.413
tmin = 273024001, tmax = 273283201
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='580444', job_status='RUN', time_executed='2021-08-14 01:04:50.798555', time_epoch_executed='1628928290.8' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580444

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580444/ft1_4FGL_J0127.2+0324_daily_bin130.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580444/ft1_4FGL_J0127.2+0324_daily_bin130.fits outfile=/scratch/kocevski/580444/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin130.fits ra=21.8237 dec=3.413 rad=12.0 tmin=273024001.0 tmax=273283201.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 11.04
user 2.71
sys 8.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.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/580444/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin130.fits evtable="EVENTS" outfile="/scratch/kocevski/580444/ft1_filtered_4FGL_J0127.2+0324_daily_bin130.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 7.90
user 0.35
sys 7.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580444/ft1_filtered_4FGL_J0127.2+0324_daily_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/580444/ltcube_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.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/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits
.....................!
real 22.96
user 14.35
sys 8.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580444/ft1_filtered_4FGL_J0127.2+0324_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/580444/ltcube_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.fits outfile=/scratch/kocevski/580444/expmap_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.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/580444/ltcube_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.fits
.....................!
real 206.65
user 188.28
sys 14.26

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/580444/ft1_filtered_4FGL_J0127.2+0324_daily_bin130.fits scfile=/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits outfile=/scratch/kocevski/580444/cmap_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.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 8.43
user 0.42
sys 7.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580444/ft1_filtered_4FGL_J0127.2+0324_daily_bin130.fits scfile=/scratch/kocevski/580444/ft2_4FGL_J0127.2+0324_daily_bin130.fits outfile=/scratch/kocevski/580444/cmap_HighResolution_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.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 8.47
user 0.40
sys 8.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8713       1.0000         .10000E-03   10000.    
     3 'norm      '    18.972       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3432       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.594       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5497       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15359E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0656       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.652       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14175E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2140       1.0000         .10000E-03   10000.    
    14 'norm      '    29.684       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .95479       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1414       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=   7733.729     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1423 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .89166        .48637E-07** at limit **
   2  Prefactor     7.8678        25.663       -.33456E-05    .51536E-04
   3  norm          18.970        14.151        .89218E-06   -.70859E-04
   4  Prefactor     .10000E-03    16.513        .64306E-07** at limit **
   5  Prefactor     .10000E-03    29.406       -.21247E-06** at limit **
   6  norm          3.3431        1.3418        .10652E-08    .99698E-03
   7  Prefactor     16.610        35.867        .17388E-04    .71112E-04
   8  Prefactor     4.5472        12.229        .85393E-06   -.56388E-04
   9  Prefactor     .10001E-03    3.6445       -.22760E-05** at limit **
  10  Prefactor     1.0659        .89598       -.26255E-07   -.59927E-03
  11  Prefactor     16.636        29.850       -.82045E-05    .16974E-03
  12  Prefactor     .10000E-03    113.65        .16465E-05** at limit **
  13  Prefactor     2.2139        2.4078        .39184E-07    .17868E-04
  14  norm          29.677        16.395        .26174E-05   -.27179E-03
  15  Prefactor     .10000E-03    8.1040        .14945E-07** at limit **
  16  Normalizat    .95487        .17339       -.51019E-06    .33837E-03
  17  Prefactor     1.1414        .14295       -.52092E-06    .34844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.86779
  norm       = 18.9702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.34313
  Prefactor  = 16.6103
  Prefactor  = 4.54716
  Prefactor  = 0.000100013
  Prefactor  = 1.0659
  Prefactor  = 16.6365
  Prefactor  = 0.0001
  Prefactor  = 2.21391
  norm       = 29.6771
  Prefactor  = 0.0001
  Normalizat = 0.954866
  Prefactor  = 1.14137
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.729     FROM HESSE     STATUS=OK           225 CALLS     1648 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3782        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.8678        25.632        .14292E-03   -1.5147    
   3  norm          18.970        14.145        .45976E-03   -1.4837    
   4  Prefactor     .10000E-03    16.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3431        1.3367        .61398E-04   -1.5342    
   7  Prefactor     16.610        36.159        .98320E-04   -1.4893    
   8  Prefactor     4.5472        12.293        .94365E-03   -1.5281    
   9  Prefactor     .10001E-03    8.6414        .31457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0659        7.7623        .23558E-02   -1.5501    
  11  Prefactor     16.636        29.517        .98148E-04   -1.4892    
  12  Prefactor     .10000E-03    114.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2139        2.4080        .13851E-03   -1.5410    
  14  norm          29.677        16.283        .36768E-03   -1.4618    
  15  Prefactor     .10000E-03    8.4330        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .95487        .19579        .28071E-03   -.94558    
  17  Prefactor     1.1414        .16299        .21532E-03   -.88155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93516e-09
Minuit parameter uncertainties:
  1  3.85766e-06
  2  25.6679
  3  14.1472
  4  1.6363e-06
  5  2.38634e-05
  6  1.33671
  7  36.2065
  8  12.2996
  9  0.00066969
  10  5.75363
  11  29.5433
  12  0.000117987
  13  2.40812
  14  16.2856
  15  9.63387e-06
  16  0.195941
  17  0.163062
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.664e+01  2.954e+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.141e+00  1.631e-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:  9.549e-01  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/580444/likelihoodResults_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7733.69504437
delta logL = 0.0338934303882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7733.68979975
delta logL = 0.0391380504507

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.016       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6996       1.0000          .0000       10.000    
     3 'Normalizat'    .95764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1403       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=   7733.690     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      237 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.018        34.593        .89524E-04   -.15881E-03
   2  Index         1.6996        .93543        .12579E-01   -.92404E-04
   3  Normalizat    .95764        .19289        .28034E-03    .90109E-04
   4  Prefactor     1.1403        .16097        .21540E-03    .89016E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.0176
  Index      = 1.69957
  Normalizat = 0.957639
  Prefactor  = 1.14029
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.690     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.018        34.383        .17905E-04   -1.4813    
   2  Index         1.6996        .93038        .50315E-03   -.72093    
   3  Normalizat    .95764        .19302        .11214E-04   -.94463    
   4  Prefactor     1.1403        .16111        .43081E-04   -.88189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.954e-10
Minuit parameter uncertainties:
  1  34.4165
  2  0.940168
  3  0.193163
  4  0.161174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580444': 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) = 7733.68979975
delta logL = 0.0391380510991

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  2.002e+01  3.442e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.700e+00  9.402e-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.140e+00  1.612e-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:  9.576e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
Ra Dec: 21.824 3.413

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/580444/cmap_HighResolution_273024001_273283201_4FGL_J0127.2+0324_daily_bin130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2021-08-14 01:17:03.128541', job_id='580444', GAL2='1.14', fit_tolerance='1e-08', EG2='0.96', EG='0.95', time_epoch_completed='1628929023.13', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='3.91e-02', ts2='0.54', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='130' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:17:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 580444: <4FGL_J0127.2+0324_daily_bin130> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin130 21.8237 3.413 273024001 273283201 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 :                                   852.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            992 sec.

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

