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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin13
RA = 251.232, Dec = 26.3465
tmin = 242697601, tmax = 242956801
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='878786', job_status='RUN', time_executed='2021-09-15 08:56:21.764229', time_epoch_executed='1631721381.76' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='13'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878786

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878786/ft1_4FGL_J1644.9+2620_daily_bin13.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878786/ft1_4FGL_J1644.9+2620_daily_bin13.fits outfile=/scratch/kocevski/878786/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin13.fits ra=251.232 dec=26.3465 rad=12.0 tmin=242697601.0 tmax=242956801.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.55
user 1.32
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878786/ft1_filtered_4FGL_J1644.9+2620_daily_bin13.fits" evtable="EVENTS" scfile=/scratch/kocevski/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits sctable="SC_DATA" outfile=/scratch/kocevski/878786/ltcube_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.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/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits
.....................!
real 16.61
user 16.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878786/ft1_filtered_4FGL_J1644.9+2620_daily_bin13.fits evtable="EVENTS" scfile=/scratch/kocevski/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits sctable="SC_DATA" expcube=/scratch/kocevski/878786/ltcube_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.fits outfile=/scratch/kocevski/878786/expmap_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.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/878786/ltcube_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.fits
.....................!
real 191.31
user 185.88
sys 4.99

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/878786/ft1_filtered_4FGL_J1644.9+2620_daily_bin13.fits scfile=/scratch/kocevski/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits outfile=/scratch/kocevski/878786/cmap_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.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.58
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878786/ft1_filtered_4FGL_J1644.9+2620_daily_bin13.fits scfile=/scratch/kocevski/878786/ft2_4FGL_J1644.9+2620_daily_bin13.fits outfile=/scratch/kocevski/878786/cmap_HighResolution_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6348       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .74348       1.0000         .10000E-03   10000.    
     4 'norm      '    .11800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2375       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2639       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .34131E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7273       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.485       1.0000         .10000E-03   10000.    
    11 'norm      '    6.2678       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .87036       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .95704       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=   8561.187     FROM MIGRAD    STATUS=CONVERGED    246 CALLS     1111 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6600        8.2206       -.62756E-06   -.16721E-03
   2  Prefactor     .10000E-03    1.3160        .88055E-07** at limit **
   3  Prefactor     .67317        7.6244       -.10899E-05    .23575E-03
   4  norm          .11799        .15167        .81964E-07    .22679E-02
   5  Prefactor     8.2346        13.821       -.56838E-06   -.20016E-04
   6  Prefactor     5.1988        11.944        .24906E-05    .49655E-03
   7  Prefactor     .10001E-03    5.7571       -.37337E-05** at limit **
   8  Prefactor     7.6928        28.867        .47712E-06    .17990E-03
   9  Prefactor     .10000E-03    17.744       -.22199E-06** at limit **
  10  Prefactor     16.433        14.690       -.34405E-06    .61751E-04
  11  norm          6.2925        3.8649        .37333E-08    .14030E-03
  12  Normalizat    .87069        .18119        .51824E-07    .81730E-03
  13  Prefactor     .95698        .96448E-01    .64477E-06    .14207E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65996
  Prefactor  = 0.0001
  Prefactor  = 0.673168
  norm       = 0.117989
  Prefactor  = 8.2346
  Prefactor  = 5.1988
  Prefactor  = 0.000100008
  Prefactor  = 7.69282
  Prefactor  = 0.0001
  Prefactor  = 16.4325
  norm       = 6.29252
  Normalizat = 0.870692
  Prefactor  = 0.95698
 **********
 **   18 **HESSE 
 **********

 FCN=   8561.187     FROM HESSE     STATUS=OK           153 CALLS     1264 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6600        8.2570        .13641E-03   -1.5119    
   2  Prefactor     .10000E-03    1.3473        .20714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .67317        35.656        .46361E-02   -1.5544    
   4  norm          .11799        .13293        .36633E-03   -1.5639    
   5  Prefactor     8.2346        13.630        .13968E-03   -1.5134    
   6  Prefactor     5.1988        12.320        .17519E-03   -1.5252    
   7  Prefactor     .10001E-03    7.0046        .32645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6928        29.291        .14426E-03   -1.5153    
   9  Prefactor     .10000E-03    17.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.433        14.721        .98644E-04   -1.4897    
  11  norm          6.2925        3.8666        .13664E-03   -1.5206    
  12  Normalizat    .87069        .21799        .31630E-03   -.97498    
  13  Prefactor     .95698        .11761        .16769E-03   -.94178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44562e-09
Minuit parameter uncertainties:
  1  8.25805
  2  3.24559e-07
  3  9.80395
  4  0.132927
  5  13.6356
  6  12.3265
  7  0.000460577
  8  29.3459
  9  5.29574e-05
  10  14.7243
  11  3.86676
  12  0.218206
  13  0.117645
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  5.199e+00  1.233e+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:  9.570e-01  1.176e-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:  8.707e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/878786/likelihoodResults_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.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) = 8559.23068242
delta logL = 1.95584249973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8559.15140632
delta logL = 2.03511859292

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99169E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.5661       1.0000          .0000       10.000    
     3 'Normalizat'    .77724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99152       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=   8559.151     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      290 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97554E-01    .83927        .37318E-02    .33466E-02
   2  Index         7.5788        3.4251        .20937        .12278E-03
   3  Normalizat    .77689        .48528E-01    .75163E-01    .53117E-04
   4  Prefactor     .99182        .26987E-01    .46161E-01    .43665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0975541
  Index      = 7.57877
  Normalizat = 0.776888
  Prefactor  = 0.991818
 **********
 **   18 **HESSE 
 **********

 FCN=   8559.151     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      323 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97554E-01    1.7755        .17015E-03   -1.5646    
   2  Index         7.5788        8.3297        .86039E-02    .54189    
   3  Normalizat    .77689        .16459        .33269E-03   -1.0093    
   4  Prefactor     .99182        .90216E-01    .16490E-03   -.93003    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.86773e-11
Minuit parameter uncertainties:
  1  0.831976
  2  6.41091
  3  0.164691
  4  0.0902297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878786': 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): 102
logL (Free Index) = 8559.15139517
delta logL = 2.03512974124

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  9.755e-02  8.320e-01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  7.579e+00  6.411e+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:  9.918e-01  9.023e-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:  7.769e-01  1.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.52
Ra Dec: 251.232 26.346
Photon Index (Free Index): 7.58 +/- 6.41
Photon Flux (Free Index): 8.47e-08 +/- 5.16e-08
Energy Flux (Free Index): 9.94e-06 +/- 6.92e-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/878786/cmap_HighResolution_242697601_242956801_4FGL_J1644.9+2620_daily_bin13.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.04e-03', comment='SUCCESS', energy_flux2='9.94e-06', dlogl='2.04e+00', photon_flux2='8.47e-08', job_status='DONE', time_completed='2021-09-15 09:06:11.751818', photon_index_error2='6.41', photon_index2='7.58', ts='0.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='6.92e-06', EG='0.87', time_epoch_completed='1631721971.75', return_code='0', job_id='878786', GAL2='0.99', EG2='0.78', return_code2='102', photon_flux_error2='5.16e-08', ts2='4.52', photon_index='2.79' WHERE bin_id='13' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:06:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 878786: <4FGL_J1644.9+2620_daily_bin13> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin13> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:21 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:56:11 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:11 2021
Terminated at Wed Sep 15 09:06:12 2021
Results reported at Wed Sep 15 09:06:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin13 251.232 26.3465 242697601 242956801 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 :                                   588.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             339.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            651 sec.

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

