/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 121 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 = 4900
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1177
RA = 21.8237, Dec = 3.413
tmin = 544406401, tmax = 544665601
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='585997', job_status='RUN', time_executed='2021-08-14 01:21:48.246549', time_epoch_executed='1628929308.25' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585997

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585997/ft1_4FGL_J0127.2+0324_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585997/ft1_4FGL_J0127.2+0324_daily_bin1177.fits outfile=/scratch/kocevski/585997/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1177.fits ra=21.8237 dec=3.413 rad=12.0 tmin=544406401.0 tmax=544665601.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.50
user 7.59
sys 3.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585997/ft1_filtered_4FGL_J0127.2+0324_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/585997/ltcube_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.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/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits
.....................!
real 12.20
user 7.76
sys 4.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585997/ft1_filtered_4FGL_J0127.2+0324_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/585997/ltcube_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.fits outfile=/scratch/kocevski/585997/expmap_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.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/585997/ltcube_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.fits
.....................!
real 195.74
user 186.42
sys 8.68

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/585997/ft1_filtered_4FGL_J0127.2+0324_daily_bin1177.fits scfile=/scratch/kocevski/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits outfile=/scratch/kocevski/585997/cmap_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.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 4.04
user 0.37
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585997/ft1_filtered_4FGL_J0127.2+0324_daily_bin1177.fits scfile=/scratch/kocevski/585997/ft2_4FGL_J0127.2+0324_daily_bin1177.fits outfile=/scratch/kocevski/585997/cmap_HighResolution_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.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.05
user 0.39
sys 3.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.516       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13596E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    149.31       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0881       1.0000         .10000E-03   10000.    
     5 'Prefactor '    236.33       1.0000         .10000E-03   10000.    
     6 'norm      '    .10966E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    94.455       1.0000         .10000E-03   10000.    
     8 'Prefactor '    215.24       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.003       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20532E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25967E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .79135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95977E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .20723E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24989E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .10054E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.5921       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   838.7723     FROM MIGRAD    STATUS=CONVERGED    288 CALLS     1322 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.394        9.6138        .66787E-06    .24341E-03
   2  Prefactor     .10001E-03    77.168       -.28919E-04** at limit **
   3  norm          148.99        134.92       -.40292E-05   -.64457E-03
   4  Prefactor     242.22        765.19       -.54641E-04   -.29522E-03
   5  Prefactor     247.96        30.646       -.38364E-05    .12020E-01
   6  norm          .10000E-03    2.1182        .79541E-06** at limit **
   7  Prefactor     84.904        144.77        .26845E-04    .10025E-02
   8  Prefactor     185.71        219.04        .11343E-04   -.21161E-03
   9  Prefactor     44.311        29.976       -.22219E-06    .11968E-03
  10  Prefactor     .10000E-03    14.104        .35489E-05** at limit **
  11  Prefactor     .10000E-03    131.33       -.14809E-04** at limit **
  12  Prefactor     .10015E-03    406.74       -.74723E-04** at limit **
  13  Prefactor     .10000E-03    17.552       -.17565E-05** at limit **
  14  norm          .10000E-03    133.50       -.13353E-04** at limit **
  15  Prefactor     .10000E-03    84.905       -.12786E-04** at limit **
  16  Normalizat    .10000E-01    6.6428       -.32550E-03** at limit **
  17  Prefactor     1.5804        .30827        .60150E-04    .21798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3935
  Prefactor  = 0.000100008
  norm       = 148.994
  Prefactor  = 242.217
  Prefactor  = 247.958
  norm       = 0.0001
  Prefactor  = 84.9044
  Prefactor  = 185.71
  Prefactor  = 44.3114
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100153
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.58039
 **********
 **   18 **HESSE 
 **********

 FCN=   838.7723     FROM HESSE     STATUS=OK           251 CALLS     1573 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.394        9.7133        .26282E-02   -1.4949    
   2  Prefactor     .10001E-03    76.554        .90909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          148.99        134.90        .82457E-03   -1.3261    
   4  Prefactor     242.22        758.85        .35244E-02   -1.2583    
   5  Prefactor     247.96        276.18        .65832E-03   -1.2545    
   6  norm          .10000E-03    2.0841        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     84.904        144.89        .10338E-02   -1.3862    
   8  Prefactor     185.71        219.07        .68908E-03   -1.2974    
   9  Prefactor     44.311        30.474        .15283E-02   -1.4376    
  10  Prefactor     .10000E-03    14.249        .10103E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    129.94        .91521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10015E-03    409.96        .12408E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.663        .10395E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    132.92        .91262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    84.600        .10009E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .10000E-01    .89923        .32095       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5804        .41267        .47960E-01   -.75313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6835e-06
Minuit parameter uncertainties:
  1  9.71438
  2  0.00155859
  3  135.182
  4  793.638
  5  277.65
  6  7.36494e-06
  7  145.5
  8  220.043
  9  30.4844
  10  3.84227e-05
  11  0.00114092
  12  0.015929
  13  5.05976e-05
  14  0.0011487
  15  0.000350399
  16  6.69902e-05
  17  0.41355
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.141e-03  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.580e+00  4.136e-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.000e-02  6.699e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 3.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585997/likelihoodResults_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.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) = 838.772290391
delta logL = -3.77441724595e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 838.772253995
delta logL = -1.34798585805e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14120E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9298       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5804       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=   838.7723     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      243 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9625.2        .90712E-02** at limit **
   2  Index         1.9166        7.6051        .50000        .77773E-06
   3  Normalizat    .10000E-01    .12852        .32103    ** at limit **
   4  Prefactor     1.5804        .16751        .47960E-01    .65354E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91656
  Normalizat = 0.01
  Prefactor  = 1.58039
 **********
 **   18 **HESSE 
 **********

 FCN=   838.7723     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    383.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9166        5.1256        .50000       -.66453    
   3  Normalizat    .10000E-01    1.4058        .11258E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5804        .27274        .21196E-03   -.75313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92584e-11
Minuit parameter uncertainties:
  1  0.000181319
  2  6.87624
  3  1.19328e-05
  4  0.272993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585997': 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) = 838.772252636
delta logL = 1.07486357592e-08

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.813e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.917e+00  6.876e+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.580e+00  2.730e-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.000e-02  1.193e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.824 3.413

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/585997/cmap_HighResolution_544406401_544665601_4FGL_J0127.2+0324_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-02', job_status='DONE', photon_flux_upper_limit='3.24e-07', time_completed='2021-08-14 01:28:40.129781', job_id='585997', GAL2='1.58', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1628929720.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.58', dlogl='1.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1177' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:28:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 585997: <4FGL_J0127.2+0324_daily_bin1177> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1177> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 01:15:28 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 01:18:33 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:18:33 2021
Terminated at Sat Aug 14 01:28:41 2021
Results reported at Sat Aug 14 01:28:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1177 21.8237 3.413 544406401 544665601 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 :                                   463.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             237.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            793 sec.

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

