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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin148
RA = 21.8237, Dec = 3.413
tmin = 277689601, tmax = 277948801
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='580470', job_status='RUN', time_executed='2021-08-14 01:04:38.064938', time_epoch_executed='1628928278.06' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580470

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580470/ft1_4FGL_J0127.2+0324_daily_bin148.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580470/ft1_4FGL_J0127.2+0324_daily_bin148.fits outfile=/scratch/kocevski/580470/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin148.fits ra=21.8237 dec=3.413 rad=12.0 tmin=277689601.0 tmax=277948801.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 6.75
user 3.36
sys 3.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580470/ft1_filtered_4FGL_J0127.2+0324_daily_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/580470/ltcube_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.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/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits
.....................!
real 17.12
user 13.19
sys 3.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580470/ft1_filtered_4FGL_J0127.2+0324_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/580470/ltcube_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.fits outfile=/scratch/kocevski/580470/expmap_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.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/580470/ltcube_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.fits
.....................!
real 196.34
user 186.59
sys 9.10

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/580470/ft1_filtered_4FGL_J0127.2+0324_daily_bin148.fits scfile=/scratch/kocevski/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits outfile=/scratch/kocevski/580470/cmap_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.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 3.61
user 0.37
sys 3.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580470/ft1_filtered_4FGL_J0127.2+0324_daily_bin148.fits scfile=/scratch/kocevski/580470/ft2_4FGL_J0127.2+0324_daily_bin148.fits outfile=/scratch/kocevski/580470/cmap_HighResolution_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.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 3.38
user 0.39
sys 2.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.776       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2987       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.963       1.0000         .10000E-03   10000.    
     5 'Prefactor '    62.538       1.0000         .10000E-03   10000.    
     6 'norm      '    8.5410       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.262       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9669       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.613       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35128       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .82647       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1431       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=   6126.905     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1584 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9265        1.4337        .59880E-06   -.33432E-02
   2  Prefactor     32.779        33.085        .25540E-05    .17268E-03
   3  norm          1.2988        15.217        .11264E-06   -.14983E-03
   4  Prefactor     13.961        41.384       -.25773E-05   -.41057E-04
   5  Prefactor     62.527        96.368       -.79357E-05   -.10999E-03
   6  norm          8.5414        2.5339        .27446E-06    .96912E-04
   7  Prefactor     .10000E-03    14.699       -.47585E-06** at limit **
   8  Prefactor     10.264        13.611        .19306E-05    .22360E-03
   9  Prefactor     4.9674        7.7759       -.42608E-06   -.12531E-03
  10  Prefactor     10.614        10.043        .18062E-06    .62520E-04
  11  Prefactor     .10000E-03    20.346       -.85805E-06** at limit **
  12  Prefactor     19.029        181.10        .13994E-04    .45653E-04
  13  Prefactor     .10000E-03    2.7373        .12826E-06** at limit **
  14  norm          .10000E-03    6.4200        .30747E-06** at limit **
  15  Prefactor     .38666        6.2268       -.15854E-05    .35719E-03
  16  Normalizat    .82657        .19895       -.42863E-06    .16806E-03
  17  Prefactor     1.1429        .15676        .14157E-06    .24528E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9265
  Prefactor  = 32.7787
  norm       = 1.29879
  Prefactor  = 13.961
  Prefactor  = 62.5274
  norm       = 8.54141
  Prefactor  = 0.0001
  Prefactor  = 10.2644
  Prefactor  = 4.96744
  Prefactor  = 10.614
  Prefactor  = 0.0001
  Prefactor  = 19.0292
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.386661
  Normalizat = 0.826572
  Prefactor  = 1.14289
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.905     FROM HESSE     STATUS=OK           225 CALLS     1809 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9265        2.1061        .57748E-03   -1.5430    
   2  Prefactor     32.779        33.310        .69992E-04   -1.4562    
   3  norm          1.2988        15.733        .38790E-03   -1.5480    
   4  Prefactor     13.961        41.507        .10719E-03   -1.4961    
   5  Prefactor     62.527        97.705        .50741E-04   -1.4125    
   6  norm          8.5414        2.5500        .58104E-04   -1.5123    
   7  Prefactor     .10000E-03    14.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.264        13.682        .12508E-03   -1.5067    
   9  Prefactor     4.9674        7.7956        .18045E-03   -1.5262    
  10  Prefactor     10.614        10.040        .12299E-03   -1.5056    
  11  Prefactor     .10000E-03    20.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.029        184.04        .91840E-04   -1.4835    
  13  Prefactor     .10000E-03    2.7807        .12643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.4341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38666        23.320        .35876E-02   -1.5584    
  16  Normalizat    .82657        .22784        .30583E-03   -.99090    
  17  Prefactor     1.1429        .18073        .21405E-03   -.88107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95837e-09
Minuit parameter uncertainties:
  1  2.1062
  2  33.3285
  3  9.04347
  4  41.5929
  5  97.9572
  6  2.54999
  7  4.32263e-05
  8  13.6867
  9  7.7972
  10  10.0416
  11  8.51506e-05
  12  118.839
  13  3.75129e-06
  14  2.11496e-05
  15  6.0073
  16  0.228102
  17  0.180828
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  8.515e-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.143e+00  1.808e-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.266e-01  2.281e-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: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/580470/likelihoodResults_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.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) = 6126.90548682
delta logL = -0.000233797919464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6126.90525305
delta logL = -2.29129000218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9706       1.0000          .0000       10.000    
     3 'Normalizat'    .82658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1429       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=   6126.905     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6448.3        .90712E-02** at limit **
   2  Index         1.9523        5.0201        .50000        .69390E-05
   3  Normalizat    .82657        .80267E-01    .69120E-01    .26313E-04
   4  Prefactor     1.1429        .65308E-01    .36146E-01    .99066E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95229
  Normalizat = 0.826572
  Prefactor  = 1.14289
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.905     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      233 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6906.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9523        5.7171        .50000       -.65548    
   3  Normalizat    .82657        .12650        .30583E-03   -.99090    
   4  Prefactor     1.1429        .10314        .21405E-03   -.88107    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.51641e-08
Minuit parameter uncertainties:
  1  0.000865433
  2  58.3622
  3  0.126542
  4  0.103161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580470': 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) = 6126.905253
delta logL = 2.56932253251e-08

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  8.654e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.952e+00  5.836e+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.143e+00  1.032e-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.266e-01  1.265e-01  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/580470/cmap_HighResolution_277689601_277948801_4FGL_J0127.2+0324_daily_bin148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-08-14 01:14:36.427928', job_id='580470', GAL2='1.14', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1628928876.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='2.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='148' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:14:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 580470: <4FGL_J0127.2+0324_daily_bin148> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin148 21.8237 3.413 277689601 277948801 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 :                                   644.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            842 sec.

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

