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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin200
RA = 259.806, Dec = 17.7533
tmin = 291168001, tmax = 291427201
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='598386', job_status='RUN', time_executed='2021-09-17 04:25:38.992557', time_epoch_executed='1631877938.99' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598386

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598386/ft1_4FGL_J1719.2+1745_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598386/ft1_4FGL_J1719.2+1745_daily_bin200.fits outfile=/scratch/kocevski/598386/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin200.fits ra=259.806 dec=17.7533 rad=12.0 tmin=291168001.0 tmax=291427201.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.51
user 3.24
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598386/ft1_filtered_4FGL_J1719.2+1745_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/598386/ltcube_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.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/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits
.....................!
real 12.38
user 11.89
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598386/ft1_filtered_4FGL_J1719.2+1745_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/598386/ltcube_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.fits outfile=/scratch/kocevski/598386/expmap_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.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/598386/ltcube_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.fits
.....................!
real 191.15
user 185.41
sys 5.12

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/598386/ft1_filtered_4FGL_J1719.2+1745_daily_bin200.fits scfile=/scratch/kocevski/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits outfile=/scratch/kocevski/598386/cmap_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598386/ft1_filtered_4FGL_J1719.2+1745_daily_bin200.fits scfile=/scratch/kocevski/598386/ft2_4FGL_J1719.2+1745_daily_bin200.fits outfile=/scratch/kocevski/598386/cmap_HighResolution_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.176       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8158       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.053       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.604       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.662       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10111E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.834       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    93.706       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .82748E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0958       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .25139       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2199       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=   9875.612     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     2425 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.957        .18142E-02** at limit **
   2  Prefactor     10.175        7.7181        .12561E-03    .17196E-04
   3  Prefactor     1.8145        6.9303        .30996E-03    .18632E-04
   4  Prefactor     12.041        27.294        .11539E-03    .78823E-06
   5  Prefactor     .10000E-03    23.939        .18142E-02** at limit **
   6  Prefactor     24.483        74.714        .80758E-04   -.43358E-04
   7  Prefactor     13.662        10.219        .10837E-03   -.73437E-04
   8  Prefactor     .10000E-03    5.1563        .18142E-02** at limit **
   9  norm          .10047E-03    2.3265        .40261E-01** at limit **
  10  Prefactor     23.835        12.484        .82049E-04   -.20385E-03
  11  norm          .10000E-03    10.578        .18142E-02** at limit **
  12  Prefactor     93.838        92.458        .20759E-03   -.14108E-03
  13  Prefactor     .10000E-03    4.5651        .22008E-02** at limit **
  14  norm          .10369E-03    9.4204        .89390E-01** at limit **
  15  norm          .10000E-03    32.415        .18142E-02** at limit **
  16  Prefactor     .10000E-03    20.442        .18142E-02** at limit **
  17  norm          1.0957        .93328        .86360E-04   -.52657E-05
  18  Prefactor     .10000E-03    2.5161        .15377E-02** at limit **
  19  Normalizat    .25149        .27389        .80742E-03   -.14759E-03
  20  Prefactor     1.2199        .10161        .14275E-03   -.79926E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.1754
  Prefactor  = 1.81453
  Prefactor  = 12.041
  Prefactor  = 0.0001
  Prefactor  = 24.4829
  Prefactor  = 13.6618
  Prefactor  = 0.0001
  norm       = 0.000100472
  Prefactor  = 23.8346
  norm       = 0.0001
  Prefactor  = 93.838
  Prefactor  = 0.0001
  norm       = 0.000103687
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.0957
  Prefactor  = 0.0001
  Normalizat = 0.25149
  Prefactor  = 1.21992
 **********
 **   18 **HESSE 
 **********

 FCN=   9875.612     FROM HESSE     STATUS=OK           291 CALLS     2716 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.958        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.175        7.7163        .50244E-05   -1.5070    
   3  Prefactor     1.8145        6.9289        .12399E-04   -1.5439    
   4  Prefactor     12.041        27.294        .46154E-05   -1.5014    
   5  Prefactor     .10000E-03    23.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.483        74.716        .16152E-04   -1.4718    
   7  Prefactor     13.662        10.218        .43347E-05   -1.4969    
   8  Prefactor     .10000E-03    5.1569        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10047E-03    2.0701        .44034E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.835        12.483        .16410E-04   -1.4731    
  11  norm          .10000E-03    10.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     93.838        92.428        .83034E-05   -1.3768    
  13  Prefactor     .10000E-03    4.5810        .44016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10369E-03    9.3168        .90183E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    32.416        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.442        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0957        .93324        .34544E-05   -1.5499    
  18  Prefactor     .10000E-03    2.5163        .30755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .25149        .27328        .32297E-04   -1.2586    
  20  Prefactor     1.2199        .10139        .28550E-04   -.85720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34195e-09
Minuit parameter uncertainties:
  1  6.04074e-06
  2  7.71701
  3  6.93192
  4  27.3218
  5  4.40842e-05
  6  75.0038
  7  10.2192
  8  5.68241e-06
  9  0.00197799
  10  12.4842
  11  5.8461e-06
  12  92.5704
  13  8.7217e-05
  14  0.0117238
  15  5.40078e-05
  16  6.49994e-06
  17  0.933248
  18  1.69049e-06
  19  0.274741
  20  0.101402
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.005e-04  1.978e-03  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.220e+00  1.014e-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:  2.515e-01  2.747e-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.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598386/likelihoodResults_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.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) = 9875.61202313
delta logL = -0.000129142788865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9874.46551081
delta logL = 1.1463831774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44984E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8258       1.0000          .0000       5.0000    
     3 'Normalizat'    .12466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2445       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9874.466     FROM MIGRAD    STATUS=FAILED       103 CALLS      344 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44544E-01    1.1500        .15332E-03    .28706E-02
   2  alpha         4.8308        2.8070        .51200E-01   -.41657E-03
   3  Normalizat    .12426        .21410        .10609E-01    .34287E-04
   4  Prefactor     1.2446        .77473E-01    .14142E-03    .43248E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9874.466     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      428 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44544E-01    1.1500        .22685E-04    .28706E-02
   2  alpha         4.8308        2.8070        .32875E-02   -.41657E-03
   3  Normalizat    .12426        .21410        .66975E-03    .34287E-04
   4  Prefactor     1.2446        .77473E-01    .68505E-04    .43248E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9874.466     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      461 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44542E-01    1.1772        .61326E-05    .12865E-02
   2  alpha         4.8308        2.7591        .10240E-01    .47140E-05
   3  Normalizat    .12426        .26453        .42436E-03    .10073E-04
   4  Prefactor     1.2446        .97296E-01    .56569E-05    .54663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0445421
  alpha      = 4.83081
  Normalizat = 0.124257
  Prefactor  = 1.24463
 **********
 **   18 **HESSE 
 **********

 FCN=   9874.466     FROM HESSE     STATUS=OK            25 CALLS      486 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44542E-01    .36300        .24530E-06   -1.5666    
   2  alpha         4.8308        4.9101        .40960E-03    1.2008    
   3  Normalizat    .12426        .27014        .16974E-04   -1.3565    
   4  Prefactor     1.2446        .99056E-01    .11314E-05   -.84969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39519e-12
Minuit parameter uncertainties:
  1  0.25403
  2  2.5887
  3  0.273143
  4  0.0990705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598386': 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) = 9874.46550707
delta logL = 1.14638691858

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  4.454e-02  2.540e-01  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  4.831e+00  2.589e+00  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.245e+00  9.907e-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.243e-01  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 259.806 17.753
Photon Index (Free Index): 4.83 +/- 2.59
Photon Flux (Free Index): 1.07e-07 +/- 8.15e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.23e-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/598386/cmap_HighResolution_291168001_291427201_4FGL_J1719.2+1745_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.81e-05', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='1.15e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-17 04:40:10.459890', photon_index_error2='2.59', photon_index2='4.83', ts='-0.00', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='6.80e-08', energy_flux_error2='1.23e-05', EG='0.25', time_epoch_completed='1631878810.46', return_code='0', job_id='598386', GAL2='1.24', EG2='0.12', return_code2='0', photon_flux_error2='8.15e-08', ts2='2.53', photon_index='1.94' WHERE bin_id='200' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:40:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 598386: <4FGL_J1719.2+1745_daily_bin200> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin200> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 17 04:25:21 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 04:25:23 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:25:23 2021
Terminated at Fri Sep 17 04:40:10 2021
Results reported at Fri Sep 17 04:40:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin200 259.806 17.7533 291168001 291427201 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 :                                   868.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

