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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin48
RA = 251.232, Dec = 26.3465
tmin = 251769601, tmax = 252028801
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='878839', job_status='RUN', time_executed='2021-09-15 09:00:15.227391', time_epoch_executed='1631721615.23' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='48'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878839

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878839/ft1_4FGL_J1644.9+2620_daily_bin48.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878839/ft2_4FGL_J1644.9+2620_daily_bin48.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878839/ft1_4FGL_J1644.9+2620_daily_bin48.fits outfile=/scratch/kocevski/878839/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin48.fits ra=251.232 dec=26.3465 rad=12.0 tmin=251769601.0 tmax=252028801.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.21
user 1.98
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878839/ft1_filtered_4FGL_J1644.9+2620_daily_bin48.fits" evtable="EVENTS" scfile=/scratch/kocevski/878839/ft2_4FGL_J1644.9+2620_daily_bin48.fits sctable="SC_DATA" outfile=/scratch/kocevski/878839/ltcube_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.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/878839/ft2_4FGL_J1644.9+2620_daily_bin48.fits
.....................!
real 15.61
user 15.12
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878839/ft1_filtered_4FGL_J1644.9+2620_daily_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/878839/ft2_4FGL_J1644.9+2620_daily_bin48.fits sctable="SC_DATA" expcube=/scratch/kocevski/878839/ltcube_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.fits outfile=/scratch/kocevski/878839/expmap_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.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/878839/ltcube_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.fits
.....................!
real 191.88
user 185.59
sys 5.43

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/878839/ft1_filtered_4FGL_J1644.9+2620_daily_bin48.fits scfile=/scratch/kocevski/878839/ft2_4FGL_J1644.9+2620_daily_bin48.fits outfile=/scratch/kocevski/878839/cmap_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18098E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .49203       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3234       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.7738       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7855       1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2239       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .90126       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=   9804.995     FROM MIGRAD    STATUS=CONVERGED    249 CALLS      981 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.581        11.150         .0000       -.22964E-03
   2  Prefactor     .10000E-03    1.3954         .0000    ** at limit **
   3  Prefactor     .10000E-03    18.449         .0000    ** at limit **
   4  norm          .49207        .20060         .0000        .83086E-03
   5  Prefactor     .10000E-03    9.4677         .0000    ** at limit **
   6  Prefactor     4.3239        14.388         .0000        .97993E-04
   7  Prefactor     .10000E-03    3.0908         .0000    ** at limit **
   8  Prefactor     .10000E-03    10.855         .0000    ** at limit **
   9  Prefactor     6.7738        35.737         .0000        .14041E-03
  10  Prefactor     1.7846        10.589         .0000        .92444E-02
  11  norm          .10000E-03    .99782         .0000    ** at limit **
  12  Normalizat    1.2238        .17836         .0000        .20402E-04
  13  Prefactor     .90134        .93359E-01     .0000        .17741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.492068
  Prefactor  = 0.0001
  Prefactor  = 4.32392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.77379
  Prefactor  = 1.78456
  norm       = 0.0001
  Normalizat = 1.2238
  Prefactor  = 0.901343
 **********
 **   18 **HESSE 
 **********

 FCN=   9804.995     FROM HESSE     STATUS=OK           149 CALLS     1130 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.581        11.148        .10147E-03   -1.4918    
   2  Prefactor     .10000E-03    5.4315        .22364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .49207        .19838        .27197E-04   -1.5568    
   5  Prefactor     .10000E-03    9.5019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3239        14.458        .19374E-03   -1.5292    
   7  Prefactor     .10000E-03    3.1364        .16986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7738        35.717        .15417E-03   -1.5187    
  10  Prefactor     1.7846        10.609        .15656E-02   -1.5441    
  11  norm          .10000E-03    1.7155        .19258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.2238        .21242        .29476E-03   -.85870    
  13  Prefactor     .90134        .11245        .18292E-03   -.96094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32899e-10
Minuit parameter uncertainties:
  1  11.1498
  2  2.86711e-06
  3  1.91914e-05
  4  0.19838
  5  7.45033e-08
  6  14.4693
  7  8.32806e-07
  8  4.08797e-06
  9  31.1378
  10  8.70415
  11  9.00936e-07
  12  0.212573
  13  0.112482
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  4.324e+00  1.447e+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.013e-01  1.125e-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.224e+00  2.126e-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.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/878839/likelihoodResults_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9802.20411965
delta logL = 2.79069204784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9802.12344291
delta logL = 2.87136879274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87256       1.0000         .10000E-03   10000.    
     2 'Index     '    6.1837       1.0000          .0000       10.000    
     3 'Normalizat'    1.0806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94961       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=   9802.123     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87142        5.0288        .95823E-02    .10309E-02
   2  Index         6.1848        3.0570        .16444        .15363E-03
   3  Normalizat    1.0806        .51309E-01    .70204E-01    .21854E-04
   4  Prefactor     .94964        .27893E-01    .45634E-01    .45236E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.871418
  Index      = 6.18477
  Normalizat = 1.08055
  Prefactor  = 0.949637
 **********
 **   18 **HESSE 
 **********

 FCN=   9802.123     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87142        10.097        .43359E-04   -1.5521    
   2  Index         6.1848        7.4707        .65782E-02    .23923    
   3  Normalizat    1.0806        .19332        .31063E-03   -.90379    
   4  Prefactor     .94964        .10247        .17854E-03   -.94428    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.88467e-07
Minuit parameter uncertainties:
  1  5.93358
  2  5.29126
  3  0.193441
  4  0.102492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878839': 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) = 9802.12344266
delta logL = 2.87136903957

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  8.714e-01  5.934e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  6.185e+00  5.291e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  9.496e-01  1.025e-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.081e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.33
Ra Dec: 251.232 26.346
Photon Index (Free Index): 6.18 +/- 5.29
Photon Flux (Free Index): 1.28e-07 +/- 6.54e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.01e-05

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/878839/cmap_HighResolution_251769601_252028801_4FGL_J1644.9+2620_daily_bin48.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.61e-03', comment='SUCCESS', energy_flux2='1.58e-05', dlogl='2.87e+00', photon_flux2='1.28e-07', job_status='DONE', time_completed='2021-09-15 09:10:31.890805', photon_index_error2='5.29', photon_index2='6.18', ts='0.11', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.01e-05', EG='1.22', time_epoch_completed='1631722231.89', return_code='0', job_id='878839', GAL2='0.95', EG2='1.08', return_code2='102', photon_flux_error2='6.54e-08', ts2='6.33', photon_index='2.79' WHERE bin_id='48' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:10:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 878839: <4FGL_J1644.9+2620_daily_bin48> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin48> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:25 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:56:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 08:56:47 2021
Terminated at Wed Sep 15 09:10:32 2021
Results reported at Wed Sep 15 09:10:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin48 251.232 26.3465 251769601 252028801 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 :                                   612.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            907 sec.

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

