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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1771
RA = 259.806, Dec = 17.7533
tmin = 698371201, tmax = 698630401
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='558222', job_status='RUN', time_executed='2023-02-21 01:30:56.268856', time_epoch_executed='1676971856.27' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558222

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558222/ft1_4FGL_J1719.2+1745_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558222/ft1_4FGL_J1719.2+1745_daily_bin1771.fits outfile=/scratch/kocevski/558222/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1771.fits ra=259.806 dec=17.7533 rad=12.0 tmin=698371201.0 tmax=698630401.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.07
user 2.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.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/558222/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1576

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/558222/ltcube_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.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/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits
.....................!
real 12.64
user 12.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/558222/ltcube_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits outfile=/scratch/kocevski/558222/expmap_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.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/558222/ltcube_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits
.....................!
real 191.49
user 186.49
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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1719.2+1745 @ 259.806 17.7533

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits outfile=/scratch/kocevski/558222/cmap_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.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=259.806 yref=17.7533 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.76
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits outfile=/scratch/kocevski/558222/cmap_HighResolution_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.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=259.806 yref=17.7533 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/558222/Model_4FGL_J1719.2+1745_daily_bin1771.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/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits.....................!
real 121.74
user 120.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits', '/scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits', expMap='/scratch/kocevski/558222/expmap_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits', expCube='/scratch/kocevski/558222/ltcube_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/558222/Model_4FGL_J1719.2+1745_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1719.2+1745'

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.764e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
272        alpha:  1.940e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
273         beta:  9.472e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/558222/ft1_filtered_4FGL_J1719.2+1745_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/558222/ft2_4FGL_J1719.2+1745_daily_bin1771.fits
Exposure map: /scratch/kocevski/558222/expmap_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits
Exposure cube: /scratch/kocevski/558222/ltcube_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/558222/Model_4FGL_J1719.2+1745_daily_bin1771.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) = 16402.4922003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.879       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10497E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16032E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20144E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60853E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    20.973       1.0000          .0000       .10000E+07
     7 'Prefactor '    .94363       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.7226       1.0000          .0000       .10000E+07
     9 'norm      '    2.1622       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.740       1.0000          .0000       .10000E+07
    11 'norm      '    5.0428       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18362       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75051E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .15281E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .65198       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1051       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0179       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16402.39     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1115 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.992        11.864        .79893E-06    .18404    
   2  Prefactor      .0000        1.2298        .98536E-07** at limit **
   3  Prefactor      .0000        4.6310        .52084E-06** at limit **
   4  Prefactor     .55511E-09    6.4237       -.26865E-08** at limit **
   5  Prefactor     .32752E-08    12.347       -.24081E-06** at limit **
   6  Prefactor     21.258        24.098        .11940E-06   -.11990    
   7  Prefactor     .95123        4.1791       -.29187E-06    .21073E-01
   8  Prefactor     8.7146        7.6267       -.21207E-06   -.11785E-02
   9  norm          2.1623        1.8106        .12501E-06    .13959E-02
  10  Prefactor     17.557        2.2779        .55729E-07    .30744E-01
  11  norm          5.0561        6.2065        .26862E-06   -.95189E-03
  12  Prefactor     .58985E-04    384.91        .13983E-04** at limit **
  13  Prefactor      .0000        1.5215        .31370E-06** at limit **
  14  norm           .0000        23.810       -.15541E-06** at limit **
  15  norm          .65205        .56194       -.29297E-07   -.38848E-03
  16  Prefactor     1.1059        4.1516        .32494E-06    .60732E-03
  17  Normalizat    1.0177        .20664        .86644E-05    .33794E-04
  18  Prefactor     1.0508        .77423E-01   -.20833E-05   -.54482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.992
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 3.27516e-09
  Prefactor  = 21.2578
  Prefactor  = 0.951235
  Prefactor  = 8.71461
  norm       = 2.16235
  Prefactor  = 17.5569
  norm       = 5.0561
  Prefactor  = 5.89852e-05
  Prefactor  = 0
  norm       = 0
  norm       = 0.65205
  Prefactor  = 1.10586
  Normalizat = 1.01774
  Prefactor  = 1.05084
 **********
 **   18 **HESSE 
 **********

 FCN=   16402.39     FROM HESSE     STATUS=OK           290 CALLS     1405 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.992        13.448        .25939E-03   -1.5631    
   2  Prefactor      .0000        1.2313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.6029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-09    6.4330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32752E-08    12.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.258        42.894        .21842E-03   -1.5616    
   7  Prefactor     .95123        4.5312        .42789E-03   -1.5688    
   8  Prefactor     8.7146        7.6421        .33915E-03   -1.5649    
   9  norm          2.1623        1.8192        .70020E-03   -1.5679    
  10  Prefactor     17.557        11.538        .23752E-03   -1.5624    
  11  norm          5.0561        6.2658        .44754E-03   -1.5663    
  12  Prefactor     .58985E-04    36.751        .18936E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        23.765        .17369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .65205        .56784        .64695E-03   -1.5692    
  16  Prefactor     1.1059        4.1629        .11267E-02   -1.5687    
  17  Normalizat    1.0177        .17834        .94541E-01   -.92439    
  18  Prefactor     1.0508        .66641E-01    .39867E-01   -.91053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72016e-06
Minuit parameter uncertainties:
  1  13.4481
  2  6.82962e-07
  3  4.78182e-06
  4  0.00011953
  5  0.000401671
  6  42.895
  7  4.15221
  8  7.64209
  9  1.81921
  10  11.5385
  11  6.2658
  12  0.0931191
  13  4.53831e-07
  14  2.48823e-05
  15  0.567837
  16  4.16294
  17  0.178447
  18  0.0666463
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.162e+00  1.819e+00  0.000e+00  1.000e+06 ( 1.000e-12)
272        alpha:  1.940e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
273         beta:  9.472e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.051e+00  6.665e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.018e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 2.07e-08 +/- 1.74e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.23e-05

TS (Fixed Index): 2.32
Ra Dec: 259.806 17.753
Photon Flux Upper Limit: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/558222/likelihoodResults_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.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) = 16402.3196711
delta logL = 0.0705624588772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16402.3163972
delta logL = 0.0738363966848

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0371       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2143       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0523       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+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=   16402.32     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      245 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0368        1.8409        .14120E-04   -.71175E-03
   2  alpha         2.2143        .75135        .21820E-01    .15036E-04
   3  Normalizat    1.0086        .20562        .42045E-03    .36557E-03
   4  Prefactor     1.0523        .76490E-01    .15363E-03   -.32725E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.03682
  alpha      = 2.21433
  Normalizat = 1.00858
  Prefactor  = 1.05227
 **********
 **   18 **HESSE 
 **********

 FCN=   16402.32     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0368        1.7746        .56480E-06   -1.5679    
   2  alpha         2.2143        .72448        .87281E-03   -.11452    
   3  Normalizat    1.0086        .20545        .16818E-04   -.92743    
   4  Prefactor     1.0523        .76493E-01    .30727E-04   -.91007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03931e-09
Minuit parameter uncertainties:
  1  1.77463
  2  0.73517
  3  0.205614
  4  0.0765013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558222': 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) = 16402.3163971
delta logL = 0.0738364542267

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.037e+00  1.775e+00  0.000e+00  1.000e+06 ( 1.000e-12)
272        alpha:  2.214e+00  7.352e-01  0.000e+00  5.000e+00 ( 1.000e+00)
273         beta:  9.472e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.052e+00  7.650e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.009e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.47
Ra Dec: 259.806 17.753
Photon Index (Free Index): 2.21 +/- 0.74
Photon Flux (Free Index): 2.88e-08 +/- 3.17e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.08e-05

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/558222/cmap_HighResolution_698371201_698630401_4FGL_J1719.2+1745_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', comment='SUCCESS', photon_flux='2.07e-08', energy_flux2='1.29e-05', photon_flux_error='1.74e-08', dlogl='7.38e-02', energy_flux='1.46e-05', photon_flux2='2.88e-08', job_status='DONE', time_completed='2023-02-21 01:45:54.399008', photon_index_error2='0.74', photon_index2='2.21', ts='2.32', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='6.14e-08', energy_flux_error2='1.08e-05', EG='1.02', time_epoch_completed='1676972754.4', return_code='0', job_id='558222', GAL2='1.05', EG2='1.01', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.17e-08', ts2='2.47', photon_index='1.94' WHERE bin_id='1771' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:45:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 558222: <4FGL_J1719.2+1745_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin1771> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Feb 21 01:30:17 2023
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:30:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:30:18 2023
Terminated at Tue Feb 21 01:45:54 2023
Results reported at Tue Feb 21 01:45:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1771 259.806 17.7533 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1719.2+1745 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   896.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

