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


Performing analysis on: 4FGL_J0014.9+3212_daily_bin1698
RA = 3.7268, Dec = 32.2162
tmin = 679449601, tmax = 679708801
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='916241', job_status='RUN', time_executed='2022-07-17 00:05:19.384412', time_epoch_executed='1658041519.38' WHERE source_name='4FGL J0014.9+3212' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916241

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916241/ft1_4FGL_J0014.9+3212_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916241/ft1_4FGL_J0014.9+3212_daily_bin1698.fits outfile=/scratch/kocevski/916241/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1698.fits ra=3.7268 dec=32.2162 rad=12.0 tmin=679449601.0 tmax=679708801.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.54
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.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/916241/ft1_filteredMKT_4FGL_J0014.9+3212_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/916241/ft1_filtered_4FGL_J0014.9+3212_daily_bin1698.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.32
sys 0.17

Number of photons that the gtmktime cut: 824

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916241/ft1_filtered_4FGL_J0014.9+3212_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/916241/ltcube_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.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/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.fits
.....................!
real 12.52
user 12.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916241/ft1_filtered_4FGL_J0014.9+3212_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/916241/ltcube_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.fits outfile=/scratch/kocevski/916241/expmap_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.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/916241/ltcube_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.fits
.....................!
real 190.58
user 185.10
sys 4.89

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/916241/ft1_filtered_4FGL_J0014.9+3212_daily_bin1698.fits scfile=/scratch/kocevski/916241/ft2_4FGL_J0014.9+3212_daily_bin1698.fits outfile=/scratch/kocevski/916241/cmap_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.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 1.30
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7501       1.0000         .10000E-03   10000.    
     2 'norm      '    15.080       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2350       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8504       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0224       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3578       1.0000         .10000E-03   10000.    
    11 'norm      '    .10449E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11384E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.313       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .56755E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .81462       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1402       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=   9008.660     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1561 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7502        3.3335       -.40419E-06   -.67322E-04
   2  norm          15.082        16.404        .54540E-06   -.25872E-03
   3  Prefactor     1.2310        1.4166        .57417E-06   -.33465E-02
   4  Prefactor     .10000E-03    5.9840        .29315E-06** at limit **
   5  Prefactor     3.8479        6.5797       -.45695E-05   -.12957E-04
   6  Prefactor     .10000E-03    28.248       -.65775E-05** at limit **
   7  Prefactor     .10000E-03    5.5538       -.21523E-06** at limit **
   8  norm          2.0225        1.6763       -.77828E-07   -.27375E-04
   9  Prefactor     .10000E-03    4.1046       -.25074E-06** at limit **
  10  Prefactor     6.3570        9.2355       -.24443E-06   -.18546E-05
  11  norm          .10007E-03    4.1059        .38505E-06** at limit **
  12  Prefactor     8.9174        17.470        .24895E-06   -.19566E-03
  13  Prefactor     .10000E-03    53.295        .50130E-05** at limit **
  14  Prefactor     38.272        31.388       -.26584E-04   -.56192E-04
  15  Prefactor     .10000E-03    15.503       -.51084E-06** at limit **
  16  Prefactor     .10027E-03    4.8974        .13146E-05** at limit **
  17  Normalizat    .81472        .18001        .53864E-05   -.23726E-03
  18  Prefactor     1.1402        .10391       -.24400E-06   -.17169E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.75017
  norm       = 15.0819
  Prefactor  = 1.23097
  Prefactor  = 0.0001
  Prefactor  = 3.84785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.02252
  Prefactor  = 0.0001
  Prefactor  = 6.357
  norm       = 0.000100074
  Prefactor  = 8.91737
  Prefactor  = 0.0001
  Prefactor  = 38.2718
  Prefactor  = 0.0001
  Prefactor  = 0.000100272
  Normalizat = 0.814715
  Prefactor  = 1.1402
 **********
 **   18 **HESSE 
 **********

 FCN=   9008.660     FROM HESSE     STATUS=OK           254 CALLS     1815 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7502        3.3233        .18221E-03   -1.5376    
   2  norm          15.082        16.782        .10314E-03   -1.4931    
   3  Prefactor     1.2310        7.2167        .20207E-02   -1.5486    
   4  Prefactor     .10000E-03    6.0174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8479        6.5765        .20566E-03   -1.5316    
   6  Prefactor     .10000E-03    28.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0225        1.6737        .10842E-03   -1.5424    
   9  Prefactor     .10000E-03    4.1583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3570        9.2294        .15919E-03   -1.5204    
  11  norm          .10007E-03    4.6465        .52832E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9174        17.505        .67170E-03   -1.5111    
  13  Prefactor     .10000E-03    54.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.272        31.415        .64753E-04   -1.4470    
  15  Prefactor     .10000E-03    15.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10027E-03    24.767        .38408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .81472        .20294        .34071E-03   -.99525    
  18  Prefactor     1.1402        .11827        .17564E-03   -.88192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99923e-08
Minuit parameter uncertainties:
  1  3.32352
  2  16.7875
  3  5.96188
  4  8.87622e-06
  5  6.57774
  6  7.0833e-05
  7  1.02217e-05
  8  1.67372
  9  2.48885e-05
  10  9.23144
  11  0.00117181
  12  17.5147
  13  0.000307577
  14  31.4284
  15  2.84476e-05
  16  0.00519278
  17  0.203134
  18  0.118293
Done.

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

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  3.848e+00  6.578e+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.140e+00  1.183e-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.147e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/916241/likelihoodResults_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.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) = 9007.15730451
delta logL = 1.50315574588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9007.08150771
delta logL = 1.57895254378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14065E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    8.7018       1.0000          .0000       10.000    
     3 'Normalizat'    .73679       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1755       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=   9007.082     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      324 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13974E-02    .14554E-01    .60889E-03** at limit **
   2  Index         8.7059        7.3389        .24225       -.58681E-04
   3  Normalizat    .73680        .44962E-01    .80538E-01   -.59612E-04
   4  Prefactor     1.1755        .27101E-01    .35238E-01   -.10409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00139741
  Index      = 8.70593
  Normalizat = 0.736796
  Prefactor  = 1.17548
 **********
 **   18 **HESSE 
 **********

 FCN=   9007.082     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      357 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13974E-02    .34203E-01    .24679E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.7059        8.7737        .10541E-02    .83484    
   3  Normalizat    .73680        .17251        .35660E-03   -1.0246    
   4  Prefactor     1.1755        .10221        .17329E-03   -.87089    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.22994e-10
Minuit parameter uncertainties:
  1  0.013323
  2  5.74301
  3  0.17264
  4  0.102226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916241': 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) = 9007.0815071
delta logL = 1.57895315462

Extracting fit parameters...

4FGL J0014.9+3212
   Spectrum: PowerLaw
59     Prefactor:  1.397e-03  1.332e-02  1.000e-04  1.000e+04 ( 1.000e-12)
60         Index:  8.706e+00  5.743e+00  0.000e+00  1.000e+01 (-1.000e+00)
61         Scale:  5.697e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.175e+00  1.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  7.368e-01  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.79
Ra Dec: 3.727 32.216
Photon Index (Free Index): 8.71 +/- 5.74
Photon Flux (Free Index): 7.04e-08 +/- 4.78e-08
Energy Flux (Free Index): 8.04e-06 +/- 5.88e-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/916241/cmap_HighResolution_679449601_679708801_4FGL_J0014.9+3212_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.17e-03', comment='SUCCESS', energy_flux2='8.04e-06', dlogl='1.58e+00', photon_flux2='7.04e-08', job_status='DONE', time_completed='2022-07-17 00:16:28.098840', photon_index_error2='5.74', photon_index2='8.71', ts='0.40', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='5.88e-06', EG='0.81', time_epoch_completed='1658042188.1', return_code='0', job_id='916241', GAL2='1.18', EG2='0.74', return_code2='102', photon_flux_error2='4.78e-08', ts2='3.79', photon_index='2.61' WHERE bin_id='1698' AND source_name='4FGL J0014.9+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:16:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 916241: <4FGL_J0014.9+3212_daily_bin1698> in cluster <slac> Done

Job <4FGL_J0014.9+3212_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:04:31 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:04:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:04:31 2022
Terminated at Sun Jul 17 00:16:28 2022
Results reported at Sun Jul 17 00:16:28 2022

Your job looked like:

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

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

