/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 111 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1770
RA = 21.8237, Dec = 3.413
tmin = 698112001, tmax = 698371201
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='474984', job_status='RUN', time_executed='2023-02-18 00:07:26.176197', time_epoch_executed='1676707646.18' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474984

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474984/ft1_4FGL_J0127.2+0324_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474984/ft1_4FGL_J0127.2+0324_daily_bin1770.fits outfile=/scratch/kocevski/474984/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1770.fits ra=21.8237 dec=3.413 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.42
user 4.12
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.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/474984/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.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.76
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 767

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/474984/ltcube_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits outfile=/scratch/kocevski/474984/expmap_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.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/474984/ltcube_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits
.....................!
real 192.46
user 187.69
sys 4.86

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/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.fits scfile=/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits outfile=/scratch/kocevski/474984/cmap_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.fits scfile=/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits outfile=/scratch/kocevski/474984/cmap_HighResolution_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.fits', '/scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits', expMap='/scratch/kocevski/474984/expmap_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits', expCube='/scratch/kocevski/474984/ltcube_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474984/Model_4FGL_J0127.2+0324_daily_bin1770.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  0.000e+00  1.000e+06 ( 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/474984/ft1_filtered_4FGL_J0127.2+0324_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/474984/ft2_4FGL_J0127.2+0324_daily_bin1770.fits
Exposure map: /scratch/kocevski/474984/expmap_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits
Exposure cube: /scratch/kocevski/474984/ltcube_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474984/Model_4FGL_J0127.2+0324_daily_bin1770.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) = 8340.75261295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15676E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61176E-01   1.0000          .0000       .10000E+07
     3 'norm      '    2.2097       1.0000          .0000       .10000E+07
     4 'Prefactor '    .91388E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0870       1.0000          .0000       .10000E+07
     6 'norm      '    25.176       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.0146       1.0000          .0000       .10000E+07
     8 'Prefactor '    .51024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .72414E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    57.618       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13886E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .13628E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.9427       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0207       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1489       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=   8340.750     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1000 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1230       -.51644E-07** at limit **
   2  Prefactor     .23315E-08    34.365       -.21357E-05** at limit **
   3  norm          2.2064        18.717       -.28750E-05   -.32020E-02
   4  Prefactor     .11102E-09    15.399       -.60760E-06** at limit **
   5  Prefactor     2.6614        223.04        .40461E-05    .12783E-01
   6  norm          25.179        3.0081       -.97677E-07   -.44468E-02
   7  Prefactor     6.0119        8.6212       -.15151E-05   -.43646E-02
   8  Prefactor      .0000        3.1512        .24447E-07** at limit **
   9  Prefactor      .0000        2.4892       -.34138E-06** at limit **
  10  Prefactor     57.350        32.999        .78504E-06   -.89432E-01
  11  Prefactor      .0000        .93094       -.18195E-06** at limit **
  12  norm           .0000        5.2525       -.20423E-08** at limit **
  13  Prefactor     8.8930        6.2086       -.20072E-07   -.29180E-03
  14  Normalizat    1.0210        .21195        .36171E-05    .52226E-05
  15  Prefactor     1.1489        .17211       -.14195E-06   -.16827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.33147e-09
  norm       = 2.20635
  Prefactor  = 1.11022e-10
  Prefactor  = 2.66136
  norm       = 25.1794
  Prefactor  = 6.01186
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 57.3497
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.89303
  Normalizat = 1.02099
  Prefactor  = 1.14892
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.750     FROM HESSE     STATUS=OK           210 CALLS     1210 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23315E-08    33.875        .15120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2064        18.789        .69170E-03   -1.5678    
   4  Prefactor     .11102E-09    15.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6614        355.85        .57699E-03   -1.5675    
   6  norm          25.179        3.0442        .19934E-03   -1.5608    
   7  Prefactor     6.0119        8.6385        .40918E-03   -1.5659    
   8  Prefactor      .0000        3.1490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.4904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     57.350        54.473        .13175E-03   -1.5557    
  11  Prefactor      .0000        .93117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        5.2494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.8930        6.2079        .33493E-03   -1.5648    
  14  Normalizat    1.0210        .17939        .69855E-01   -.92331    
  15  Prefactor     1.1489        .14528        .54085E-01   -.87918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50656e-07
Minuit parameter uncertainties:
  1  9.65432e-06
  2  0.000563496
  3  12.8773
  4  7.85513e-05
  5  61.5517
  6  3.04416
  7  8.63855
  8  1.27187e-05
  9  1.23865e-05
  10  54.4731
  11  7.88887e-07
  12  1.18525e-06
  13  6.20795
  14  0.179499
  15  0.145328
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  5.735e+01  5.447e+01  0.000e+00  1.000e+06 ( 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.149e+00  1.453e-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.021e+00  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 2.14e-05

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

Saving results to:
/scratch/kocevski/474984/likelihoodResults_698112001_698371201_4FGL_J0127.2+0324_daily_bin1770.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) = 8338.95888653
delta logL = 1.79080550615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.92795027
delta logL = 1.82174176371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3899       1.0000          .0000       .10000E+07
     2 'Index     '    3.3545       1.0000          .0000       10.000    
     3 'Normalizat'    .89865       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2111       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=   8338.928     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      251 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3625        54.275        .36871E-03   -.52048E-02
   2  Index         3.3558        1.7746        .77631E-01    .12823E-04
   3  Normalizat    .89846        .72387E-01    .73725E-01    .20976E-03
   4  Prefactor     1.2112        .54795E-01    .52824E-01    .21308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.36247
  Index      = 3.35578
  Normalizat = 0.89846
  Prefactor  = 1.21117
 **********
 **   18 **HESSE 
 **********

 FCN=   8338.928     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      282 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3625        84.249        .11485E-04   -1.5654    
   2  Index         3.3558        2.5097        .29945E-02   -.33508    
   3  Normalizat    .89846        .22465        .32626E-03   -.96514    
   4  Prefactor     1.2112        .17654        .23354E-03   -.85988    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.89078e-10
Minuit parameter uncertainties:
  1  49.8116
  2  2.64598
  3  0.224881
  4  0.176625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474984': 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) = 8338.92794792
delta logL = 1.82174411843

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  7.362e+00  4.981e+01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  3.356e+00  2.646e+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.211e+00  1.766e-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.985e-01  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.99
Ra Dec: 21.824 3.413
Photon Index (Free Index): 3.36 +/- 2.65
Photon Flux (Free Index): 1.29e-07 +/- 9.12e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.31e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='2.24e-05', photon_flux_error='2.85e-08', dlogl='1.82e+00', energy_flux='2.26e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2023-02-18 00:16:59.974398', photon_index_error2='2.65', photon_index2='3.36', ts='2.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='9.63e-08', energy_flux_error2='1.31e-05', EG='1.02', time_epoch_completed='1676708219.97', return_code='0', job_id='474984', GAL2='1.21', EG2='0.90', return_code2='102', energy_flux_error='2.14e-05', photon_flux_error2='9.12e-08', ts2='5.99', photon_index='1.97' WHERE bin_id='1770' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:16:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 474984: <4FGL_J0127.2+0324_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:08 2023
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:13 2023
Terminated at Sat Feb 18 00:17:00 2023
Results reported at Sat Feb 18 00:17:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1770 21.8237 3.413 698112001 698371201 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 :                                   576.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            712 sec.

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

