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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1757
RA = 252.023, Dec = 22.3523
tmin = 694742401, tmax = 695001601
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='209641', job_status='RUN', time_executed='2023-01-10 01:47:41.189884', time_epoch_executed='1673344061.19' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209641

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209641/ft1_4FGL_J1648.0+2221_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209641/ft2_4FGL_J1648.0+2221_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209641/ft1_4FGL_J1648.0+2221_daily_bin1757.fits outfile=/scratch/kocevski/209641/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1757.fits ra=252.023 dec=22.3523 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.44
user 2.23
sys 0.19

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

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

Number of photons that the gtmktime cut: 1095

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209641/ft1_filtered_4FGL_J1648.0+2221_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/209641/ft2_4FGL_J1648.0+2221_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/209641/ltcube_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.fits outfile=/scratch/kocevski/209641/expmap_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.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/209641/ltcube_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.fits
.....................!
real 159.33
user 151.66
sys 4.89

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/209641/ft1_filtered_4FGL_J1648.0+2221_daily_bin1757.fits scfile=/scratch/kocevski/209641/ft2_4FGL_J1648.0+2221_daily_bin1757.fits outfile=/scratch/kocevski/209641/cmap_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209641/ft1_filtered_4FGL_J1648.0+2221_daily_bin1757.fits scfile=/scratch/kocevski/209641/ft2_4FGL_J1648.0+2221_daily_bin1757.fits outfile=/scratch/kocevski/209641/cmap_HighResolution_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.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.49
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.648       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3686       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17046E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8957       1.0000          .0000       .10000E+07
     5 'Prefactor '    41.598       1.0000          .0000       .10000E+07
     6 'Prefactor '    .95111E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .81176E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85185E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .73885E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .54582E-02   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1544       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .90319       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=   11799.09     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      597 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.701        5.1982       -.11679E-07   -.74908E-01
   2  Prefactor     3.3207        8.9646       -.63720E-07    .19346E-01
   3  Prefactor      .0000        2.7461        .44245E-07** at limit **
   4  Prefactor     3.8941        5.0181        .21613E-06    .97510E-04
   5  Prefactor     41.347        1.7776        .10013E-07    .72710E-01
   6  Prefactor     .55511E-10    8.0268        .42867E-07** at limit **
   7  Prefactor      .0000        22.058       -.16934E-07** at limit **
   8  Prefactor      .0000        4.0551       -.15486E-06** at limit **
   9  norm           .0000        .77773        .10907E-07** at limit **
  10  norm          .49405E-08    29.746        .46479E-06** at limit **
  11  Normalizat    1.1548        .20529       -.11014E-05    .59890E-04
  12  Prefactor     .90314        .97116E-01    .10169E-05    .12975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7006
  Prefactor  = 3.32072
  Prefactor  = 0
  Prefactor  = 3.89409
  Prefactor  = 41.3469
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.94049e-09
  Normalizat = 1.15479
  Prefactor  = 0.903136
 **********
 **   18 **HESSE 
 **********

 FCN=   11799.09     FROM HESSE     STATUS=OK           149 CALLS      746 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.701        10.234        .26144E-03   -1.5631    
   2  Prefactor     3.3207        11.126        .55109E-03   -1.5672    
   3  Prefactor      .0000        2.7481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8941        5.2316        .51094E-03   -1.5668    
   5  Prefactor     41.347        26.645        .15506E-03   -1.5579    
   6  Prefactor     .55511E-10    8.0202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        22.056        .14465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.0463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .77731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49405E-08    29.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1548        .17003        .71579E-01   -.88012    
  12  Prefactor     .90314        .80091E-01    .45046E-01   -.96032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50851e-07
Minuit parameter uncertainties:
  1  10.2339
  2  11.1264
  3  2.13288e-06
  4  5.23156
  5  26.6446
  6  3.27753e-05
  7  1.11495e-05
  8  1.53039e-05
  9  8.43677e-07
  10  0.000767442
  11  0.170113
  12  0.0801012
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  3.894e+00  5.232e+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:  9.031e-01  8.010e-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.155e+00  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 252.023 22.352
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/209641/likelihoodResults_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.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) = 11797.9420718
delta logL = 1.14618638733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11797.8739067
delta logL = 1.21435148249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15237       1.0000          .0000       .10000E+07
     2 'Index     '    5.5500       1.0000          .0000       10.000    
     3 'Normalizat'    1.0744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93075       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=   11797.87     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      272 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15202        .93151        .56827E-03** at limit **
   2  Index         5.5512        2.1569        .17680        .18369E-03
   3  Normalizat    1.0745        .36174E-01    .73797E-01    .81625E-05
   4  Prefactor     .93072        .17704E-01    .45396E-01    .23538E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.152016
  Index      = 5.55116
  Normalizat = 1.07445
  Prefactor  = 0.930715
 **********
 **   18 **HESSE 
 **********

 FCN=   11797.87     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      307 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15202        2.8644        .25923E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5512        7.3036        .60293E-02    .11046    
   3  Normalizat    1.0745        .15078        .32658E-03   -.90576    
   4  Prefactor     .93072        .72499E-01    .16962E-03   -.95076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.24217e-08
Minuit parameter uncertainties:
  1  1.31976
  2  5.25128
  3  0.150839
  4  0.0725065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209641': 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): 102
logL (Free Index) = 11797.8739063
delta logL = 1.21435189648

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.520e-01  1.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  5.551e+00  5.251e+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.307e-01  7.251e-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.074e+00  1.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 252.023 22.352
Photon Index (Free Index): 5.55 +/- 5.25
Photon Flux (Free Index): 8.76e-08 +/- 5.46e-08
Energy Flux (Free Index): 1.12e-05 +/- 8.83e-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/209641/cmap_HighResolution_694742401_695001601_4FGL_J1648.0+2221_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='1.21e+00', photon_flux2='8.76e-08', job_status='DONE', time_completed='2023-01-10 01:56:20.874354', photon_index_error2='5.25', photon_index2='5.55', ts='0.70', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='8.83e-06', EG='1.15', time_epoch_completed='1673344580.87', return_code='0', job_id='209641', GAL2='0.93', EG2='1.07', return_code2='102', photon_flux_error2='5.46e-08', ts2='3.34', photon_index='2.64' WHERE bin_id='1757' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 01:56:20 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 209641: <4FGL_J1648.0+2221_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 01:40:23 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 01:45:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 01:45:51 2023
Terminated at Tue Jan 10 01:56:21 2023
Results reported at Tue Jan 10 01:56:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1757 252.023 22.3523 694742401 695001601 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 :                                   516.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            958 sec.

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

