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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1592
RA = 21.8237, Dec = 3.413
tmin = 651974401, tmax = 652233601
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='922632', job_status='RUN', time_executed='2021-09-02 00:25:42.777012', time_epoch_executed='1630567542.78' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1592'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/922632

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/922632/ft1_4FGL_J0127.2+0324_daily_bin1592.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/922632/ft1_4FGL_J0127.2+0324_daily_bin1592.fits outfile=/scratch/kocevski/922632/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1592.fits ra=21.8237 dec=3.413 rad=12.0 tmin=651974401.0 tmax=652233601.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 3.39
user 3.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/922632/ft1_filtered_4FGL_J0127.2+0324_daily_bin1592.fits" evtable="EVENTS" scfile=/scratch/kocevski/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits sctable="SC_DATA" outfile=/scratch/kocevski/922632/ltcube_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.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/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits
.....................!
real 14.99
user 14.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/922632/ft1_filtered_4FGL_J0127.2+0324_daily_bin1592.fits evtable="EVENTS" scfile=/scratch/kocevski/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits sctable="SC_DATA" expcube=/scratch/kocevski/922632/ltcube_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.fits outfile=/scratch/kocevski/922632/expmap_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.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/922632/ltcube_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.fits
.....................!
real 193.37
user 187.05
sys 5.34

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/922632/ft1_filtered_4FGL_J0127.2+0324_daily_bin1592.fits scfile=/scratch/kocevski/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits outfile=/scratch/kocevski/922632/cmap_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.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 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/922632/ft1_filtered_4FGL_J0127.2+0324_daily_bin1592.fits scfile=/scratch/kocevski/922632/ft2_4FGL_J0127.2+0324_daily_bin1592.fits outfile=/scratch/kocevski/922632/cmap_HighResolution_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.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 0.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5293       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.784       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.423       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.106       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.228       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1373       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.948       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89110       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0425       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6690.806     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1600 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5293        2.3537         .0000        .33915E-03
   2  Prefactor     15.783        28.734         .0000       -.53678E-04
   3  norm          .10000E-03    4.7531         .0000    ** at limit **
   4  Prefactor     30.420        53.299         .0000        .99944E-03
   5  Prefactor     .10001E-03    135.76         .0000    ** at limit **
   6  norm          12.547        2.4738         .0000       -.18378E-03
   7  Prefactor     31.098        41.988         .0000        .26877E-02
   8  Prefactor     27.228        15.827         .0000       -.49345E-04
   9  Prefactor     1.1410        14.195         .0000        .23987E-01
  10  Prefactor     .10000E-03    2.9708         .0000    ** at limit **
  11  Prefactor     .10000E-03    21.581         .0000    ** at limit **
  12  Prefactor     .10000E-03    16.916         .0000    ** at limit **
  13  Prefactor     .10000E-03    2.1282         .0000    ** at limit **
  14  norm          15.948        16.795         .0000        .60496E-04
  15  Prefactor     .10000E-03    2.1022         .0000    ** at limit **
  16  Normalizat    .89102        .18760         .0000        .71805E-05
  17  Prefactor     1.0425        .14874         .0000       -.47962E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52929
  Prefactor  = 15.7827
  norm       = 0.0001
  Prefactor  = 30.4205
  Prefactor  = 0.000100009
  norm       = 12.5467
  Prefactor  = 31.098
  Prefactor  = 27.2276
  Prefactor  = 1.14104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.948
  Prefactor  = 0.0001
  Normalizat = 0.891015
  Prefactor  = 1.04254
 **********
 **   18 **HESSE 
 **********

 FCN=   6690.806     FROM HESSE     STATUS=OK           221 CALLS     1821 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5293        2.3436        .11673E-03   -1.5390    
   2  Prefactor     15.783        28.729        .10081E-03   -1.4913    
   3  norm          .10000E-03    4.7562        .17417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.420        53.306        .72641E-04   -1.4604    
   5  Prefactor     .10001E-03    136.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.547        2.4524        .52197E-04   -1.4999    
   7  Prefactor     31.098        41.148        .71841E-04   -1.4592    
   8  Prefactor     27.228        15.829        .76775E-04   -1.4664    
   9  Prefactor     1.1410        13.702        .21831E-02   -1.5494    
  10  Prefactor     .10000E-03    2.9790        .13768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.1699        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.948        16.820        .10029E-03   -1.4909    
  15  Prefactor     .10000E-03    2.1091        .11581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89102        .21892        .29088E-03   -.96777    
  17  Prefactor     1.0425        .17446        .21883E-03   -.91325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60495e-08
Minuit parameter uncertainties:
  1  2.34371
  2  28.7546
  3  4.46686e-06
  4  53.3897
  5  0.00217313
  6  2.45242
  7  41.1853
  8  15.8318
  9  7.90999
  10  4.516e-06
  11  4.74456e-05
  12  1.16637e-05
  13  3.15945e-07
  14  16.825
  15  5.7135e-08
  16  0.21914
  17  0.174558
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  4.745e-05  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.043e+00  1.746e-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:  8.910e-01  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/922632/likelihoodResults_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.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) = 6690.80639869
delta logL = -0.000220596522013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6690.80617815
delta logL = -5.02523107571e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8832       1.0000          .0000       10.000    
     3 'Normalizat'    .89103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0425       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=   6690.806     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1794.8        .90712E-02** at limit **
   2  Index         1.8878        8.2959        .50000       -.17259E-05
   3  Normalizat    .89101        .49300E-01    .65757E-01    .51305E-03
   4  Prefactor     1.0425        .40017E-01    .40368E-01    .80424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 1.88783
  Normalizat = 0.891015
  Prefactor  = 1.04255
 **********
 **   18 **HESSE 
 **********

 FCN=   6690.806     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      259 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6654.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8878        5.9244        .50000       -.67185    
   3  Normalizat    .89101        .87096E-01    .29088E-03   -.96777    
   4  Prefactor     1.0425        .70795E-01    .21883E-03   -.91324    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28178e-08
Minuit parameter uncertainties:
  1  0.00737797
  2  52.2053
  3  0.0871096
  4  0.0708012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/922632': 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) = 6690.80617813
delta logL = -3.44907675753e-08

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  7.378e-03  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.888e+00  5.221e+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.043e+00  7.080e-02  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:  8.910e-01  8.711e-02  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/922632/cmap_HighResolution_651974401_652233601_4FGL_J0127.2+0324_daily_bin1592.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='5.14e-08', time_completed='2021-09-02 00:35:25.943389', job_id='922632', GAL2='1.04', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630568125.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-3.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1592' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 00:35:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 922632: <4FGL_J0127.2+0324_daily_bin1592> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1592> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 00:20:39 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 00:22:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 00:22:47 2021
Terminated at Thu Sep  2 00:35:26 2021
Results reported at Thu Sep  2 00:35:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1592 21.8237 3.413 651974401 652233601 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 :                                   584.60 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            887 sec.

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

