/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin806
RA = 251.232, Dec = 26.3465
tmin = 448243201, tmax = 448502401
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='883608', job_status='RUN', time_executed='2021-09-15 09:13:06.156190', time_epoch_executed='1631722386.16' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='806'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883608

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883608/ft1_4FGL_J1644.9+2620_daily_bin806.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883608/ft1_4FGL_J1644.9+2620_daily_bin806.fits outfile=/scratch/kocevski/883608/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin806.fits ra=251.232 dec=26.3465 rad=12.0 tmin=448243201.0 tmax=448502401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.40
user 5.12
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883608/ft1_filtered_4FGL_J1644.9+2620_daily_bin806.fits" evtable="EVENTS" scfile=/scratch/kocevski/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits sctable="SC_DATA" outfile=/scratch/kocevski/883608/ltcube_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.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/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits
.....................!
real 13.54
user 13.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883608/ft1_filtered_4FGL_J1644.9+2620_daily_bin806.fits evtable="EVENTS" scfile=/scratch/kocevski/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits sctable="SC_DATA" expcube=/scratch/kocevski/883608/ltcube_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.fits outfile=/scratch/kocevski/883608/expmap_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.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/883608/ltcube_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.fits
.....................!
real 192.21
user 186.30
sys 5.50

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/883608/ft1_filtered_4FGL_J1644.9+2620_daily_bin806.fits scfile=/scratch/kocevski/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits outfile=/scratch/kocevski/883608/cmap_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883608/ft1_filtered_4FGL_J1644.9+2620_daily_bin806.fits scfile=/scratch/kocevski/883608/ft2_4FGL_J1644.9+2620_daily_bin806.fits outfile=/scratch/kocevski/883608/cmap_HighResolution_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=251.232 yref=26.3465 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6105       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9246       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.8645       1.0000         .10000E-03   10000.    
     4 'norm      '    .26074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.437       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5114       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.837       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.767       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2457       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0999       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .89783       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=   12462.56     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     1073 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6109        6.1356       -.64856E-06   -.34226E-03
   2  Prefactor     3.9248        2.8359        .48453E-08   -.23234E-03
   3  Prefactor     9.8653        8.9728        .53462E-06   -.85090E-04
   4  norm          .26096        .23546        .30540E-06   -.11273E-02
   5  Prefactor     23.433        22.355       -.66720E-05    .25130E-04
   6  Prefactor     .10000E-03    3.9497       -.51346E-08** at limit **
   7  Prefactor     5.5121        4.0940       -.40237E-06   -.28583E-03
   8  Prefactor     30.838        25.084        .14446E-05   -.32807E-05
   9  Prefactor     .10000E-03    8.6797        .75207E-08** at limit **
  10  Prefactor     15.767        9.2744       -.44216E-06   -.51172E-04
  11  norm          1.2456        1.2197       -.17352E-07   -.18212E-03
  12  Normalizat    1.0996        .15815        .80502E-06   -.11300E-03
  13  Prefactor     .89797        .81301E-01   -.21659E-06    .78262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61089
  Prefactor  = 3.92481
  Prefactor  = 9.86532
  norm       = 0.260956
  Prefactor  = 23.4331
  Prefactor  = 0.0001
  Prefactor  = 5.5121
  Prefactor  = 30.8381
  Prefactor  = 0.0001
  Prefactor  = 15.7667
  norm       = 1.2456
  Normalizat = 1.09958
  Prefactor  = 0.897972
 **********
 **   18 **HESSE 
 **********

 FCN=   12462.56     FROM HESSE     STATUS=OK           155 CALLS     1228 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6109        6.1806        .21264E-03   -1.5328    
   2  Prefactor     3.9248        2.8399        .15447E-03   -1.5312    
   3  Prefactor     9.8653        8.9656        .12758E-03   -1.5080    
   4  norm          .26096        .21455        .41742E-03   -1.5606    
   5  Prefactor     23.433        21.676        .82741E-04   -1.4739    
   6  Prefactor     .10000E-03    3.9669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5121        4.1040        .17114E-03   -1.5238    
   8  Prefactor     30.838        25.083        .72153E-04   -1.4597    
   9  Prefactor     .10000E-03    8.6889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.767        9.2898        .10087E-03   -1.4914    
  11  norm          1.2456        1.2140        .11876E-03   -1.5485    
  12  Normalizat    1.0996        .18875        .30993E-03   -.89765    
  13  Prefactor     .89797        .97497E-01    .17838E-03   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53775e-10
Minuit parameter uncertainties:
  1  6.18169
  2  2.84004
  3  8.9668
  4  0.214549
  5  21.6829
  6  1.06829e-06
  7  4.10426
  8  25.0914
  9  1.46786e-06
  10  9.2907
  11  1.21404
  12  0.188864
  13  0.0975157
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.068e-06  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.980e-01  9.752e-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.100e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/883608/likelihoodResults_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12462.5581993
delta logL = -0.00120142043124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12462.5569978
delta logL = 2.4196197046e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7794       1.0000          .0000       10.000    
     3 'Normalizat'    1.0996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89797       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=   12462.56     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10057E-03    145.21        .18142E-02** at limit **
   2  Index         2.7197        5.0257        .50000        .12479E-04
   3  Normalizat    1.0996        .24699E-01    .30993E-03   -.60891E-04
   4  Prefactor     .89797        .13064E-01    .17838E-03   -.62715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100568
  Index      = 2.71965
  Normalizat = 1.09958
  Prefactor  = 0.897971
 **********
 **   18 **HESSE 
 **********

 FCN=   12462.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10057E-03    531.90        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7197        6.9925        .50000       -.47357    
   3  Normalizat    1.0996        .56373E-01    .12397E-04   -.89765    
   4  Prefactor     .89797        .29818E-01    .71350E-05   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.3528e-08
Minuit parameter uncertainties:
  1  0.0350693
  2  1562.02
  3  0.0563762
  4  0.0298188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883608': 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) = 12462.5569977
delta logL = 1.55010638991e-07

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.006e-04  3.507e-02  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.720e+00  1.562e+03  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.980e-01  2.982e-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.100e+00  5.638e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/883608/cmap_HighResolution_448243201_448502401_4FGL_J1644.9+2620_daily_bin806.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2021-09-15 09:25:03.317855', job_id='883608', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631723103.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='806' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:25:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 883608: <4FGL_J1644.9+2620_daily_bin806> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin806> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 15 09:10:23 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:11:12 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:11:12 2021
Terminated at Wed Sep 15 09:25:04 2021
Results reported at Wed Sep 15 09:25:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin806 251.232 26.3465 448243201 448502401 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 :                                   715.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            881 sec.

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

