/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 175 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1719.2+1745_daily_bin75
RA = 259.806, Dec = 17.7533
tmin = 258768001, tmax = 259027201
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='594763', job_status='RUN', time_executed='2021-09-17 04:13:23.318178', time_epoch_executed='1631877203.32' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594763

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594763/ft1_4FGL_J1719.2+1745_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594763/ft1_4FGL_J1719.2+1745_daily_bin75.fits outfile=/scratch/kocevski/594763/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin75.fits ra=259.806 dec=17.7533 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.12
user 0.94
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594763/ft1_filtered_4FGL_J1719.2+1745_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/594763/ltcube_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.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/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits
.....................!
real 8.71
user 8.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594763/ft1_filtered_4FGL_J1719.2+1745_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/594763/ltcube_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.fits outfile=/scratch/kocevski/594763/expmap_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.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/594763/ltcube_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.fits
.....................!
real 190.10
user 184.83
sys 4.91

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/594763/ft1_filtered_4FGL_J1719.2+1745_daily_bin75.fits scfile=/scratch/kocevski/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits outfile=/scratch/kocevski/594763/cmap_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594763/ft1_filtered_4FGL_J1719.2+1745_daily_bin75.fits scfile=/scratch/kocevski/594763/ft2_4FGL_J1719.2+1745_daily_bin75.fits outfile=/scratch/kocevski/594763/cmap_HighResolution_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5754       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.945       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11614E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8577       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.694       1.0000         .10000E-03   10000.    
    11 'norm      '    23.502       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.603       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .65736E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12317E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7816       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89176       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0308       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=   9305.928     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     1990 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.352        .24658E-07** at limit **
   2  Prefactor     8.5760        6.7079        .12890E-06   -.66656E-05
   3  Prefactor     .10000E-03    1.3819        .45206E-08** at limit **
   4  Prefactor     .10000E-03    16.546        .26907E-07** at limit **
   5  Prefactor     25.947        28.347        .58920E-07    .70539E-06
   6  Prefactor     .10000E-03    95.523        .13797E-05** at limit **
   7  Prefactor     .10000E-03    3.2114        .32262E-08** at limit **
   8  Prefactor     7.8563        14.033        .36980E-05   -.21340E-04
   9  norm          .10000E-03    .95538       -.21020E-07** at limit **
  10  Prefactor     26.703        16.167        .11060E-06   -.19060E-04
  11  norm          23.512        12.649        .48824E-07   -.49950E-05
  12  Prefactor     45.590        80.237        .24051E-06   -.91285E-05
  13  Prefactor     .10000E-03    1.3131        .25905E-07** at limit **
  14  norm          .10000E-03    3.3907       -.76053E-07** at limit **
  15  norm          .10000E-03    32.327       -.34635E-07** at limit **
  16  Prefactor     .10000E-03    132.04       -.20964E-05** at limit **
  17  norm          2.7817        1.0116        .10876E-07    .21914E-05
  18  Prefactor     .10000E-03    6.3006       -.45704E-08** at limit **
  19  Normalizat    .89148        .25357       -.11705E-05   -.70964E-05
  20  Prefactor     1.0308        .90377E-01    .68282E-07   -.56159E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.57603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9466
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.85628
  norm       = 0.0001
  Prefactor  = 26.7028
  norm       = 23.512
  Prefactor  = 45.5897
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.78172
  Prefactor  = 0.0001
  Normalizat = 0.891479
  Prefactor  = 1.0308
 **********
 **   18 **HESSE 
 **********

 FCN=   9305.928     FROM HESSE     STATUS=OK           289 CALLS     2279 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.5760        6.7131        .13689E-03   -1.5122    
   3  Prefactor     .10000E-03    1.3834        .11075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.947        28.356        .39323E-03   -1.4689    
   6  Prefactor     .10000E-03    96.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2316        .16878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8563        14.045        .71522E-03   -1.5147    
   9  norm          .10000E-03    .96152        .92081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.703        16.003        .77537E-04   -1.4674    
  11  norm          23.512        12.372        .82626E-04   -1.4738    
  12  Prefactor     45.590        80.313        .59372E-04   -1.4357    
  13  Prefactor     .10000E-03    9.4141        .20131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.3931        .17347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    32.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    133.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7817        1.0143        .24399E-04   -1.5374    
  18  Prefactor     .10000E-03    6.3576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .89148        .29289        .45591E-03   -.96760    
  20  Prefactor     1.0308        .10630        .15355E-03   -.91710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5201e-11
Minuit parameter uncertainties:
  1  4.86847e-07
  2  6.71372
  3  1.88548e-07
  4  3.42517e-06
  5  28.3709
  6  0.000705705
  7  3.8227e-07
  8  14.0506
  9  1.47495e-06
  10  16.0052
  11  12.3731
  12  80.5048
  13  5.8083e-05
  14  1.89659e-07
  15  2.50826e-05
  16  0.00114811
  17  1.01432
  18  4.875e-06
  19  0.293414
  20  0.106319
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  1.475e-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:  1.031e+00  1.063e-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:  8.915e-01  2.934e-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: 4.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594763/likelihoodResults_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.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) = 9305.93317063
delta logL = -0.00492801777182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9305.92824244
delta logL = 1.77933543455e-07

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     '    1.9302       1.0000          .0000       5.0000    
     3 'Normalizat'    .89147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0308       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=   9305.928     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      238 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    58.902        .92391E-02** at limit **
   2  alpha         1.6624        3.2702        .17036       -.79144E-07
   3  Normalizat    .89148        .50080E-01    .45591E-03   -.10054E-03
   4  Prefactor     1.0308        .18161E-01    .15355E-03   -.28254E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.66242
  Normalizat = 0.891478
  Prefactor  = 1.0308
 **********
 **   18 **HESSE 
 **********

 FCN=   9305.928     FROM HESSE     STATUS=OK            27 CALLS      265 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1385        .94590E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6624        2.9433        .68145E-01   -.34164    
   3  Normalizat    .89148        .28536        .18236E-04   -.96760    
   4  Prefactor     1.0308        .10361        .30709E-04   -.91710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14419e-11
Minuit parameter uncertainties:
  1  2.2647e-06
  2  117.55
  3  0.285845
  4  0.103632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594763': 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) = 9305.92823981
delta logL = 2.80955282506e-06

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  2.265e-06  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.662e+00  1.176e+02  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:  1.031e+00  1.036e-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:  8.915e-01  2.858e-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/594763/cmap_HighResolution_258768001_259027201_4FGL_J1719.2+1745_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-05', job_status='DONE', photon_flux_upper_limit='4.64e-08', time_completed='2021-09-17 04:26:07.753724', job_id='594763', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631877967.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='75' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:26:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 594763: <4FGL_J1719.2+1745_daily_bin75> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin75> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 17 04:10:18 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 04:10:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 04:10:20 2021
Terminated at Fri Sep 17 04:26:08 2021
Results reported at Fri Sep 17 04:26:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin75 259.806 17.7533 258768001 259027201 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 :                                   765.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

