Sender: LSF System <lsf@bullet0267>
Subject: Job 241200: <4FGL_J1719.2+1745_weekly_bin427> in cluster <slac> Done

Job <4FGL_J1719.2+1745_weekly_bin427> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jul 26 10:55:30 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 26 11:14:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 26 11:14:56 2021
Terminated at Mon Jul 26 11:45:33 2021
Results reported at Mon Jul 26 11:45:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_weekly_bin427 259.806 17.7533 497232001 497836801 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 :                                   1547.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             289.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1836 sec.
    Turnaround time :                            3003 sec.

The output (if any) follows:

aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 221 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 = 17191
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1719.2+1745_weekly_bin427
RA = 259.806, Dec = 17.7533
tmin = 497232001, tmax = 497836801
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='241200', job_status='RUN', time_executed='2021-07-26 11:18:56.272206', time_epoch_executed='1627323536.27' WHERE source_name='4FGL J1719.2+1745' and cadence='weekly' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/241200

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/241200/ft1_4FGL_J1719.2+1745_weekly_bin427.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/241200/ft1_4FGL_J1719.2+1745_weekly_bin427.fits outfile=/scratch/kocevski/241200/ft1_filteredMKT_4FGL_J1719.2+1745_weekly_bin427.fits ra=259.806 dec=17.7533 rad=12.0 tmin=497232001.0 tmax=497836801.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 11.23
user 10.81
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.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/241200/ft1_filteredMKT_4FGL_J1719.2+1745_weekly_bin427.fits evtable="EVENTS" outfile="/scratch/kocevski/241200/ft1_filtered_4FGL_J1719.2+1745_weekly_bin427.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.56
user 0.39
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/241200/ft1_filtered_4FGL_J1719.2+1745_weekly_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/241200/ltcube_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.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/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits
.....................!
real 35.80
user 34.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/241200/ft1_filtered_4FGL_J1719.2+1745_weekly_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/241200/ltcube_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.fits outfile=/scratch/kocevski/241200/expmap_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.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/241200/ltcube_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.fits
.....................!
real 193.07
user 186.90
sys 4.80

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/241200/ft1_filtered_4FGL_J1719.2+1745_weekly_bin427.fits scfile=/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits outfile=/scratch/kocevski/241200/cmap_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.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.59
user 0.44
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/241200/ft1_filtered_4FGL_J1719.2+1745_weekly_bin427.fits scfile=/scratch/kocevski/241200/ft2_4FGL_J1719.2+1745_weekly_bin427.fits outfile=/scratch/kocevski/241200/cmap_HighResolution_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.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.62
user 0.44
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.839       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0526       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.066       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6021       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5730       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5007       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.609       1.0000         .10000E-03   10000.    
    11 'norm      '    26.219       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10726E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.8272       1.0000         .10000E-03   10000.    
    15 'norm      '    23.972       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.269       1.0000         .10000E-03   10000.    
    17 'norm      '    4.1640       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0003       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0617       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=   21598.49     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     2026 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.838        10.762         .0000       -.21531E-03
   2  Prefactor     .10000E-03    1.0316         .0000    ** at limit **
   3  Prefactor     4.0530        5.4457         .0000        .13544E-01
   4  Prefactor     .10000E-03    4.1465         .0000    ** at limit **
   5  Prefactor     27.064        20.985         .0000        .30104E-02
   6  Prefactor     5.6025        36.504         .0000       -.43666E-03
   7  Prefactor     1.5720        5.4254         .0000        .30377E-01
   8  Prefactor     7.5005        6.9082         .0000       -.11834E-03
   9  norm          .10000E-03    .44348         .0000    ** at limit **
  10  Prefactor     13.610        12.413         .0000        .14131E-03
  11  norm          26.219        9.4306         .0000        .34680E-02
  12  Prefactor     .10000E-03    30.410         .0000    ** at limit **
  13  Prefactor     .10000E-03    .64481         .0000    ** at limit **
  14  norm          4.8268        6.3737         .0000       -.96730E-03
  15  norm          23.972        28.246         .0000       -.17262E-03
  16  Prefactor     21.269        28.866         .0000        .43237E-03
  17  norm          4.1641        .83086         .0000        .24533E-03
  18  Prefactor     .10000E-03    1.1629         .0000    ** at limit **
  19  Normalizat    1.0003        .16780         .0000        .74619E-04
  20  Prefactor     1.0617        .61236E-01     .0000       -.30186E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8385
  Prefactor  = 0.0001
  Prefactor  = 4.05301
  Prefactor  = 0.0001
  Prefactor  = 27.0642
  Prefactor  = 5.60252
  Prefactor  = 1.57201
  Prefactor  = 7.50048
  norm       = 0.0001
  Prefactor  = 13.6103
  norm       = 26.2188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.82678
  norm       = 23.972
  Prefactor  = 21.2687
  norm       = 4.16407
  Prefactor  = 0.0001
  Normalizat = 1.00032
  Prefactor  = 1.06165
 **********
 **   18 **HESSE 
 **********

 FCN=   21598.49     FROM HESSE     STATUS=OK           291 CALLS     2317 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.838        10.786        .11643E-03   -1.5020    
   2  Prefactor     .10000E-03    1.0469        .14571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0530        5.4181        .10015E-02   -1.5305    
   4  Prefactor     .10000E-03    4.1539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.064        20.997        .77004E-04   -1.4667    
   6  Prefactor     5.6025        36.256        .16973E-03   -1.5235    
   7  Prefactor     1.5720        5.3866        .16944E-02   -1.5457    
   8  Prefactor     7.5005        6.9064        .14644E-03   -1.5160    
   9  norm          .10000E-03    .44629        .95553E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.610        12.159        .10858E-03   -1.4970    
  11  norm          26.219        9.2833        .78236E-04   -1.4683    
  12  Prefactor     .10000E-03    30.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.0627        .21602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8268        6.3767        .18310E-03   -1.5269    
  15  norm          23.972        28.247        .81814E-04   -1.4728    
  16  Prefactor     21.269        28.864        .86850E-04   -1.4785    
  17  norm          4.1641        .83281        .57721E-04   -1.5300    
  18  Prefactor     .10000E-03    1.1651        .15476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0003        .19463        .44086E-03   -.93020    
  20  Prefactor     1.0617        .71963E-01    .15818E-03   -.90702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43281e-08
Minuit parameter uncertainties:
  1  10.7878
  2  8.31128e-09
  3  5.41871
  4  1.21263e-06
  5  21.0028
  6  28.5294
  7  5.38821
  8  6.90711
  9  2.72755e-08
  10  12.1616
  11  9.2838
  12  1.06576e-05
  13  1.34831e-07
  14  6.37762
  15  28.2632
  16  28.8834
  17  0.832808
  18  3.84747e-08
  19  0.194765
  20  0.0719695
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  2.728e-08  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.062e+00  7.197e-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.000e+00  1.948e-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: 2.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/241200/likelihoodResults_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 21598.488666
delta logL = -0.000644924151857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21598.0670659
delta logL = 0.420955168564

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   21598.07     FROM MIGRAD    STATUS=FAILED       102 CALLS      337 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11946E-01    .17002E-01    .16250E-03    .13117    
   2  alpha         5.0000        3.4811        .50000    ** at limit **
   3  Normalizat    .94635        .19877        .45206E-03   -.96581E-03
   4  Prefactor     1.0728        .71126E-01    .15744E-03   -.23367E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   21598.07     FROM SIMPLEX   STATUS=PROGRESS     135 CALLS      472 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11946E-01    .17002E-01    .53071E-08   -1.5686    
   2  alpha         5.0000        3.4811        .17175E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .94635        .19877        .39945E-06   -.94850    
   4  Prefactor     1.0728        .71126E-01    .39041E-07   -.90340    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21598.07     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      506 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11946E-01    .15659E-01    .32500E-04   -.10984E-02
   2  alpha         5.0000        3.3562        .50000    ** at limit **
   3  Normalizat    .94635        .19944        .18082E-04   -.17604E-04
   4  Prefactor     1.0728        .71240E-01    .31487E-04   -.30329E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0119459
  alpha      = 5
  Normalizat = 0.946349
  Prefactor  = 1.07282
 **********
 **   18 **HESSE 
 **********

 FCN=   21598.07     FROM HESSE     STATUS=OK            31 CALLS      537 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11946E-01    .15425E-01    .13000E-05   -1.5686    
   2  alpha         5.0000        3.3350        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .94635        .19990        .36165E-05   -.94850    
   4  Prefactor     1.0728        .71356E-01    .62975E-05   -.90340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11343e-12
Minuit parameter uncertainties:
  1  0.0154254
  2  1.49867e-05
  3  0.200062
  4  0.0713622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/241200': 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) = 21598.0670646
delta logL = 0.420956451009

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.195e-02  1.543e-02  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  5.000e+00  1.499e-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:  1.073e+00  7.136e-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:  9.463e-01  2.001e-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/241200/cmap_HighResolution_497232001_497836801_4FGL_J1719.2+1745_weekly_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-05', job_status='DONE', photon_flux_upper_limit='2.29e-08', time_completed='2021-07-26 11:45:32.171195', job_id='241200', GAL2='1.07', fit_tolerance='1e-08', EG2='0.95', EG='1.00', time_epoch_completed='1627325132.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.21e-01', ts2='0.91', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='427' AND source_name='4FGL J1719.2+1745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 26 11:45:32 PDT 2021

