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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin704
RA = 251.232, Dec = 26.3465
tmin = 421804801, tmax = 422064001
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='882303', job_status='RUN', time_executed='2021-09-15 09:12:13.621896', time_epoch_executed='1631722333.62' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882303

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882303/ft1_4FGL_J1644.9+2620_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882303/ft1_4FGL_J1644.9+2620_daily_bin704.fits outfile=/scratch/kocevski/882303/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin704.fits ra=251.232 dec=26.3465 rad=12.0 tmin=421804801.0 tmax=422064001.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.73
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.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/882303/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin704.fits evtable="EVENTS" outfile="/scratch/kocevski/882303/ft1_filtered_4FGL_J1644.9+2620_daily_bin704.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882303/ft1_filtered_4FGL_J1644.9+2620_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/882303/ltcube_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.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/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits
.....................!
real 15.32
user 14.59
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882303/ft1_filtered_4FGL_J1644.9+2620_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/882303/ltcube_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.fits outfile=/scratch/kocevski/882303/expmap_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.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/882303/ltcube_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.fits
.....................!
real 192.81
user 186.42
sys 4.08

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/882303/ft1_filtered_4FGL_J1644.9+2620_daily_bin704.fits scfile=/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits outfile=/scratch/kocevski/882303/cmap_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.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/882303/ft1_filtered_4FGL_J1644.9+2620_daily_bin704.fits scfile=/scratch/kocevski/882303/ft2_4FGL_J1644.9+2620_daily_bin704.fits outfile=/scratch/kocevski/882303/cmap_HighResolution_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0999       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0030       1.0000         .10000E-03   10000.    
     4 'norm      '    .21781       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1829       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.183       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.457       1.0000         .10000E-03   10000.    
    11 'norm      '    4.1046       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.4501       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .71362       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=   7294.551     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1041 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1011        12.755        .38160E-05   -.83066E-04
   2  Prefactor     .10000E-03    .91625       -.77864E-07** at limit **
   3  Prefactor     3.0018        20.105       -.65115E-05   -.10809E-03
   4  norm          .21779        .16942       -.11688E-07   -.88514E-03
   5  Prefactor     .10000E-03    9.2972       -.67704E-06** at limit **
   6  Prefactor     9.1810        17.817       -.58018E-05   -.36367E-04
   7  Prefactor     7.4296        6.6511        .11328E-05   -.13550E-03
   8  Prefactor     .10000E-03    9.3209        .31883E-06** at limit **
   9  Prefactor     27.184        43.516        .34255E-05    .22091E-05
  10  Prefactor     11.457        12.803        .78961E-07   -.38719E-04
  11  norm          4.1045        3.0403        .72059E-06   -.48112E-04
  12  Normalizat    1.4501        .20539        .11642E-05   -.32581E-04
  13  Prefactor     .71366        .10523       -.53259E-06    .11695E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.1011
  Prefactor  = 0.0001
  Prefactor  = 3.00176
  norm       = 0.217789
  Prefactor  = 0.0001
  Prefactor  = 9.18096
  Prefactor  = 7.42956
  Prefactor  = 0.0001
  Prefactor  = 27.1844
  Prefactor  = 11.4565
  norm       = 4.10452
  Normalizat = 1.45006
  Prefactor  = 0.713662
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.551     FROM HESSE     STATUS=OK           153 CALLS     1194 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1011        12.554        .19910E-03   -1.5303    
   2  Prefactor     .10000E-03    .92392        .79831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0018        21.181        .23423E-03   -1.5361    
   4  norm          .21779        .16309        .29923E-03   -1.5615    
   5  Prefactor     .10000E-03    9.3305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1810        17.932        .13226E-03   -1.5102    
   7  Prefactor     7.4296        6.5929        .14715E-03   -1.5163    
   8  Prefactor     .10000E-03    9.3236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.184        43.434        .76839E-04   -1.4665    
  10  Prefactor     11.457        12.809        .11836E-03   -1.5031    
  11  norm          4.1045        3.0286        .12393E-03   -1.5303    
  12  Normalizat    1.4501        .24296        .27661E-03   -.79191    
  13  Prefactor     .71366        .12424        .19668E-03   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00733e-10
Minuit parameter uncertainties:
  1  12.5616
  2  3.21925e-07
  3  15.9551
  4  0.163093
  5  2.19019e-06
  6  17.9422
  7  6.59358
  8  8.3793e-06
  9  43.484
  10  12.8116
  11  3.02867
  12  0.24315
  13  0.12429
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  9.181e+00  1.794e+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:  7.137e-01  1.243e-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.450e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882303/likelihoodResults_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.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) = 7293.39944942
delta logL = 1.15114271504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.38211808
delta logL = 1.16847404583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4216       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4546       1.0000          .0000       10.000    
     3 'Normalizat'    1.4853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69712       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=   7293.382     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 17.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4183        10.917       -.65536E-05   -.62472E-03
   2  Index         1.4544        .55270       -.32893E-04    .12645E-03
   3  Normalizat    1.4853        .19748       -.34352E-06   -.38451E-04
   4  Prefactor     .69713        .10318        .60590E-06    .74779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.41832
  Index      = 1.45441
  Normalizat = 1.48529
  Prefactor  = 0.697131
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.382     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4183        10.245        .14722E-03   -1.5163    
   2  Index         1.4544        .51854        .71249E-02   -.78825    
   3  Normalizat    1.4853        .23366        .27375E-03   -.78193    
   4  Prefactor     .69713        .12199        .19858E-03   -1.0364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98584e-10
Minuit parameter uncertainties:
  1  10.2475
  2  0.520428
  3  0.233827
  4  0.122037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882303': 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): 0
logL (Free Index) = 7293.38211802
delta logL = 1.1684741146

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  7.418e+00  1.025e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  1.454e+00  5.204e-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:  6.971e-01  1.220e-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.485e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 251.232 26.346
Photon Index (Free Index): 1.45 +/- 0.52
Photon Flux (Free Index): 1.27e-08 +/- 1.56e-08
Energy Flux (Free Index): 4.69e-05 +/- 6.30e-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/882303/cmap_HighResolution_421804801_422064001_4FGL_J1644.9+2620_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='4.69e-05', dlogl='1.17e+00', photon_flux2='1.27e-08', job_status='DONE', time_completed='2021-09-15 09:21:20.312145', photon_index_error2='0.52', photon_index2='1.45', ts='0.30', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='6.30e-05', EG='1.45', time_epoch_completed='1631722880.31', return_code='0', job_id='882303', GAL2='0.70', EG2='1.49', return_code2='0', photon_flux_error2='1.56e-08', ts2='2.64', photon_index='2.79' WHERE bin_id='704' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:21:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 882303: <4FGL_J1644.9+2620_daily_bin704> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin704 251.232 26.3465 421804801 422064001 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 :                                   539.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            934 sec.

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

