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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin82
RA = 251.232, Dec = 26.3465
tmin = 260582401, tmax = 260841601
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='878892', job_status='RUN', time_executed='2021-09-15 08:59:37.005376', time_epoch_executed='1631721577.01' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878892/ft1_4FGL_J1644.9+2620_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878892/ft1_4FGL_J1644.9+2620_daily_bin82.fits outfile=/scratch/kocevski/878892/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin82.fits ra=251.232 dec=26.3465 rad=12.0 tmin=260582401.0 tmax=260841601.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 1.61
user 1.44
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878892/ft1_filtered_4FGL_J1644.9+2620_daily_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/878892/ltcube_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.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/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits
.....................!
real 16.29
user 15.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878892/ft1_filtered_4FGL_J1644.9+2620_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/878892/ltcube_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.fits outfile=/scratch/kocevski/878892/expmap_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.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/878892/ltcube_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.fits
.....................!
real 191.14
user 186.22
sys 4.47

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/878892/ft1_filtered_4FGL_J1644.9+2620_daily_bin82.fits scfile=/scratch/kocevski/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits outfile=/scratch/kocevski/878892/cmap_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878892/ft1_filtered_4FGL_J1644.9+2620_daily_bin82.fits scfile=/scratch/kocevski/878892/ft2_4FGL_J1644.9+2620_daily_bin82.fits outfile=/scratch/kocevski/878892/cmap_HighResolution_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4835       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .40964       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .69156       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7006       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2860       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.343       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.408       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2866       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.5723       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .80124       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=   11477.70     FROM MIGRAD    STATUS=CONVERGED    215 CALLS      942 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4833        7.0723       -.85132E-06   -.24289E-03
   2  Prefactor     .40982        1.4655       -.42249E-07   -.25348E-03
   3  Prefactor     .10000E-03    4.0469        .51430E-06** at limit **
   4  norm          .69166        .23989        .66455E-06   -.37364E-02
   5  Prefactor     9.6869        17.777       -.36913E-04    .66139E-04
   6  Prefactor     3.2852        12.996       -.31495E-05   -.11459E-03
   7  Prefactor     .10000E-03    2.8460        .43673E-06** at limit **
   8  Prefactor     14.342        17.939       -.11114E-05   -.10218E-04
   9  Prefactor     10.403        28.674       -.15195E-04   -.30812E-05
  10  Prefactor     .10000E-03    3.2872       -.38332E-06** at limit **
  11  norm          2.2867        2.0107        .77671E-07   -.47587E-03
  12  Normalizat    1.5725        .17744        .46940E-05   -.21759E-03
  13  Prefactor     .80114        .90880E-01   -.93760E-06    .53265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48333
  Prefactor  = 0.409818
  Prefactor  = 0.0001
  norm       = 0.691657
  Prefactor  = 9.68687
  Prefactor  = 3.2852
  Prefactor  = 0.0001
  Prefactor  = 14.3419
  Prefactor  = 10.4032
  Prefactor  = 0.0001
  norm       = 2.28673
  Normalizat = 1.57246
  Prefactor  = 0.801141
 **********
 **   18 **HESSE 
 **********

 FCN=   11477.70     FROM HESSE     STATUS=OK           149 CALLS     1091 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4833        7.0694        .19015E-03   -1.5284    
   2  Prefactor     .40982        4.8897        .23270E-02   -1.5580    
   3  Prefactor     .10000E-03    4.0739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .69166        .23975        .27720E-04   -1.5542    
   5  Prefactor     9.6869        17.790        .12866E-03   -1.5085    
   6  Prefactor     3.2852        12.998        .22336E-03   -1.5345    
   7  Prefactor     .10000E-03    2.8888        .17631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.342        17.939        .10576E-03   -1.4950    
   9  Prefactor     10.403        28.693        .12419E-03   -1.5063    
  10  Prefactor     .10000E-03    3.2975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2867        2.0020        .13852E-03   -1.5406    
  12  Normalizat    1.5725        .21293        .28480E-03   -.75762    
  13  Prefactor     .80114        .10934        .20126E-03   -.99686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32231e-08
Minuit parameter uncertainties:
  1  7.07071
  2  2.83112
  3  1.67863e-05
  4  0.239746
  5  17.7998
  6  13.0094
  7  9.52089e-06
  8  17.9454
  9  28.7308
  10  5.92592e-06
  11  2.00207
  12  0.213048
  13  0.10937
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  3.285e+00  1.301e+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:  8.011e-01  1.094e-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.572e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 9.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/878892/likelihoodResults_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.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) = 11477.4275536
delta logL = 0.273122603436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11477.4268213
delta logL = 0.273854934805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.263       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1095       1.0000          .0000       10.000    
     3 'Normalizat'    1.5784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79327       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=   11477.43     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      258 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.359        24.354        .31268E-02    .56909E-04
   2  Index         2.1151        .81317        .25195       -.23917E-04
   3  Normalizat    1.5783        .16963        .64286E-01   -.19206E-03
   4  Prefactor     .79323        .91202E-01    .43630E-01   -.26407E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3595
  Index      = 2.11505
  Normalizat = 1.57835
  Prefactor  = 0.793226
 **********
 **   18 **HESSE 
 **********

 FCN=   11477.43     FROM HESSE     STATUS=OK            31 CALLS      289 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.359        14.495        .12507E-03   -1.5064    
   2  Index         2.1151        .63390        .12400E-01   -.61504    
   3  Normalizat    1.5783        .20268        .28434E-03   -.75600    
   4  Prefactor     .79323        .10744        .20211E-03   -.99979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27603e-11
Minuit parameter uncertainties:
  1  14.5004
  2  0.636479
  3  0.202782
  4  0.107469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878892': 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) = 11477.4267688
delta logL = 0.27390741005

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.036e+01  1.450e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.115e+00  6.365e-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:  7.932e-01  1.075e-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.578e+00  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 251.232 26.346

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/878892/cmap_HighResolution_260582401_260841601_4FGL_J1644.9+2620_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', job_status='DONE', photon_flux_upper_limit='9.98e-08', time_completed='2021-09-15 09:10:30.731336', job_id='878892', GAL2='0.79', fit_tolerance='1e-08', EG2='1.58', EG='1.57', time_epoch_completed='1631722230.73', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.74e-01', ts2='0.62', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='82' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:10:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 878892: <4FGL_J1644.9+2620_daily_bin82> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin82> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:28 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:57:12 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:57:12 2021
Terminated at Wed Sep 15 09:10:31 2021
Results reported at Wed Sep 15 09:10:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin82 251.232 26.3465 260582401 260841601 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 :                                   654.41 sec.
    Max Memory :                                 1114 MB
    Average Memory :                             302.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            903 sec.

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

