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 72 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_J0014.1+1910_daily_bin1684
RA = 3.5368, Dec = 19.1713
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='180835', job_status='RUN', time_executed='2022-06-05 00:06:22.458602', time_epoch_executed='1654412782.46' WHERE source_name='4FGL J0014.1+1910' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180835

Creating custom pfile directory:
/scratch/kocevski/180835/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/180835/ft1_4FGL_J0014.1+1910_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/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180835/ft1_4FGL_J0014.1+1910_daily_bin1684.fits outfile=/scratch/kocevski/180835/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1684.fits ra=3.5368 dec=19.1713 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.54
user 4.23
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_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/180835/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_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.60
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180835/ltcube_675820801_676080001_4FGL_J0014.1+1910_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/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits
.....................!
real 15.66
user 15.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180835/ltcube_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits outfile=/scratch/kocevski/180835/expmap_675820801_676080001_4FGL_J0014.1+1910_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/180835/ltcube_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits
.....................!
real 191.70
user 186.32
sys 4.82

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

Setting source of interest to:
4FGL J0014.1+1910 @ 3.5368 19.1713

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits outfile=/scratch/kocevski/180835/cmap_675820801_676080001_4FGL_J0014.1+1910_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=3.5368 yref=19.1713 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.66
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits outfile=/scratch/kocevski/180835/cmap_HighResolution_675820801_676080001_4FGL_J0014.1+1910_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=3.5368 yref=19.1713 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180835/Model_4FGL_J0014.1+1910_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/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits.....................!
real 82.51
user 79.91
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits', '/scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits', expMap='/scratch/kocevski/180835/expmap_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits', expCube='/scratch/kocevski/180835/ltcube_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180835/Model_4FGL_J0014.1+1910_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.1+1910'

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.230e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/180835/ft1_filtered_4FGL_J0014.1+1910_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/180835/ft2_4FGL_J0014.1+1910_daily_bin1684.fits
Exposure map: /scratch/kocevski/180835/expmap_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits
Exposure cube: /scratch/kocevski/180835/ltcube_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180835/Model_4FGL_J0014.1+1910_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) = 7233.55043963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10467E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.628       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .81881       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1629       1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1068       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.636       1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.315       1.0000         .10000E-03   10000.    
    13 'norm      '    3.3661       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4814       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1492       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7233.522     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     1487 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7981        .36020E-01** at limit **
   2  Prefactor     .10000E-03    12.545        .90712E-02** at limit **
   3  Prefactor     .10000E-03    2.6330        .90712E-02** at limit **
   4  Prefactor     34.629        37.801        .17025E-02   -.13886E-02
   5  Prefactor     .81969        2.8214        .44764E-01    .32170E-04
   6  norm          .10000E-03    3.5380        .90712E-02** at limit **
   7  Prefactor     .10000E-03    5.8227        .90712E-02** at limit **
   8  Prefactor     5.1626        5.6668        .44232E-02   -.10776E-03
   9  norm          .10000E-03    4.0160        .90712E-02** at limit **
  10  Prefactor     1.1069        3.2950        .11248E-01    .98312E-03
  11  Prefactor     12.636        12.511        .28172E-02    .99428E-03
  12  Prefactor     75.315        26.838        .11567E-02    .48816E-03
  13  norm          3.3660        9.9951        .55141E-02    .29477E-03
  14  Prefactor     4.4817        6.3257        .47550E-02    .49917E-03
  15  Normalizat    1.1492        .18014        .59467E-01   -.12890E-04
  16  Prefactor     .81357        .11506        .43893E-01   -.26346E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6288
  Prefactor  = 0.819694
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.16257
  norm       = 0.0001
  Prefactor  = 1.10691
  Prefactor  = 12.6359
  Prefactor  = 75.3148
  norm       = 3.36598
  Prefactor  = 4.4817
  Normalizat = 1.14917
  Prefactor  = 0.813571
 **********
 **   18 **HESSE 
 **********

 FCN=   7233.522     FROM HESSE     STATUS=OK           205 CALLS     1692 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5511        .21779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.6361        .13476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.629        37.777        .68099E-04   -1.4530    
   5  Prefactor     .81969        3.9895        .24320E-02   -1.5527    
   6  norm          .10000E-03    3.5575        .15623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1626        5.6658        .17693E-03   -1.5254    
   9  norm          .10000E-03    4.0346        .16637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1069        3.2293        .25815E-03   -1.5498    
  11  Prefactor     12.636        12.506        .56343E-03   -1.4997    
  12  Prefactor     75.315        26.846        .46267E-04   -1.3970    
  13  norm          3.3660        9.9785        .22056E-03   -1.5341    
  14  Prefactor     4.4817        6.3095        .19020E-03   -1.5285    
  15  Normalizat    1.1492        .21134        .26300E-03   -.88188    
  16  Prefactor     .81357        .13684        .20256E-03   -.99230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97638e-09
Minuit parameter uncertainties:
  1  6.96467e-06
  2  2.38567e-05
  3  3.08851e-06
  4  37.8026
  5  3.6169
  6  1.28579e-05
  7  7.22716e-06
  8  5.66635
  9  2.49801e-05
  10  3.22984
  11  12.5085
  12  26.8501
  13  9.98346
  14  6.31044
  15  0.211493
  16  0.136896
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.000e-04  3.089e-06  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.136e-01  1.369e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.149e+00  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 3.537 19.171
Photon Flux Upper Limit: 4.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/180835/likelihoodResults_675820801_676080001_4FGL_J0014.1+1910_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): 102
logL (Free Index) = 7233.52361895
delta logL = -0.00179874543392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7233.5218221
delta logL = -1.89085130842e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7233.522     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10183E-03    36.384        .13716E-02** at limit **
   2  Index         2.1874        8.1921        .50000        .55997E-04
   3  Normalizat    1.1492        .16307E-01    .26300E-03    .79018E-04
   4  Prefactor     .81357        .10818E-01    .20256E-03    .72178E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7233.522     FROM SIMPLEX   STATUS=UNCHANGED    131 CALLS      369 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10183E-03    36.384        .31086E-03** at limit **
   2  Index         2.1874        8.1921        .42577E-03    .55997E-04
   3  Normalizat    1.1492        .16307E-01    .19958E-05    .79018E-04
   4  Prefactor     .81357        .10818E-01    .59546E-06    .72178E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7233.522     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      415 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.596        .27433E-02** at limit **
   2  Index         1.7355        8.2280        .50000        .14072E-06
   3  Normalizat    1.1492        .16709E-01    .10520E-04   -.10781E-02
   4  Prefactor     .81357        .11084E-01    .81022E-05   -.13827E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.73552
  Normalizat = 1.14917
  Prefactor  = 0.81357
 **********
 **   18 **HESSE 
 **********

 FCN=   7233.522     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      444 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    206.36        .54865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7355        6.0542        .50000       -.71140    
   3  Normalizat    1.1492        .37802E-01    .21040E-05   -.88189    
   4  Prefactor     .81357        .25071E-01    .16204E-05   -.99230    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08204e-10
Minuit parameter uncertainties:
  1  0.000340704
  2  735.862
  3  0.037803
  4  0.0250712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180835': 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) = 7233.521816
delta logL = 4.20491141995e-06

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.000e-04  3.407e-04  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  1.736e+00  7.359e+02  0.000e+00  1.000e+01 (-1.000e+00)
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.136e-01  2.507e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.149e+00  3.780e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 3.537 19.171

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/180835/cmap_HighResolution_675820801_676080001_4FGL_J0014.1+1910_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2022-06-05 00:16:07.407819', job_id='180835', GAL2='0.81', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1654413367.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='4.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1684' AND source_name='4FGL J0014.1+1910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:16:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 180835: <4FGL_J0014.1+1910_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:36 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:04:50 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:04:50 2022
Terminated at Sun Jun  5 00:16:08 2022
Results reported at Sun Jun  5 00:16:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1684 3.5368 19.1713 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0014.1+1910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   581.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            692 sec.

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

