aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 37 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1648.0+2221_weekly_bin744
RA = 252.023, Dec = 22.3523
tmin = 688953601, tmax = 689558401
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='975571', job_status='RUN', time_executed='2022-11-08 01:26:16.571763', time_epoch_executed='1667899576.57' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975571

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975571/ft1_4FGL_J1648.0+2221_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975571/ft1_4FGL_J1648.0+2221_weekly_bin744.fits outfile=/scratch/kocevski/975571/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin744.fits ra=252.023 dec=22.3523 rad=12.0 tmin=688953601.0 tmax=689558401.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 7.62
user 7.33
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.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/975571/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.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.55
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1762

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/975571/ltcube_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.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/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits
.....................!
real 26.83
user 26.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/975571/ltcube_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits outfile=/scratch/kocevski/975571/expmap_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.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/975571/ltcube_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits
.....................!
real 192.02
user 186.04
sys 5.61

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/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits scfile=/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits outfile=/scratch/kocevski/975571/cmap_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.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.61
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits scfile=/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits outfile=/scratch/kocevski/975571/cmap_HighResolution_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits', '/scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits', expMap='/scratch/kocevski/975571/expmap_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits', expCube='/scratch/kocevski/975571/ltcube_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/975571/Model_4FGL_J1648.0+2221_weekly_bin744.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  0.000e+00  1.000e+06 ( 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/975571/ft1_filtered_4FGL_J1648.0+2221_weekly_bin744.fits
Spacecraft file(s): /scratch/kocevski/975571/ft2_4FGL_J1648.0+2221_weekly_bin744.fits
Exposure map: /scratch/kocevski/975571/expmap_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits
Exposure cube: /scratch/kocevski/975571/ltcube_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/975571/Model_4FGL_J1648.0+2221_weekly_bin744.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) = 18842.0679072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79025E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.9094       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.1089       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4623       1.0000          .0000       .10000E+07
     5 'Prefactor '    10.081       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1218       1.0000          .0000       .10000E+07
     7 'Prefactor '    27.185       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.2936       1.0000          .0000       .10000E+07
     9 'norm      '    .23942       1.0000          .0000       .10000E+07
    10 'norm      '    16.410       1.0000          .0000       .10000E+07
    11 'Normalizat'    .93877       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18841.56     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      661 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15973E-03    884.39       -.15002E-05** at limit **
   2  Prefactor     2.9030        5.2087       -.14941E-05    .41108E-02
   3  Prefactor     3.1120        6.8294       -.52067E-06    .12120E-02
   4  Prefactor     4.4585        3.5609       -.87886E-07    .74392E-02
   5  Prefactor     10.123        15.704        .20359E-05   -.10535E-02
   6  Prefactor     8.0737        10.578        .22133E-06    .43261E-03
   7  Prefactor     27.483        30.771        .49424E-05   -.12140E-01
   8  Prefactor     1.1211        11.706        .28151E-05    .31355E-03
   9  norm          .24181        2.3306       -.46934E-06** at limit **
  10  norm          15.891        18.421        .22222E-05    .27084E-01
  11  Normalizat    .93884        .15353        .22112E-04    .36456E-03
  12  Prefactor     1.0048        .76292E-01   -.63923E-05    .85065E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00015973
  Prefactor  = 2.90296
  Prefactor  = 3.11203
  Prefactor  = 4.45848
  Prefactor  = 10.1233
  Prefactor  = 8.07368
  Prefactor  = 27.4829
  Prefactor  = 1.12106
  norm       = 0.241807
  norm       = 15.891
  Normalizat = 0.938841
  Prefactor  = 1.00482
 **********
 **   18 **HESSE 
 **********

 FCN=   18841.56     FROM HESSE     STATUS=OK           173 CALLS      834 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15973E-03    3.9719        .68661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9030        5.2530        .59541E-03   -1.5674    
   3  Prefactor     3.1120        6.8562        .57483E-03   -1.5673    
   4  Prefactor     4.4585        3.5851        .47643E-03   -1.5666    
   5  Prefactor     10.123        15.789        .31535E-03   -1.5644    
   6  Prefactor     8.0737        10.595        .35156E-03   -1.5651    
   7  Prefactor     27.483        31.838        .19183E-03   -1.5603    
   8  Prefactor     1.1211        11.729        .97263E-03   -1.5687    
   9  norm          .24181        .75928        .56572E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.891        21.716        .24698E-03   -1.5628    
  11  Normalizat    .93884        .12963        .76142E-01   -.95108    
  12  Prefactor     1.0048        .63664E-01    .44259E-01   -.92569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25192e-08
Minuit parameter uncertainties:
  1  0.0503761
  2  5.25302
  3  6.85625
  4  3.58509
  5  15.7891
  6  10.5952
  7  31.8386
  8  7.2523
  9  0.759277
  10  21.7166
  11  0.129677
  12  0.0636686
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  4.458e+00  3.585e+00  0.000e+00  1.000e+06 ( 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:  1.005e+00  6.367e-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:  9.388e-01  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 2.77e-08
Energy Flux (Fixed Index): 8.67e-06 +/- 6.97e-06

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

Saving results to:
/scratch/kocevski/975571/likelihoodResults_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.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) = 18841.5504905
delta logL = 0.0132093370885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18841.544074
delta logL = 0.0196257559364

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9776       1.0000          .0000       .10000E+07
     2 'Index     '    2.8356       1.0000          .0000       10.000    
     3 'Normalizat'    .93190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0071       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=   18841.54     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9734        50.793        .50548E-03    .14335E-01
   2  Index         2.8362        3.5705        .22511        .17390E-03
   3  Normalizat    .93188        .40903E-01    .76393E-01    .48207E-04
   4  Prefactor     1.0071        .18170E-01    .43792E-01   -.19553E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97336
  Index      = 2.83617
  Normalizat = 0.931877
  Prefactor  = 1.00709
 **********
 **   18 **HESSE 
 **********

 FCN=   18841.54     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9734        5.5034        .19669E-04   -1.5668    
   2  Index         2.8362        1.3022        .12589E-01   -.44756    
   3  Normalizat    .93188        .15720        .33809E-03   -.95349    
   4  Prefactor     1.0071        .76618E-01    .16253E-03   -.92494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41362e-08
Minuit parameter uncertainties:
  1  5.50338
  2  1.32105
  3  0.157277
  4  0.0766267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975571': 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) = 18841.5440735
delta logL = 0.0196262806094

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  3.973e+00  5.503e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.836e+00  1.321e+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:  1.007e+00  7.663e-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:  9.319e-01  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 252.023 22.352
Photon Index (Free Index): 2.84 +/- 1.32
Photon Flux (Free Index): 3.90e-08 +/- 3.64e-08
Energy Flux (Free Index): 8.54e-06 +/- 6.94e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/975571/cmap_HighResolution_688953601_689558401_4FGL_J1648.0+2221_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='8.54e-06', photon_flux_error='2.77e-08', dlogl='1.96e-02', energy_flux='8.67e-06', photon_flux2='3.90e-08', job_status='DONE', time_completed='2022-11-08 01:40:33.275461', photon_index_error2='1.32', photon_index2='2.84', ts='2.14', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='8.72e-08', energy_flux_error2='6.94e-06', EG='0.94', time_epoch_completed='1667900433.28', return_code='0', job_id='975571', GAL2='1.01', EG2='0.93', return_code2='0', energy_flux_error='6.97e-06', photon_flux_error2='3.64e-08', ts2='2.19', photon_index='2.64' WHERE bin_id='744' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:40:33 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 975571: <4FGL_J1648.0+2221_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1648.0+2221_weekly_bin744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 01:25:28 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:25:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:25:29 2022
Terminated at Tue Nov  8 01:40:34 2022
Results reported at Tue Nov  8 01:40:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_weekly_bin744 252.023 22.3523 688953601 689558401 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 :                                   857.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

