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


Performing analysis on: 4FGL_J1648.0+2221_daily_bin1760
RA = 252.023, Dec = 22.3523
tmin = 695520001, tmax = 695779201
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='744446', job_status='RUN', time_executed='2023-01-19 01:24:20.946196', time_epoch_executed='1674120260.95' WHERE source_name='4FGL J1648.0+2221' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744446

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744446/ft1_4FGL_J1648.0+2221_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744446/ft1_4FGL_J1648.0+2221_daily_bin1760.fits outfile=/scratch/kocevski/744446/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1760.fits ra=252.023 dec=22.3523 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.45
user 2.21
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.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/744446/ft1_filteredMKT_4FGL_J1648.0+2221_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.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.54
user 0.34
sys 0.19

Number of photons that the gtmktime cut: 1028

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/744446/ltcube_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.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/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits
.....................!
real 16.92
user 16.40
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/744446/ltcube_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits outfile=/scratch/kocevski/744446/expmap_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.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/744446/ltcube_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits
.....................!
real 195.55
user 188.05
sys 6.83

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/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits scfile=/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits outfile=/scratch/kocevski/744446/cmap_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.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.61
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits scfile=/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits outfile=/scratch/kocevski/744446/cmap_HighResolution_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.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.59
user 0.38
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits', '/scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits', expMap='/scratch/kocevski/744446/expmap_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits', expCube='/scratch/kocevski/744446/ltcube_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/744446/Model_4FGL_J1648.0+2221_daily_bin1760.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/744446/ft1_filtered_4FGL_J1648.0+2221_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/744446/ft2_4FGL_J1648.0+2221_daily_bin1760.fits
Exposure map: /scratch/kocevski/744446/expmap_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits
Exposure cube: /scratch/kocevski/744446/ltcube_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/744446/Model_4FGL_J1648.0+2221_daily_bin1760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 11192.7887315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56146E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .97466E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .66683E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10880E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56456E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29452E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24667E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37188E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .79336       1.0000          .0000       .10000E+07
    10 'norm      '    .60625E-03   1.0000          .0000       .10000E+07
    11 'Normalizat'    .81284       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0549       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=   11192.65     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      661 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    2.6755        .43657E-06** at limit **
   2  Prefactor     .26090E-08    69.673       -.22279E-04** at limit **
   3  Prefactor     .55511E-10    12.028        .13019E-06** at limit **
   4  Prefactor     .55511E-10    3.8450        .67519E-06** at limit **
   5  Prefactor     .55511E-10    6.1410        .85249E-06** at limit **
   6  Prefactor     .22204E-09    29.410        .55024E-06** at limit **
   7  Prefactor     .22204E-09    10.301       -.12788E-05** at limit **
   8  Prefactor     .22204E-09    4.1786        .25412E-06** at limit **
   9  norm          .79611        2.0090        .14371E-05    .47308E-02
  10  norm          .23315E-08    24.486        .80375E-06** at limit **
  11  Normalizat    .81268        .19037        .83104E-05    .49959E-03
  12  Prefactor     1.0550        .95866E-01    .32101E-05    .56517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.60902e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 2.22045e-10
  norm       = 0.796114
  norm       = 2.33147e-09
  Normalizat = 0.812681
  Prefactor  = 1.05501
 **********
 **   18 **HESSE 
 **********

 FCN=   11192.65     FROM HESSE     STATUS=OK           145 CALLS      806 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    2.6766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26090E-08    66.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    11.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    6.1643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    29.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    10.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    4.1856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .79611        2.0097        .53431E-03   -1.5690    
  10  norm          .23315E-08    24.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .81268        .16270        .80290E-01   -.99600    
  12  Prefactor     1.0550        .81644E-01    .39631E-01   -.90918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46493e-09
Minuit parameter uncertainties:
  1  5.5598e-05
  2  0.000835947
  3  4.03511e-05
  4  2.47625e-05
  5  3.621e-05
  6  0.000167428
  7  9.58601e-05
  8  6.38032e-05
  9  2.00967
  10  0.000479025
  11  0.162802
  12  0.0816532
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  5.551e-11  2.476e-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:  1.055e+00  8.165e-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.127e-01  1.628e-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: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744446/likelihoodResults_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.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) = 11192.6584471
delta logL = -0.00362212810069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11192.6542352
delta logL = 0.000589787196077

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11192.65     FROM MIGRAD    STATUS=FAILED       115 CALLS      337 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87445E-01    290.03        .57122E-02** at limit **
   2  Index         1.7660        6.6937        .51574E-01   -.16364E-03
   3  Normalizat    .81283        .67009E-01    .35543E-03   -.17515E-03
   4  Prefactor     1.0548        .33812E-01    .15681E-03   -.20740E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11192.65     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      430 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87445E-01    290.03        .41036E-04** at limit **
   2  Index         1.7660        6.6937        .26952E-02   -.16364E-03
   3  Normalizat    .81283        .67009E-01    .74948E-04   -.17515E-03
   4  Prefactor     1.0548        .33812E-01    .34933E-04   -.20740E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11192.65     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      464 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87436E-01    18.017        .29955E-03** at limit **
   2  Index         1.7660        5.8527        .10315E-01   -.89496E-06
   3  Normalizat    .81283        .19022        .14217E-04   -.16729E-03
   4  Prefactor     1.0548        .95394E-01    .31363E-04   -.19081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0874358
  Index      = 1.76598
  Normalizat = 0.812827
  Prefactor  = 1.05482
 **********
 **   18 **HESSE 
 **********

 FCN=   11192.65     FROM HESSE     STATUS=OK            27 CALLS      491 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87436E-01    18.878        .11982E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7660        5.8520        .41259E-03   -.70339    
   3  Normalizat    .81283        .19012        .28434E-05   -.99595    
   4  Prefactor     1.0548        .95302E-01    .62726E-05   -.90924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24304e-11
Minuit parameter uncertainties:
  1  2.56952
  2  3.90922
  3  0.190273
  4  0.0953175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744446': 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) = 11192.6542276
delta logL = 0.0005974238411

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.055e+00  9.532e-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.128e-01  1.903e-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/744446/cmap_HighResolution_695520001_695779201_4FGL_J1648.0+2221_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2023-01-19 01:35:03.512618', job_id='744446', GAL2='1.05', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1674120903.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.97e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1760' AND source_name='4FGL J1648.0+2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:35:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 744446: <4FGL_J1648.0+2221_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1648.0+2221_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 01:20:13 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:20:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:20:29 2023
Terminated at Thu Jan 19 01:35:04 2023
Results reported at Thu Jan 19 01:35:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.0+2221_daily_bin1760 252.023 22.3523 695520001 695779201 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 :                                   644.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            891 sec.

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

