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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1408
RA = 251.232, Dec = 26.3465
tmin = 604281601, tmax = 604540801
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='886880', job_status='RUN', time_executed='2021-09-15 09:25:30.525546', time_epoch_executed='1631723130.53' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886880

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886880/ft1_4FGL_J1644.9+2620_daily_bin1408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886880/ft2_4FGL_J1644.9+2620_daily_bin1408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886880/ft1_4FGL_J1644.9+2620_daily_bin1408.fits outfile=/scratch/kocevski/886880/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1408.fits ra=251.232 dec=26.3465 rad=12.0 tmin=604281601.0 tmax=604540801.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.63
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886880/ft2_4FGL_J1644.9+2620_daily_bin1408.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/886880/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1408.fits evtable="EVENTS" outfile="/scratch/kocevski/886880/ft1_filtered_4FGL_J1644.9+2620_daily_bin1408.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.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886880/ft1_filtered_4FGL_J1644.9+2620_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/886880/ft2_4FGL_J1644.9+2620_daily_bin1408.fits sctable="SC_DATA" expcube=/scratch/kocevski/886880/ltcube_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.fits outfile=/scratch/kocevski/886880/expmap_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.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/886880/ltcube_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.fits
.....................!
real 191.55
user 186.57
sys 4.59

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/886880/ft1_filtered_4FGL_J1644.9+2620_daily_bin1408.fits scfile=/scratch/kocevski/886880/ft2_4FGL_J1644.9+2620_daily_bin1408.fits outfile=/scratch/kocevski/886880/cmap_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.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.52
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886880/ft1_filtered_4FGL_J1644.9+2620_daily_bin1408.fits scfile=/scratch/kocevski/886880/ft2_4FGL_J1644.9+2620_daily_bin1408.fits outfile=/scratch/kocevski/886880/cmap_HighResolution_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.017       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .50147       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.105       1.0000         .10000E-03   10000.    
     4 'norm      '    .40552       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.327       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.489       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.307       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .67323       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2070       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.

 FCN=   9312.848     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     1075 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.017        9.0086       -.42435E-06   -.65643E-05
   2  Prefactor     .49941        2.0225       -.21045E-05   -.44521E-03
   3  Prefactor     27.105        14.629       -.13629E-05   -.13775E-04
   4  norm          .40551        .18497        .93774E-08    .60513E-03
   5  Prefactor     .10000E-03    7.5732       -.28239E-06** at limit **
   6  Prefactor     23.320        17.526       -.98581E-05   -.48462E-05
   7  Prefactor     .10000E-03    4.7285        .10868E-06** at limit **
   8  Prefactor     37.487        26.079       -.20100E-05   -.84002E-05
   9  Prefactor     31.309        53.113        .36620E-05    .42786E-05
  10  Prefactor     .10000E-03    2.7333        .54365E-06** at limit **
  11  norm          .10000E-03    .95101       -.30020E-08** at limit **
  12  Normalizat    .67316        .21476        .69493E-05    .14391E-03
  13  Prefactor     1.2071        .11223       -.27488E-06    .45268E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0172
  Prefactor  = 0.499405
  Prefactor  = 27.1045
  norm       = 0.405509
  Prefactor  = 0.0001
  Prefactor  = 23.3203
  Prefactor  = 0.0001
  Prefactor  = 37.4872
  Prefactor  = 31.3091
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.673158
  Prefactor  = 1.2071
 **********
 **   18 **HESSE 
 **********

 FCN=   9312.848     FROM HESSE     STATUS=OK           149 CALLS     1224 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.017        9.0073        .12660E-03   -1.5075    
   2  Prefactor     .49941        4.1515        .25892E-02   -1.5567    
   3  Prefactor     27.105        14.634        .76948E-04   -1.4666    
   4  norm          .40551        .18283        .26929E-04   -1.5581    
   5  Prefactor     .10000E-03    7.5909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.320        17.474        .82936E-04   -1.4742    
   7  Prefactor     .10000E-03    4.8298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.487        26.098        .65458E-04   -1.4483    
   9  Prefactor     31.309        53.006        .71610E-04   -1.4588    
  10  Prefactor     .10000E-03    2.7345        .15578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .96140        .91899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .67316        .23892        .40198E-03   -1.0496    
  13  Prefactor     1.2071        .12672        .17090E-03   -.86113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22968e-10
Minuit parameter uncertainties:
  1  9.0085
  2  2.87976
  3  14.6355
  4  0.182829
  5  2.36207e-05
  6  17.4782
  7  5.19763e-05
  8  26.1063
  9  53.0856
  10  3.48829e-06
  11  2.34356e-06
  12  0.239287
  13  0.126751
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.332e+01  1.748e+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:  1.207e+00  1.268e-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.732e-01  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 7.29e-08 +/- 5.46e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.23e-05

TS (Fixed Index): 2.31
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886880/likelihoodResults_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.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) = 9312.83068835
delta logL = 0.0171654291353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9312.82618228
delta logL = 0.0216714953276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.630       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9287       1.0000          .0000       10.000    
     3 'Normalizat'    .66702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2098       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=   9312.826     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      250 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.629        19.546        .86122E-04    .55992E-03
   2  Index         2.9287        .73542        .99731E-02    .14684E-03
   3  Normalizat    .66702        .22754        .40369E-03   -.14768E-03
   4  Prefactor     1.2098        .12514        .17073E-03   -.36138E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.6294
  Index      = 2.92871
  Normalizat = 0.667016
  Prefactor  = 1.20979
 **********
 **   18 **HESSE 
 **********

 FCN=   9312.826     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.629        18.752        .17224E-04   -1.4777    
   2  Index         2.9287        .70531        .39892E-03   -.42713    
   3  Normalizat    .66702        .22769        .16148E-04   -1.0521    
   4  Prefactor     1.2098        .12515        .34147E-04   -.86031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69909e-10
Minuit parameter uncertainties:
  1  18.7575
  2  0.708163
  3  0.228015
  4  0.125182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886880': 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) = 9312.82618228
delta logL = 0.0216714974904

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.163e+01  1.876e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.929e+00  7.082e-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:  1.210e+00  1.252e-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.670e-01  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 251.232 26.346
Photon Index (Free Index): 2.93 +/- 0.71
Photon Flux (Free Index): 7.69e-08 +/- 5.84e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.21e-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/886880/cmap_HighResolution_604281601_604540801_4FGL_J1644.9+2620_daily_bin1408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', comment='SUCCESS', photon_flux='7.29e-08', energy_flux2='1.59e-05', photon_flux_error='5.46e-08', dlogl='2.17e-02', energy_flux='1.65e-05', photon_flux2='7.69e-08', job_status='DONE', time_completed='2021-09-15 09:35:43.013259', photon_index_error2='0.71', photon_index2='2.93', ts='2.31', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.21e-05', EG='0.67', time_epoch_completed='1631723743.01', return_code='0', job_id='886880', GAL2='1.21', EG2='0.67', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.84e-08', ts2='2.36', photon_index='2.79' WHERE bin_id='1408' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:35:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 886880: <4FGL_J1644.9+2620_daily_bin1408> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1408> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 15 09:20:24 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:21:45 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:21:45 2021
Terminated at Wed Sep 15 09:35:43 2021
Results reported at Wed Sep 15 09:35:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1408 251.232 26.3465 604281601 604540801 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 :                                   611.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             286.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            919 sec.

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

