/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7376
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1542
RA = 251.232, Dec = 26.3465
tmin = 639014401, tmax = 639273601
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='887081', job_status='RUN', time_executed='2021-09-15 09:24:18.626749', time_epoch_executed='1631723058.63' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1542'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887081/ft1_4FGL_J1644.9+2620_daily_bin1542.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887081/ft1_4FGL_J1644.9+2620_daily_bin1542.fits outfile=/scratch/kocevski/887081/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1542.fits ra=251.232 dec=26.3465 rad=12.0 tmin=639014401.0 tmax=639273601.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 5.33
user 5.07
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.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/887081/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1542.fits evtable="EVENTS" outfile="/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits" evtable="EVENTS" scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits sctable="SC_DATA" outfile=/scratch/kocevski/887081/ltcube_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.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/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits
.....................!
real 13.37
user 12.79
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits sctable="SC_DATA" expcube=/scratch/kocevski/887081/ltcube_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits outfile=/scratch/kocevski/887081/expmap_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.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/887081/ltcube_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits
.....................!
real 191.27
user 185.72
sys 5.13

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 195 point sources and 0 extended sources

Setting source of interest to:
4FGL J1644.9+2620 @ 251.232 26.3465

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits outfile=/scratch/kocevski/887081/cmap_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.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=251.232 yref=26.3465 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits outfile=/scratch/kocevski/887081/cmap_HighResolution_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.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=251.232 yref=26.3465 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887081/Model_4FGL_J1644.9+2620_daily_bin1542.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/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits.....................!
real 64.05
user 62.60
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits', '/scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits', expMap='/scratch/kocevski/887081/expmap_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits', expCube='/scratch/kocevski/887081/ltcube_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887081/Model_4FGL_J1644.9+2620_daily_bin1542.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1644.9+2620'

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  4.478e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/887081/ft1_filtered_4FGL_J1644.9+2620_daily_bin1542.fits
Spacecraft file(s): /scratch/kocevski/887081/ft2_4FGL_J1644.9+2620_daily_bin1542.fits
Exposure map: /scratch/kocevski/887081/expmap_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits
Exposure cube: /scratch/kocevski/887081/ltcube_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887081/Model_4FGL_J1644.9+2620_daily_bin1542.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) = 8195.40442672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5128       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7502       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6908       1.0000         .10000E-03   10000.    
     4 'norm      '    .10216E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.292       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .63526E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.282       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.841       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2599       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7757       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .63751       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1660       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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=   8195.388     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1260 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5076        11.406        .21570E-03    .74842E-05
   2  Prefactor     5.7504        3.1817        .11504E-03   -.17788E-05
   3  Prefactor     7.6846        11.411        .14460E-03    .68872E-04
   4  norm          .10000E-03    .21339        .18142E-03** at limit **
   5  Prefactor     35.333        18.743        .67458E-04    .56963E-04
   6  Prefactor     .10000E-03    47.064        .50599E-02** at limit **
   7  Prefactor     .10000E-03    3.4553        .16313E-02** at limit **
   8  Prefactor     10.307        20.952        .12496E-03   -.45854E-04
   9  Prefactor     29.832        30.657        .73344E-04    .53012E-04
  10  Prefactor     6.2529        10.755        .16044E-03    .16014E-04
  11  norm          1.7757        1.7670        .11599E-03    .71156E-04
  12  Normalizat    .63763        .22573        .37685E-03    .55931E-04
  13  Prefactor     1.1660        .12677        .16408E-03    .37959E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.50763
  Prefactor  = 5.75039
  Prefactor  = 7.68457
  norm       = 0.0001
  Prefactor  = 35.3331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3066
  Prefactor  = 29.832
  Prefactor  = 6.25292
  norm       = 1.77569
  Normalizat = 0.637626
  Prefactor  = 1.16599
 **********
 **   18 **HESSE 
 **********

 FCN=   8195.388     FROM HESSE     STATUS=OK           131 CALLS     1391 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5076        11.405        .86280E-05   -1.5333    
   2  Prefactor     5.7504        3.1817        .46017E-05   -1.5228    
   3  Prefactor     7.6846        11.411        .57840E-05   -1.5153    
   4  norm          .10000E-03    .21345        .36285E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.333        18.740        .26983E-05   -1.4518    
   6  Prefactor     .10000E-03    47.676        .10120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4566        .32626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.307        20.955        .49983E-05   -1.5066    
   9  Prefactor     29.832        30.657        .14669E-04   -1.4615    
  10  Prefactor     6.2529        10.755        .64176E-05   -1.5208    
  11  norm          1.7757        1.7670        .46398E-05   -1.5441    
  12  Normalizat    .63763        .22580        .15074E-04   -1.0641    
  13  Prefactor     1.1660        .12685        .32816E-04   -.87384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5367e-10
Minuit parameter uncertainties:
  1  11.4117
  2  3.18177
  3  11.4141
  4  8.12253e-07
  5  18.7435
  6  0.000134145
  7  7.10741e-06
  8  20.9698
  9  30.6733
  10  10.7587
  11  1.76703
  12  0.226132
  13  0.126881
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.341e-04  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.166e+00  1.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.376e-01  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887081/likelihoodResults_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.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) = 8195.3884709
delta logL = -0.000100009339803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8195.38836081
delta logL = 1.00830329757e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54994E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1542       1.0000          .0000       10.000    
     3 'Normalizat'    .63796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1660       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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=   8195.388     FROM MIGRAD    STATUS=FAILED       155 CALLS      321 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38748        59.577        .51306E-02    .16005E-02
   2  Index         1.9972        5.9578        .32860E-01   -.12002E-04
   3  Normalizat    .63770        .21279        .37683E-03   -.75628E-03
   4  Prefactor     1.1656        .12352        .16410E-03   -.17355E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8195.388     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      404 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38748        59.577        .14101E-02   -1.5583    
   2  Index         1.9972        5.9578        .44222E-02   -.64420    
   3  Normalizat    .63770        .21279        .18167E-03   -1.0641    
   4  Prefactor     1.1656        .12352        .73343E-04   -.87396    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8195.388     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      434 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38755        63.574        .10261E-02   -.14780E-04
   2  Index         1.9973        5.9419        .13144E-02   -.14012E-05
   3  Normalizat    .63770        .21289        .15073E-04   -.39220E-05
   4  Prefactor     1.1656        .12348        .32820E-04   -.10115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.387553
  Index      = 1.99726
  Normalizat = 0.637703
  Prefactor  = 1.16563
 **********
 **   18 **HESSE 
 **********

 FCN=   8195.388     FROM HESSE     STATUS=OK            25 CALLS      459 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38755        63.057        .41045E-04   -1.5583    
   2  Index         1.9973        5.9440        .52576E-04   -.64419    
   3  Normalizat    .63770        .21293        .30147E-05   -1.0641    
   4  Prefactor     1.1656        .12349        .65641E-05   -.87396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23093e-11
Minuit parameter uncertainties:
  1  9.89631
  2  4.54171
  3  0.213209
  4  0.123518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887081': 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) = 8195.38755837
delta logL = 0.000812523510831

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  3.876e-01  9.896e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  1.997e+00  4.542e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.166e+00  1.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.377e-01  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 251.232 26.346

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/887081/cmap_HighResolution_639014401_639273601_4FGL_J1644.9+2620_daily_bin1542.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-15 09:34:47.390906', job_id='887081', GAL2='1.17', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1631723687.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='8.13e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1542' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:34:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 887081: <4FGL_J1644.9+2620_daily_bin1542> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1542> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 15 09:20:37 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:23:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 09:23:07 2021
Terminated at Wed Sep 15 09:34:48 2021
Results reported at Wed Sep 15 09:34:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1542 251.232 26.3465 639014401 639273601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1644.9+2620 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   619.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            851 sec.

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

