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


Performing analysis on: 4FGL_J0648.7+1516_monthly_bin170
RA = 102.19, Dec = 15.2808
tmin = 677635201, tmax = 680227201
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='87451', job_status='RUN', time_executed='2022-07-23 00:54:38.919793', time_epoch_executed='1658562878.92' WHERE source_name='4FGL J0648.7+1516' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87451

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87451/ft1_4FGL_J0648.7+1516_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87451/ft1_4FGL_J0648.7+1516_monthly_bin170.fits outfile=/scratch/kocevski/87451/ft1_filteredMKT_4FGL_J0648.7+1516_monthly_bin170.fits ra=102.19 dec=15.2808 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.16
user 31.27
sys 0.81

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.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/87451/ft1_filteredMKT_4FGL_J0648.7+1516_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.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.87
user 0.67
sys 0.19

Number of photons that the gtmktime cut: 26121

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/87451/ltcube_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.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/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits
.....................!
real 115.71
user 114.32
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/87451/ltcube_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits outfile=/scratch/kocevski/87451/expmap_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.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/87451/ltcube_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits
.....................!
real 194.03
user 187.62
sys 6.04

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
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 164 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0648.7+1516 @ 102.19 15.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits outfile=/scratch/kocevski/87451/cmap_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.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=102.19 yref=15.2808 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.84
user 0.67
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits outfile=/scratch/kocevski/87451/cmap_HighResolution_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.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=102.19 yref=15.2808 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.85
user 0.66
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87451/Model_4FGL_J0648.7+1516_monthly_bin170.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
adding source IC 443
adding source Monoceros
adding source Rosette
adding source S 147
Working on...
/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits.....................!
real 5681.16
user 5669.24
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits', '/scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits', expMap='/scratch/kocevski/87451/expmap_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits', expCube='/scratch/kocevski/87451/ltcube_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87451/Model_4FGL_J0648.7+1516_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0648.7+1516'

4FGL J0648.7+1516
   Spectrum: PowerLaw
297    Prefactor:  5.724e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.714e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/87451/ft1_filtered_4FGL_J0648.7+1516_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/87451/ft2_4FGL_J0648.7+1516_monthly_bin170.fits
Exposure map: /scratch/kocevski/87451/expmap_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits
Exposure cube: /scratch/kocevski/87451/ltcube_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87451/Model_4FGL_J0648.7+1516_monthly_bin170.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) = 252032.05723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5871       1.0000         .10000E-03   10000.    
     5 'norm      '    9.8808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1038       1.0000         .10000E-03   10000.    
     7 'norm      '    17.373       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.2511       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.025       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.567       1.0000         .10000E-03   10000.    
    12 'norm      '    .83081       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.5901       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0499       1.0000          .0000       10.000    
    15 'norm      '    3.2127       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   252031.4     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     1187 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.318         .0000    ** at limit **
   2  Prefactor     .10000E-03    4.1360         .0000    ** at limit **
   3  Prefactor     .10000E-03    1.1865         .0000    ** at limit **
   4  norm          3.5794        3.6707         .0000        .37574E-01
   5  norm          9.8838        3.2721         .0000        .11710E-02
   6  Prefactor     1.1046        3.2584         .0000        .81330E-01
   7  norm          17.371        4.1364         .0000        .44523E-03
   8  Prefactor     8.2566        9.9213         .0000        .25098E-02
   9  Prefactor     15.019        4.2820         .0000        .28374E-02
  10  Prefactor     .10000E-03    9.7627         .0000    ** at limit **
  11  norm          16.549        4.7031         .0000        .18521E-02
  12  norm          .83075        .38169         .0000        .28284E-01
  13  Normalizat    1.5901        .84155E-01     .0000        .46633E-03
  14  Prefactor     1.0499        .14865E-01     .0000       -.67175E-03
  15  norm          3.2127        .22137         .0000        .71968E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.57937
  norm       = 9.88384
  Prefactor  = 1.10464
  norm       = 17.3714
  Prefactor  = 8.25658
  Prefactor  = 15.0192
  Prefactor  = 0.0001
  norm       = 16.5495
  norm       = 0.830746
  Normalizat = 1.59015
  Prefactor  = 1.04993
  norm       = 3.2127
 **********
 **   18 **HESSE 
 **********

 FCN=   252031.4     FROM HESSE     STATUS=OK           186 CALLS     1373 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5794        3.6543        .10668E-02   -1.5330    
   5  norm          9.8838        3.2594        .12748E-03   -1.5079    
   6  Prefactor     1.1046        3.1999        .22570E-02   -1.5498    
   7  norm          17.371        4.1373        .96090E-04   -1.4874    
   8  Prefactor     8.2566        9.9330        .13957E-03   -1.5133    
   9  Prefactor     15.019        4.2942        .10333E-03   -1.4933    
  10  Prefactor     .10000E-03    10.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.549        4.7220        .98400E-04   -1.4894    
  12  norm          .83075        .37316        .19928E-03   -1.5526    
  13  Normalizat    1.5901        .87102E-01    .80041E-03   -.75276    
  14  Prefactor     1.0499        .15562E-01    .17696E-03   -.91083    
  15  norm          3.2127        .22139        .59645E-04   -1.5349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76691e-08
Minuit parameter uncertainties:
  1  0.000163331
  2  1.21716e-05
  3  1.48119e-06
  4  3.6545
  5  3.25944
  6  3.2004
  7  4.13739
  8  9.93499
  9  4.29429
  10  2.0556e-05
  11  4.72215
  12  0.373162
  13  0.08711
  14  0.015562
  15  0.221395
Done.

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

Extracting fit parameters...

4FGL J0648.7+1516
   Spectrum: PowerLaw
297    Prefactor:  1.105e+00  3.200e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.714e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
557    Prefactor:  1.050e+00  1.556e-02  0.000e+00  1.000e+01 ( 1.000e+00)
558        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
559        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  1.590e+00  8.711e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 102.190 15.281
Photon Flux Upper Limit: 1.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.24e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87451/likelihoodResults_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.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) = 252031.12309
delta logL = 0.243679848994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 252031.116388
delta logL = 0.250381166639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90105       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5421       1.0000          .0000       10.000    
     3 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0500       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+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.

 FCN=   252031.1     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      274 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90114        2.8193        .51246E-03    .53243E-04
   2  Index         2.5429        1.4082        .12948E-02    .15004E-04
   3  Normalizat    1.5842        .81185E-01    .80140E-03    .25421E-04
   4  Prefactor     1.0500        .14912E-01    .17694E-03    .14803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.90114
  Index      = 2.54289
  Normalizat = 1.58424
  Prefactor  = 1.04999
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90114        2.3147        .20498E-04   -1.5518    
   2  Index         2.5429        1.1629        .25896E-03   -.51372    
   3  Normalizat    1.5842        .80943E-01    .32056E-04   -.75438    
   4  Prefactor     1.0500        .14909E-01    .70777E-05   -.91081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96524e-13
Minuit parameter uncertainties:
  1  2.31493
  2  1.17722
  3  0.0809496
  4  0.0149089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87451': 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) = 252031.116387
delta logL = 0.250381900958

Extracting fit parameters...

4FGL J0648.7+1516
   Spectrum: PowerLaw
297    Prefactor:  9.011e-01  2.315e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  2.543e+00  1.177e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
557    Prefactor:  1.050e+00  1.491e-02  0.000e+00  1.000e+01 ( 1.000e+00)
558        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
559        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  1.584e+00  8.095e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 102.190 15.281

Creating a high resolution counts map...
INFO: Auto-setting vmin to -4.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  4.440e+00 [aplpy.core]
Saving /scratch/kocevski/87451/cmap_HighResolution_677635201_680227201_4FGL_J0648.7+1516_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.24e-04', job_status='DONE', photon_flux_upper_limit='1.26e-08', time_completed='2022-07-23 04:33:21.107916', job_id='87451', GAL2='1.05', fit_tolerance='1e-08', EG2='1.58', EG='1.59', time_epoch_completed='1658576001.11', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.50e-01', ts2='0.66', photon_index_error='0.00', photon_index='1.71' WHERE bin_id='170' AND source_name='4FGL J0648.7+1516' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 04:33:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 87451: <4FGL_J0648.7+1516_monthly_bin170> in cluster <slac> Done

Job <4FGL_J0648.7+1516_monthly_bin170> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:50:43 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:50:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:50:44 2022
Terminated at Sat Jul 23 04:33:23 2022
Results reported at Sat Jul 23 04:33:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0648.7+1516_monthly_bin170 102.19 15.2808 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0648.7+1516 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13091.00 sec.
    Max Memory :                                 697 MB
    Average Memory :                             635.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13358 sec.
    Turnaround time :                            13360 sec.

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

