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 150 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1753
RA = 214.029, Dec = 13.347
tmin = 693705601, tmax = 693964801
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='456416', job_status='RUN', time_executed='2022-12-29 01:06:16.375292', time_epoch_executed='1672304776.38' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456416

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456416/ft1_4FGL_J1416.1+1320_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456416/ft1_4FGL_J1416.1+1320_daily_bin1753.fits outfile=/scratch/kocevski/456416/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1753.fits ra=214.029 dec=13.347 rad=12.0 tmin=693705601.0 tmax=693964801.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.64
user 4.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.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/456416/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/456416/ltcube_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.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/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits
.....................!
real 15.22
user 14.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/456416/ltcube_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits outfile=/scratch/kocevski/456416/expmap_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.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/456416/ltcube_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits
.....................!
real 192.61
user 186.14
sys 5.65

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

Setting source of interest to:
4FGL J1416.1+1320 @ 214.029 13.347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits outfile=/scratch/kocevski/456416/cmap_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.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=214.029 yref=13.347 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits outfile=/scratch/kocevski/456416/cmap_HighResolution_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.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=214.029 yref=13.347 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456416/Model_4FGL_J1416.1+1320_daily_bin1753.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/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits.....................!
real 49.95
user 48.24
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits', '/scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits', expMap='/scratch/kocevski/456416/expmap_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits', expCube='/scratch/kocevski/456416/ltcube_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/456416/Model_4FGL_J1416.1+1320_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1416.1+1320'

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.909e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/456416/ft1_filtered_4FGL_J1416.1+1320_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/456416/ft2_4FGL_J1416.1+1320_daily_bin1753.fits
Exposure map: /scratch/kocevski/456416/expmap_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits
Exposure cube: /scratch/kocevski/456416/ltcube_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/456416/Model_4FGL_J1416.1+1320_daily_bin1753.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) = 6329.24783762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55311E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11169E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13004E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .67471E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12270E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5850       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.306       1.0000          .0000       .10000E+07
     8 'norm      '    12.671       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18480E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .60430       1.0000          .0000       .10000E+07
    11 'norm      '    .47117       1.0000          .0000       .10000E+07
    12 'Prefactor '    .72795E-01   1.0000          .0000       .10000E+07
    13 'norm      '    10.472       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.5329       1.0000          .0000       .10000E+07
    15 'Prefactor '    29.293       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26132E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4506       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67374       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6329.247     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1906 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.679        .23382E-05** at limit **
   2  Prefactor     .22204E-09    2.1599        .10720E-05** at limit **
   3  Prefactor     .22204E-09    4.0549       -.22998E-05** at limit **
   4  Prefactor     .11657E-08    6.4813       -.20936E-05** at limit **
   5  Prefactor      .0000        3.5613       -.93151E-06** at limit **
   6  Prefactor     1.5632        1.1662        .16062E-06   -.23454E-02
   7  Prefactor     33.342        1.0311       -.30521E-07    .25333E-01
   8  norm          12.670        1.1918        .13010E-06   -.34582E-01
   9  Prefactor     .38858E-09    21.412       -.64713E-05** at limit **
  10  norm          .60387        2.4660        .12618E-05    .49455E-02
  11  norm          .47023        2.0101       -.16422E-05    .26396E-02
  12  Prefactor     .11158E-07    1.6026        .21709E-06** at limit **
  13  norm          10.432        1.0193        .21244E-07    .14424E-02
  14  Prefactor     7.5447        1.2268        .16099E-06   -.13759E-01
  15  Prefactor     29.292        1.1796        .83595E-07   -.50188E-01
  16  Prefactor     .38858E-09    6.8618        .22644E-05** at limit **
  17  Normalizat    1.4506        .22958        .42622E-05    .27402E-03
  18  Prefactor     .67380        .16927        .92940E-05    .24361E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 1.56318
  Prefactor  = 33.342
  norm       = 12.6698
  Prefactor  = 3.88578e-10
  norm       = 0.603866
  norm       = 0.470234
  Prefactor  = 1.11577e-08
  norm       = 10.4325
  Prefactor  = 7.54468
  Prefactor  = 29.2915
  Prefactor  = 3.88578e-10
  Normalizat = 1.45062
  Prefactor  = 0.673798
 **********
 **   18 **HESSE 
 **********

 FCN=   6329.247     FROM HESSE     STATUS=OK           292 CALLS     2198 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    4.0313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11657E-08    6.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5632        95.862        .84295E-03   -1.5683    
   7  Prefactor     33.342        24.189        .17330E-03   -1.5592    
   8  norm          12.670        18.950        .28115E-03   -1.5637    
   9  Prefactor     .38858E-09    2.9869        .77736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .60387        2.4811        .68844E-03   -1.5692    
  11  norm          .47023        2.0270        .81664E-03   -1.5694    
  12  Prefactor     .11158E-07    15.272        .14727E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.432        13.796        .30937E-03   -1.5643    
  14  Prefactor     7.5447        14.257        .36516E-03   -1.5653    
  15  Prefactor     29.292        20.188        .18479E-03   -1.5600    
  16  Prefactor     .38858E-09    6.9004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4506        .19275        .52375E-01   -.79176    
  18  Prefactor     .67380        .14164        .42051E-01   -1.0456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32944e-08
Minuit parameter uncertainties:
  1  5.07665e-06
  2  4.59516e-05
  3  5.92041e-05
  4  0.00017351
  5  1.29976e-05
  6  24.4831
  7  24.1894
  8  18.9504
  9  6.82689e-05
  10  2.44807
  11  1.95258
  12  0.000825281
  13  13.7961
  14  14.2575
  15  20.1883
  16  0.000105718
  17  0.192842
  18  0.141718
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.334e+01  2.419e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  6.738e-01  1.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.451e+00  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.72
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.36e-08 +/- 3.16e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.07e-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) = 6328.44843412
delta logL = 0.798929287198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6328.44149502
delta logL = 0.805868378598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.168       1.0000          .0000       .10000E+07
     2 'Index     '    1.6522       1.0000          .0000       10.000    
     3 'Normalizat'    1.4758       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6328.441     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 17.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.151        34.893       -.14754E-05   -.10734E-02
   2  Index         1.6518        .61004       -.54388E-04    .76612E-04
   3  Normalizat    1.4756        .19025        .21222E-05    .10422E-02
   4  Prefactor     .66657        .13955        .40130E-06    .88465E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.1511
  Index      = 1.65184
  Normalizat = 1.47557
  Prefactor  = 0.666573
 **********
 **   18 **HESSE 
 **********

 FCN=   6328.441     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.151        33.980        .35268E-04   -1.5595    
   2  Index         1.6518        .59396        .85217E-02   -.73371    
   3  Normalizat    1.4756        .22950        .22998E-03   -.78467    
   4  Prefactor     .66657        .16829        .23927E-03   -1.0485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02243e-09
Minuit parameter uncertainties:
  1  33.9799
  2  0.596521
  3  0.229661
  4  0.168421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456416': 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) = 6328.44149231
delta logL = 0.80587109591

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.215e+01  3.398e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  1.652e+00  5.965e-01  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  6.666e-01  1.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.476e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.32
Ra Dec: 214.029 13.347
Photon Index (Free Index): 1.65 +/- 0.60
Photon Flux (Free Index): 1.81e-08 +/- 2.46e-08
Energy Flux (Free Index): 3.45e-05 +/- 4.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/456416/cmap_HighResolution_693705601_693964801_4FGL_J1416.1+1320_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.36e-08', energy_flux2='3.45e-05', photon_flux_error='3.16e-08', dlogl='8.06e-01', energy_flux='1.48e-05', photon_flux2='1.81e-08', job_status='DONE', time_completed='2022-12-29 01:14:37.254937', photon_index_error2='0.60', photon_index2='1.65', ts='5.72', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='4.24e-05', EG='1.45', time_epoch_completed='1672305277.26', return_code='0', job_id='456416', GAL2='0.67', EG2='1.48', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='2.46e-08', ts2='7.32', photon_index='2.37' WHERE bin_id='1753' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:14:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 456416: <4FGL_J1416.1+1320_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 01:00:23 2022
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:03:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:03:37 2022
Terminated at Thu Dec 29 01:14:38 2022
Results reported at Thu Dec 29 01:14:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1753 214.029 13.347 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1416.1+1320 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   502.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            855 sec.

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

