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 197 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1772
RA = 252.023, Dec = 22.3523
tmin = 698630401, tmax = 698889601
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='641790', job_status='RUN', time_executed='2023-02-24 02:18:44.402979', time_epoch_executed='1677233924.4' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641790/ft1_4FGL_J1648.0+2221_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641790/ft1_4FGL_J1648.0+2221_daily_bin1772.fits outfile=/scratch/kocevski/641790/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1772.fits ra=252.023 dec=22.3523 rad=12.0 tmin=698630401.0 tmax=698889601.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.05
user 2.86
sys 0.18

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

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

Number of photons that the gtmktime cut: 1192

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/641790/ltcube_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.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/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits
.....................!
real 13.03
user 12.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/641790/ltcube_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits outfile=/scratch/kocevski/641790/expmap_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.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/641790/ltcube_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits
.....................!
real 191.63
user 186.52
sys 4.69

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/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits scfile=/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits outfile=/scratch/kocevski/641790/cmap_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits scfile=/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits outfile=/scratch/kocevski/641790/cmap_HighResolution_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits', '/scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits', expMap='/scratch/kocevski/641790/expmap_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits', expCube='/scratch/kocevski/641790/ltcube_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641790/Model_4FGL_J1648.0+2221_daily_bin1772.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/641790/ft1_filtered_4FGL_J1648.0+2221_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/641790/ft2_4FGL_J1648.0+2221_daily_bin1772.fits
Exposure map: /scratch/kocevski/641790/expmap_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits
Exposure cube: /scratch/kocevski/641790/ltcube_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641790/Model_4FGL_J1648.0+2221_daily_bin1772.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) = 12709.3687364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20539E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31641E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.112       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17381E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.912       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3528       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24664E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.3516       1.0000          .0000       .10000E+07
    10 'norm      '    21.332       1.0000          .0000       .10000E+07
    11 'Normalizat'    .91304       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0184       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=   12709.27     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      618 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.5633       -.22148E-08** at limit **
   2  Prefactor      .0000        3.4895       -.18706E-06** at limit **
   3  Prefactor     11.038        11.146       -.21492E-06   -.30859E-02
   4  Prefactor      .0000        1.7426       -.36056E-06** at limit **
   5  Prefactor     .23315E-08    16.552       -.49989E-06** at limit **
   6  Prefactor     28.426        23.328       -.17500E-06   -.94113E-02
   7  Prefactor     .25616E-02    286.03        .40652E-05** at limit **
   8  Prefactor      .0000        2.9586        .11943E-06** at limit **
   9  norm          1.3505        1.3985       -.15964E-06    .14469E-02
  10  norm          17.777        39.342        .11542E-05   -.14948    
  11  Normalizat    .91213        .19110        .38850E-05   -.85324E-04
  12  Prefactor     1.0194        .94178E-01    .23824E-05   -.18146E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 11.0379
  Prefactor  = 0
  Prefactor  = 2.33147e-09
  Prefactor  = 28.4262
  Prefactor  = 0.00256156
  Prefactor  = 0
  norm       = 1.3505
  norm       = 17.777
  Normalizat = 0.91213
  Prefactor  = 1.01942
 **********
 **   18 **HESSE 
 **********

 FCN=   12709.27     FROM HESSE     STATUS=OK           149 CALLS      767 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.5659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.038        11.099        .30030E-03   -1.5642    
   4  Prefactor      .0000        1.7481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23315E-08    16.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.426        23.353        .18931E-03   -1.5601    
   7  Prefactor     .25616E-02    601.46        .66796E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.9640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3505        1.4190        .94055E-03   -1.5685    
  10  norm          17.777        53.546        .21658E-03   -1.5624    
  11  Normalizat    .91213        .15887        .76991E-01   -.96035    
  12  Prefactor     1.0194        .78260E-01    .42308E-01   -.92085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.66275e-06
Minuit parameter uncertainties:
  1  2.21061e-05
  2  8.07429e-07
  3  11.0987
  4  7.29675e-06
  5  0.000393411
  6  23.353
  7  2.48273
  8  4.02299e-06
  9  1.41896
  10  53.5474
  11  0.158954
  12  0.0782688
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  7.297e-06  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.019e+00  7.827e-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.121e-01  1.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/641790/likelihoodResults_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.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): 102
logL (Free Index) = 12708.6083007
delta logL = 0.660419863976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12709.2687206
delta logL = -4.28262865171e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13450E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.2355       1.0000          .0000       10.000    
     3 'Normalizat'    .91216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0194       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=   12708.59     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      440 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13889E-02    .21969E-02    .89197E-04** at limit **
   2  Index         7.9076        .72802        .21617        .19611E-03
   3  Normalizat    .85667        .16342        .79196E-01    .29171E-04
   4  Prefactor     1.0365        .78993E-01    .42200E-01   -.49390E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00138888
  Index      = 7.90757
  Normalizat = 0.856671
  Prefactor  = 1.03654
 **********
 **   18 **HESSE 
 **********

 FCN=   12708.59     FROM HESSE     STATUS=OK            35 CALLS      475 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13889E-02    .10177E-01    .41375E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.9076        2.8093        .12173E-01    .62059    
   3  Normalizat    .85667        .19177        .35056E-03   -.98000    
   4  Prefactor     1.0365        .94281E-01    .15971E-03   -.91521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21241e-08
Minuit parameter uncertainties:
  1  0.00751925
  2  3.10106
  3  0.191923
  4  0.0942956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641790': 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) = 12708.5872445
delta logL = 0.681476038104

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.389e-03  7.519e-03  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  7.908e+00  3.101e+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.037e+00  9.430e-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:  8.567e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 252.023 22.352
Photon Index (Free Index): 7.91 +/- 3.10
Photon Flux (Free Index): 3.99e-08 +/- 4.15e-07
Energy Flux (Free Index): 4.64e-06 +/- 4.82e-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/641790/cmap_HighResolution_698630401_698889601_4FGL_J1648.0+2221_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', comment='SUCCESS', energy_flux2='4.64e-06', dlogl='6.81e-01', photon_flux2='3.99e-08', job_status='DONE', time_completed='2023-02-24 02:29:57.371848', photon_index_error2='3.10', photon_index2='7.91', ts='0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='5.45e-08', energy_flux_error2='4.82e-05', EG='0.91', time_epoch_completed='1677234597.37', return_code='0', job_id='641790', GAL2='1.04', EG2='0.86', return_code2='0', photon_flux_error2='4.15e-07', ts2='1.44', photon_index='2.64' WHERE bin_id='1772' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:29:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 641790: <4FGL_J1648.0+2221_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1772> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Feb 24 02:15:15 2023
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 02:15:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 02:15:17 2023
Terminated at Fri Feb 24 02:29:58 2023
Results reported at Fri Feb 24 02:29:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1772 252.023 22.3523 698630401 698889601 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 :                                   674.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             257.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

