/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 158 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 = 7474
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1150
RA = 252.023, Dec = 22.3523
tmin = 537408001, tmax = 537667201
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='991919', job_status='RUN', time_executed='2021-09-15 16:00:36.991753', time_epoch_executed='1631746836.99' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/991919

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/991919/ft1_4FGL_J1648.0+2221_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/991919/ft2_4FGL_J1648.0+2221_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/991919/ft1_4FGL_J1648.0+2221_daily_bin1150.fits outfile=/scratch/kocevski/991919/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1150.fits ra=252.023 dec=22.3523 rad=12.0 tmin=537408001.0 tmax=537667201.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 4.60
user 4.30
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/991919/ft1_filtered_4FGL_J1648.0+2221_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/991919/ft2_4FGL_J1648.0+2221_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/991919/ltcube_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.fits outfile=/scratch/kocevski/991919/expmap_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.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/991919/ltcube_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.fits
.....................!
real 194.71
user 188.82
sys 5.40

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/991919/ft1_filtered_4FGL_J1648.0+2221_daily_bin1150.fits scfile=/scratch/kocevski/991919/ft2_4FGL_J1648.0+2221_daily_bin1150.fits outfile=/scratch/kocevski/991919/cmap_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/991919/ft1_filtered_4FGL_J1648.0+2221_daily_bin1150.fits scfile=/scratch/kocevski/991919/ft2_4FGL_J1648.0+2221_daily_bin1150.fits outfile=/scratch/kocevski/991919/cmap_HighResolution_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1412       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.805       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3550       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .76092       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7758.414     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     1122 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6400         .0000    ** at limit **
   2  Prefactor     11.097        11.146         .0000        .14625E-02
   3  Prefactor     .10000E-03    24.409         .0000    ** at limit **
   4  Prefactor     4.1412        6.0906         .0000        .10675E-01
   5  Prefactor     .10000E-03    124.28         .0000    ** at limit **
   6  Prefactor     .10000E-03    12.686         .0000    ** at limit **
   7  Prefactor     .10000E-03    45.389         .0000    ** at limit **
   8  Prefactor     17.805        13.062         .0000        .31773E-04
   9  norm          .10000E-03    .84147         .0000    ** at limit **
  10  norm          .10000E-03    30.765         .0000    ** at limit **
  11  Normalizat    1.3549        .19841         .0000        .78158E-05
  12  Prefactor     .76094        .94578E-01     .0000        .67933E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.0974
  Prefactor  = 0.0001
  Prefactor  = 4.14122
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8052
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.35487
  Prefactor  = 0.760944
 **********
 **   18 **HESSE 
 **********

 FCN=   7758.414     FROM HESSE     STATUS=OK           125 CALLS     1247 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.097        11.160        .60134E-03   -1.5042    
   3  Prefactor     .10000E-03    25.183        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1412        6.0765        .99037E-03   -1.5301    
   5  Prefactor     .10000E-03    129.09        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    45.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.805        13.074        .94919E-04   -1.4864    
   9  norm          .10000E-03    .85229        .78892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    30.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.3549        .23858        .28638E-03   -.81943    
  12  Prefactor     .76094        .11384        .17706E-03   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60796e-10
Minuit parameter uncertainties:
  1  1.29746e-06
  2  11.1622
  3  1.78e-06
  4  6.07743
  5  7.72276e-05
  6  2.43584e-06
  7  4.00971e-06
  8  13.0764
  9  4.63305e-08
  10  7.24583e-06
  11  0.23878
  12  0.113877
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  4.141e+00  6.077e+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.609e-01  1.139e-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.355e+00  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/991919/likelihoodResults_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.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) = 7758.25410908
delta logL = 0.16011529573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7758.24359987
delta logL = 0.17062450409

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1197       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1817       1.0000          .0000       10.000    
     3 'Normalizat'    1.3659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75579       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=   7758.244     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      313 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1183        7.5686        .16229E-03   -.10585E-03
   2  Index         2.1816        .70215        .11183E-01    .23653E-04
   3  Normalizat    1.3659        .23659        .28537E-03    .62944E-04
   4  Prefactor     .75584        .11344        .17756E-03    .15418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.11833
  Index      = 2.18163
  Normalizat = 1.36588
  Prefactor  = 0.755842
 **********
 **   18 **HESSE 
 **********

 FCN=   7758.244     FROM HESSE     STATUS=OK            23 CALLS      336 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1183        7.5604        .64916E-05   -1.5213    
   2  Index         2.1816        .70149        .44730E-03   -.59883    
   3  Normalizat    1.3659        .23683        .11415E-04   -.81621    
   4  Prefactor     .75584        .11354        .71022E-05   -1.0138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21364e-11
Minuit parameter uncertainties:
  1  7.56162
  2  0.704904
  3  0.237022
  4  0.113575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/991919': 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) = 7758.24359944
delta logL = 0.170624939123

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.118e+00  7.562e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.182e+00  7.049e-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.558e-01  1.136e-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.366e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
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/991919/cmap_HighResolution_537408001_537667201_4FGL_J1648.0+2221_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-15 16:10:45.318575', job_id='991919', GAL2='0.76', fit_tolerance='1e-08', EG2='1.37', EG='1.35', time_epoch_completed='1631747445.32', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.71e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1150' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 16:10:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 991919: <4FGL_J1648.0+2221_daily_bin1150> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1150> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 15 15:55:15 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 15:57:49 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:57:49 2021
Terminated at Wed Sep 15 16:10:46 2021
Results reported at Wed Sep 15 16:10:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1150 252.023 22.3523 537408001 537667201 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 :                                   581.00 sec.
    Max Memory :                                 1119 MB
    Average Memory :                             280.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            931 sec.

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

