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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1749
RA = 252.023, Dec = 22.3523
tmin = 692668801, tmax = 692928001
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='956933', job_status='RUN', time_executed='2022-12-17 01:03:00.380690', time_epoch_executed='1671267780.38' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/956933

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/956933/ft1_4FGL_J1648.0+2221_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/956933/ft2_4FGL_J1648.0+2221_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/956933/ft1_4FGL_J1648.0+2221_daily_bin1749.fits outfile=/scratch/kocevski/956933/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1749.fits ra=252.023 dec=22.3523 rad=12.0 tmin=692668801.0 tmax=692928001.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.64
user 3.43
sys 0.20

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

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

Number of photons that the gtmktime cut: 798

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/956933/ft1_filtered_4FGL_J1648.0+2221_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/956933/ft2_4FGL_J1648.0+2221_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/956933/ltcube_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.fits outfile=/scratch/kocevski/956933/expmap_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.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/956933/ltcube_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.fits
.....................!
real 193.80
user 188.85
sys 4.58

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/956933/ft1_filtered_4FGL_J1648.0+2221_daily_bin1749.fits scfile=/scratch/kocevski/956933/ft2_4FGL_J1648.0+2221_daily_bin1749.fits outfile=/scratch/kocevski/956933/cmap_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/956933/ft1_filtered_4FGL_J1648.0+2221_daily_bin1749.fits scfile=/scratch/kocevski/956933/ft2_4FGL_J1648.0+2221_daily_bin1749.fits outfile=/scratch/kocevski/956933/cmap_HighResolution_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24577E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    29.639       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.5088       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45205E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3341       1.0000          .0000       .10000E+07
     6 'Prefactor '    28.685       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.609       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     9 'norm      '    .11519E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24519E-02   1.0000          .0000       .10000E+07
    11 'Normalizat'    .99695       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0793       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=   8445.491     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      632 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0717       -.17403E-06** at limit **
   2  Prefactor     29.352        15.020        .20927E-05    .93731E-02
   3  Prefactor     6.4851        13.164        .15845E-06    .58613E-02
   4  Prefactor     .10547E-08    29.712        .62082E-07** at limit **
   5  Prefactor     5.4764        46.606        .33331E-05    .78759E-02
   6  Prefactor     28.524        1.8393       -.33943E-07    .49599E-02
   7  Prefactor     13.234        15.787       -.17183E-05    .26815E-01
   8  Prefactor     21.383        14.544       -.87024E-06   -.36679E-02
   9  norm           .0000        1.2686        .53089E-07** at limit **
  10  norm          .13323E-08    39.556        .50744E-06** at limit **
  11  Normalizat    .99785        .25125       -.14452E-04    .35523E-03
  12  Prefactor     1.0793        .12154        .24643E-05    .44949E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 29.352
  Prefactor  = 6.48512
  Prefactor  = 1.05471e-09
  Prefactor  = 5.47641
  Prefactor  = 28.5236
  Prefactor  = 13.2337
  Prefactor  = 21.3833
  norm       = 0
  norm       = 1.33227e-09
  Normalizat = 0.997848
  Prefactor  = 1.07933
 **********
 **   18 **HESSE 
 **********

 FCN=   8445.491     FROM HESSE     STATUS=OK           155 CALLS      787 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.0455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.352        15.085        .18371E-03   -1.5600    
   3  Prefactor     6.4851        13.175        .39314E-03   -1.5657    
   4  Prefactor     .10547E-08    28.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4764        56.062        .43491E-03   -1.5661    
   6  Prefactor     28.524        28.506        .18674E-03   -1.5601    
   7  Prefactor     13.234        39.311        .27126E-03   -1.5635    
   8  Prefactor     21.383        14.564        .21489E-03   -1.5615    
   9  norm           .0000        1.2666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .13323E-08    39.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .99785        .21655        .80648E-01   -.93103    
  12  Prefactor     1.0793        .10391        .38433E-01   -.90130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02332e-07
Minuit parameter uncertainties:
  1  1.62736e-05
  2  15.0849
  3  13.1748
  4  0.000350499
  5  35.0443
  6  28.5058
  7  39.3122
  8  14.5641
  9  6.26417e-06
  10  0.000456789
  11  0.216737
  12  0.103926
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.055e-09  3.505e-04  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.079e+00  1.039e-01  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.978e-01  2.167e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/956933/likelihoodResults_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.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) = 8445.51740707
delta logL = -0.0265102189642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8445.44087321
delta logL = 0.0500236417156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64819       1.0000          .0000       .10000E+07
     2 'Index     '    3.6723       1.0000          .0000       10.000    
     3 'Normalizat'    .97628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0838       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8445.441     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      271 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64287        5.7361        .21481E-04   -.19614E-02
   2  Index         3.6816        3.0650        .66998E-02   -.20444E-04
   3  Normalizat    .97637        .25023        .36045E-03   -.30783E-04
   4  Prefactor     1.0838        .12125        .17047E-03   -.36146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.642869
  Index      = 3.6816
  Normalizat = 0.97637
  Prefactor  = 1.08375
 **********
 **   18 **HESSE 
 **********

 FCN=   8445.441     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64287        3.7614        .85924E-06   -1.5692    
   2  Index         3.6816        2.5503        .26799E-03   -.26684    
   3  Normalizat    .97637        .25061        .14418E-04   -.93826    
   4  Prefactor     1.0838        .12137        .68187E-05   -.89987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59191e-11
Minuit parameter uncertainties:
  1  3.11004
  2  2.68722
  3  0.250915
  4  0.121402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/956933': 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) = 8445.44086571
delta logL = 0.0500311425294

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.429e-01  3.110e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.682e+00  2.687e+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.084e+00  1.214e-01  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.764e-01  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/956933/cmap_HighResolution_692668801_692928001_4FGL_J1648.0+2221_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-12-17 01:11:59.811892', job_id='956933', GAL2='1.08', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1671268319.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='5.00e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1749' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:11:59 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 956933: <4FGL_J1648.0+2221_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 01:00:29 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:00:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:00:30 2022
Terminated at Sat Dec 17 01:12:00 2022
Results reported at Sat Dec 17 01:12:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1749 252.023 22.3523 692668801 692928001 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 :                                   542.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            691 sec.

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

