/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 8 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1440
RA = 259.806, Dec = 17.7533
tmin = 612576001, tmax = 612835201
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='614540', job_status='RUN', time_executed='2021-09-17 05:30:45.103928', time_epoch_executed='1631881845.1' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614540

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614540/ft1_4FGL_J1719.2+1745_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614540/ft1_4FGL_J1719.2+1745_daily_bin1440.fits outfile=/scratch/kocevski/614540/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1440.fits ra=259.806 dec=17.7533 rad=12.0 tmin=612576001.0 tmax=612835201.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 2.78
user 2.56
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.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/614540/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1440.fits evtable="EVENTS" outfile="/scratch/kocevski/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/614540/ltcube_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.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/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits
.....................!
real 12.40
user 12.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/614540/ltcube_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits outfile=/scratch/kocevski/614540/expmap_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.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/614540/ltcube_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits
.....................!
real 191.51
user 185.72
sys 5.42

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/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits scfile=/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits outfile=/scratch/kocevski/614540/cmap_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits scfile=/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits outfile=/scratch/kocevski/614540/cmap_HighResolution_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits', '/scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits', expMap='/scratch/kocevski/614540/expmap_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits', expCube='/scratch/kocevski/614540/ltcube_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/614540/Model_4FGL_J1719.2+1745_daily_bin1440.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  1.000e-04  1.000e+04 ( 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  0.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/614540/ft1_filtered_4FGL_J1719.2+1745_daily_bin1440.fits
Spacecraft file(s): /scratch/kocevski/614540/ft2_4FGL_J1719.2+1745_daily_bin1440.fits
Exposure map: /scratch/kocevski/614540/expmap_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits
Exposure cube: /scratch/kocevski/614540/ltcube_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/614540/Model_4FGL_J1719.2+1745_daily_bin1440.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) = 9163.52122292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5768       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.277       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5771       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9989       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4693       1.0000         .10000E-03   10000.    
    11 'norm      '    10.438       1.0000         .10000E-03   10000.    
    12 'Prefactor '    92.027       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.970       1.0000         .10000E-03   10000.    
    15 'norm      '    9.1158       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8510       1.0000         .10000E-03   10000.    
    17 'norm      '    5.8732       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18427E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2179       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91740       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.

 FCN=   9163.415     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2093 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5592        19.287       -.23186E-06    .34601E-04
   2  Prefactor     .13814        4.5672       -.69350E-07   -.21957E-03
   3  Prefactor     8.2692        15.101       -.55890E-06    .34548E-05
   4  Prefactor     33.247        34.510        .16973E-05    .63054E-04
   5  Prefactor     .10000E-03    16.510       -.80165E-07** at limit **
   6  Prefactor     .10000E-03    123.55        .73267E-06** at limit **
   7  Prefactor     1.5761        29.515        .11385E-04   -.91611E-05
   8  Prefactor     7.0000        12.624       -.22425E-06    .81037E-05
   9  norm          .10000E-03    2.5925       -.11767E-06** at limit **
  10  Prefactor     8.4784        19.162        .13399E-05    .46527E-05
  11  norm          10.438        9.7089        .76033E-07   -.10615E-04
  12  Prefactor     92.292        187.32       -.24441E-04    .14977E-05
  13  Prefactor     .10000E-03    2.9928        .17530E-06** at limit **
  14  norm          12.968        21.651        .39356E-05   -.53521E-05
  15  norm          9.1674        261.31       -.12455E-04    .43205E-06
  16  Prefactor     7.8527        23.581        .93714E-07    .45860E-05
  17  norm          5.8744        2.0892        .41798E-07    .96954E-05
  18  Prefactor     .10000E-03    3.2170       -.10476E-06** at limit **
  19  Normalizat    1.2186        .24719        .12444E-05    .96499E-04
  20  Prefactor     .91708        .89432E-01   -.28114E-06    .23402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.55919
  Prefactor  = 0.138144
  Prefactor  = 8.26919
  Prefactor  = 33.2466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.57615
  Prefactor  = 7.00001
  norm       = 0.0001
  Prefactor  = 8.47836
  norm       = 10.4381
  Prefactor  = 92.2922
  Prefactor  = 0.0001
  norm       = 12.9677
  norm       = 9.16736
  Prefactor  = 7.85272
  norm       = 5.87435
  Prefactor  = 0.0001
  Normalizat = 1.21862
  Prefactor  = 0.917084
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.415     FROM HESSE     STATUS=OK           303 CALLS     2396 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5592        19.351        .12950E-03   -1.5090    
   2  Prefactor     .13814        49.763        .36106E-02   -1.5634    
   3  Prefactor     8.2692        15.142        .13943E-03   -1.5133    
   4  Prefactor     33.247        34.943        .69464E-04   -1.4554    
   5  Prefactor     .10000E-03    16.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    123.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5761        29.808        .16915E-02   -1.5457    
   8  Prefactor     7.0000        12.615        .15164E-03   -1.5179    
   9  norm          .10000E-03    2.6861        .30080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.4784        19.163        .13775E-03   -1.5126    
  11  norm          10.438        9.7061        .12402E-03   -1.5062    
  12  Prefactor     92.292        186.72        .20945E-03   -1.3784    
  13  Prefactor     .10000E-03    3.0446        .16134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.968        21.630        .11123E-03   -1.4988    
  15  norm          9.1674        262.00        .13275E-03   -1.5102    
  16  Prefactor     7.8527        23.563        .14311E-03   -1.5147    
  17  norm          5.8744        2.0972        .79213E-04   -1.5223    
  18  Prefactor     .10000E-03    24.363        .33140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2186        .29855        .39354E-03   -.86029    
  20  Prefactor     .91708        .10852        .16564E-03   -.95547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1391e-10
Minuit parameter uncertainties:
  1  19.3633
  2  5.24632
  3  15.1491
  4  34.9649
  5  1.31499e-05
  6  0.000129042
  7  13.716
  8  12.62
  9  6.30063e-06
  10  19.1767
  11  9.70753
  12  187.926
  13  1.29555e-06
  14  21.6426
  15  98.496
  16  23.5905
  17  2.09727
  18  0.000101567
  19  0.298968
  20  0.108548
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  6.301e-06  1.000e-04  1.000e+04 ( 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  0.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:  9.171e-01  1.085e-01  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.219e+00  2.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/614540/likelihoodResults_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.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) = 9163.41642447
delta logL = -0.00177732975499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9163.41463238
delta logL = 1.47523533087e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4593       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91708       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=   9163.145     FROM MIGRAD    STATUS=CONVERGED    170 CALLS      392 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21725E-01    .35003E-01    .17739E-04   -.17394E-02
   2  alpha         5.0000        3.7788        .50000    ** at limit **
   3  Normalizat    1.1428        .29868        .40471E-03   -.11568E-03
   4  Prefactor     .93210        .10531        .16441E-03   -.92826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0217249
  alpha      = 5
  Normalizat = 1.14275
  Prefactor  = 0.932104
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.145     FROM HESSE     STATUS=OK            29 CALLS      421 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21725E-01    .34777E-01    .70955E-06   -1.5679    
   2  alpha         5.0000        3.7667        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1428        .29906        .16188E-04   -.88391    
   4  Prefactor     .93210        .10541        .32882E-04   -.95028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57025e-11
Minuit parameter uncertainties:
  1  0.0347768
  2  0.000441861
  3  0.299508
  4  0.105437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614540': 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) = 9163.14458741
delta logL = 0.27005972587

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.172e-02  3.478e-02  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  5.000e+00  4.419e-04  0.000e+00  5.000e+00 ( 1.000e+00)
273         beta:  9.472e-02  0.000e+00  0.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:  9.321e-01  1.054e-01  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.143e+00  2.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 259.806 17.753

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/614540/cmap_HighResolution_612576001_612835201_4FGL_J1719.2+1745_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-05', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2021-09-17 05:43:52.953820', job_id='614540', GAL2='0.93', fit_tolerance='1e-08', EG2='1.14', EG='1.22', time_epoch_completed='1631882632.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.70e-01', ts2='0.60', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1440' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:43:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 614540: <4FGL_J1719.2+1745_daily_bin1440> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin1440> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 17 05:30:27 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 05:30:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 05:30:28 2021
Terminated at Fri Sep 17 05:43:55 2021
Results reported at Fri Sep 17 05:43:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1440 259.806 17.7533 612576001 612835201 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 :                                   774.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             359.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            808 sec.

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

