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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1779
RA = 214.029, Dec = 13.347
tmin = 700444801, tmax = 700704001
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='29154', job_status='RUN', time_executed='2023-03-17 01:53:27.034753', time_epoch_executed='1679043207.03' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29154

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29154/ft1_4FGL_J1416.1+1320_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29154/ft1_4FGL_J1416.1+1320_daily_bin1779.fits outfile=/scratch/kocevski/29154/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1779.fits ra=214.029 dec=13.347 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.30
user 5.03
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.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/29154/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.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.34
sys 0.14

Number of photons that the gtmktime cut: 577

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/29154/ltcube_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits outfile=/scratch/kocevski/29154/expmap_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.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/29154/ltcube_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits
.....................!
real 190.19
user 185.19
sys 4.67

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/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.fits scfile=/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits outfile=/scratch/kocevski/29154/cmap_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.fits scfile=/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits outfile=/scratch/kocevski/29154/cmap_HighResolution_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.fits', '/scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits', expMap='/scratch/kocevski/29154/expmap_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits', expCube='/scratch/kocevski/29154/ltcube_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/29154/Model_4FGL_J1416.1+1320_daily_bin1779.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/29154/ft1_filtered_4FGL_J1416.1+1320_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/29154/ft2_4FGL_J1416.1+1320_daily_bin1779.fits
Exposure map: /scratch/kocevski/29154/expmap_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits
Exposure cube: /scratch/kocevski/29154/ltcube_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/29154/Model_4FGL_J1416.1+1320_daily_bin1779.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) = 6544.69243864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17953E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8625       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45346E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .77012E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.709       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9854       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.059       1.0000          .0000       .10000E+07
     8 'norm      '    .58127E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.554       1.0000          .0000       .10000E+07
    10 'norm      '    2.9905       1.0000          .0000       .10000E+07
    11 'norm      '    .20239E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    24.327       1.0000          .0000       .10000E+07
    13 'norm      '    .27439       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.4938       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.1404       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99365E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .70526       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1448       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=   6544.647     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     1285 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20913E-05    57.059       -.88952E-07** at limit **
   2  Prefactor     3.8851        4.1040        .19439E-06   -.47876E-03
   3  Prefactor     .16653E-09    5.7611       -.48159E-06** at limit **
   4  Prefactor     .61062E-09    8.2171       -.90718E-06** at limit **
   5  Prefactor     12.759        1.9851        .36845E-07    .13109E-01
   6  Prefactor     8.0009        1.3256        .37938E-07    .83715E-02
   7  Prefactor     37.115        7.9098       -.82320E-08    .12962    
   8  norm          .49960E-09    5.2506       -.64670E-07** at limit **
   9  Prefactor     26.512        1.7966       -.41379E-08   -.67237E-01
  10  norm          2.9936        2.3164       -.50523E-07    .15998E-02
  11  norm           .0000        1.6630       -.33040E-06** at limit **
  12  Prefactor     26.524        26.226       -.43322E-06   -.39197E-02
  13  norm          .14561E-06    59.120        .19974E-05** at limit **
  14  Prefactor     1.6505        2.6624       -.17194E-06    .85673E-02
  15  Prefactor     3.1355        2.8377        .88896E-07    .23022E-01
  16  Prefactor     .26090E-08    9.4535        .34714E-06** at limit **
  17  Normalizat    .70348        .23397       -.40241E-05    .41339E-04
  18  Prefactor     1.1444        .17381        .54786E-06    .59403E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09133e-06
  Prefactor  = 3.88509
  Prefactor  = 1.66533e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 12.7589
  Prefactor  = 8.00094
  Prefactor  = 37.1149
  norm       = 4.996e-10
  Prefactor  = 26.5119
  norm       = 2.99363
  norm       = 0
  Prefactor  = 26.5242
  norm       = 1.45606e-07
  Prefactor  = 1.65053
  Prefactor  = 3.13546
  Prefactor  = 2.60902e-09
  Normalizat = 0.703484
  Prefactor  = 1.14435
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.647     FROM HESSE     STATUS=OK           286 CALLS     1571 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20913E-05    60.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8851        4.1403        .51321E-03   -1.5669    
   3  Prefactor     .16653E-09    5.7263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    8.2596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.759        14.819        .28073E-03   -1.5637    
   6  Prefactor     8.0009        14.130        .35458E-03   -1.5651    
   7  Prefactor     37.115        34.439        .16655E-03   -1.5586    
   8  norm          .49960E-09    5.2624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.512        12.038        .19410E-03   -1.5605    
  10  norm          2.9936        2.3228        .58678E-03   -1.5673    
  11  norm           .0000        1.6595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.524        33.202        .20279E-03   -1.5605    
  13  norm          .14561E-06    17.342        .10578E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6505        86.393        .87645E-03   -1.5682    
  15  Prefactor     3.1355        22.489        .57179E-03   -1.5673    
  16  Prefactor     .26090E-08    9.5532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .70348        .20798        .73443E-01   -1.0376    
  18  Prefactor     1.1444        .14831        .36089E-01   -.88061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52687e-07
Minuit parameter uncertainties:
  1  0.0224247
  2  4.14026
  3  6.54114e-05
  4  0.000140366
  5  14.8194
  6  14.1298
  7  34.4389
  8  0.000105149
  9  12.0384
  10  2.32282
  11  1.05723e-05
  12  33.2019
  13  0.00317809
  14  23.8829
  15  16.7944
  16  0.000314623
  17  0.208217
  18  0.148368
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.711e+01  3.444e+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:  1.144e+00  1.484e-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:  7.035e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.80
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 4.50e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.53e-05

TS (Fixed Index): 1.80
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29154/likelihoodResults_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6544.24777185
delta logL = 0.39913250848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6544.22602944
delta logL = 0.420874919256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.855       1.0000          .0000       .10000E+07
     2 'Index     '    3.5327       1.0000          .0000       10.000    
     3 'Normalizat'    .62913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1846       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.

 FCN=   6544.226     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      265 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.763        157.58        .30384E-03    .14025E-02
   2  Index         3.5381        3.4015        .11262        .17057E-03
   3  Normalizat    .62878        .73005E-01    .77327E-01    .29893E-04
   4  Prefactor     1.1848        .49848E-01    .35005E-01   -.18582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7626
  Index      = 3.53808
  Normalizat = 0.628778
  Prefactor  = 1.18481
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.226     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.763        240.02        .12154E-04   -1.5642    
   2  Index         3.5381        6.7549        .55180E-02   -.29672    
   3  Normalizat    .62878        .24307        .34237E-03   -1.0678    
   4  Prefactor     1.1848        .17756        .19126E-03   -.86800    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05966e-09
Minuit parameter uncertainties:
  1  101.657
  2  5.58337
  3  0.243486
  4  0.177654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29154': 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) = 6544.22602532
delta logL = 0.420879041377

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.076e+01  1.017e+02  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  3.538e+00  5.583e+00  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:  1.185e+00  1.777e-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:  6.288e-01  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 214.029 13.347
Photon Index (Free Index): 3.54 +/- 5.58
Photon Flux (Free Index): 9.74e-08 +/- 8.90e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.75e-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/29154/cmap_HighResolution_700444801_700704001_4FGL_J1416.1+1320_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='1.60e-05', photon_flux_error='4.50e-08', dlogl='4.21e-01', energy_flux='1.65e-05', photon_flux2='9.74e-08', job_status='DONE', time_completed='2023-03-17 02:01:31.408384', photon_index_error2='5.58', photon_index2='3.54', ts='1.80', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.75e-05', EG='0.70', time_epoch_completed='1679043691.41', return_code='0', job_id='29154', GAL2='1.18', EG2='0.63', return_code2='102', energy_flux_error='1.53e-05', photon_flux_error2='8.90e-08', ts2='2.81', photon_index='2.37' WHERE bin_id='1779' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:01:31 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 29154: <4FGL_J1416.1+1320_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 01:50:14 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:50:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:50:15 2023
Terminated at Fri Mar 17 02:01:32 2023
Results reported at Fri Mar 17 02:01:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1779 214.029 13.347 700444801 700704001 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 :                                   485.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             222.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            678 sec.

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

