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


Performing analysis on: 4FGL_J0014.9+3212_daily_bin1699
RA = 3.7268, Dec = 32.2162
tmin = 679708801, tmax = 679968001
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='990955', job_status='RUN', time_executed='2022-07-20 00:05:33.106560', time_epoch_executed='1658300733.11' WHERE source_name='4FGL J0014.9+3212' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990955

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990955/ft1_4FGL_J0014.9+3212_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990955/ft1_4FGL_J0014.9+3212_daily_bin1699.fits outfile=/scratch/kocevski/990955/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1699.fits ra=3.7268 dec=32.2162 rad=12.0 tmin=679708801.0 tmax=679968001.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.16
user 3.56
sys 0.25

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

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

Number of photons that the gtmktime cut: 825

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/990955/ltcube_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.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/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits
.....................!
real 12.72
user 12.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/990955/ltcube_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits outfile=/scratch/kocevski/990955/expmap_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.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/990955/ltcube_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits
.....................!
real 191.32
user 184.97
sys 5.46

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/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits scfile=/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits outfile=/scratch/kocevski/990955/cmap_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.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.95
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits scfile=/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits outfile=/scratch/kocevski/990955/cmap_HighResolution_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.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.74
user 0.36
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits', '/scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits', expMap='/scratch/kocevski/990955/expmap_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits', expCube='/scratch/kocevski/990955/ltcube_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/990955/Model_4FGL_J0014.9+3212_daily_bin1699.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/990955/ft1_filtered_4FGL_J0014.9+3212_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/990955/ft2_4FGL_J0014.9+3212_daily_bin1699.fits
Exposure map: /scratch/kocevski/990955/expmap_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits
Exposure cube: /scratch/kocevski/990955/ltcube_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/990955/Model_4FGL_J0014.9+3212_daily_bin1699.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) = 9143.42138705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5360       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.366       1.0000         .10000E-03   10000.    
     6 'Prefactor '    98.241       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19554E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8483       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4756       1.0000         .10000E-03   10000.    
    11 'norm      '    .35729E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1580       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.687       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.829       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .80937       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1716       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9143.406     FROM MIGRAD    STATUS=CONVERGED    667 CALLS     2155 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3323        .23721E-02** at limit **
   2  norm          .10000E-03    5.6933        .18142E-02** at limit **
   3  Prefactor     .10000E-03    2.5564        .14887E-02** at limit **
   4  Prefactor     3.5295        11.587        .21496E-03    .18701E-03
   5  Prefactor     14.371        7.8581        .52836E-03    .58057E-03
   6  Prefactor     98.262        54.555        .40557E-04    .68397E-05
   7  Prefactor     .10023E-03    15.246        .10163    ** at limit **
   8  norm          1.8484        1.4560        .49754E-03   -.43625E-03
   9  Prefactor     .10000E-03    2.1288        .13552E-02** at limit **
  10  Prefactor     5.4704        11.457        .17171E-03    .30456E-04
  11  norm          .10002E-03    7.2142        .31229E-02** at limit **
  12  Prefactor     2.2275        28.601        .28043E-03    .13589E-03
  13  Prefactor     .10000E-03    4.8387        .18142E-02** at limit **
  14  Prefactor     24.751        35.265        .80622E-04    .32997E-04
  15  Prefactor     .10000E-03    21.169        .18142E-02** at limit **
  16  Prefactor     10.829        7.1303        .12175E-03    .24092E-04
  17  Normalizat    .80926        .21690        .35840E-03    .84822E-04
  18  Prefactor     1.1716        .12184        .17945E-03    .58471E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.52951
  Prefactor  = 14.371
  Prefactor  = 98.2621
  Prefactor  = 0.00010023
  norm       = 1.84838
  Prefactor  = 0.0001
  Prefactor  = 5.47037
  norm       = 0.00010002
  Prefactor  = 2.22749
  Prefactor  = 0.0001
  Prefactor  = 24.7513
  Prefactor  = 0.0001
  Prefactor  = 10.8292
  Normalizat = 0.809262
  Prefactor  = 1.17161
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.406     FROM HESSE     STATUS=OK           236 CALLS     2391 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3432        .47442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.6938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.5567        .29773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5295        11.581        .85985E-05   -1.5332    
   5  Prefactor     14.371        7.8572        .21135E-04   -1.4950    
   6  Prefactor     98.262        54.555        .81113E-05   -1.3722    
   7  Prefactor     .10023E-03    14.533        .10509       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8484        1.4559        .19902E-04   -1.5436    
   9  Prefactor     .10000E-03    2.1293        .27104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4704        11.456        .68685E-05   -1.5240    
  11  norm          .10002E-03    7.2507        .62459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2275        28.508        .11217E-04   -1.5409    
  13  Prefactor     .10000E-03    4.8388        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.751        35.257        .32249E-05   -1.4713    
  15  Prefactor     .10000E-03    21.170        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.829        7.1298        .48700E-05   -1.5050    
  17  Normalizat    .80926        .21698        .14336E-04   -.99726    
  18  Prefactor     1.1716        .12191        .35889E-04   -.87210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16107e-09
Minuit parameter uncertainties:
  1  0.000169261
  2  1.71015e-05
  3  4.63801e-06
  4  11.5887
  5  7.85774
  6  54.583
  7  0.00365473
  8  1.45596
  9  7.31055e-07
  10  11.461
  11  0.000757389
  12  15.9467
  13  1.525e-05
  14  35.2868
  15  3.2837e-05
  16  7.1304
  17  0.21721
  18  0.121935
Done.

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

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.437e+01  7.858e+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.172e+00  1.219e-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.093e-01  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.65
Ra Dec: 3.727 32.216
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 8.38e-08 +/- 4.58e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.19e-05

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) = 9143.4007694
delta logL = 0.00495422373024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9143.40002048
delta logL = 0.00570314454308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.602       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5477       1.0000          .0000       10.000    
     3 'Normalizat'    .81484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1697       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=   9143.400     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.602        151.86        .26204E-02   -.23744E-03
   2  Index         2.5475        6.2733        .23371        .61633E-04
   3  Normalizat    .81487        .10111        .80699E-01    .41343E-04
   4  Prefactor     1.1696        .44254E-01    .35390E-01    .64926E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6025
  Index      = 2.54755
  Normalizat = 0.81487
  Prefactor  = 1.16963
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.400     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.602        8.3713        .10481E-03   -1.4944    
   2  Index         2.5475        .59077        .82837E-02   -.51265    
   3  Normalizat    .81487        .21273        .35728E-03   -.99519    
   4  Prefactor     1.1696        .12242        .17958E-03   -.87271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73018e-11
Minuit parameter uncertainties:
  1  8.37199
  2  0.592591
  3  0.212945
  4  0.122454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990955': 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) = 9143.40002018
delta logL = 0.00570343964864

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.460e+01  8.372e+00  1.000e-04  1.000e+04 ( 1.000e-12)
60         Index:  2.548e+00  5.926e-01  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.170e+00  1.225e-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.149e-01  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.64
Ra Dec: 3.727 32.216
Photon Index (Free Index): 2.55 +/- 0.59
Photon Flux (Free Index): 7.95e-08 +/- 5.94e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.24e-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/990955/cmap_HighResolution_679708801_679968001_4FGL_J0014.9+3212_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.38e-08', energy_flux2='2.19e-05', photon_flux_error='4.58e-08', dlogl='5.70e-03', energy_flux='2.18e-05', photon_flux2='7.95e-08', job_status='DONE', time_completed='2022-07-20 00:17:12.381869', photon_index_error2='0.59', photon_index2='2.55', ts='8.65', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='0.81', time_epoch_completed='1658301432.38', return_code='0', job_id='990955', GAL2='1.17', EG2='0.81', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='5.94e-08', ts2='8.64', photon_index='2.61' WHERE bin_id='1699' AND source_name='4FGL J0014.9+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:17:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 990955: <4FGL_J0014.9+3212_daily_bin1699> in cluster <slac> Done

Job <4FGL_J0014.9+3212_daily_bin1699> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jul 20 00:05:01 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:05:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:05:02 2022
Terminated at Wed Jul 20 00:17:13 2022
Results reported at Wed Jul 20 00:17:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.9+3212_daily_bin1699 3.7268 32.2162 679708801 679968001 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 :                                   655.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

