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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1402
RA = 252.023, Dec = 22.3523
tmin = 602726401, tmax = 602985601
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='994170', job_status='RUN', time_executed='2021-09-15 16:04:14.866620', time_epoch_executed='1631747054.87' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994170/ft1_4FGL_J1648.0+2221_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994170/ft1_4FGL_J1648.0+2221_daily_bin1402.fits outfile=/scratch/kocevski/994170/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1402.fits ra=252.023 dec=22.3523 rad=12.0 tmin=602726401.0 tmax=602985601.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.10
user 2.86
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.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/994170/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/994170/ltcube_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.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/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits
.....................!
real 15.07
user 14.53
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/994170/ltcube_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits outfile=/scratch/kocevski/994170/expmap_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.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/994170/ltcube_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits
.....................!
real 192.77
user 186.59
sys 4.70

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 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits outfile=/scratch/kocevski/994170/cmap_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.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=252.023 yref=22.3523 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits outfile=/scratch/kocevski/994170/cmap_HighResolution_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.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=252.023 yref=22.3523 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994170/Model_4FGL_J1648.0+2221_daily_bin1402.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/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits.....................!
real 97.92
user 95.87
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits', '/scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits', expMap='/scratch/kocevski/994170/expmap_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits', expCube='/scratch/kocevski/994170/ltcube_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/994170/Model_4FGL_J1648.0+2221_daily_bin1402.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/994170/ft1_filtered_4FGL_J1648.0+2221_daily_bin1402.fits
Spacecraft file(s): /scratch/kocevski/994170/ft2_4FGL_J1648.0+2221_daily_bin1402.fits
Exposure map: /scratch/kocevski/994170/expmap_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits
Exposure cube: /scratch/kocevski/994170/ltcube_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/994170/Model_4FGL_J1648.0+2221_daily_bin1402.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) = 13369.2943746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5318       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6033       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25916       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .93700       1.0000         .10000E-03   10000.    
    10 'norm      '    51.647       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.0715       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13369.29     FROM MIGRAD    STATUS=CONVERGED    201 CALLS      852 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5324        7.4226        .34310E-02    .24086E-03
   2  Prefactor     .10000E-03    8.0067        .90712E-02** at limit **
   3  Prefactor     6.5999        10.864        .39041E-02    .11211E-02
   4  Prefactor     .27280        1.3854        .74702E-01    .10412E-02
   5  Prefactor     .10000E-03    3.3185        .90712E-02** at limit **
   6  Prefactor     .10000E-03    8.9728        .90712E-02** at limit **
   7  Prefactor     .10000E-03    17.130        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.0900        .90712E-02** at limit **
   9  norm          .93710        1.2554        .12941E-02    .34138E-03
  10  norm          51.647        48.647        .13952E-02   -.13315E-02
  11  Normalizat    1.0717        .15510        .73482E-01   -.13660E-04
  12  Prefactor     .98670        .74873E-01    .46102E-01    .48109E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.53241
  Prefactor  = 0.0001
  Prefactor  = 6.59994
  Prefactor  = 0.272803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.937104
  norm       = 51.6474
  Normalizat = 1.07173
  Prefactor  = 0.986701
 **********
 **   18 **HESSE 
 **********

 FCN=   13369.29     FROM HESSE     STATUS=OK           127 CALLS      979 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5324        7.4239        .13724E-03   -1.5124    
   2  Prefactor     .10000E-03    8.2411        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5999        10.899        .15616E-03   -1.5194    
   4  Prefactor     .27280        9.7718        .25770E-02   -1.5604    
   5  Prefactor     .10000E-03    3.3200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.9805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .93710        1.2561        .51765E-04   -1.5514    
  10  norm          51.647        48.675        .55806E-04   -1.4269    
  11  Normalizat    1.0717        .18594        .32518E-03   -.90665    
  12  Prefactor     .98670        .90138E-01    .16659E-03   -.93174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05025e-08
Minuit parameter uncertainties:
  1  7.42473
  2  1.69548e-05
  3  10.9022
  4  3.26542
  5  2.75352e-06
  6  1.33412e-05
  7  0.000108761
  8  1.18769e-05
  9  1.25616
  10  48.7129
  11  0.186058
  12  0.0901514
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  2.728e-01  3.265e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.867e-01  9.015e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.072e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 252.023 22.352
Photon Flux Upper Limit: 6.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994170/likelihoodResults_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.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) = 13369.2855101
delta logL = 0.000951177880779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13369.2852875
delta logL = 0.00117370508269

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34390       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4734       1.0000          .0000       10.000    
     3 'Normalizat'    1.0720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98655       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13369.29     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      233 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34441        8.0146        .77704E-01    .10720E-03
   2  Index         2.4819        2.6497        .50000        .57560E-05
   3  Normalizat    1.0719        .92114E-02    .73477E-01    .35816E-04
   4  Prefactor     .98657        .45711E-02    .46099E-01    .41817E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.344415
  Index      = 2.48194
  Normalizat = 1.07189
  Prefactor  = 0.986571
 **********
 **   18 **HESSE 
 **********

 FCN=   13369.29     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34441        13.587        .27655E-02   -1.5591    
   2  Index         2.4819        3.2480        .32250E-01   -.52777    
   3  Normalizat    1.0719        .17977        .32516E-03   -.90660    
   4  Prefactor     .98657        .89154E-01    .16660E-03   -.93178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21184e-09
Minuit parameter uncertainties:
  1  4.32684
  2  3.67581
  3  0.179868
  4  0.0891673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994170': 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) = 13369.2852835
delta logL = 0.00117773971397

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  3.444e-01  4.327e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.482e+00  3.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.866e-01  8.917e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.072e+00  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 252.023 22.352

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/994170/cmap_HighResolution_602726401_602985601_4FGL_J1648.0+2221_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-15 16:16:00.031185', job_id='994170', GAL2='0.99', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631747760.03', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.18e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1402' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 16:16:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 994170: <4FGL_J1648.0+2221_daily_bin1402> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1402> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 16:00:26 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 16:00:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 16:00:35 2021
Terminated at Wed Sep 15 16:16:00 2021
Results reported at Wed Sep 15 16:16:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1402 252.023 22.3523 602726401 602985601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1648.0+2221 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   695.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            934 sec.

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

