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 9 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_J1446.7+1719_daily_bin1753
RA = 221.688, Dec = 17.3237
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='457585', job_status='RUN', time_executed='2022-12-29 01:06:42.603532', time_epoch_executed='1672304802.6' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457585

Creating custom pfile directory:
/scratch/kocevski/457585/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/457585/ft1_4FGL_J1446.7+1719_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/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457585/ft1_4FGL_J1446.7+1719_daily_bin1753.fits outfile=/scratch/kocevski/457585/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1753.fits ra=221.688 dec=17.3237 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.60
user 4.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_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/457585/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 621

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/457585/ltcube_693705601_693964801_4FGL_J1446.7+1719_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/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits
.....................!
real 14.34
user 13.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/457585/ltcube_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits outfile=/scratch/kocevski/457585/expmap_693705601_693964801_4FGL_J1446.7+1719_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/457585/ltcube_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits
.....................!
real 193.41
user 186.77
sys 6.19

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

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits outfile=/scratch/kocevski/457585/cmap_693705601_693964801_4FGL_J1446.7+1719_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=221.688 yref=17.3237 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.60
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits outfile=/scratch/kocevski/457585/cmap_HighResolution_693705601_693964801_4FGL_J1446.7+1719_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=221.688 yref=17.3237 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/457585/Model_4FGL_J1446.7+1719_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/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits.....................!
real 52.04
user 50.71
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits', '/scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits', expMap='/scratch/kocevski/457585/expmap_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits', expCube='/scratch/kocevski/457585/ltcube_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457585/Model_4FGL_J1446.7+1719_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/457585/ft1_filtered_4FGL_J1446.7+1719_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/457585/ft2_4FGL_J1446.7+1719_daily_bin1753.fits
Exposure map: /scratch/kocevski/457585/expmap_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits
Exposure cube: /scratch/kocevski/457585/ltcube_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457585/Model_4FGL_J1446.7+1719_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) = 6689.48376105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30681E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    35.090       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59490E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .53191       1.0000          .0000       .10000E+07
     5 'norm      '    .65585       1.0000          .0000       .10000E+07
     6 'Prefactor '    .99565E-04   1.0000          .0000       .10000E+07
     7 'norm      '    13.070       1.0000          .0000       .10000E+07
     8 'norm      '    3.5260       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.3109       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.640       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15484E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45647E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .67647       1.0000          .0000       .10000E+07
    14 'norm      '    1.7163       1.0000          .0000       .10000E+07
    15 'norm      '    .25727E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35423E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2882       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .76214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6689.480     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1968 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    6.2042       -.84705E-06** at limit **
   2  Prefactor     35.198        1.7731       -.11029E-06    .34074E-01
   3  Prefactor     .55511E-10    42.921       -.35101E-06** at limit **
   4  norm          .54467        2.7051       -.23226E-06    .57300E-03
   5  norm          .65531        2.0230       -.73210E-06    .17351E-03
   6  Prefactor     .16098E-08    69.507        .62943E-05** at limit **
   7  norm          13.054        13.574        .91910E-06    .34403E-02
   8  norm          3.4929        3.8085       -.86814E-06    .44332E-03
   9  Prefactor     9.3173        2.6437       -.27560E-06    .10020E-01
  10  Prefactor     35.792        1.9764        .15157E-06   -.20638E-01
  11  Prefactor      .0000        7.8866       -.16880E-05** at limit **
  12  Prefactor     .55511E-10    7.0016        .12129E-05** at limit **
  13  norm          .67625        .20488        .16614E-07    .28006E-02
  14  norm          1.7362        4.8074        .10794E-05    .74705E-03
  15  norm          .30531E-08    24.084       -.68049E-07** at limit **
  16  Prefactor     .72164E-09    18.392       -.32116E-05** at limit **
  17  Normalizat    1.2883        .22544       -.77354E-05   -.66557E-04
  18  Prefactor     .76209        .15537        .11410E-04   -.29704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 35.1982
  Prefactor  = 5.55112e-11
  norm       = 0.544667
  norm       = 0.655313
  Prefactor  = 1.60982e-09
  norm       = 13.0545
  norm       = 3.49288
  Prefactor  = 9.31732
  Prefactor  = 35.7917
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0.676248
  norm       = 1.73621
  norm       = 3.05311e-09
  Prefactor  = 7.21645e-10
  Normalizat = 1.28825
  Prefactor  = 0.762095
 **********
 **   18 **HESSE 
 **********

 FCN=   6689.480     FROM HESSE     STATUS=OK           290 CALLS     2258 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    6.2251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     35.198        24.936        .16883E-03   -1.5589    
   3  Prefactor     .55511E-10    2.9023        .85256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .54467        2.6808        .75562E-03   -1.5693    
   5  norm          .65531        2.0360        .64367E-03   -1.5692    
   6  Prefactor     .16098E-08    70.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.054        13.932        .27681E-03   -1.5636    
   8  norm          3.4929        3.8144        .53810E-03   -1.5671    
   9  Prefactor     9.3173        15.552        .32820E-03   -1.5647    
  10  Prefactor     35.792        22.211        .16752E-03   -1.5588    
  11  Prefactor      .0000        7.9359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    6.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .67625        .20698        .44173E-03   -1.5692    
  14  norm          1.7362        4.8436        .80178E-03   -1.5682    
  15  norm          .30531E-08    24.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .72164E-09    18.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2883        .18890        .56525E-01   -.83918    
  18  Prefactor     .76209        .12901        .43222E-01   -1.0114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66368e-08
Minuit parameter uncertainties:
  1  9.1859e-05
  2  24.9356
  3  1.9244e-05
  4  2.41674
  5  2.03601
  6  0.000672483
  7  13.9318
  8  3.81437
  9  15.5524
  10  22.2112
  11  6.65102e-06
  12  4.77812e-05
  13  0.206981
  14  4.84358
  15  0.000544532
  16  0.000228958
  17  0.189
  18  0.129064
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  9.317e+00  1.555e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  7.621e-01  1.291e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.288e+00  1.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 8.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/457585/likelihoodResults_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.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) = 6689.46115446
delta logL = 0.0191155408738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6689.45300179
delta logL = 0.0272682134791

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6689.453     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      234 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.780        21.051        .11667E-04   -.72750E-02
   2  Index         2.2517        1.0120        .13019E-01   -.26026E-03
   3  Normalizat    1.2916        .22438        .24967E-03    .40290E-03
   4  Prefactor     .76028        .15424        .21652E-03    .54906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7798
  Index      = 2.25168
  Normalizat = 1.29163
  Prefactor  = 0.760279
 **********
 **   18 **HESSE 
 **********

 FCN=   6689.453     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.780        20.444        .23333E-05   -1.5639    
   2  Index         2.2517        .98369        .52074E-03   -.58196    
   3  Normalizat    1.2916        .22453        .49934E-04   -.83817    
   4  Prefactor     .76028        .15435        .43305E-04   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34169e-09
Minuit parameter uncertainties:
  1  20.4446
  2  0.993017
  3  0.2247
  4  0.154437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457585': 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) = 6689.45300154
delta logL = 0.0272684675265

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.178e+01  2.044e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.252e+00  9.930e-01  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  7.603e-01  1.544e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.292e+00  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
Ra Dec: 221.688 17.324

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/457585/cmap_HighResolution_693705601_693964801_4FGL_J1446.7+1719_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2022-12-29 01:16:14.949703', job_id='457585', GAL2='0.76', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1672305374.95', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.73e-02', ts2='0.58', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1753' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:16:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 457585: <4FGL_J1446.7+1719_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:05:16 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:06:25 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:06:25 2022
Terminated at Thu Dec 29 01:16:15 2022
Results reported at Thu Dec 29 01:16:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1753 221.688 17.3237 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.7+1719 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             372.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            659 sec.

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

