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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1608
RA = 251.232, Dec = 26.3465
tmin = 656121601, tmax = 656380801
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='394942', job_status='RUN', time_executed='2021-12-08 02:56:20.727415', time_epoch_executed='1638960980.73' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/394942

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/394942/ft1_4FGL_J1644.9+2620_daily_bin1608.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/394942/ft2_4FGL_J1644.9+2620_daily_bin1608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/394942/ft1_4FGL_J1644.9+2620_daily_bin1608.fits outfile=/scratch/kocevski/394942/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1608.fits ra=251.232 dec=26.3465 rad=12.0 tmin=656121601.0 tmax=656380801.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 3.52
user 3.29
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/394942/ft1_filtered_4FGL_J1644.9+2620_daily_bin1608.fits evtable="EVENTS" scfile=/scratch/kocevski/394942/ft2_4FGL_J1644.9+2620_daily_bin1608.fits sctable="SC_DATA" expcube=/scratch/kocevski/394942/ltcube_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.fits outfile=/scratch/kocevski/394942/expmap_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.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/394942/ltcube_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.fits
.....................!
real 192.69
user 187.17
sys 4.73

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/394942/ft1_filtered_4FGL_J1644.9+2620_daily_bin1608.fits scfile=/scratch/kocevski/394942/ft2_4FGL_J1644.9+2620_daily_bin1608.fits outfile=/scratch/kocevski/394942/cmap_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/394942/ft1_filtered_4FGL_J1644.9+2620_daily_bin1608.fits scfile=/scratch/kocevski/394942/ft2_4FGL_J1644.9+2620_daily_bin1608.fits outfile=/scratch/kocevski/394942/cmap_HighResolution_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.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/394942/ft1_filtered_4FGL_J1644.9+2620_daily_bin1608.fits evtable="EVENTS" scfile=/scratch/kocevski/394942/ft2_4FGL_J1644.9+2620_daily_bin1608.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/394942/Model_4FGL_J1644.9+2620_daily_bin1608.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/394942/ft1_filtered_4FGL_J1644.9+2620_daily_bin1608.fits....................!
real 62.51
user 60.91
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8856       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .37512       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3732       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6844       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.790       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1216       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .95355       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7871.671     FROM MIGRAD    STATUS=CONVERGED    237 CALLS      963 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8846        7.3543         .0000        .11825E-01
   2  Prefactor     .10000E-03    1.8602         .0000    ** at limit **
   3  Prefactor     .10000E-03    4.2699         .0000    ** at limit **
   4  norm          .37506        .17181         .0000        .34688E-03
   5  Prefactor     .10000E-03    7.7800         .0000    ** at limit **
   6  Prefactor     4.3740        14.420         .0000        .21826E-02
   7  Prefactor     5.6836        5.2228         .0000        .81233E-02
   8  Prefactor     .10000E-03    6.7722         .0000    ** at limit **
   9  Prefactor     12.790        19.690         .0000        .11346E-03
  10  Prefactor     .10000E-03    21.216         .0000    ** at limit **
  11  norm          .10000E-03    .96501         .0000    ** at limit **
  12  Normalizat    1.1216        .18639         .0000        .12115E-03
  13  Prefactor     .95353        .10234         .0000        .18761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88461
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.37506
  Prefactor  = 0.0001
  Prefactor  = 4.37403
  Prefactor  = 5.68358
  Prefactor  = 0.0001
  Prefactor  = 12.7897
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.12163
  Prefactor  = 0.95353
 **********
 **   18 **HESSE 
 **********

 FCN=   7871.671     FROM HESSE     STATUS=OK           143 CALLS     1106 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8846        7.3481        .15155E-02   -1.5433    
   2  Prefactor     .10000E-03    4.1083        .23342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.2815        .17903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .37506        .17102        .24043E-04   -1.5585    
   5  Prefactor     .10000E-03    7.8029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3740        14.428        .96300E-03   -1.5290    
   7  Prefactor     5.6836        5.2138        .84239E-03   -1.5231    
   8  Prefactor     .10000E-03    6.7755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.790        19.686        .11201E-03   -1.4993    
  10  Prefactor     .10000E-03    21.941        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .96811        .85111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.1216        .21972        .29599E-03   -.89060    
  13  Prefactor     .95353        .12160        .17913E-03   -.94295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07231e-10
Minuit parameter uncertainties:
  1  7.35161
  2  6.75594e-08
  3  2.92758e-06
  4  0.171025
  5  1.31473e-05
  6  14.44
  7  5.21419
  8  2.02476e-05
  9  19.6959
  10  4.20415e-06
  11  9.11204e-07
  12  0.219903
  13  0.121632
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  4.374e+00  1.444e+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.535e-01  1.216e-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.122e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/394942/likelihoodResults_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.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) = 7871.26213192
delta logL = 0.409254934937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7871.19983078
delta logL = 0.471556081442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22227E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    9.8646       1.0000          .0000       10.000    
     3 'Normalizat'    1.0849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96855       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=   7871.200     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      456 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 93.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20497E-02    .25350E-02    .21530E-09** at limit **
   2  Index         9.9232        .40931        .32972E-04    .12409E-05
   3  Normalizat    1.0848        .18507        .19798E-06   -.85919E-04
   4  Prefactor     .96877        .10264       -.99422E-07    .21395E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00204971
  Index      = 9.92323
  Normalizat = 1.08478
  Prefactor  = 0.968769
 **********
 **   18 **HESSE 
 **********

 FCN=   7871.200     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      487 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20497E-02    .14384        .47866E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.9232        6.5455        .78489E-02    1.3953    
   3  Normalizat    1.0848        .17684        .30025E-03   -.90242    
   4  Prefactor     .96877        .97823E-01    .17785E-03   -.93778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.06796e-09
Minuit parameter uncertainties:
  1  0.0334934
  2  11.8587
  3  0.176941
  4  0.0978411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/394942': 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) = 7871.19981316
delta logL = 0.471573699966

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.050e-03  3.349e-02  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  9.923e+00  1.186e+01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  9.688e-01  9.784e-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.085e+00  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 251.232 26.346
Photon Index (Free Index): 9.92 +/- 11.86
Photon Flux (Free Index): 3.92e-08 +/- 4.57e-08
Energy Flux (Free Index): 4.39e-06 +/- 5.50e-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/394942/cmap_HighResolution_656121601_656380801_4FGL_J1644.9+2620_daily_bin1608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', energy_flux2='4.39e-06', dlogl='4.72e-01', photon_flux2='3.92e-08', job_status='DONE', time_completed='2021-12-08 03:05:59.472332', photon_index_error2='11.86', photon_index2='9.92', ts='0.11', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='5.50e-06', EG='1.12', time_epoch_completed='1638961559.47', return_code='0', job_id='394942', GAL2='0.97', EG2='1.08', return_code2='102', photon_flux_error2='4.57e-08', ts2='1.10', photon_index='2.79' WHERE bin_id='1608' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 03:05:59 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 394942: <4FGL_J1644.9+2620_daily_bin1608> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1608> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec  8 02:50:27 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 02:52:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 02:52:22 2021
Terminated at Wed Dec  8 03:06:00 2021
Results reported at Wed Dec  8 03:06:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1608 251.232 26.3465 656121601 656380801 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 :                                   577.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            933 sec.

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

