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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1768
RA = 221.688, Dec = 17.3237
tmin = 697593601, tmax = 697852801
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='274188', job_status='RUN', time_executed='2023-02-12 01:08:54.973353', time_epoch_executed='1676192934.97' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/274188

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/274188/ft1_4FGL_J1446.7+1719_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/274188/ft1_4FGL_J1446.7+1719_daily_bin1768.fits outfile=/scratch/kocevski/274188/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1768.fits ra=221.688 dec=17.3237 rad=12.0 tmin=697593601.0 tmax=697852801.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.66
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.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/274188/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.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.51
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 657

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/274188/ltcube_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.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/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits
.....................!
real 16.83
user 15.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/274188/ltcube_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits outfile=/scratch/kocevski/274188/expmap_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.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/274188/ltcube_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits
.....................!
real 193.59
user 187.96
sys 4.76

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/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits outfile=/scratch/kocevski/274188/cmap_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits outfile=/scratch/kocevski/274188/cmap_HighResolution_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/274188/Model_4FGL_J1446.7+1719_daily_bin1768.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/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits.....................!
real 52.43
user 51.11
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits', '/scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits', expMap='/scratch/kocevski/274188/expmap_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits', expCube='/scratch/kocevski/274188/ltcube_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/274188/Model_4FGL_J1446.7+1719_daily_bin1768.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/274188/ft1_filtered_4FGL_J1446.7+1719_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/274188/ft2_4FGL_J1446.7+1719_daily_bin1768.fits
Exposure map: /scratch/kocevski/274188/expmap_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits
Exposure cube: /scratch/kocevski/274188/ltcube_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/274188/Model_4FGL_J1446.7+1719_daily_bin1768.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) = 7048.86230661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4413       1.0000          .0000       .10000E+07
     2 'Prefactor '    35.841       1.0000          .0000       .10000E+07
     3 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     4 'norm      '    1.5433       1.0000          .0000       .10000E+07
     5 'norm      '    1.0097       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25441E-05   1.0000          .0000       .10000E+07
     7 'norm      '    18.396       1.0000          .0000       .10000E+07
     8 'norm      '    .18846E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50121E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    17.979       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14959E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5558       1.0000          .0000       .10000E+07
    13 'norm      '    .24834       1.0000          .0000       .10000E+07
    14 'norm      '    .86098E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .22018E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    77.211       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2021       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94453       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=   7048.857     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1276 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4454        10.891        .32656E-05    .22170E-03
   2  Prefactor     35.702        8.7816       -.98480E-06    .80776E-01
   3  Prefactor     .11657E-08    1.6881        .31836E-06** at limit **
   4  norm          1.5442        1.3450        .94260E-07   -.44400E-02
   5  norm          1.0103        2.2474        .95131E-07    .26349E-02
   6  Prefactor     .37281E-06    14.903       -.11964E-05** at limit **
   7  norm          18.420        14.574       -.20183E-05   -.53367E-01
   8  norm          .94369E-09    1.7486        .15081E-06** at limit **
   9  Prefactor     .55511E-10    4.7627        .31192E-06** at limit **
  10  Prefactor     17.992        2.1745       -.32538E-06   -.60867E-02
  11  Prefactor     .37748E-08    5.7547        .11507E-05** at limit **
  12  Prefactor     4.5567        2.1811        .69388E-06    .83402E-01
  13  norm          .24825        .17128        .14302E-06** at limit **
  14  norm          .55511E-10    1.8695        .38346E-06** at limit **
  15  norm          .30337E-06    11.237        .12629E-05** at limit **
  16  Prefactor     77.279        7.8210        .65062E-06   -.20266    
  17  Normalizat    1.2021        .22913        .10210E-05   -.20649E-04
  18  Prefactor     .94447        .15895       -.65275E-05    .23041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44541
  Prefactor  = 35.7022
  Prefactor  = 1.16573e-09
  norm       = 1.54418
  norm       = 1.01025
  Prefactor  = 3.72813e-07
  norm       = 18.4196
  norm       = 9.4369e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 17.9925
  Prefactor  = 3.77476e-09
  Prefactor  = 4.55668
  norm       = 0.248254
  norm       = 5.55112e-11
  norm       = 3.03368e-07
  Prefactor  = 77.2792
  Normalizat = 1.20209
  Prefactor  = 0.944466
 **********
 **   18 **HESSE 
 **********

 FCN=   7048.857     FROM HESSE     STATUS=OK           280 CALLS     1556 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4454        11.312        .65453E-03   -1.5677    
   2  Prefactor     35.702        25.924        .16705E-03   -1.5588    
   3  Prefactor     .11657E-08    1.7043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5442        1.3368        .85767E-03   -1.5683    
   5  norm          1.0103        2.2596        .44109E-03   -1.5688    
   6  Prefactor     .37281E-06    17.366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.420        15.626        .23324E-03   -1.5622    
   8  norm          .94369E-09    1.7579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.992        20.251        .23593E-03   -1.5623    
  11  Prefactor     .37748E-08    16.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5567        6.4277        .47139E-03   -1.5665    
  13  norm          .24825        .17768        .62261E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    1.8698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30337E-06    15.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     77.279        47.032        .11381E-03   -1.5532    
  17  Normalizat    1.2021        .19252        .61056E-01   -.86538    
  18  Prefactor     .94447        .13234        .45570E-01   -.94604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43062e-06
Minuit parameter uncertainties:
  1  10.5193
  2  25.9237
  3  8.90759e-05
  4  1.33681
  5  2.25963
  6  0.00508902
  7  15.6259
  8  8.16671e-05
  9  3.65247e-05
  10  20.2508
  11  0.000498773
  12  6.42774
  13  0.177675
  14  2.01444e-05
  15  0.00434136
  16  47.0326
  17  0.192635
  18  0.132387
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  5.551e-11  3.652e-05  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:  9.445e-01  1.324e-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.202e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/274188/likelihoodResults_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.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) = 7048.85743759
delta logL = -0.000290712952847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7048.85714696
delta logL = -8.90904630069e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44337E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1795       1.0000          .0000       10.000    
     3 'Normalizat'    1.2021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94442       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7048.857     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      245 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3193        .42118E-03** at limit **
   2  Index         2.8480        1.5533        .10168E-04     .0000    
   3  Normalizat    1.2021        1.1056        .14695E-06    .38425E-04
   4  Prefactor     .94447        1.2870       -.13469E-05    .57389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.848
  Normalizat = 1.20209
  Prefactor  = 0.944466
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7048.857     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .91861        2.0609        .10168E-04   -.44494    
   3  Normalizat    1.2021        1.1056        .14695E-06   -.86538    
   4  Prefactor     .94447        1.2870       -.13469E-05   -.94604    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.9922e-12
Minuit parameter uncertainties:
  1  1.19664e-05
  2  1.58573
  3  1.12826
  4  1.33265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/274188': 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): 101
logL (Free Index) = 7048.85714687
delta logL = 9.09494701773e-12

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  0.000e+00  1.197e-05  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.848e+00  1.586e+00  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:  9.445e-01  1.333e+00  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.202e+00  1.128e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.688 17.324

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/274188/cmap_HighResolution_697593601_697852801_4FGL_J1446.7+1719_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.49e-08', time_completed='2023-02-12 01:17:33.837116', job_id='274188', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1676193453.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1768' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:17:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 274188: <4FGL_J1446.7+1719_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 01:05:18 2023
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:06:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:06:04 2023
Terminated at Sun Feb 12 01:17:34 2023
Results reported at Sun Feb 12 01:17:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1768 221.688 17.3237 697593601 697852801 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 :                                   519.25 sec.
    Max Memory :                                 801 MB
    Average Memory :                             298.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            736 sec.

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

