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


Performing analysis on: 4FGL_J0014.9+3212_daily_bin1670
RA = 3.7268, Dec = 32.2162
tmin = 672192001, tmax = 672451201
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='862114', job_status='RUN', time_executed='2022-04-24 00:12:13.860371', time_epoch_executed='1650784333.86' WHERE source_name='4FGL J0014.9+3212' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862114

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862114/ft1_4FGL_J0014.9+3212_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862114/ft1_4FGL_J0014.9+3212_daily_bin1670.fits outfile=/scratch/kocevski/862114/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1670.fits ra=3.7268 dec=32.2162 rad=12.0 tmin=672192001.0 tmax=672451201.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.30
user 4.85
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.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/862114/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 716

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862114/ltcube_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.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/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits
.....................!
real 12.12
user 11.72
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862114/ltcube_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits outfile=/scratch/kocevski/862114/expmap_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.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/862114/ltcube_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits
.....................!
real 191.84
user 186.06
sys 5.41

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/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits scfile=/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits outfile=/scratch/kocevski/862114/cmap_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits scfile=/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits outfile=/scratch/kocevski/862114/cmap_HighResolution_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits', '/scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits', expMap='/scratch/kocevski/862114/expmap_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits', expCube='/scratch/kocevski/862114/ltcube_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862114/Model_4FGL_J0014.9+3212_daily_bin1670.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  1.000e-04  1.000e+04 ( 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/862114/ft1_filtered_4FGL_J0014.9+3212_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862114/ft2_4FGL_J0014.9+3212_daily_bin1670.fits
Exposure map: /scratch/kocevski/862114/expmap_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862114/ltcube_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862114/Model_4FGL_J0014.9+3212_daily_bin1670.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) = 7923.85941023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1974       1.0000         .10000E-03   10000.    
     2 'norm      '    16.864       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9423       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9059       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10820E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7173       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .49741       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.394       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4715       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84197E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.011       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.190       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83599       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7923.854     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1768 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1975        2.2830        .25723E-07    .22306E-05
   2  norm          16.867        14.560       -.36635E-06   -.70346E-05
   3  Prefactor     4.2185        5.1649        .14201E-05   -.13531E-04
   4  Prefactor     3.9433        8.5768       -.81065E-07   -.30876E-05
   5  Prefactor     3.0988        6.6517       -.13921E-06   -.22940E-04
   6  Prefactor     6.9011        78.105        .20207E-05   -.91497E-07
   7  Prefactor     .10000E-03    20.021        .72123E-07** at limit **
   8  norm          2.7174        1.9152        .10594E-07   -.73768E-05
   9  Prefactor     .50502        4.4818        .11840E-06   -.50222E-04
  10  Prefactor     12.393        13.451        .48440E-06   -.62943E-05
  11  norm          3.4698        3.4559        .64714E-07    .11575E-04
  12  Prefactor     .10000E-03    11.819        .24506E-06** at limit **
  13  Prefactor     1.2460        38.539        .53204E-06   -.85258E-05
  14  Prefactor     44.986        37.385        .27801E-05    .32242E-05
  15  Prefactor     16.176        34.393        .23435E-05    .16122E-05
  16  Prefactor     .10000E-03    2.4011       -.16664E-06** at limit **
  17  Normalizat    .83598        .19970       -.35963E-06   -.62867E-05
  18  Prefactor     1.1059        .11260       -.35128E-06   -.20745E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19745
  norm       = 16.867
  Prefactor  = 4.21853
  Prefactor  = 3.94333
  Prefactor  = 3.09882
  Prefactor  = 6.90109
  Prefactor  = 0.0001
  norm       = 2.71744
  Prefactor  = 0.505018
  Prefactor  = 12.3927
  norm       = 3.46981
  Prefactor  = 0.000100004
  Prefactor  = 1.24603
  Prefactor  = 44.9863
  Prefactor  = 16.176
  Prefactor  = 0.0001
  Normalizat = 0.835983
  Prefactor  = 1.10595
 **********
 **   18 **HESSE 
 **********

 FCN=   7923.854     FROM HESSE     STATUS=OK           260 CALLS     2028 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1975        2.2823        .13271E-03   -1.5411    
   2  norm          16.867        14.546        .97530E-04   -1.4886    
   3  Prefactor     4.2185        5.1709        .98098E-03   -1.5297    
   4  Prefactor     3.9433        8.5589        .20317E-03   -1.5311    
   5  Prefactor     3.0988        6.6567        .23051E-03   -1.5356    
   6  Prefactor     6.9011        78.023        .15267E-03   -1.5183    
   7  Prefactor     .10000E-03    20.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7174        1.9154        .10023E-03   -1.5378    
   9  Prefactor     .50502        13.648        .35990E-02   -1.5566    
  10  Prefactor     12.393        13.449        .56892E-03   -1.5004    
  11  norm          3.4698        3.3724        .15654E-03   -1.5335    
  12  Prefactor     .10000E-03    77.321        .56860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2460        39.259        .40136E-03   -1.5485    
  14  Prefactor     44.986        37.439        .59759E-04   -1.4366    
  15  Prefactor     16.176        34.380        .99539E-04   -1.4903    
  16  Prefactor     .10000E-03    2.4176        .13471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .83598        .22701        .34343E-03   -.98748    
  18  Prefactor     1.1059        .12940        .17764E-03   -.89277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3864e-08
Minuit parameter uncertainties:
  1  2.28235
  2  14.5495
  3  5.17144
  4  8.5616
  5  6.65827
  6  46.4852
  7  1.15332e-05
  8  1.91546
  9  5.25149
  10  13.452
  11  3.37262
  12  0.00113502
  13  13.9979
  14  37.4586
  15  34.4223
  16  1.12045e-05
  17  0.227264
  18  0.129434
Done.

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

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  3.099e+00  6.658e+00  1.000e-04  1.000e+04 ( 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:  1.106e+00  1.294e-01  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:  8.360e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.27
Ra Dec: 3.727 32.216
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862114/likelihoodResults_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.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) = 7922.92659713
delta logL = 0.927331628895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7922.91269537
delta logL = 0.941233394291

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7922.913     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      250 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3941        18.069        .91960E-02    .25143E-02
   2  Index         4.3542        3.6143        .14716        .11599E-03
   3  Normalizat    .74815        .55109E-01    .81611E-01    .35669E-04
   4  Prefactor     1.1378        .32345E-01    .36298E-01   -.35493E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39407
  Index      = 4.35415
  Normalizat = 0.748146
  Prefactor  = 1.13785
 **********
 **   18 **HESSE 
 **********

 FCN=   7922.913     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3941        37.975        .75185E-04   -1.5472    
   2  Index         4.3542        7.1764        .72187E-02   -.12953    
   3  Normalizat    .74815        .21943        .36136E-03   -1.0202    
   4  Prefactor     1.1378        .12712        .17540E-03   -.88266    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.98293e-07
Minuit parameter uncertainties:
  1  14.5617
  2  7.031
  3  0.21969
  4  0.127158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862114': 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) = 7922.91269531
delta logL = 0.941233451091

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.394e+00  1.456e+01  1.000e-04  1.000e+04 ( 1.000e-12)
60         Index:  4.354e+00  7.031e+00  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:  1.138e+00  1.272e-01  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:  7.481e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 3.727 32.216
Photon Index (Free Index): 4.35 +/- 7.03
Photon Flux (Free Index): 8.14e-08 +/- 6.63e-08
Energy Flux (Free Index): 1.16e-05 +/- 1.62e-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/862114/cmap_HighResolution_672192001_672451201_4FGL_J0014.9+3212_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.46e-03', comment='SUCCESS', energy_flux2='1.16e-05', dlogl='9.41e-01', photon_flux2='8.14e-08', job_status='DONE', time_completed='2022-04-24 00:22:38.246410', photon_index_error2='7.03', photon_index2='4.35', ts='0.27', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.62e-05', EG='0.84', time_epoch_completed='1650784958.25', return_code='0', job_id='862114', GAL2='1.14', EG2='0.75', return_code2='102', photon_flux_error2='6.63e-08', ts2='2.36', photon_index='2.61' WHERE bin_id='1670' AND source_name='4FGL J0014.9+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:22:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 862028: <4FGL_J0014.9+3212_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0014.9+3212_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:12 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:10:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:10:37 2022
Terminated at Sun Apr 24 00:21:59 2022
Results reported at Sun Apr 24 00:21:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.9+3212_daily_bin1670 3.7268 32.2162 672192001 672451201 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 :                                   628.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            827 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 862114: <4FGL_J0014.9+3212_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0014.9+3212_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:16 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:10:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:10:56 2022
Terminated at Sun Apr 24 00:22:39 2022
Results reported at Sun Apr 24 00:22:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.9+3212_daily_bin1670 3.7268 32.2162 672192001 672451201 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 :                                   625.39 sec.
    Max Memory :                                 1061 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            863 sec.

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

