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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1125
RA = 259.806, Dec = 17.7533
tmin = 530928001, tmax = 531187201
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='612077', job_status='RUN', time_executed='2021-09-17 05:20:35.413520', time_epoch_executed='1631881235.41' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612077

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612077/ft1_4FGL_J1719.2+1745_daily_bin1125.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612077/ft1_4FGL_J1719.2+1745_daily_bin1125.fits outfile=/scratch/kocevski/612077/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1125.fits ra=259.806 dec=17.7533 rad=12.0 tmin=530928001.0 tmax=531187201.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.65
user 3.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.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/612077/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1125.fits evtable="EVENTS" outfile="/scratch/kocevski/612077/ft1_filtered_4FGL_J1719.2+1745_daily_bin1125.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/612077/ft1_filtered_4FGL_J1719.2+1745_daily_bin1125.fits" evtable="EVENTS" scfile=/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits sctable="SC_DATA" outfile=/scratch/kocevski/612077/ltcube_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.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/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits
.....................!
real 12.37
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612077/ft1_filtered_4FGL_J1719.2+1745_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits sctable="SC_DATA" expcube=/scratch/kocevski/612077/ltcube_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.fits outfile=/scratch/kocevski/612077/expmap_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.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/612077/ltcube_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.fits
.....................!
real 191.29
user 185.48
sys 5.22

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/612077/ft1_filtered_4FGL_J1719.2+1745_daily_bin1125.fits scfile=/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits outfile=/scratch/kocevski/612077/cmap_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/612077/ft1_filtered_4FGL_J1719.2+1745_daily_bin1125.fits scfile=/scratch/kocevski/612077/ft2_4FGL_J1719.2+1745_daily_bin1125.fits outfile=/scratch/kocevski/612077/cmap_HighResolution_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88685E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0980       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .49496E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.860       1.0000         .10000E-03   10000.    
    11 'norm      '    7.2614       1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.088       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4450       1.0000         .10000E-03   10000.    
    14 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3067       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5086       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3509       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92630       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10533.81     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2053 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    14.027         .0000    ** at limit **
   2  Prefactor     .10000E-03    5.9951         .0000    ** at limit **
   3  Prefactor     1.1017        8.0881         .0000        .33955E-01
   4  Prefactor     .10002E-03    41.293         .0000    ** at limit **
   5  Prefactor     .10000E-03    20.771         .0000    ** at limit **
   6  Prefactor     .10007E-03    24.213         .0000    ** at limit **
   7  Prefactor     .10000E-03    5.8823         .0000    ** at limit **
   8  Prefactor     .10000E-03    5.1023         .0000    ** at limit **
   9  norm          .49166E-01    1.5241         .0000        .29204E-02
  10  Prefactor     11.863        12.165         .0000       -.12211E-03
  11  norm          7.2615        6.9768         .0000        .17644E-02
  12  Prefactor     63.091        70.824         .0000       -.20479E-02
  13  Prefactor     6.4464        3.5851         .0000        .12172E-01
  14  norm          .10000E-03    4.0392         .0000    ** at limit **
  15  norm          .10002E-03    22.830         .0000    ** at limit **
  16  Prefactor     .10003E-03    84.300         .0000    ** at limit **
  17  norm          1.3067        .74691         .0000       -.15480E-04
  18  Prefactor     1.5123        19.865         .0000        .75186E-02
  19  Normalizat    1.3504        .23700         .0000        .27338E-04
  20  Prefactor     .92636        .81464E-01     .0000        .21090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100043
  Prefactor  = 0.0001
  Prefactor  = 1.10166
  Prefactor  = 0.00010002
  Prefactor  = 0.000100005
  Prefactor  = 0.000100074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0491655
  Prefactor  = 11.863
  norm       = 7.26148
  Prefactor  = 63.0905
  Prefactor  = 6.44644
  norm       = 0.0001
  norm       = 0.00010002
  Prefactor  = 0.000100027
  norm       = 1.30674
  Prefactor  = 1.51234
  Normalizat = 1.35044
  Prefactor  = 0.926364
 **********
 **   18 **HESSE 
 **********

 FCN=   10533.81     FROM HESSE     STATUS=OK           297 CALLS     2350 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    103.74        .73282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1017        8.3047        .22711E-02   -1.5498    
   4  Prefactor     .10002E-03    41.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10007E-03    24.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.9748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.1312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .49166E-01    1.3998        .42555E-01   -1.5664    
  10  Prefactor     11.863        12.154        .11632E-03   -1.5019    
  11  norm          7.2615        6.9770        .14885E-03   -1.5169    
  12  Prefactor     63.091        70.809        .50521E-04   -1.4118    
  13  Prefactor     6.4464        3.5765        .66290E-03   -1.5200    
  14  norm          .10000E-03    4.0469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    22.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10003E-03    84.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3067        .75163        .64863E-04   -1.5479    
  18  Prefactor     1.5123        20.055        .17416E-02   -1.5462    
  19  Normalizat    1.3504        .27718        .40126E-03   -.82073    
  20  Prefactor     .92636        .97615E-01    .16357E-03   -.95226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71778e-08
Minuit parameter uncertainties:
  1  0.00421011
  2  2.53263e-06
  3  6.05034
  4  0.00181967
  5  0.000640213
  6  0.00268515
  7  4.22671e-06
  8  8.44458e-06
  9  0.524153
  10  12.1561
  11  6.9778
  12  70.9033
  13  3.57663
  14  6.18949e-07
  15  0.00135916
  16  0.00302096
  17  0.751634
  18  11.0186
  19  0.277486
  20  0.0976335
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  4.917e-02  5.242e-01  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.264e-01  9.763e-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.350e+00  2.775e-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: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/612077/likelihoodResults_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.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) = 10532.3841715
delta logL = 1.42373235767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10532.3055552
delta logL = 1.50234870547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35942E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95917       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.

 FCN=   10532.31     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      237 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35944E-01    .70419        .27108E-02   -.26524E-02
   2  alpha         5.0000        2.8244        .46267    ** at limit **
   3  Normalizat    1.1931        .15205        .95415E-01   -.20903E-04
   4  Prefactor     .95918        .45126E-01    .45755E-01   -.17498E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0359439
  alpha      = 5
  Normalizat = 1.19315
  Prefactor  = 0.959183
 **********
 **   18 **HESSE 
 **********

 FCN=   10532.31     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35944E-01    .24128E-01    .12393E-03   -1.5670    
   2  alpha         5.0000        .66593        .52273E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1931        .28875        .42270E-03   -.86815    
   4  Prefactor     .95918        .97837E-01    .16094E-03   -.94103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33194e-10
Minuit parameter uncertainties:
  1  0.0241281
  2  2.64136e-06
  3  0.289137
  4  0.0978552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612077': 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) = 10532.3055551
delta logL = 1.5023487423

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.594e-02  2.413e-02  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  5.000e+00  2.641e-06  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.592e-01  9.786e-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.193e+00  2.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 259.806 17.753
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.24e-07 +/- 8.31e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.14e-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/612077/cmap_HighResolution_530928001_531187201_4FGL_J1719.2+1745_daily_bin1125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-05', comment='SUCCESS', energy_flux2='1.71e-05', dlogl='1.50e+00', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-17 05:34:40.179976', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='5.56e-08', energy_flux_error2='1.14e-05', EG='1.35', time_epoch_completed='1631882080.18', return_code='0', job_id='612077', GAL2='0.96', EG2='1.19', return_code2='0', photon_flux_error2='8.31e-08', ts2='3.28', photon_index='1.94' WHERE bin_id='1125' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:34:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 612077: <4FGL_J1719.2+1745_daily_bin1125> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1125 259.806 17.7533 530928001 531187201 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 :                                   839.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

