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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1152
RA = 259.806, Dec = 17.7533
tmin = 537926401, tmax = 538185601
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='612117', job_status='RUN', time_executed='2021-09-17 05:20:36.030606', time_epoch_executed='1631881236.03' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1152'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612117/ft1_4FGL_J1719.2+1745_daily_bin1152.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612117/ft1_4FGL_J1719.2+1745_daily_bin1152.fits outfile=/scratch/kocevski/612117/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1152.fits ra=259.806 dec=17.7533 rad=12.0 tmin=537926401.0 tmax=538185601.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 6.53
user 6.26
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits" evtable="EVENTS" scfile=/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits sctable="SC_DATA" outfile=/scratch/kocevski/612117/ltcube_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.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/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits
.....................!
real 11.81
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits evtable="EVENTS" scfile=/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits sctable="SC_DATA" expcube=/scratch/kocevski/612117/ltcube_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits outfile=/scratch/kocevski/612117/expmap_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.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/612117/ltcube_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits
.....................!
real 190.58
user 185.53
sys 4.72

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/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits scfile=/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits outfile=/scratch/kocevski/612117/cmap_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits scfile=/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits outfile=/scratch/kocevski/612117/cmap_HighResolution_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.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.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits', '/scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits', expMap='/scratch/kocevski/612117/expmap_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits', expCube='/scratch/kocevski/612117/ltcube_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/612117/Model_4FGL_J1719.2+1745_daily_bin1152.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/612117/ft1_filtered_4FGL_J1719.2+1745_daily_bin1152.fits
Spacecraft file(s): /scratch/kocevski/612117/ft2_4FGL_J1719.2+1745_daily_bin1152.fits
Exposure map: /scratch/kocevski/612117/expmap_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits
Exposure cube: /scratch/kocevski/612117/ltcube_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/612117/Model_4FGL_J1719.2+1745_daily_bin1152.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) = 3562.38108977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .91122       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7161       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16448E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1481       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2226       1.0000         .10000E-03   10000.    
    11 'norm      '    13.901       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.953       1.0000         .10000E-03   10000.    
    15 'norm      '    .65670E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.8644       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.594       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.8541       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77542       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=   3562.326     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2316 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.303       -.42500E-06** at limit **
   2  Prefactor     .90538        24.901        .64655E-05   -.35459E-04
   3  Prefactor     5.7193        16.395        .50056E-05   -.39215E-04
   4  Prefactor     .10000E-03    23.917        .35892E-06** at limit **
   5  Prefactor     .10000E-03    83.164        .13706E-05** at limit **
   6  Prefactor     .10000E-03    152.18       -.13795E-05** at limit **
   7  Prefactor     9.1492        16.683        .23090E-05   -.44891E-04
   8  Prefactor     .10000E-03    17.863        .70535E-07** at limit **
   9  norm          .10000E-03    4.3808        .89897E-07** at limit **
  10  Prefactor     9.2235        13.212        .93855E-09   -.86041E-05
  11  norm          13.903        13.399        .68362E-08   -.55889E-05
  12  Prefactor     .10000E-03    47.141       -.10175E-05** at limit **
  13  Prefactor     .10000E-03    1.6328        .21278E-07** at limit **
  14  norm          17.954        19.894        .81545E-07   -.24225E-05
  15  norm          .10018E-03    1338.7       -.12336E-04** at limit **
  16  Prefactor     .10000E-03    40.472        .59212E-06** at limit **
  17  norm          5.8647        2.0985        .48523E-07   -.32449E-04
  18  Prefactor     16.595        14.082        .64299E-06   -.16490E-04
  19  Normalizat    1.8542        .39978       -.19289E-05   -.51893E-04
  20  Prefactor     .77532        .14023       -.67003E-06   -.10366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.905382
  Prefactor  = 5.71927
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100004
  Prefactor  = 9.14921
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.2235
  norm       = 13.9026
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 17.9543
  norm       = 0.00010018
  Prefactor  = 0.000100001
  norm       = 5.86468
  Prefactor  = 16.5952
  Normalizat = 1.85418
  Prefactor  = 0.775315
 **********
 **   18 **HESSE 
 **********

 FCN=   3562.326     FROM HESSE     STATUS=OK           287 CALLS     2603 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .90538        25.548        .51393E-03   -1.5518    
   3  Prefactor     5.7193        16.379        .84002E-03   -1.5230    
   4  Prefactor     .10000E-03    23.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    83.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    152.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1492        16.660        .66255E-03   -1.5103    
   8  Prefactor     .10000E-03    17.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.4587        .12199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2235        13.210        .13197E-03   -1.5100    
  11  norm          13.903        13.402        .10743E-03   -1.4962    
  12  Prefactor     .10000E-03    47.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6388        .74470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.954        19.923        .94527E-04   -1.4860    
  15  norm          .10018E-03    1354.1        .21015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8647        2.1036        .49848E-04   -1.5224    
  18  Prefactor     16.595        14.090        .49160E-03   -1.4893    
  19  Normalizat    1.8542        .47457        .35658E-03   -.68258    
  20  Prefactor     .77532        .16713        .18135E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29272e-10
Minuit parameter uncertainties:
  1  0.000193987
  2  9.62287
  3  16.3919
  4  0.000183524
  5  0.00111487
  6  0.00151951
  7  16.6681
  8  1.80904e-05
  9  1.01644e-05
  10  13.2141
  11  13.4046
  12  0.000695909
  13  1.64227e-06
  14  19.9304
  15  0.0320133
  16  0.000360346
  17  2.10362
  18  14.0925
  19  0.475765
  20  0.167243
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  1.016e-05  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:  7.753e-01  1.672e-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.854e+00  4.758e-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: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/612117/likelihoodResults_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.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) = 3562.32723128
delta logL = -0.00106796511909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3562.3261646
delta logL = -1.28422288981e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9457       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77557       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=   3562.207     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19014E-01    .38458E-01    .36702E-02   -.26044E-02
   2  alpha         5.0000        3.6718        .50000    ** at limit **
   3  Normalizat    1.7698        .48877        .35658E-03   -.31978E-04
   4  Prefactor     .79187        .16714        .18135E-03    .11316E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0190135
  alpha      = 5
  Normalizat = 1.76985
  Prefactor  = 0.79187
 **********
 **   18 **HESSE 
 **********

 FCN=   3562.207     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19014E-01    .41622E-01    .15993E-04   -1.5735    
   2  alpha         5.0000        3.7200        .83491E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.7698        .49718        .14263E-04   -.70453    
   4  Prefactor     .79187        .16809        .72539E-05   -1.0003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36045e-10
Minuit parameter uncertainties:
  1  0.0416221
  2  6.25157e-05
  3  0.498609
  4  0.168203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612117': 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) = 3562.20713606
delta logL = 0.119027254875

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.901e-02  4.162e-02  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  5.000e+00  6.252e-05  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:  7.919e-01  1.682e-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.770e+00  4.986e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/612117/cmap_HighResolution_537926401_538185601_4FGL_J1719.2+1745_daily_bin1152.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-05', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-09-17 05:29:25.835636', job_id='612117', GAL2='0.79', fit_tolerance='1e-08', EG2='1.77', EG='1.85', time_epoch_completed='1631881765.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.19e-01', ts2='0.26', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1152' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:29:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 612117: <4FGL_J1719.2+1745_daily_bin1152> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin1152> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 17 05:20:26 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 05:20:27 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:20:27 2021
Terminated at Fri Sep 17 05:29:26 2021
Results reported at Fri Sep 17 05:29:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1152 259.806 17.7533 537926401 538185601 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 :                                   524.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            540 sec.

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

