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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1056
RA = 251.232, Dec = 26.3465
tmin = 513043201, tmax = 513302401
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='885191', job_status='RUN', time_executed='2021-09-15 09:20:03.191007', time_epoch_executed='1631722803.19' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885191

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885191/ft1_4FGL_J1644.9+2620_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885191/ft1_4FGL_J1644.9+2620_daily_bin1056.fits outfile=/scratch/kocevski/885191/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1056.fits ra=251.232 dec=26.3465 rad=12.0 tmin=513043201.0 tmax=513302401.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 6.49
user 6.17
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885191/ft1_filtered_4FGL_J1644.9+2620_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/885191/ltcube_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.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/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits
.....................!
real 14.48
user 14.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885191/ft1_filtered_4FGL_J1644.9+2620_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/885191/ltcube_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.fits outfile=/scratch/kocevski/885191/expmap_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.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/885191/ltcube_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.fits
.....................!
real 193.58
user 188.01
sys 4.94

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/885191/ft1_filtered_4FGL_J1644.9+2620_daily_bin1056.fits scfile=/scratch/kocevski/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits outfile=/scratch/kocevski/885191/cmap_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885191/ft1_filtered_4FGL_J1644.9+2620_daily_bin1056.fits scfile=/scratch/kocevski/885191/ft2_4FGL_J1644.9+2620_daily_bin1056.fits outfile=/scratch/kocevski/885191/cmap_HighResolution_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8755       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4033       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.609       1.0000         .10000E-03   10000.    
     4 'norm      '    .18550       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17832E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3353       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .88955       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=   7077.146     FROM MIGRAD    STATUS=CONVERGED    236 CALLS     1116 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8830        12.767        .33635E-02    .16009E-02
   2  Prefactor     6.4063        4.1186        .39653E-02    .28619E-03
   3  Prefactor     22.610        16.531        .21060E-02    .27473E-03
   4  norm          .18532        .31379        .99113E-02   -.12005E-02
   5  Prefactor     40.918        33.145        .15667E-02   -.13033E-02
   6  Prefactor     .10000E-03    6.6473        .90712E-02** at limit **
   7  Prefactor     .10000E-03    5.2611        .90712E-02** at limit **
   8  Prefactor     .10000E-03    19.841        .90712E-02** at limit **
   9  Prefactor     .10000E-03    22.464        .90712E-02** at limit **
  10  Prefactor     .10000E-03    16.586        .12188    ** at limit **
  11  norm          .10000E-03    4.8700        .90712E-02** at limit **
  12  Normalizat    1.3348        .23968        .71733E-01    .18253E-03
  13  Prefactor     .88982        .11977        .44872E-01    .40133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88299
  Prefactor  = 6.40631
  Prefactor  = 22.6101
  norm       = 0.185322
  Prefactor  = 40.918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.33482
  Prefactor  = 0.889816
 **********
 **   18 **HESSE 
 **********

 FCN=   7077.146     FROM HESSE     STATUS=OK           145 CALLS     1261 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8830        12.762        .13454E-03   -1.5112    
   2  Prefactor     6.4063        4.1420        .13001E-03   -1.5202    
   3  Prefactor     22.610        16.542        .84240E-04   -1.4757    
   4  norm          .18532        .26963        .46714E-03   -1.5622    
   5  Prefactor     40.918        30.991        .62668E-04   -1.4428    
   6  Prefactor     .10000E-03    6.6549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.3380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    135.73        .65487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.9041        .18124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.3348        .29066        .31741E-03   -.82533    
  13  Prefactor     .88982        .14396        .19858E-03   -.96498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04224e-09
Minuit parameter uncertainties:
  1  12.7661
  2  4.14214
  3  16.5451
  4  0.26963
  5  31.0031
  6  4.63317e-05
  7  4.87881e-05
  8  2.86438e-05
  9  0.000482488
  10  0.000449282
  11  6.07727e-05
  12  0.291014
  13  0.144024
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  4.633e-05  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.898e-01  1.440e-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.335e+00  2.910e-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: 9.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/885191/likelihoodResults_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.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) = 7077.14719646
delta logL = -0.0007157025575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7077.14648079
delta logL = -3.25235305354e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7872       1.0000          .0000       10.000    
     3 'Normalizat'    1.3348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88983       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=   7077.146     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    75.596        .90712E-02** at limit **
   2  Index         2.7875        6.2953        .50000       -.40932E-06
   3  Normalizat    1.3348        .19984E-01    .71733E-01    .16802E-04
   4  Prefactor     .88982        .10506E-01    .44875E-01    .15368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.78748
  Normalizat = 1.33482
  Prefactor  = 0.889815
 **********
 **   18 **HESSE 
 **********

 FCN=   7077.146     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    352.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7875        7.3848        .50000       -.45839    
   3  Normalizat    1.3348        .45516E-01    .31741E-03   -.82533    
   4  Prefactor     .88982        .23951E-01    .19858E-03   -.96498    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.00429e-08
Minuit parameter uncertainties:
  1  1.83528e-05
  2  1535.77
  3  0.0455178
  4  0.0239513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885191': 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) = 7077.14648076
delta logL = 1.11867848318e-10

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.835e-05  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.787e+00  1.536e+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.898e-01  2.395e-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.335e+00  4.552e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/885191/cmap_HighResolution_513043201_513302401_4FGL_J1644.9+2620_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', job_status='DONE', photon_flux_upper_limit='9.67e-08', time_completed='2021-09-15 09:29:19.189083', job_id='885191', GAL2='0.89', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1631723359.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.12e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1056' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:29:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 885191: <4FGL_J1644.9+2620_daily_bin1056> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1056> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 15 09:15:25 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:16:28 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:16:28 2021
Terminated at Wed Sep 15 09:29:19 2021
Results reported at Wed Sep 15 09:29:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1056 251.232 26.3465 513043201 513302401 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 :                                   552.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             220.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            834 sec.

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

