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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin527
RA = 251.232, Dec = 26.3465
tmin = 375926401, tmax = 376185601
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='882037', job_status='RUN', time_executed='2021-09-15 09:10:44.202861', time_epoch_executed='1631722244.2' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882037/ft1_4FGL_J1644.9+2620_daily_bin527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882037/ft2_4FGL_J1644.9+2620_daily_bin527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882037/ft1_4FGL_J1644.9+2620_daily_bin527.fits outfile=/scratch/kocevski/882037/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin527.fits ra=251.232 dec=26.3465 rad=12.0 tmin=375926401.0 tmax=376185601.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 2.88
user 2.69
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882037/ft2_4FGL_J1644.9+2620_daily_bin527.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/882037/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin527.fits evtable="EVENTS" outfile="/scratch/kocevski/882037/ft1_filtered_4FGL_J1644.9+2620_daily_bin527.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.46
user 0.27
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882037/ft1_filtered_4FGL_J1644.9+2620_daily_bin527.fits" evtable="EVENTS" scfile=/scratch/kocevski/882037/ft2_4FGL_J1644.9+2620_daily_bin527.fits sctable="SC_DATA" outfile=/scratch/kocevski/882037/ltcube_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.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/882037/ft2_4FGL_J1644.9+2620_daily_bin527.fits
.....................!
real 11.16
user 10.81
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882037/ft1_filtered_4FGL_J1644.9+2620_daily_bin527.fits evtable="EVENTS" scfile=/scratch/kocevski/882037/ft2_4FGL_J1644.9+2620_daily_bin527.fits sctable="SC_DATA" expcube=/scratch/kocevski/882037/ltcube_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.fits outfile=/scratch/kocevski/882037/expmap_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.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/882037/ltcube_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.fits
.....................!
real 156.82
user 152.88
sys 3.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/882037/ft1_filtered_4FGL_J1644.9+2620_daily_bin527.fits scfile=/scratch/kocevski/882037/ft2_4FGL_J1644.9+2620_daily_bin527.fits outfile=/scratch/kocevski/882037/cmap_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.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.48
user 0.31
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2855       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9663       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.863       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7027       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.271       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0996       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.205       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5442       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2221       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .99173       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=   8883.063     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     1070 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2855        6.6351        .52080E-07   -.27086E-07
   2  Prefactor     5.9657        4.8371        .64872E-07   -.11799E-03
   3  Prefactor     30.864        16.118        .34857E-07   -.63403E-05
   4  norm          2.7030        .46566        .81460E-07    .69782E-02
   5  Prefactor     32.258        30.756       -.37780E-06   -.26497E-03
   6  Prefactor     .10000E-03    6.7544        .96820E-07** at limit **
   7  Prefactor     3.1002        5.0953        .33723E-05   -.28064E-03
   8  Prefactor     19.206        23.272       -.65022E-06    .50702E-05
   9  Prefactor     .10000E-03    20.247        .86713E-07** at limit **
  10  Prefactor     8.5443        15.673        .35396E-06   -.26558E-05
  11  norm          .10000E-03    1.1426        .32570E-07** at limit **
  12  Normalizat    1.2222        .21829        .77745E-06   -.39373E-05
  13  Prefactor     .99169        .11338       -.11030E-05   -.26559E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.28553
  Prefactor  = 5.96573
  Prefactor  = 30.8637
  norm       = 2.70296
  Prefactor  = 32.2577
  Prefactor  = 0.0001
  Prefactor  = 3.1002
  Prefactor  = 19.2059
  Prefactor  = 0.0001
  Prefactor  = 8.54425
  norm       = 0.0001
  Normalizat = 1.22225
  Prefactor  = 0.991686
 **********
 **   18 **HESSE 
 **********

 FCN=   8883.063     FROM HESSE     STATUS=OK           145 CALLS     1215 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2855        6.6323        .16011E-03   -1.5206    
   2  Prefactor     5.9657        4.8575        .16439E-03   -1.5219    
   3  Prefactor     30.864        16.134        .72122E-04   -1.4596    
   4  norm          2.7030        .48378        .23437E-04   -1.5379    
   5  Prefactor     32.258        31.683        .70536E-04   -1.4571    
   6  Prefactor     .10000E-03    6.7767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1002        5.1332        .11517E-02   -1.5356    
   8  Prefactor     19.206        23.300        .91394E-04   -1.4831    
   9  Prefactor     .10000E-03    20.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5443        15.741        .13714E-03   -1.5123    
  11  norm          .10000E-03    1.1472        .98379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.2222        .26289        .34774E-03   -.85918    
  13  Prefactor     .99169        .13627        .20027E-03   -.93007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11991e-09
Minuit parameter uncertainties:
  1  6.63303
  2  4.85779
  3  16.136
  4  0.483782
  5  31.6992
  6  1.73686e-06
  7  5.13394
  8  23.3109
  9  7.53437e-06
  10  15.7485
  11  3.69132e-07
  12  0.263176
  13  0.136313
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.737e-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:  9.917e-01  1.363e-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.222e+00  2.632e-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: 8.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882037/likelihoodResults_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.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) = 8883.06406493
delta logL = -0.000703299960151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8883.06336163
delta logL = 7.17773218639e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7808       1.0000          .0000       10.000    
     3 'Normalizat'    1.2222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99169       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=   8883.063     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10043E-03    300.00        .18142E-02** at limit **
   2  Index         2.7243        6.4665        .50000        .60053E-05
   3  Normalizat    1.2222        .38359E-01    .34774E-03   -.40605E-04
   4  Prefactor     .99169        .20269E-01    .20027E-03   -.49841E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100435
  Index      = 2.72427
  Normalizat = 1.22224
  Prefactor  = 0.991687
 **********
 **   18 **HESSE 
 **********

 FCN=   8883.063     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10043E-03    1043.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7243        8.5151        .50000       -.47254    
   3  Normalizat    1.2222        .90771E-01    .13910E-04   -.85918    
   4  Prefactor     .99169        .47969E-01    .80108E-05   -.93007    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.38132e-08
Minuit parameter uncertainties:
  1  0.0433666
  2  2425.98
  3  0.0907832
  4  0.0479707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882037': 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) = 8883.06336156
delta logL = 6.83539838064e-08

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.004e-04  4.337e-02  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.724e+00  2.426e+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:  9.917e-01  4.797e-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.222e+00  9.078e-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/882037/cmap_HighResolution_375926401_376185601_4FGL_J1644.9+2620_daily_bin527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', job_status='DONE', photon_flux_upper_limit='8.21e-08', time_completed='2021-09-15 09:18:47.866041', job_id='882037', GAL2='0.99', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631722727.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.84e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='527' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:18:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 882037: <4FGL_J1644.9+2620_daily_bin527> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin527> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 15 09:05:28 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:06:46 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:06:46 2021
Terminated at Wed Sep 15 09:18:48 2021
Results reported at Wed Sep 15 09:18:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin527 251.232 26.3465 375926401 376185601 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 :                                   483.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             229.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            800 sec.

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

