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


Performing analysis on: 4FGL_J0014.1+1910_daily_bin1704
RA = 3.5368, Dec = 19.1713
tmin = 681004801, tmax = 681264001
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='363042', job_status='RUN', time_executed='2022-08-04 00:11:34.598507', time_epoch_executed='1659597094.6' WHERE source_name='4FGL J0014.1+1910' and cadence='daily' and bin_id='1704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/363042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/363042/ft1_4FGL_J0014.1+1910_daily_bin1704.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/363042/ft1_4FGL_J0014.1+1910_daily_bin1704.fits outfile=/scratch/kocevski/363042/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1704.fits ra=3.5368 dec=19.1713 rad=12.0 tmin=681004801.0 tmax=681264001.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.22
user 2.74
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.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/363042/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1704.fits evtable="EVENTS" outfile="/scratch/kocevski/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.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.72
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 809

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits" evtable="EVENTS" scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits sctable="SC_DATA" outfile=/scratch/kocevski/363042/ltcube_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.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/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits
.....................!
real 16.13
user 15.68
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits sctable="SC_DATA" expcube=/scratch/kocevski/363042/ltcube_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits outfile=/scratch/kocevski/363042/expmap_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.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/363042/ltcube_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits
.....................!
real 195.00
user 188.31
sys 5.75

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/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits outfile=/scratch/kocevski/363042/cmap_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits outfile=/scratch/kocevski/363042/cmap_HighResolution_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.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/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/363042/Model_4FGL_J0014.1+1910_daily_bin1704.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/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits.....................!
real 93.24
user 90.17
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits', '/scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits', expMap='/scratch/kocevski/363042/expmap_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits', expCube='/scratch/kocevski/363042/ltcube_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/363042/Model_4FGL_J0014.1+1910_daily_bin1704.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/363042/ft1_filtered_4FGL_J0014.1+1910_daily_bin1704.fits
Spacecraft file(s): /scratch/kocevski/363042/ft2_4FGL_J0014.1+1910_daily_bin1704.fits
Exposure map: /scratch/kocevski/363042/expmap_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits
Exposure cube: /scratch/kocevski/363042/ltcube_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/363042/Model_4FGL_J0014.1+1910_daily_bin1704.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) = 9075.01230613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7338       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7450       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5138       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.386       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5846       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57875       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.660       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .90188       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99970       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9074.998     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1267 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4489         .0000    ** at limit **
   2  Prefactor     8.7306        9.3737         .0000       -.34119E-03
   3  Prefactor     10.641        8.0665         .0000       -.51347E-03
   4  Prefactor     .10000E-03    11.655         .0000    ** at limit **
   5  Prefactor     3.7447        2.3850         .0000        .28294E-03
   6  norm          1.5133        5.6397         .0000        .20391E-01
   7  Prefactor     .10000E-03    4.5496         .0000    ** at limit **
   8  Prefactor     10.385        9.3101         .0000        .47061E-03
   9  norm          .10000E-03    2.1141         .0000    ** at limit **
  10  Prefactor     4.5839        4.6885         .0000       -.45245E-03
  11  Prefactor     .10000E-03    3.3948         .0000    ** at limit **
  12  Prefactor     .38064        13.715         .0000        .23806E-03
  13  norm          .10000E-03    6.4756         .0000    ** at limit **
  14  Prefactor     12.660        6.2519         .0000        .23813E-03
  15  Normalizat    .90190        .15551         .0000        .25086E-04
  16  Prefactor     .99978        .10529         .0000        .13155E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.73065
  Prefactor  = 10.6415
  Prefactor  = 0.0001
  Prefactor  = 3.74474
  norm       = 1.51332
  Prefactor  = 0.0001
  Prefactor  = 10.3851
  norm       = 0.0001
  Prefactor  = 4.58385
  Prefactor  = 0.0001
  Prefactor  = 0.380635
  norm       = 0.0001
  Prefactor  = 12.6601
  Normalizat = 0.901896
  Prefactor  = 0.999778
 **********
 **   18 **HESSE 
 **********

 FCN=   9074.998     FROM HESSE     STATUS=OK           211 CALLS     1478 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4941        .22329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7306        9.3477        .13563E-03   -1.5117    
   3  Prefactor     10.641        8.0557        .12282E-03   -1.5055    
   4  Prefactor     .10000E-03    11.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7447        2.3813        .11307E-03   -1.5321    
   6  norm          1.5133        5.6060        .17376E-02   -1.5462    
   7  Prefactor     .10000E-03    4.5517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.385        9.3104        .12433E-03   -1.5063    
   9  norm          .10000E-03    2.1234        .13527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5839        4.6828        .18799E-03   -1.5280    
  11  Prefactor     .10000E-03    3.4115        .17139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .38064        15.442        .10620       -1.5585    
  13  norm          .10000E-03    6.5142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.660        6.2523        .11258E-03   -1.4996    
  15  Normalizat    .90190        .18393        .29116E-03   -.96394    
  16  Prefactor     .99978        .12489        .19012E-03   -.92737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2868e-09
Minuit parameter uncertainties:
  1  8.92126e-07
  2  9.34931
  3  8.05656
  4  1.40046e-05
  5  2.38137
  6  5.60792
  7  9.04163e-07
  8  9.31169
  9  2.38955e-07
  10  4.6832
  11  1.94488e-06
  12  4.84951
  13  1.41019e-05
  14  6.25264
  15  0.184063
  16  0.12493
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.064e+01  8.057e+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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.998e-01  1.249e-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:  9.019e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.78
Ra Dec: 3.537 19.171
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.69e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/363042/likelihoodResults_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.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) = 9074.94130261
delta logL = 0.0566847055106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9074.93956102
delta logL = 0.0584262941902

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6536       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4923       1.0000          .0000       10.000    
     3 'Normalizat'    .89117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0041       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.

 FCN=   9074.940     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      301 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6524        9.9457        .13626E-03    .71350E-03
   2  Index         2.4922        .72203        .75183E-02    .14531E-03
   3  Normalizat    .89121        .18555        .29269E-03   -.41406E-03
   4  Prefactor     1.0041        .12542        .18974E-03   -.79814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65241
  Index      = 2.49219
  Normalizat = 0.891205
  Prefactor  = 1.00409
 **********
 **   18 **HESSE 
 **********

 FCN=   9074.940     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6524        8.9394        .54506E-05   -1.5120    
   2  Index         2.4922        .64841        .30073E-03   -.52540    
   3  Normalizat    .89121        .18501        .11708E-04   -.96770    
   4  Prefactor     1.0041        .12527        .37947E-04   -.92593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7154e-10
Minuit parameter uncertainties:
  1  8.94083
  2  0.650859
  3  0.185141
  4  0.12531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/363042': 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) = 9074.93956063
delta logL = 0.0584266867281

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  8.652e+00  8.941e+00  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.492e+00  6.509e-01  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:  1.004e+00  1.253e-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:  8.912e-01  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.91
Ra Dec: 3.537 19.171
Photon Index (Free Index): 2.49 +/- 0.65
Photon Flux (Free Index): 4.58e-08 +/- 4.10e-08
Energy Flux (Free Index): 1.34e-05 +/- 9.77e-06

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/363042/cmap_HighResolution_681004801_681264001_4FGL_J0014.1+1910_daily_bin1704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', comment='SUCCESS', photon_flux='3.69e-08', energy_flux2='1.34e-05', photon_flux_error='2.79e-08', dlogl='5.84e-02', energy_flux='1.45e-05', photon_flux2='4.58e-08', job_status='DONE', time_completed='2022-08-04 00:21:53.272689', photon_index_error2='0.65', photon_index2='2.49', ts='3.78', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.88e-08', energy_flux_error2='9.77e-06', EG='0.90', time_epoch_completed='1659597713.27', return_code='0', job_id='363042', GAL2='1.00', EG2='0.89', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.10e-08', ts2='3.91', photon_index='2.28' WHERE bin_id='1704' AND source_name='4FGL J0014.1+1910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug  4 00:21:53 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 363045: <4FGL_J0014.1+1910_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1704> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug  4 00:05:21 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 00:08:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 00:08:04 2022
Terminated at Thu Aug  4 00:19:43 2022
Results reported at Thu Aug  4 00:19:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1704 3.5368 19.1713 681004801 681264001 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 :                                   508.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            862 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 363042: <4FGL_J0014.1+1910_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1704> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug  4 00:05:21 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 00:07:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 00:07:49 2022
Terminated at Thu Aug  4 00:21:53 2022
Results reported at Thu Aug  4 00:21:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1704 3.5368 19.1713 681004801 681264001 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 :                                   613.48 sec.
    Max Memory :                                 656 MB
    Average Memory :                             282.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            992 sec.

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

