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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1779
RA = 252.023, Dec = 22.3523
tmin = 700444801, tmax = 700704001
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='31865', job_status='RUN', time_executed='2023-03-17 02:04:04.505562', time_epoch_executed='1679043844.51' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/31865

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/31865/ft1_4FGL_J1648.0+2221_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/31865/ft2_4FGL_J1648.0+2221_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/31865/ft1_4FGL_J1648.0+2221_daily_bin1779.fits outfile=/scratch/kocevski/31865/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1779.fits ra=252.023 dec=22.3523 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.31
user 5.08
sys 0.20

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

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

Number of photons that the gtmktime cut: 790

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/31865/ft1_filtered_4FGL_J1648.0+2221_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/31865/ft2_4FGL_J1648.0+2221_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/31865/ltcube_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.fits outfile=/scratch/kocevski/31865/expmap_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.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/31865/ltcube_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.fits
.....................!
real 191.61
user 186.06
sys 5.24

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/31865/ft1_filtered_4FGL_J1648.0+2221_daily_bin1779.fits scfile=/scratch/kocevski/31865/ft2_4FGL_J1648.0+2221_daily_bin1779.fits outfile=/scratch/kocevski/31865/cmap_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/31865/ft1_filtered_4FGL_J1648.0+2221_daily_bin1779.fits scfile=/scratch/kocevski/31865/ft2_4FGL_J1648.0+2221_daily_bin1779.fits outfile=/scratch/kocevski/31865/cmap_HighResolution_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34417E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2465       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26035E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30034E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .96645E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18430E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .99531E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .74268E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.3245       1.0000          .0000       .10000E+07
    10 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1589       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .95853       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=   8769.038     FROM MIGRAD    STATUS=CONVERGED    244 CALLS      864 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2345        .42118E-03** at limit **
   2  Prefactor     6.2432        14.234        .40141E-03    .12859E-02
   3  Prefactor     .55511E-10    9.5727        .42118E-03** at limit **
   4  Prefactor     .11102E-09    11.667        .42118E-03** at limit **
   5  Prefactor     .50515E-07    15.820        .42118E-03** at limit **
   6  Prefactor     .56066E-08    18.672        .42118E-03** at limit **
   7  Prefactor     .55511E-10    49.099        .42118E-03** at limit **
   8  Prefactor     .31697E-07    15.221        .42118E-03** at limit **
   9  norm          1.3246        1.4602        .95499E-03   -.15622E-02
  10  norm          .55511E-10    26.103        .42118E-03** at limit **
  11  Normalizat    1.1590        .20208        .75075E-01    .54442E-04
  12  Prefactor     .95848        .93976E-01    .45747E-01    .48617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.24319
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 5.05151e-08
  Prefactor  = 5.60663e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 3.16969e-08
  norm       = 1.32459
  norm       = 5.55112e-11
  Normalizat = 1.15904
  Prefactor  = 0.958481
 **********
 **   18 **HESSE 
 **********

 FCN=   8769.038     FROM HESSE     STATUS=OK           121 CALLS      985 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2353        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2432        14.272        .16056E-04   -1.5658    
   3  Prefactor     .55511E-10    9.5843        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    11.823        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .50515E-07    15.827        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .56066E-08    18.679        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    49.122        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31697E-07    15.254        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3246        1.4617        .11569E-04   -1.5685    
  10  norm          .55511E-10    26.104        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1590        .24551        .33226E-03   -.87878    
  12  Prefactor     .95848        .11439        .17009E-03   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59949e-09
Minuit parameter uncertainties:
  1  7.77478e-06
  2  14.2725
  3  4.84139e-05
  4  7.99361e-05
  5  0.00178818
  6  0.000645952
  7  0.000117512
  8  0.00139026
  9  1.46172
  10  9.17165e-05
  11  0.245754
  12  0.114414
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.585e-01  1.144e-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.159e+00  2.458e-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.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/31865/likelihoodResults_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.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) = 8769.09038985
delta logL = -0.0520705732633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8769.03776634
delta logL = 0.000552941592105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12232       1.0000          .0000       .10000E+07
     2 'Index     '    1.6282       1.0000          .0000       10.000    
     3 'Normalizat'    1.1595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95808       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8769.038     FROM MIGRAD    STATUS=FAILED       111 CALLS      297 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12434        29.111        .28877E-03** at limit **
   2  Index         1.6431        5.6714        .42215E-01   -.14183E-03
   3  Normalizat    1.1592        .24087        .33224E-03   -.62893E-04
   4  Prefactor     .95822        .11446        .17011E-03   -.14660E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8769.038     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12434        29.111        .67519E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6431        5.6714        .52400E-02   -.73606    
   3  Normalizat    1.1592        .24087        .88333E-04   -.87872    
   4  Prefactor     .95822        .11446        .58459E-04   -.94135    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8769.038     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      413 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12435        28.341        .57755E-04** at limit **
   2  Index         1.6431        5.6851        .84430E-02   -.56080E-05
   3  Normalizat    1.1592        .24104        .13290E-04   -.10608E-04
   4  Prefactor     .95822        .11444        .34021E-04   -.25129E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.124345
  Index      = 1.64311
  Normalizat = 1.15924
  Prefactor  = 0.958219
 **********
 **   18 **HESSE 
 **********

 FCN=   8769.038     FROM HESSE     STATUS=OK            25 CALLS      438 TOTAL
                     EDM=   .50E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12435        28.676        .23102E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6431        5.6792        .16886E-02   -.73607    
   3  Normalizat    1.1592        .24063        .26579E-05   -.87872    
   4  Prefactor     .95822        .11427        .68043E-05   -.94135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0467e-13
Minuit parameter uncertainties:
  1  3.77665
  2  4.34984
  3  0.240856
  4  0.114301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/31865': 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) = 8769.03775972
delta logL = 0.000559558860914

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.243e-01  3.777e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  1.643e+00  4.350e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.582e-01  1.143e-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.159e+00  2.409e-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/31865/cmap_HighResolution_700444801_700704001_4FGL_J1648.0+2221_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-03-17 02:13:46.105663', job_id='31865', GAL2='0.96', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1679044426.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.60e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1779' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:13:46 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 31865: <4FGL_J1648.0+2221_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1779> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Mar 17 02:00:25 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:00:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:00:25 2023
Terminated at Fri Mar 17 02:13:47 2023
Results reported at Fri Mar 17 02:13:47 2023

Your job looked like:

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

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

