/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 99 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 = 7406
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin202
RA = 21.8237, Dec = 3.413
tmin = 291686401, tmax = 291945601
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='580556', job_status='RUN', time_executed='2021-08-14 01:04:59.871066', time_epoch_executed='1628928299.87' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580556/ft1_4FGL_J0127.2+0324_daily_bin202.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580556/ft1_4FGL_J0127.2+0324_daily_bin202.fits outfile=/scratch/kocevski/580556/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin202.fits ra=21.8237 dec=3.413 rad=12.0 tmin=291686401.0 tmax=291945601.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 9.04
user 3.23
sys 5.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.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/580556/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin202.fits evtable="EVENTS" outfile="/scratch/kocevski/580556/ft1_filtered_4FGL_J0127.2+0324_daily_bin202.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.69
user 0.32
sys 5.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580556/ft1_filtered_4FGL_J0127.2+0324_daily_bin202.fits" evtable="EVENTS" scfile=/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits sctable="SC_DATA" outfile=/scratch/kocevski/580556/ltcube_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.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/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits
.....................!
real 19.15
user 12.48
sys 6.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580556/ft1_filtered_4FGL_J0127.2+0324_daily_bin202.fits evtable="EVENTS" scfile=/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits sctable="SC_DATA" expcube=/scratch/kocevski/580556/ltcube_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.fits outfile=/scratch/kocevski/580556/expmap_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.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/580556/ltcube_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.fits
.....................!
real 197.36
user 185.61
sys 11.04

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/580556/ft1_filtered_4FGL_J0127.2+0324_daily_bin202.fits scfile=/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits outfile=/scratch/kocevski/580556/cmap_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.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.59
user 0.37
sys 5.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580556/ft1_filtered_4FGL_J0127.2+0324_daily_bin202.fits scfile=/scratch/kocevski/580556/ft2_4FGL_J0127.2+0324_daily_bin202.fits outfile=/scratch/kocevski/580556/cmap_HighResolution_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.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.89
user 0.37
sys 5.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.616       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.158       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.628       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.769       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4452       1.0000         .10000E-03   10000.    
     7 'Prefactor '    52.872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3450       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6724       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.698       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .99283       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2181       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0736       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3282       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=   6734.351     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1576 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.617        5.0917        .10406E-06    .43302E-05
   2  Prefactor     10.162        28.575        .26467E-06    .14054E-05
   3  norm          .10000E-03    12.304       -.34907E-07** at limit **
   4  Prefactor     24.628        43.142        .18264E-06   -.10102E-05
   5  Prefactor     28.655        61.773       -.62538E-06   -.51874E-04
   6  norm          4.4457        1.8683        .71617E-08   -.22572E-04
   7  Prefactor     52.857        41.265        .57681E-07   -.18880E-04
   8  Prefactor     6.3452        11.352        .25625E-06   -.45276E-05
   9  Prefactor     .10000E-03    3.6161       -.19192E-06** at limit **
  10  Prefactor     2.6743        8.0546        .86999E-06   -.43510E-05
  11  Prefactor     10.693        98.880        .27205E-06   -.52139E-05
  12  Prefactor     .10000E-03    28.945        .10520E-06** at limit **
  13  Prefactor     .99622        2.7716        .14796E-05    .38253E-03
  14  norm          .10000E-03    24.107        .55035E-07** at limit **
  15  Prefactor     7.2177        7.9183        .24476E-05   -.40966E-04
  16  Normalizat    1.0735        .21569        .15580E-06   -.10729E-03
  17  Prefactor     1.3283        .17266       -.10538E-05   -.13438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6171
  Prefactor  = 10.1617
  norm       = 0.0001
  Prefactor  = 24.6281
  Prefactor  = 28.6545
  norm       = 4.44571
  Prefactor  = 52.8573
  Prefactor  = 6.34523
  Prefactor  = 0.0001
  Prefactor  = 2.67433
  Prefactor  = 10.6935
  Prefactor  = 0.0001
  Prefactor  = 0.996225
  norm       = 0.0001
  Prefactor  = 7.21769
  Normalizat = 1.0735
  Prefactor  = 1.32829
 **********
 **   18 **HESSE 
 **********

 FCN=   6734.351     FROM HESSE     STATUS=OK           229 CALLS     1805 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.617        5.0997        .11427E-03   -1.5026    
   2  Prefactor     10.162        28.567        .12572E-03   -1.5070    
   3  norm          .10000E-03    12.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.628        43.147        .80719E-04   -1.4715    
   5  Prefactor     28.655        61.917        .74695E-04   -1.4637    
   6  norm          4.4457        1.8666        .68389E-04   -1.5286    
   7  Prefactor     52.857        41.268        .55159E-04   -1.4253    
   8  Prefactor     6.3452        11.346        .15935E-03   -1.5204    
   9  Prefactor     .10000E-03    3.6350        .15227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6743        8.0436        .24929E-03   -1.5381    
  11  Prefactor     10.693        99.131        .12249E-03   -1.5054    
  12  Prefactor     .10000E-03    28.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .99622        2.6409        .23304E-02   -1.5508    
  14  norm          .10000E-03    24.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2177        7.7536        .74649E-03   -1.5171    
  16  Normalizat    1.0735        .25207        .32089E-03   -.90607    
  17  Prefactor     1.3283        .20099        .23727E-03   -.82470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14929e-10
Minuit parameter uncertainties:
  1  5.09985
  2  28.6051
  3  9.48585e-06
  4  43.202
  5  62.0558
  6  1.8666
  7  41.2904
  8  11.3503
  9  2.95528e-06
  10  8.04684
  11  65.26
  12  2.32036e-05
  13  2.64123
  14  4.1984e-05
  15  7.75465
  16  0.252351
  17  0.201105
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.069e+01  6.526e+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.328e+00  2.011e-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.073e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/580556/likelihoodResults_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.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): 102
logL (Free Index) = 6733.16785932
delta logL = 1.18329449155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6733.07247654
delta logL = 1.27867726705

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84809       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0521       1.0000          .0000       10.000    
     3 'Normalizat'    .95002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3879       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=   6733.072     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      259 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84342        8.1558        .11446E-01   -.61684E-03
   2  Index         4.0542        1.7200        .89821E-01    .31104E-04
   3  Normalizat    .94998        .53810E-01    .76479E-01   -.65023E-04
   4  Prefactor     1.3880        .43550E-01    .52664E-01   -.96741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.843415
  Index      = 4.05415
  Normalizat = 0.949978
  Prefactor  = 1.38802
 **********
 **   18 **HESSE 
 **********

 FCN=   6733.072     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84342        20.209        .52180E-03   -1.5524    
   2  Index         4.0542        3.2209        .32680E-02   -.19032    
   3  Normalizat    .94998        .19840        .33846E-03   -.94726    
   4  Prefactor     1.3880        .15918        .23283E-03   -.80726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.37739e-10
Minuit parameter uncertainties:
  1  8.25967
  2  3.51313
  3  0.198555
  4  0.159237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580556': 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): 102
logL (Free Index) = 6733.07247574
delta logL = 1.27867806588

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.434e-01  8.260e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  4.054e+00  3.513e+00  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.388e+00  1.592e-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.500e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 21.824 3.413
Photon Index (Free Index): 4.05 +/- 3.51
Photon Flux (Free Index): 1.04e-07 +/- 7.43e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/580556/cmap_HighResolution_291686401_291945601_4FGL_J0127.2+0324_daily_bin202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', comment='SUCCESS', energy_flux2='1.55e-05', dlogl='1.28e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-14 01:16:02.446001', photon_index_error2='3.51', photon_index2='4.05', ts='0.03', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='8.89e-08', energy_flux_error2='1.19e-05', EG='1.07', time_epoch_completed='1628928962.45', return_code='0', job_id='580556', GAL2='1.39', EG2='0.95', return_code2='102', photon_flux_error2='7.43e-08', ts2='2.80', photon_index='1.97' WHERE bin_id='202' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:16:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 580556: <4FGL_J0127.2+0324_daily_bin202> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin202 21.8237 3.413 291686401 291945601 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 :                                   741.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            924 sec.

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

