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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7380
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1648.0+2221_daily_bin866
RA = 252.023, Dec = 22.3523
tmin = 463795201, tmax = 464054401
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='988172', job_status='RUN', time_executed='2021-09-15 15:45:56.080458', time_epoch_executed='1631745956.08' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='866'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/988172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/988172/ft1_4FGL_J1648.0+2221_daily_bin866.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/988172/ft1_4FGL_J1648.0+2221_daily_bin866.fits outfile=/scratch/kocevski/988172/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin866.fits ra=252.023 dec=22.3523 rad=12.0 tmin=463795201.0 tmax=464054401.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.47
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.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/988172/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin866.fits evtable="EVENTS" outfile="/scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits" evtable="EVENTS" scfile=/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits sctable="SC_DATA" outfile=/scratch/kocevski/988172/ltcube_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.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/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits
.....................!
real 13.75
user 13.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits evtable="EVENTS" scfile=/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits sctable="SC_DATA" expcube=/scratch/kocevski/988172/ltcube_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits outfile=/scratch/kocevski/988172/expmap_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.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/988172/ltcube_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits
.....................!
real 191.42
user 185.82
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/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits scfile=/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits outfile=/scratch/kocevski/988172/cmap_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits scfile=/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits outfile=/scratch/kocevski/988172/cmap_HighResolution_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.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.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits', '/scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits', expMap='/scratch/kocevski/988172/expmap_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits', expCube='/scratch/kocevski/988172/ltcube_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/988172/Model_4FGL_J1648.0+2221_daily_bin866.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/988172/ft1_filtered_4FGL_J1648.0+2221_daily_bin866.fits
Spacecraft file(s): /scratch/kocevski/988172/ft2_4FGL_J1648.0+2221_daily_bin866.fits
Exposure map: /scratch/kocevski/988172/expmap_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits
Exposure cube: /scratch/kocevski/988172/ltcube_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/988172/Model_4FGL_J1648.0+2221_daily_bin866.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) = 7370.44664907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2470       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1848       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.736       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.877       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3420       1.0000         .10000E-03   10000.    
     9 'norm      '    8.8780       1.0000         .10000E-03   10000.    
    10 'norm      '    19.434       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3116       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .77179       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.

 FCN=   7370.321     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      850 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2438        11.975       -.11033E-04   -.56212E-04
   2  Prefactor     26.999        14.649        .77437E-07    .49861E-04
   3  Prefactor     .10000E-03    11.721       -.78127E-06** at limit **
   4  Prefactor     9.1856        6.7749       -.92331E-06   -.26462E-04
   5  Prefactor     17.736        23.800       -.65838E-06    .10422E-04
   6  Prefactor     .10000E-03    69.253        .28794E-05** at limit **
   7  Prefactor     13.869        105.61       -.18415E-04    .22008E-05
   8  Prefactor     5.3409        15.351        .70249E-06   -.50354E-04
   9  norm          8.8780        3.5132       -.92984E-07    .56038E-04
  10  norm          19.383        48.113       -.81465E-04    .49075E-05
  11  Normalizat    1.3117        .20860        .40511E-06    .19823E-03
  12  Prefactor     .77178        .98151E-01    .22763E-05   -.61629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.24385
  Prefactor  = 26.9991
  Prefactor  = 0.0001
  Prefactor  = 9.18559
  Prefactor  = 17.7356
  Prefactor  = 0.0001
  Prefactor  = 13.8694
  Prefactor  = 5.34089
  norm       = 8.87798
  norm       = 19.3827
  Normalizat = 1.31165
  Prefactor  = 0.771776
 **********
 **   18 **HESSE 
 **********

 FCN=   7370.321     FROM HESSE     STATUS=OK           139 CALLS      989 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2438        11.989        .13960E-03   -1.5134    
   2  Prefactor     26.999        14.669        .77100E-04   -1.4668    
   3  Prefactor     .10000E-03    76.531        .55309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1856        6.7404        .13224E-03   -1.5102    
   5  Prefactor     17.736        23.780        .95103E-04   -1.4865    
   6  Prefactor     .10000E-03    69.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.869        105.76        .10752E-03   -1.4963    
   8  Prefactor     5.3409        15.312        .17388E-03   -1.5246    
   9  norm          8.8780        3.5124        .97519E-04   -1.5112    
  10  norm          19.383        48.125        .90854E-04   -1.4827    
  11  Normalizat    1.3117        .24247        .29943E-03   -.83219    
  12  Prefactor     .77178        .11536        .18111E-03   -1.0078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06486e-10
Minuit parameter uncertainties:
  1  11.9922
  2  14.6712
  3  4.79339e-05
  4  6.74094
  5  23.7927
  6  0.000242386
  7  76.7886
  8  15.3229
  9  3.51251
  10  48.222
  11  0.242681
  12  0.115399
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  7.718e-01  1.154e-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:  1.312e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.10
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 7.09e-08 +/- 5.20e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.31e-05

TS (Fixed Index): 3.10
Ra Dec: 252.023 22.352
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.38e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/988172/likelihoodResults_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.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) = 7370.19091393
delta logL = 0.13002896964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7370.18752826
delta logL = 0.133414635192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2673       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9852       1.0000          .0000       10.000    
     3 'Normalizat'    1.2937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77682       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=   7370.188     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      266 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2689        108.33        .37197E-02    .30985E-03
   2  Index         2.9855        6.4819        .15201        .11617E-03
   3  Normalizat    1.2937        .89886E-01    .68063E-01    .20203E-04
   4  Prefactor     .77682        .40134E-01    .43415E-01    .25428E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.26888
  Index      = 2.9855
  Normalizat = 1.29367
  Prefactor  = 0.776822
 **********
 **   18 **HESSE 
 **********

 FCN=   7370.188     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2689        7.3289        .14630E-03   -1.5169    
   2  Index         2.9855        .74423        .74338E-02   -.41468    
   3  Normalizat    1.2937        .24121        .30112E-03   -.83756    
   4  Prefactor     .77682        .11372        .18056E-03   -1.0059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77114e-09
Minuit parameter uncertainties:
  1  7.32979
  2  0.747551
  3  0.241424
  4  0.113754
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/988172': 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) = 7370.18752779
delta logL = 0.133415105267

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  7.269e+00  7.330e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.986e+00  7.476e-01  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:  7.768e-01  1.138e-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:  1.294e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 252.023 22.352
Photon Index (Free Index): 2.99 +/- 0.75
Photon Flux (Free Index): 8.69e-08 +/- 6.18e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.20e-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/988172/cmap_HighResolution_463795201_464054401_4FGL_J1648.0+2221_daily_bin866.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-02', comment='SUCCESS', photon_flux='7.09e-08', energy_flux2='1.75e-05', photon_flux_error='5.20e-08', dlogl='1.33e-01', energy_flux='1.79e-05', photon_flux2='8.69e-08', job_status='DONE', time_completed='2021-09-15 16:00:09.323328', photon_index_error2='0.75', photon_index2='2.99', ts='3.10', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.20e-05', EG='1.31', time_epoch_completed='1631746809.32', return_code='0', job_id='988172', GAL2='0.78', EG2='1.29', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='6.18e-08', ts2='3.39', photon_index='2.64' WHERE bin_id='866' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 16:00:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 988172: <4FGL_J1648.0+2221_daily_bin866> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin866 252.023 22.3523 463795201 464054401 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 :                                   533.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            890 sec.

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

