aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 68 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1684
RA = 21.8237, Dec = 3.413
tmin = 675820801, tmax = 676080001
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='180967', job_status='RUN', time_executed='2022-06-05 00:07:53.193220', time_epoch_executed='1654412873.19' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180967/ft1_4FGL_J0127.2+0324_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180967/ft1_4FGL_J0127.2+0324_daily_bin1684.fits outfile=/scratch/kocevski/180967/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1684.fits ra=21.8237 dec=3.413 rad=12.0 tmin=675820801.0 tmax=676080001.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.48
user 4.19
sys 0.24

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

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

Number of photons that the gtmktime cut: 857

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180967/ltcube_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.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/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits
.....................!
real 13.26
user 12.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180967/ltcube_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.fits outfile=/scratch/kocevski/180967/expmap_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.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/180967/ltcube_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.fits
.....................!
real 191.80
user 186.51
sys 4.81

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/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits scfile=/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits outfile=/scratch/kocevski/180967/cmap_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits scfile=/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits outfile=/scratch/kocevski/180967/cmap_HighResolution_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.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/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180967/ft2_4FGL_J0127.2+0324_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180967/Model_4FGL_J0127.2+0324_daily_bin1684.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/180967/ft1_filtered_4FGL_J0127.2+0324_daily_bin1684.fits.....................!
real 98.26
user 95.99
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7726       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    50.431       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.718       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27481       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7553       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6746       1.0000         .10000E-03   10000.    
    14 'norm      '    11.139       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .74810       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1271       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=   8854.337     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1390 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7732        2.3688        .61102E-02    .51964E-03
   2  Prefactor     .10000E-03    8.5550        .90712E-02** at limit **
   3  norm          .10000E-03    4.3433        .90712E-02** at limit **
   4  Prefactor     .10001E-03    15.876        .90712E-02** at limit **
   5  Prefactor     .10040E-03    33.212        .90712E-02** at limit **
   6  norm          50.427        3.7489        .14118E-02    .14550E-02
   7  Prefactor     .10000E-03    16.032        .90712E-02** at limit **
   8  Prefactor     20.722        13.037        .21999E-02    .13704E-02
   9  Prefactor     .33169        5.2413        .67714E-01   -.97427E-03
  10  Prefactor     .10000E-03    5.2038        .90712E-02** at limit **
  11  Prefactor     9.7565        25.307        .32075E-02   -.21849E-03
  12  Prefactor     .10007E-03    60.820        .90712E-02** at limit **
  13  Prefactor     3.6751        3.3946        .52677E-02    .18711E-03
  14  norm          11.139        10.378        .30010E-02    .28201E-03
  15  Prefactor     .10000E-03    9.4739        .90712E-02** at limit **
  16  Normalizat    .74794        .17567        .79479E-01    .55116E-03
  17  Prefactor     1.1271        .13888        .53781E-01    .83545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77323
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.000100395
  norm       = 50.4272
  Prefactor  = 0.000100003
  Prefactor  = 20.7221
  Prefactor  = 0.331692
  Prefactor  = 0.0001
  Prefactor  = 9.75647
  Prefactor  = 0.000100066
  Prefactor  = 3.6751
  norm       = 11.1389
  Prefactor  = 0.0001
  Normalizat = 0.747937
  Prefactor  = 1.1271
 **********
 **   18 **HESSE 
 **********

 FCN=   8854.337     FROM HESSE     STATUS=OK           217 CALLS     1607 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7732        2.3599        .12859E-03   -1.5375    
   2  Prefactor     .10000E-03    8.5652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.3454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    15.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10040E-03    33.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          50.427        3.7371        .45607E-04   -1.4287    
   7  Prefactor     .10000E-03    16.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.722        13.044        .87995E-04   -1.4797    
   9  Prefactor     .33169        34.428        .39473E-02   -1.5593    
  10  Prefactor     .10000E-03    5.2657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7565        25.301        .12830E-03   -1.5083    
  12  Prefactor     .10007E-03    61.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6751        3.3958        .16135E-03   -1.5325    
  14  norm          11.139        10.382        .12004E-03   -1.5040    
  15  Prefactor     .10000E-03    9.9070        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .74794        .20426        .35191E-03   -1.0203    
  17  Prefactor     1.1271        .16249        .23777E-03   -.88605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53378e-08
Minuit parameter uncertainties:
  1  2.36001
  2  9.3207e-06
  3  9.16828e-05
  4  0.000897857
  5  0.00725333
  6  3.73711
  7  0.000423859
  8  13.0463
  9  6.76155
  10  1.04722e-05
  11  25.3286
  12  0.00402017
  13  3.39595
  14  10.3838
  15  6.42757e-05
  16  0.204472
  17  0.162565
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  9.756e+00  2.533e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.127e+00  1.626e-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:  7.479e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/180967/likelihoodResults_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.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): 0
logL (Free Index) = 8854.27513566
delta logL = 0.0619042624421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8854.26029959
delta logL = 0.0767403259651

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.618       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4956       1.0000          .0000       10.000    
     3 'Normalizat'    .75095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1251       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=   8854.260     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.618        30.329        .26190E-02    .17663E-02
   2  Index         1.4955        1.0290        .29859E-01   -.43016E-05
   3  Normalizat    .75095        .16937        .79335E-01    .35223E-04
   4  Prefactor     1.1251        .13856        .53817E-01    .18616E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6179
  Index      = 1.49552
  Normalizat = 0.750945
  Prefactor  = 1.12514
 **********
 **   18 **HESSE 
 **********

 FCN=   8854.260     FROM HESSE     STATUS=OK            29 CALLS      244 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.618        30.226        .10476E-03   -1.4943    
   2  Index         1.4955        1.0272        .11944E-02   -.77665    
   3  Normalizat    .75095        .19743        .35127E-03   -1.0191    
   4  Prefactor     1.1251        .16188        .23792E-03   -.88667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94772e-08
Minuit parameter uncertainties:
  1  30.2578
  2  1.04194
  3  0.19762
  4  0.161947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180967': 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) = 8854.26029959
delta logL = 0.0767403293412

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.462e+01  3.026e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.496e+00  1.042e+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.125e+00  1.619e-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:  7.509e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 21.824 3.413

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/180967/cmap_HighResolution_675820801_676080001_4FGL_J0127.2+0324_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2022-06-05 00:19:04.662839', job_id='180967', GAL2='1.13', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1654413544.66', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='7.67e-02', ts2='0.35', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1684' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:19:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 180967: <4FGL_J0127.2+0324_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:46 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:06:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:06:22 2022
Terminated at Sun Jun  5 00:19:05 2022
Results reported at Sun Jun  5 00:19:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1684 21.8237 3.413 675820801 676080001 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 :                                   667.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            859 sec.

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

