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


Performing analysis on: 4FGL_J0014.9+3212_daily_bin1719
RA = 3.7268, Dec = 32.2162
tmin = 684892801, tmax = 685152001
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='643958', job_status='RUN', time_executed='2022-09-18 00:06:34.267132', time_epoch_executed='1663484794.27' WHERE source_name='4FGL J0014.9+3212' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643958/ft1_4FGL_J0014.9+3212_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643958/ft1_4FGL_J0014.9+3212_daily_bin1719.fits outfile=/scratch/kocevski/643958/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1719.fits ra=3.7268 dec=32.2162 rad=12.0 tmin=684892801.0 tmax=685152001.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.20
user 2.95
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.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/643958/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.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.32
sys 0.17

Number of photons that the gtmktime cut: 881

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/643958/ltcube_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.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/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits
.....................!
real 14.90
user 14.02
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/643958/ltcube_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits outfile=/scratch/kocevski/643958/expmap_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.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/643958/ltcube_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits
.....................!
real 192.41
user 186.09
sys 5.55

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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J0014.9+3212 @ 3.7268 32.2162

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits outfile=/scratch/kocevski/643958/cmap_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.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=3.7268 yref=32.2162 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.58
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits outfile=/scratch/kocevski/643958/cmap_HighResolution_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.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=3.7268 yref=32.2162 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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643958/Model_4FGL_J0014.9+3212_daily_bin1719.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/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits.....................!
real 99.59
user 96.95
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits', '/scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits', expMap='/scratch/kocevski/643958/expmap_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits', expCube='/scratch/kocevski/643958/ltcube_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643958/Model_4FGL_J0014.9+3212_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.9+3212'

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  2.454e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
60         Index:  2.610e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
61         Scale:  5.697e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643958/ft1_filtered_4FGL_J0014.9+3212_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/643958/ft2_4FGL_J0014.9+3212_daily_bin1719.fits
Exposure map: /scratch/kocevski/643958/expmap_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits
Exposure cube: /scratch/kocevski/643958/ltcube_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643958/Model_4FGL_J0014.9+3212_daily_bin1719.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) = 9797.9180232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38656       1.0000          .0000       .10000E+07
     2 'norm      '    1.0125       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.8282       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9546       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10120E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.895       1.0000          .0000       .10000E+07
     7 'norm      '    .21404       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77645E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .74193E-04   1.0000          .0000       .10000E+07
    10 'norm      '    5.1826       1.0000          .0000       .10000E+07
    11 'Prefactor '    .60771       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36068E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14464E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .99373E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1791       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87887       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9797.881     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      938 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38659        3.3756        .36029E-06    .31103E-02
   2  norm          1.0707        1.7733       -.24132E-08   -.68929E-01
   3  Prefactor     5.8229        4.5601        .10295E-06    .57525E-02
   4  Prefactor     8.9798        14.844       -.16858E-06   -.18164E-01
   5  Prefactor     .19545E-06    14.435        .33438E-06** at limit **
   6  Prefactor     17.985        2.7602       -.46632E-08    .19619    
   7  norm          .21177        1.5424        .80190E-07** at limit **
   8  Prefactor     .55511E-10    1.6932        .10787E-06** at limit **
   9  Prefactor      .0000        2.8919       -.75533E-07** at limit **
  10  norm          5.2586        4.6111        .21705E-06    .49163E-02
  11  Prefactor     .62382E-05    179.77        .33379E-06** at limit **
  12  Prefactor     .10653E-05    25.355        .59232E-06** at limit **
  13  Prefactor     .13989E-07    12.380       -.25132E-06** at limit **
  14  Prefactor     .55511E-10    2.2080        .89027E-07** at limit **
  15  Normalizat    1.1793        .19690        .41829E-05    .25554E-03
  16  Prefactor     .87892        .11049       -.15995E-05    .28004E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.386589
  norm       = 1.07068
  Prefactor  = 5.82292
  Prefactor  = 8.97984
  Prefactor  = 1.95455e-07
  Prefactor  = 17.9853
  norm       = 0.211774
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 5.25863
  Prefactor  = 6.23823e-06
  Prefactor  = 1.06531e-06
  Prefactor  = 1.39888e-08
  Prefactor  = 5.55112e-11
  Normalizat = 1.17933
  Prefactor  = 0.878921
 **********
 **   18 **HESSE 
 **********

 FCN=   9797.881     FROM HESSE     STATUS=OK           247 CALLS     1185 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38659        3.4010        .91061E-03   -1.5696    
   2  norm          1.0707        31.745        .44205E-03   -1.5687    
   3  Prefactor     5.8229        4.7430        .41577E-03   -1.5660    
   4  Prefactor     8.9798        14.988        .33470E-03   -1.5648    
   5  Prefactor     .19545E-06    46.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.985        18.578        .23648E-03   -1.5623    
   7  norm          .21177        .82575        .32079E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    1.6987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.9242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2586        4.9040        .44135E-03   -1.5662    
  11  Prefactor     .62382E-05    16.117        .94940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10653E-05    35.094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13989E-07    12.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.2399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1793        .16808        .65772E-01   -.87244    
  16  Prefactor     .87892        .92403E-01    .44735E-01   -.96882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41115e-06
Minuit parameter uncertainties:
  1  2.29327
  2  11.66
  3  4.74302
  4  14.9884
  5  0.00602826
  6  18.5785
  7  0.825755
  8  1.44164e-05
  9  5.67395e-07
  10  4.904
  11  0.0200543
  12  0.012229
  13  0.000841783
  14  1.9198e-05
  15  0.168154
  16  0.0924195
Done.

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

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.955e-07  6.028e-03  0.000e+00  1.000e+06 ( 1.000e-12)
60         Index:  2.610e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
61         Scale:  5.697e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.789e-01  9.242e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.179e+00  1.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 3.727 32.216
Photon Flux Upper Limit: 8.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643958/likelihoodResults_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.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) = 9797.90029373
delta logL = -0.0192186635159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9797.88107532
delta logL = -2.55924533121e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12868E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9232       1.0000          .0000       10.000    
     3 'Normalizat'    1.1794       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87891       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9797.881     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87708E-08    41.808       -.27788E-06** at limit **
   2  Index         2.5544        2.0449        .37473E-04   -.14716E-08
   3  Normalizat    1.1793        .19642       -.10735E-04    .69754E-03
   4  Prefactor     .87892        .10973       -.13201E-04    .10621E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.77076e-09
  Index      = 2.55444
  Normalizat = 1.17933
  Prefactor  = 0.878921
 **********
 **   18 **HESSE 
 **********

 FCN=   9797.881     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      257 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87708E-08    1.5173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5544        8.7228        .50000       -.51107    
   3  Normalizat    1.1793        .84433E-03    .65772E-01   -.87244    
   4  Prefactor     .87892        .47117E-03    .44736E-01   -.96882    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28311e-11
Minuit parameter uncertainties:
  1  0.000230786
  2  2320.06
  3  0.000844326
  4  0.000471166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643958': 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) = 9797.88107507
delta logL = 1.71166902874e-09

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  8.771e-09  2.308e-04  0.000e+00  1.000e+06 ( 1.000e-12)
60         Index:  2.554e+00  2.320e+03  0.000e+00  1.000e+01 (-1.000e+00)
61         Scale:  5.697e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.789e-01  4.712e-04  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.179e+00  8.443e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 3.727 32.216

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/643958/cmap_HighResolution_684892801_685152001_4FGL_J0014.9+3212_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.93e-03', job_status='DONE', photon_flux_upper_limit='8.85e-08', time_completed='2022-09-18 00:16:26.519358', job_id='643958', GAL2='0.88', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1663485386.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.71e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1719' AND source_name='4FGL J0014.9+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:16:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 643958: <4FGL_J0014.9+3212_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0014.9+3212_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:36 2022
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:04:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:04:37 2022
Terminated at Sun Sep 18 00:16:27 2022
Results reported at Sun Sep 18 00:16:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.9+3212_daily_bin1719 3.7268 32.2162 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0014.9+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             358.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

