/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 4 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 = 7397
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1644.9+2620_daily_bin28
RA = 251.232, Dec = 26.3465
tmin = 246585601, tmax = 246844801
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='878808', job_status='RUN', time_executed='2021-09-15 08:56:38.817556', time_epoch_executed='1631721398.82' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='28'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878808

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878808/ft1_4FGL_J1644.9+2620_daily_bin28.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878808/ft1_4FGL_J1644.9+2620_daily_bin28.fits outfile=/scratch/kocevski/878808/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin28.fits ra=251.232 dec=26.3465 rad=12.0 tmin=246585601.0 tmax=246844801.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 1.43
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits" evtable="EVENTS" scfile=/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits sctable="SC_DATA" outfile=/scratch/kocevski/878808/ltcube_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.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/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits
.....................!
real 14.68
user 14.28
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits sctable="SC_DATA" expcube=/scratch/kocevski/878808/ltcube_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.fits outfile=/scratch/kocevski/878808/expmap_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.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/878808/ltcube_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.fits
.....................!
real 190.94
user 185.36
sys 5.16

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/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits scfile=/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits outfile=/scratch/kocevski/878808/cmap_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits scfile=/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits outfile=/scratch/kocevski/878808/cmap_HighResolution_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.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/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/878808/ft2_4FGL_J1644.9+2620_daily_bin28.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/878808/Model_4FGL_J1644.9+2620_daily_bin28.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/878808/ft1_filtered_4FGL_J1644.9+2620_daily_bin28.fits.....................!
real 83.42
user 82.03
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49422E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9609       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4478       1.0000         .10000E-03   10000.    
     4 'norm      '    .12829       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7660       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.862       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0325       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.804       1.0000         .10000E-03   10000.    
    11 'norm      '    11.316       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2106       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .81545       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=   11343.76     FROM MIGRAD    STATUS=CONVERGED    240 CALLS      983 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74158E-01    4.2461       -.69961E-08   -.26825E-03
   2  Prefactor     2.9609        2.7727        .22991E-06   -.11132E-03
   3  Prefactor     4.4452        7.6279        .42868E-05   -.10204E-02
   4  norm          .12821        .13883        .94212E-07    .46095E-02
   5  Prefactor     3.7711        14.839       -.94528E-05   -.45678E-03
   6  Prefactor     26.863        13.241        .72143E-06    .31264E-03
   7  Prefactor     2.0328        4.1686        .45624E-06   -.36149E-03
   8  Prefactor     .10000E-03    8.6538       -.13664E-07** at limit **
   9  Prefactor     .10000E-03    14.089        .17341E-07** at limit **
  10  Prefactor     33.805        12.401        .29072E-06    .12489E-03
  11  norm          11.316        3.4035        .11690E-06    .26887E-03
  12  Normalizat    1.2107        .16465        .11587E-05   -.16311E-03
  13  Prefactor     .81541        .85405E-01   -.10734E-05    .21558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0741581
  Prefactor  = 2.96092
  Prefactor  = 4.44523
  norm       = 0.128209
  Prefactor  = 3.77113
  Prefactor  = 26.8635
  Prefactor  = 2.03277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8053
  norm       = 11.3165
  Normalizat = 1.21065
  Prefactor  = 0.815406
 **********
 **   18 **HESSE 
 **********

 FCN=   11343.76     FROM HESSE     STATUS=OK           163 CALLS     1146 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74158E-01    6.4568        .68344E-01   -1.5654    
   2  Prefactor     2.9609        2.7801        .16439E-03   -1.5364    
   3  Prefactor     4.4452        8.5869        .95468E-03   -1.5286    
   4  norm          .12821        .12937        .36323E-03   -1.5636    
   5  Prefactor     3.7711        17.749        .20804E-03   -1.5320    
   6  Prefactor     26.863        13.311        .77295E-04   -1.4671    
   7  Prefactor     2.0328        4.1900        .29015E-03   -1.5423    
   8  Prefactor     .10000E-03    8.6930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.805        12.406        .68922E-04   -1.4544    
  11  norm          11.316        3.4037        .10430E-03   -1.5035    
  12  Normalizat    1.2107        .19688        .29080E-03   -.86274    
  13  Prefactor     .81541        .10136        .18634E-03   -.99163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34809e-09
Minuit parameter uncertainties:
  1  1.38316
  2  2.78025
  3  8.58928
  4  0.129366
  5  16.3702
  6  13.3126
  7  4.19065
  8  3.81573e-06
  9  5.29866e-06
  10  12.4069
  11  3.4038
  12  0.196997
  13  0.101381
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.686e+01  1.331e+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.154e-01  1.014e-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.211e+00  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.12
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 8.39e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 9.39e-06

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) = 11343.7548053
delta logL = 0.00539641547039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11343.7534877
delta logL = 0.00671404820787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.526       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7293       1.0000          .0000       10.000    
     3 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81422       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=   11343.75     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      238 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.525        14.781        .76358E-04    .16819E-02
   2  Index         2.7293        .49911        .86401E-02    .47952E-03
   3  Normalizat    1.2137        .18619        .29049E-03   -.26628E-03
   4  Prefactor     .81422        .99067E-01    .18646E-03   -.46881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5248
  Index      = 2.72934
  Normalizat = 1.21365
  Prefactor  = 0.81422
 **********
 **   18 **HESSE 
 **********

 FCN=   11343.75     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.525        14.553        .15272E-04   -1.4658    
   2  Index         2.7293        .49121        .34561E-03   -.47140    
   3  Normalizat    1.2137        .18636        .11620E-04   -.86182    
   4  Prefactor     .81422        .99134E-01    .37291E-04   -.99206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39991e-09
Minuit parameter uncertainties:
  1  14.5551
  2  0.492209
  3  0.18646
  4  0.0991553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878808': 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) = 11343.7534877
delta logL = 0.00671407115806

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.752e+01  1.456e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.729e+00  4.922e-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.142e-01  9.916e-02  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.214e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 251.232 26.346
Photon Index (Free Index): 2.73 +/- 0.49
Photon Flux (Free Index): 8.18e-08 +/- 4.47e-08
Energy Flux (Free Index): 1.92e-05 +/- 9.84e-06

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/878808/cmap_HighResolution_246585601_246844801_4FGL_J1644.9+2620_daily_bin28.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.39e-08', energy_flux2='1.92e-05', photon_flux_error='4.15e-08', dlogl='6.71e-03', energy_flux='1.90e-05', photon_flux2='8.18e-08', job_status='DONE', time_completed='2021-09-15 09:06:34.384250', photon_index_error2='0.49', photon_index2='2.73', ts='6.12', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='9.84e-06', EG='1.21', time_epoch_completed='1631721994.38', return_code='0', job_id='878808', GAL2='0.81', EG2='1.21', return_code2='0', energy_flux_error='9.39e-06', photon_flux_error2='4.47e-08', ts2='6.10', photon_index='2.79' WHERE bin_id='28' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:06:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 878808: <4FGL_J1644.9+2620_daily_bin28> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin28> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:23 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:56:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 08:56:24 2021
Terminated at Wed Sep 15 09:06:35 2021
Results reported at Wed Sep 15 09:06:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin28 251.232 26.3465 246585601 246844801 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 :                                   594.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            672 sec.

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

