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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1108
RA = 251.232, Dec = 26.3465
tmin = 526521601, tmax = 526780801
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='885276', job_status='RUN', time_executed='2021-09-15 09:17:21.906776', time_epoch_executed='1631722641.91' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1108'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885276

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885276/ft1_4FGL_J1644.9+2620_daily_bin1108.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885276/ft1_4FGL_J1644.9+2620_daily_bin1108.fits outfile=/scratch/kocevski/885276/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1108.fits ra=251.232 dec=26.3465 rad=12.0 tmin=526521601.0 tmax=526780801.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.64
user 3.39
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits" evtable="EVENTS" scfile=/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits sctable="SC_DATA" outfile=/scratch/kocevski/885276/ltcube_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.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/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits
.....................!
real 12.33
user 11.93
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits sctable="SC_DATA" expcube=/scratch/kocevski/885276/ltcube_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits outfile=/scratch/kocevski/885276/expmap_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.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/885276/ltcube_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits
.....................!
real 156.84
user 152.60
sys 3.75

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/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits scfile=/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits outfile=/scratch/kocevski/885276/cmap_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.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.51
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits scfile=/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits outfile=/scratch/kocevski/885276/cmap_HighResolution_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.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.48
user 0.32
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits', '/scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits', expMap='/scratch/kocevski/885276/expmap_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits', expCube='/scratch/kocevski/885276/ltcube_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/885276/Model_4FGL_J1644.9+2620_daily_bin1108.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/885276/ft1_filtered_4FGL_J1644.9+2620_daily_bin1108.fits
Spacecraft file(s): /scratch/kocevski/885276/ft2_4FGL_J1644.9+2620_daily_bin1108.fits
Exposure map: /scratch/kocevski/885276/expmap_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits
Exposure cube: /scratch/kocevski/885276/ltcube_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/885276/Model_4FGL_J1644.9+2620_daily_bin1108.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) = 7499.28200987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35119E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1508       1.0000         .10000E-03   10000.    
     4 'norm      '    .43150       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28903E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.449       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4161       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.211       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15610E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8576       1.0000         .10000E-03   10000.    
    11 'norm      '    .10354E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.4077       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .84199       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=   7499.275     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     1384 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20914E-01    12.550        .72897E-01    .94137E-04
   2  Prefactor     .10000E-03    2.2256        .12482E-02** at limit **
   3  Prefactor     4.2642        10.910        .19784E-03   -.49362E-04
   4  norm          .43181        .28253        .30834E-04    .11935E-02
   5  Prefactor     .10001E-03    32.522        .99727E-01** at limit **
   6  Prefactor     36.397        21.277        .66382E-04   -.88028E-04
   7  Prefactor     2.4095        6.7113        .13167E-02   -.20592E-04
   8  Prefactor     14.153        25.680        .10625E-03   -.72119E-04
   9  Prefactor     .10000E-03    13.445        .18142E-02** at limit **
  10  Prefactor     1.8874        50.055        .30579E-03    .11748E-04
  11  norm          .10000E-03    8.5741        .29944E-02** at limit **
  12  Normalizat    1.4078        .25861        .29990E-03   -.50362E-03
  13  Prefactor     .84193        .13311        .19544E-03   -.68107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0209144
  Prefactor  = 0.0001
  Prefactor  = 4.26416
  norm       = 0.431814
  Prefactor  = 0.000100006
  Prefactor  = 36.3974
  Prefactor  = 2.40953
  Prefactor  = 14.1527
  Prefactor  = 0.0001
  Prefactor  = 1.88744
  norm       = 0.0001
  Normalizat = 1.40775
  Prefactor  = 0.841927
 **********
 **   18 **HESSE 
 **********

 FCN=   7499.275     FROM HESSE     STATUS=OK           153 CALLS     1537 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20914E-01    11.088        .78807E-01   -1.5679    
   2  Prefactor     .10000E-03    2.2264        .24965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2642        10.909        .79135E-05   -1.5295    
   4  norm          .43181        .28177        .12334E-05   -1.5577    
   5  Prefactor     .10001E-03    30.279        .10396       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     36.397        21.271        .26553E-05   -1.4501    
   7  Prefactor     2.4095        6.7008        .52668E-04   -1.5398    
   8  Prefactor     14.153        25.669        .42499E-05   -1.4955    
   9  Prefactor     .10000E-03    13.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8874        49.984        .12232E-04   -1.5433    
  11  norm          .10000E-03    8.6341        .59889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4078        .25881        .59980E-04   -.80405    
  13  Prefactor     .84193        .13319        .39089E-04   -.98201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24884e-10
Minuit parameter uncertainties:
  1  0.961012
  2  1.37202e-06
  3  10.9142
  4  0.281771
  5  0.000823972
  6  21.2753
  7  6.70284
  8  25.6887
  9  3.44498e-05
  10  19.4434
  11  4.22541e-05
  12  0.259052
  13  0.133237
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  3.640e+01  2.128e+01  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:  8.419e-01  1.332e-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:  1.408e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.68
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 6.64e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 1.50e-05

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) = 7499.2226742
delta logL = 0.0522009658489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7499.21330598
delta logL = 0.0615691940993

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.437       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0245       1.0000          .0000       10.000    
     3 'Normalizat'    1.3886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84896       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.

 FCN=   7499.213     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      245 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.456        355.79        .17324E-02   -.90821E-05
   2  Index         3.0259        6.5093        .22052        .56594E-04
   3  Normalizat    1.3881        .10208        .68177E-01    .15306E-04
   4  Prefactor     .84915        .50479E-01    .44351E-01    .17253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.4564
  Index      = 3.02588
  Normalizat = 1.3881
  Prefactor  = 0.849155
 **********
 **   18 **HESSE 
 **********

 FCN=   7499.213     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.456        22.792        .69298E-04   -1.4550    
   2  Index         3.0259        .72964        .83610E-02   -.40588    
   3  Normalizat    1.3881        .25620        .30162E-03   -.80974    
   4  Prefactor     .84915        .13027        .19470E-03   -.97941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66123e-09
Minuit parameter uncertainties:
  1  22.7976
  2  0.732741
  3  0.256436
  4  0.130316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885276': 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) = 7499.21330094
delta logL = 0.0615742306463

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  3.346e+01  2.280e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  3.026e+00  7.327e-01  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:  8.492e-01  1.303e-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:  1.388e+00  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.84
Ra Dec: 251.232 26.346
Photon Index (Free Index): 3.03 +/- 0.73
Photon Flux (Free Index): 1.30e-07 +/- 8.30e-08
Energy Flux (Free Index): 2.57e-05 +/- 1.44e-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/885276/cmap_HighResolution_526521601_526780801_4FGL_J1644.9+2620_daily_bin1108.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='2.57e-05', photon_flux_error='6.64e-08', dlogl='6.16e-02', energy_flux='2.57e-05', photon_flux2='1.30e-07', job_status='DONE', time_completed='2021-09-15 09:24:54.692632', photon_index_error2='0.73', photon_index2='3.03', ts='4.68', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.41', time_epoch_completed='1631723094.69', return_code='0', job_id='885276', GAL2='0.85', EG2='1.39', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='8.30e-08', ts2='4.84', photon_index='2.79' WHERE bin_id='1108' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:24:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 885276: <4FGL_J1644.9+2620_daily_bin1108> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1108> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 15 09:15:30 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:17:05 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:17:05 2021
Terminated at Wed Sep 15 09:24:55 2021
Results reported at Wed Sep 15 09:24:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1108 251.232 26.3465 526521601 526780801 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 :                                   450.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   469 sec.
    Turnaround time :                            565 sec.

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

