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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1778
RA = 252.023, Dec = 22.3523
tmin = 700185601, tmax = 700444801
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='971586', job_status='RUN', time_executed='2023-03-14 01:38:59.734551', time_epoch_executed='1678783139.73' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/971586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/971586/ft1_4FGL_J1648.0+2221_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/971586/ft2_4FGL_J1648.0+2221_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/971586/ft1_4FGL_J1648.0+2221_daily_bin1778.fits outfile=/scratch/kocevski/971586/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1778.fits ra=252.023 dec=22.3523 rad=12.0 tmin=700185601.0 tmax=700444801.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.95
user 3.72
sys 0.21

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

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

Number of photons that the gtmktime cut: 831

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/971586/ft1_filtered_4FGL_J1648.0+2221_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/971586/ft2_4FGL_J1648.0+2221_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/971586/ltcube_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.fits outfile=/scratch/kocevski/971586/expmap_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.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/971586/ltcube_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.fits
.....................!
real 191.72
user 185.75
sys 5.38

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/971586/ft1_filtered_4FGL_J1648.0+2221_daily_bin1778.fits scfile=/scratch/kocevski/971586/ft2_4FGL_J1648.0+2221_daily_bin1778.fits outfile=/scratch/kocevski/971586/cmap_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/971586/ft1_filtered_4FGL_J1648.0+2221_daily_bin1778.fits scfile=/scratch/kocevski/971586/ft2_4FGL_J1648.0+2221_daily_bin1778.fits outfile=/scratch/kocevski/971586/cmap_HighResolution_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4150       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.3265       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38973E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1360       1.0000          .0000       .10000E+07
     5 'Prefactor '    .56347E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    52.793       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10237E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .91607E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .25147E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .18862E-01   1.0000          .0000       .10000E+07
    11 'Normalizat'    .82431       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0167       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=   9230.593     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      770 TOTAL
                     EDM=   .21E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3723        9.4999       -.10980E-06   -.39037E-04
   2  Prefactor     9.2632        14.500        .67952E-07    .10799E-04
   3  Prefactor      .0000        5.6043       -.98967E-08** at limit **
   4  Prefactor     5.1334        4.4382       -.46399E-07   -.82797E-05
   5  Prefactor      .0000        16.466        .33256E-06** at limit **
   6  Prefactor     53.864        52.008       -.79559E-07   -.90597E-05
   7  Prefactor      .0000        54.010        .10670E-06** at limit **
   8  Prefactor      .0000        4.8927       -.80356E-07** at limit **
   9  norm           .0000        .47520       -.15473E-07** at limit **
  10  norm           .0000        25.090       -.16986E-06** at limit **
  11  Normalizat    .82394        .23055       -.37777E-05    .19645E-07
  12  Prefactor     1.0167        .10727        .14430E-05   -.94032E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.37233
  Prefactor  = 9.26323
  Prefactor  = 0
  Prefactor  = 5.13335
  Prefactor  = 0
  Prefactor  = 53.8644
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Normalizat = 0.823942
  Prefactor  = 1.01669
 **********
 **   18 **HESSE 
 **********

 FCN=   9230.593     FROM HESSE     STATUS=OK           149 CALLS      919 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3723        9.4943        .34534E-03   -1.5650    
   2  Prefactor     9.2632        14.476        .32792E-03   -1.5647    
   3  Prefactor      .0000        5.6032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1334        4.4377        .44338E-03   -1.5663    
   5  Prefactor      .0000        16.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.864        51.881        .13764E-03   -1.5561    
   7  Prefactor      .0000        53.957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.8931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .47540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        25.098        .17113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .82394        .19570        .83166E-01   -.99187    
  12  Prefactor     1.0167        .90555E-01    .42488E-01   -.92175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87357e-08
Minuit parameter uncertainties:
  1  9.49431
  2  14.4757
  3  5.49694e-08
  4  4.43773
  5  2.49516e-06
  6  51.8818
  7  5.03139e-06
  8  8.87389e-08
  9  7.05108e-08
  10  1.79477e-06
  11  0.195868
  12  0.0905687
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  5.133e+00  4.438e+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:  1.017e+00  9.057e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  8.239e-01  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 3.96e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 9.99e-06 +/- 8.63e-06

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

Saving results to:
/scratch/kocevski/971586/likelihoodResults_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.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) = 9230.59044442
delta logL = 0.00267694223658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9230.58953981
delta logL = 0.00358155896538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9303       1.0000          .0000       .10000E+07
     2 'Index     '    2.7137       1.0000          .0000       10.000    
     3 'Normalizat'    .82172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0174       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=   9230.590     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      209 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9362        112.36        .45272E-03    .34586E-02
   2  Index         2.7154        6.2782        .22850        .82208E-04
   3  Normalizat    .82155        .79106E-01    .83275E-01    .37603E-04
   4  Prefactor     1.0174        .32357E-01    .42413E-01   -.38702E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93622
  Index      = 2.71545
  Normalizat = 0.821549
  Prefactor  = 1.0174
 **********
 **   18 **HESSE 
 **********

 FCN=   9230.590     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9362        5.1490        .17523E-04   -1.5664    
   2  Index         2.7154        .87693        .11117E-01   -.47452    
   3  Normalizat    .82155        .22504        .36873E-03   -.99274    
   4  Prefactor     1.0174        .10735        .16004E-03   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35126e-09
Minuit parameter uncertainties:
  1  5.14899
  2  0.882719
  3  0.225295
  4  0.107368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/971586': 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) = 9230.58953401
delta logL = 0.00358735747432

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  4.936e+00  5.149e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.715e+00  8.827e-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:  1.017e+00  1.074e-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:  8.215e-01  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.31
Ra Dec: 252.023 22.352
Photon Index (Free Index): 2.72 +/- 0.88
Photon Flux (Free Index): 4.16e-08 +/- 4.13e-08
Energy Flux (Free Index): 9.90e-06 +/- 8.63e-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/971586/cmap_HighResolution_700185601_700444801_4FGL_J1648.0+2221_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.29e-03', comment='SUCCESS', photon_flux='3.96e-08', energy_flux2='9.90e-06', photon_flux_error='3.42e-08', dlogl='3.59e-03', energy_flux='9.99e-06', photon_flux2='4.16e-08', job_status='DONE', time_completed='2023-03-14 01:48:23.048705', photon_index_error2='0.88', photon_index2='2.72', ts='2.31', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='8.63e-06', EG='0.82', time_epoch_completed='1678783703.05', return_code='0', job_id='971586', GAL2='1.02', EG2='0.82', return_code2='0', energy_flux_error='8.63e-06', photon_flux_error2='4.13e-08', ts2='2.31', photon_index='2.64' WHERE bin_id='1778' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:48:23 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 971586: <4FGL_J1648.0+2221_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 01:35:13 2023
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:35:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:35:14 2023
Terminated at Tue Mar 14 01:48:23 2023
Results reported at Tue Mar 14 01:48:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1778 252.023 22.3523 700185601 700444801 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 :                                   565.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

