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 185 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.9+3212_daily_bin1684
RA = 3.7268, Dec = 32.2162
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='180838', job_status='RUN', time_executed='2022-06-05 00:08:22.232528', time_epoch_executed='1654412902.23' WHERE source_name='4FGL J0014.9+3212' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180838

Creating custom pfile directory:
/scratch/kocevski/180838/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/180838/ft1_4FGL_J0014.9+3212_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/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180838/ft1_4FGL_J0014.9+3212_daily_bin1684.fits outfile=/scratch/kocevski/180838/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1684.fits ra=3.7268 dec=32.2162 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.56
user 4.24
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_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/180838/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/180838/ft1_filtered_4FGL_J0014.9+3212_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.54
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180838/ltcube_675820801_676080001_4FGL_J0014.9+3212_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/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits
.....................!
real 15.43
user 15.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180838/ltcube_675820801_676080001_4FGL_J0014.9+3212_daily_bin1684.fits outfile=/scratch/kocevski/180838/expmap_675820801_676080001_4FGL_J0014.9+3212_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/180838/ltcube_675820801_676080001_4FGL_J0014.9+3212_daily_bin1684.fits
.....................!
real 192.88
user 186.28
sys 5.81

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/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits outfile=/scratch/kocevski/180838/cmap_675820801_676080001_4FGL_J0014.9+3212_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.7268 yref=32.2162 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits outfile=/scratch/kocevski/180838/cmap_HighResolution_675820801_676080001_4FGL_J0014.9+3212_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.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180838/ft2_4FGL_J0014.9+3212_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180838/Model_4FGL_J0014.9+3212_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/180838/ft1_filtered_4FGL_J0014.9+3212_daily_bin1684.fits.....................!
real 84.24
user 82.48
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.3218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .32871E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.099       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.628       1.0000         .10000E-03   10000.    
     8 'norm      '    .79613       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.143       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.962       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14632E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4263       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74697       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=   7994.801     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1764 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8129        .69781E-08** at limit **
   2  norm          4.3153        12.118       -.18014E-04   -.15443E-03
   3  Prefactor     .10000E-03    3.6174        .44711E-06** at limit **
   4  Prefactor     .10036E-03    11.256       -.13530E-05** at limit **
   5  Prefactor     .10000E-03    3.5000        .48373E-08** at limit **
   6  Prefactor     27.094        33.772        .51933E-06    .21879E-04
   7  Prefactor     14.626        20.426        .12426E-05    .10515E-04
   8  norm          .79557        1.6270       -.29556E-06   -.14444E-02
   9  Prefactor     .10000E-03    1.6537       -.17093E-07** at limit **
  10  Prefactor     14.143        12.494       -.40386E-05    .64530E-05
  11  norm          .10000E-03    3.8612       -.40141E-06** at limit **
  12  Prefactor     13.962        18.760        .46449E-05    .78640E-05
  13  Prefactor     .10000E-03    10.509       -.11145E-06** at limit **
  14  Prefactor     .10000E-03    24.123        .26908E-06** at limit **
  15  Prefactor     .10001E-03    124.23        .13249E-04** at limit **
  16  Prefactor     .10000E-03    6.2705        .58272E-06** at limit **
  17  Normalizat    1.4265        .18380        .15399E-05    .99234E-04
  18  Prefactor     .74689        .10106        .23046E-06    .20836E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.31525
  Prefactor  = 0.000100001
  Prefactor  = 0.00010036
  Prefactor  = 0.0001
  Prefactor  = 27.0943
  Prefactor  = 14.6261
  norm       = 0.795571
  Prefactor  = 0.0001
  Prefactor  = 14.143
  norm       = 0.0001
  Prefactor  = 13.9616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100001
  Normalizat = 1.42648
  Prefactor  = 0.746887
 **********
 **   18 **HESSE 
 **********

 FCN=   7994.801     FROM HESSE     STATUS=OK           254 CALLS     2018 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8437        .11733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.3153        12.221        .19377E-03   -1.5292    
   3  Prefactor     .10000E-03    3.6652        .16618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10036E-03    13.198        .82584E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5326        .16330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.094        33.786        .76957E-04   -1.4666    
   7  Prefactor     14.626        20.439        .10472E-03   -1.4943    
   8  norm          .79557        1.4182        .15802E-02   -1.5530    
   9  Prefactor     .10000E-03    1.6611        .11228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.143        12.419        .10650E-03   -1.4956    
  11  norm          .10000E-03    3.8953        .17105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.962        18.663        .10719E-03   -1.4960    
  13  Prefactor     .10000E-03    10.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    127.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4567        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4265        .21641        .26783E-03   -.79866    
  18  Prefactor     .74689        .11883        .19861E-03   -1.0172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05822e-09
Minuit parameter uncertainties:
  1  2.58844e-06
  2  12.2277
  3  9.12311e-05
  4  0.00436206
  5  4.90524e-07
  6  33.8102
  7  20.449
  8  1.4183
  9  1.31043e-06
  10  12.4216
  11  7.56218e-05
  12  18.6704
  13  8.98195e-06
  14  4.03282e-05
  15  0.00216827
  16  0.000149224
  17  0.216546
  18  0.118872
Done.

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

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.000e-04  4.905e-07  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:  7.469e-01  1.189e-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:  1.426e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/180838/likelihoodResults_675820801_676080001_4FGL_J0014.9+3212_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) = 7994.80269601
delta logL = -0.00134930137756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7994.43441851
delta logL = 0.36692820474

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9404       1.0000          .0000       10.000    
     3 'Normalizat'    1.3796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76476       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=   7994.434     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      555 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .11044E-03    .85642E-09** at limit **
   2  Index         9.9403        .11426        .42188E-05    .19291E-05
   3  Normalizat    1.3797        .18307       -.19822E-07    .19749E-03
   4  Prefactor     .76474        .10130        .84137E-08   -.25927E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.94033
  Normalizat = 1.37969
  Prefactor  = 0.764735
 **********
 **   18 **HESSE 
 **********

 FCN=   7994.434     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      592 TOTAL
                     EDM=   .10E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .21937E-01    .26684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.9403        6.7344        .83272E-01    1.4162    
   3  Normalizat    1.3797        .10680        .27162E-03   -.81218    
   4  Prefactor     .76474        .55939E-01    .19656E-03   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000103946
Minuit parameter uncertainties:
  1  1.8835e-07
  2  10.5383
  3  0.106815
  4  0.0559435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180838': 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) = 7994.43441842
delta logL = 0.366928286855

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.000e-04  1.883e-07  1.000e-04  1.000e+04 ( 1.000e-12)
60         Index:  9.940e+00  1.054e+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:  7.647e-01  5.594e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.380e+00  1.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/180838/cmap_HighResolution_675820801_676080001_4FGL_J0014.9+3212_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.19e-08', time_completed='2022-06-05 00:19:34.350237', job_id='180838', GAL2='0.76', fit_tolerance='1e-08', EG2='1.38', EG='1.43', time_epoch_completed='1654413574.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='3.67e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1684' AND source_name='4FGL J0014.9+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:19:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 180838: <4FGL_J0014.9+3212_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0014.9+3212_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) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:04:52 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:52 2022
Terminated at Sun Jun  5 00:19:35 2022
Results reported at Sun Jun  5 00:19:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.9+3212_daily_bin1684 3.7268 32.2162 675820801 676080001 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 :                                   671.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            899 sec.

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

