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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1708
RA = 221.688, Dec = 17.3237
tmin = 682041601, tmax = 682300801
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='152316', job_status='RUN', time_executed='2022-09-16 18:43:01.320318', time_epoch_executed='1663378981.32' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152316/ft1_4FGL_J1446.7+1719_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152316/ft1_4FGL_J1446.7+1719_daily_bin1708.fits outfile=/scratch/kocevski/152316/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1708.fits ra=221.688 dec=17.3237 rad=12.0 tmin=682041601.0 tmax=682300801.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.98
user 3.76
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.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/152316/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.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.35
sys 0.16

Number of photons that the gtmktime cut: 608

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/152316/ltcube_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.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/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits
.....................!
real 14.63
user 14.22
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/152316/ltcube_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.fits outfile=/scratch/kocevski/152316/expmap_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.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/152316/ltcube_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.fits
.....................!
real 191.34
user 186.16
sys 4.82

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/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits outfile=/scratch/kocevski/152316/cmap_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits outfile=/scratch/kocevski/152316/cmap_HighResolution_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/152316/ft2_4FGL_J1446.7+1719_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/152316/Model_4FGL_J1446.7+1719_daily_bin1708.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/152316/ft1_filtered_4FGL_J1446.7+1719_daily_bin1708.fits.....................!
real 52.46
user 51.13
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56360E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    102.78       1.0000          .0000       .10000E+07
     3 'Prefactor '    .47795E-06   1.0000          .0000       .10000E+07
     4 'norm      '    5.0330       1.0000          .0000       .10000E+07
     5 'norm      '    .13347E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    39.044       1.0000          .0000       .10000E+07
     7 'norm      '    .15565E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .12895E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.172       1.0000          .0000       .10000E+07
    10 'Prefactor '    101.09       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21044E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11089E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .62300       1.0000          .0000       .10000E+07
    14 'norm      '    4.6307       1.0000          .0000       .10000E+07
    15 'norm      '    .57843E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    61.269       1.0000          .0000       .10000E+07
    17 'Normalizat'    .88425       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94200       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=   6872.488     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      818 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11213E-07    23.442        .29829E-05** at limit **
   2  Prefactor     102.33        22.227        .78679E-07   -.14502    
   3  Prefactor     .11102E-09    1.8840        .46143E-06** at limit **
   4  norm          5.0319        2.6870       -.29462E-07   -.39142E-03
   5  norm          .55511E-10    3.1926       -.32337E-06** at limit **
   6  Prefactor     38.916        8.5822        .16337E-06    .45479E-01
   7  norm          .22204E-09    16.891        .64446E-06** at limit **
   8  norm          .55511E-10    1.7742       -.26791E-06** at limit **
   9  Prefactor     22.938        8.9787        .22978E-06    .90638E-01
  10  Prefactor     101.70        25.808       -.30399E-06   -.63585E-02
  11  Prefactor     .27756E-09    8.8845        .69891E-06** at limit **
  12  Prefactor     .11102E-09    8.9977        .19036E-06** at limit **
  13  norm          .62232        .20296       -.14309E-07    .35582E-02
  14  norm          4.6296        4.5876       -.62661E-07    .67911E-03
  15  norm           .0000        13.981        .98104E-07** at limit **
  16  Prefactor     60.916        40.892       -.25518E-06    .69371E-01
  17  Normalizat    .88452        .24464        .18880E-04   -.34413E-03
  18  Prefactor     .94201        .16533       -.49816E-05   -.39288E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12133e-08
  Prefactor  = 102.334
  Prefactor  = 1.11022e-10
  norm       = 5.03191
  norm       = 5.55112e-11
  Prefactor  = 38.9156
  norm       = 2.22045e-10
  norm       = 5.55112e-11
  Prefactor  = 22.9379
  Prefactor  = 101.696
  Prefactor  = 2.77556e-10
  Prefactor  = 1.11022e-10
  norm       = 0.622321
  norm       = 4.62955
  norm       = 0
  Prefactor  = 60.9155
  Normalizat = 0.884522
  Prefactor  = 0.942008
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.488     FROM HESSE     STATUS=OK           280 CALLS     1098 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11213E-07    23.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     102.33        35.038        .98646E-04   -1.5506    
   3  Prefactor     .11102E-09    1.8882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.0319        2.6919        .44799E-03   -1.5663    
   5  norm          .55511E-10    3.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.916        26.452        .16005E-03   -1.5583    
   7  norm          .22204E-09    16.775        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    1.7695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.938        25.961        .20779E-03   -1.5612    
  10  Prefactor     101.70        31.201        .99464E-04   -1.5506    
  11  Prefactor     .27756E-09    8.9030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    8.9780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62232        .20439        .45762E-03   -1.5692    
  14  norm          4.6296        4.5828        .46747E-03   -1.5665    
  15  norm           .0000        13.996        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     60.916        48.136        .12776E-03   -1.5552    
  17  Normalizat    .88452        .20345        .70503E-01   -.97006    
  18  Prefactor     .94201        .13543        .45538E-01   -.94688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14111e-07
Minuit parameter uncertainties:
  1  0.0010236
  2  35.0376
  3  3.04363e-05
  4  2.6919
  5  2.40932e-05
  6  26.4524
  7  0.000121982
  8  1.53276e-05
  9  25.9615
  10  31.201
  11  0.000101903
  12  6.37669e-05
  13  0.204389
  14  4.58281
  15  1.42003e-05
  16  48.1367
  17  0.203624
  18  0.135474
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  2.294e+01  2.596e+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:  9.420e-01  1.355e-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:  8.845e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 221.688 17.324
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.92e-08 +/- 4.43e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.29e-05

TS (Fixed Index): 1.07
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152316/likelihoodResults_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.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) = 6872.21690496
delta logL = 0.271516912924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6872.16134342
delta logL = 0.327078455354

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.910       1.0000          .0000       .10000E+07
     2 'Index     '    1.8573       1.0000          .0000       10.000    
     3 'Normalizat'    .91108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92813       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=   6872.161     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      286 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.928        34.749        .68699E-05   -.32435E-03
   2  Index         1.8575        .67902        .96559E-02   -.10210E-03
   3  Normalizat    .91069        .24433        .30781E-03    .28920E-04
   4  Prefactor     .92820        .16508        .20518E-03   -.65548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.9277
  Index      = 1.85754
  Normalizat = 0.910686
  Prefactor  = 0.928197
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.161     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.928        34.994        .27480E-06   -1.5591    
   2  Index         1.8575        .68397        .19312E-02   -.67961    
   3  Normalizat    .91069        .24458        .12312E-04   -.96086    
   4  Prefactor     .92820        .16526        .82073E-05   -.95163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96026e-11
Minuit parameter uncertainties:
  1  34.9942
  2  0.687544
  3  0.244882
  4  0.165345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152316': 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) = 6872.16133946
delta logL = 0.327082414995

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.393e+01  3.499e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  1.858e+00  6.875e-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:  9.282e-01  1.653e-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:  9.107e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 221.688 17.324
Photon Index (Free Index): 1.86 +/- 0.69
Photon Flux (Free Index): 2.44e-08 +/- 3.40e-08
Energy Flux (Free Index): 2.46e-05 +/- 3.49e-05

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/152316/cmap_HighResolution_682041601_682300801_4FGL_J1446.7+1719_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='2.46e-05', photon_flux_error='4.43e-08', dlogl='3.27e-01', energy_flux='1.14e-05', photon_flux2='2.44e-08', job_status='DONE', time_completed='2022-09-16 18:51:14.256719', photon_index_error2='0.69', photon_index2='1.86', ts='1.07', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='3.49e-05', EG='0.88', time_epoch_completed='1663379474.26', return_code='0', job_id='152316', GAL2='0.93', EG2='0.91', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='3.40e-08', ts2='1.71', photon_index='2.50' WHERE bin_id='1708' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:51:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 152316: <4FGL_J1446.7+1719_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:35:25 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:41:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:41:38 2022
Terminated at Fri Sep 16 18:51:15 2022
Results reported at Fri Sep 16 18:51:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1708 221.688 17.3237 682041601 682300801 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 :                                   495.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            950 sec.

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

