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


Performing analysis on: 4FGL_J0648.7+1516_monthly_bin177
RA = 102.19, Dec = 15.2808
tmin = 695779201, tmax = 698371201
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='519218', job_status='RUN', time_executed='2023-02-18 03:04:20.009046', time_epoch_executed='1676718260.01' WHERE source_name='4FGL J0648.7+1516' and cadence='monthly' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519218

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519218/ft1_4FGL_J0648.7+1516_monthly_bin177.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519218/ft1_4FGL_J0648.7+1516_monthly_bin177.fits outfile=/scratch/kocevski/519218/ft1_filteredMKT_4FGL_J0648.7+1516_monthly_bin177.fits ra=102.19 dec=15.2808 rad=12.0 tmin=695779201.0 tmax=698371201.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 34.26
user 33.45
sys 0.74

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

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

Number of photons that the gtmktime cut: 26809

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits" evtable="EVENTS" scfile=/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits sctable="SC_DATA" outfile=/scratch/kocevski/519218/ltcube_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.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/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits
.....................!
real 113.35
user 111.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/519218/ltcube_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits outfile=/scratch/kocevski/519218/expmap_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.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/519218/ltcube_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits
.....................!
real 193.87
user 189.08
sys 4.45

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_8years/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_8years/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/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits scfile=/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits outfile=/scratch/kocevski/519218/cmap_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.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.82
user 0.65
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits scfile=/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits outfile=/scratch/kocevski/519218/cmap_HighResolution_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.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.82
user 0.66
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/519218/Model_4FGL_J0648.7+1516_monthly_bin177.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/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits.....................!
real 5864.17
user 5847.44
sys 4.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits', '/scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits', expMap='/scratch/kocevski/519218/expmap_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits', expCube='/scratch/kocevski/519218/ltcube_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/519218/Model_4FGL_J0648.7+1516_monthly_bin177.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  0.000e+00  1.000e+06 ( 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/519218/ft1_filtered_4FGL_J0648.7+1516_monthly_bin177.fits
Spacecraft file(s): /scratch/kocevski/519218/ft2_4FGL_J0648.7+1516_monthly_bin177.fits
Exposure map: /scratch/kocevski/519218/expmap_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits
Exposure cube: /scratch/kocevski/519218/ltcube_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/519218/Model_4FGL_J0648.7+1516_monthly_bin177.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) = 255597.959657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72367       1.0000          .0000       .10000E+07
     2 'norm      '    4.0000       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.167       1.0000          .0000       .10000E+07
     4 'norm      '    3.6482       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32768E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.4690       1.0000          .0000       .10000E+07
     7 'norm      '    24.615       1.0000          .0000       .10000E+07
     8 'norm      '    .86733       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.2383       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .97329       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.

 FCN=   255597.2     FROM MIGRAD    STATUS=CONVERGED    178 CALLS      663 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71612        1.5724         .0000        .52589    
   2  norm          3.9997        2.5566         .0000        .80125E-01
   3  Prefactor     10.160        4.6234         .0000       -.39342E-01
   4  norm          3.6452        1.8391         .0000       -.34022E-01
   5  Prefactor      .0000        2.7904         .0000    ** at limit **
   6  Prefactor     7.4735        2.6085         .0000       -.45708E-01
   7  norm          24.618        4.2276         .0000        .69318E-01
   8  norm          .86771        .35331         .0000        .30340    
   9  Normalizat    1.2383        .72446E-01     .0000        .90500E-03
  10  Prefactor     .97328        .13188E-01     .0000        .91604E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.716121
  norm       = 3.9997
  Prefactor  = 10.1597
  norm       = 3.64525
  Prefactor  = 0
  Prefactor  = 7.47348
  norm       = 24.6175
  norm       = 0.867712
  Normalizat = 1.23833
  Prefactor  = 0.973279
 **********
 **   18 **HESSE 
 **********

 FCN=   255597.2     FROM HESSE     STATUS=OK            98 CALLS      761 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71612        1.5522        .11761E-03   -1.5691    
   2  norm          3.9997        2.5560        .20161E-04   -1.5668    
   3  Prefactor     10.160        4.6229        .12560E-04   -1.5644    
   4  norm          3.6452        1.8395        .10573E-03   -1.5670    
   5  Prefactor      .0000        2.7932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.4735        2.6118        .14669E-04   -1.5653    
   7  norm          24.618        4.2433        .80641E-05   -1.5609    
   8  norm          .86771        .35206        .18285E-04   -1.5689    
   9  Normalizat    1.2383        .74614E-01    .79499E-03   -.85426    
  10  Prefactor     .97328        .13701E-01    .16693E-03   -.93626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4575e-08
Minuit parameter uncertainties:
  1  1.55217
  2  2.55596
  3  4.62288
  4  1.83948
  5  6.68309e-06
  6  2.61175
  7  4.24326
  8  0.352063
  9  0.0746203
  10  0.013701
Done.

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

Extracting fit parameters...

4FGL J0648.7+1516
   Spectrum: PowerLaw
297    Prefactor:  1.016e+01  4.623e+00  0.000e+00  1.000e+06 ( 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:  9.733e-01  1.370e-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.238e+00  7.462e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.03
Ra Dec: 102.190 15.281
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 5.17e-09
Energy Flux (Fixed Index): 1.78e-05 +/- 8.09e-06

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) = 255597.223073
delta logL = 0.000502607872477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 255597.223006
delta logL = 0.000569380325032

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   255597.2     FROM MIGRAD    STATUS=FAILED        97 CALLS      274 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.216        5.0950        .12530E-04   -.51680E-02
   2  Index         1.7036        .31080        .15231E-01    .27875E-02
   3  Normalizat    1.2384        .70385E-01    .79496E-03    .33224E-03
   4  Prefactor     .97328        .13441E-01    .16693E-03    .14580E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   255597.2     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      346 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.216        5.0950        .61906E-05   -1.5644    
   2  Index         1.7036        .31080        .32227E-03   -.71987    
   3  Normalizat    1.2384        .70385E-01    .10690E-03   -.85423    
   4  Prefactor     .97328        .13441E-01    .21716E-04   -.93626    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   255597.2     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      374 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.216        4.9561        .50121E-06   -.50719E-03
   2  Index         1.7036        .30279        .30461E-02    .11308E-03
   3  Normalizat    1.2384        .70375E-01    .31799E-04   -.45763E-05
   4  Prefactor     .97328        .13442E-01    .66771E-05   -.21794E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2159
  Index      = 1.70357
  Normalizat = 1.23845
  Prefactor  = 0.97328
 **********
 **   18 **HESSE 
 **********

 FCN=   255597.2     FROM HESSE     STATUS=OK            25 CALLS      399 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.216        4.9330        .37298E-06   -1.5644    
   2  Index         1.7036        .30142        .60923E-03   -.71987    
   3  Normalizat    1.2384        .70322E-01    .63597E-05   -.85423    
   4  Prefactor     .97328        .13434E-01    .13354E-05   -.93626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71472e-13
Minuit parameter uncertainties:
  1  4.93301
  2  0.301747
  3  0.0703271
  4  0.0134337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519218': 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) = 255597.223006
delta logL = 0.000570103176869

Extracting fit parameters...

4FGL J0648.7+1516
   Spectrum: PowerLaw
297    Prefactor:  1.022e+01  4.933e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.704e+00  3.017e-01  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:  9.733e-01  1.343e-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.238e+00  7.033e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.03
Ra Dec: 102.190 15.281
Photon Index (Free Index): 1.70 +/- 0.30
Photon Flux (Free Index): 1.11e-08 +/- 8.45e-09
Energy Flux (Free Index): 1.80e-05 +/- 1.04e-05

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/519218/cmap_HighResolution_695779201_698371201_4FGL_J0648.7+1516_monthly_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='1.80e-05', photon_flux_error='5.17e-09', dlogl='5.70e-04', energy_flux='1.78e-05', photon_flux2='1.11e-08', job_status='DONE', time_completed='2023-02-18 05:55:10.445403', photon_index_error2='0.30', photon_index2='1.70', ts='18.03', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='1.24', time_epoch_completed='1676728510.45', return_code='0', job_id='519218', GAL2='0.97', EG2='1.24', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='8.45e-09', ts2='18.03', photon_index='1.71' WHERE bin_id='177' AND source_name='4FGL J0648.7+1516' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Feb 18 05:55:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 519218: <4FGL_J0648.7+1516_monthly_bin177> in cluster <slac> Done

Job <4FGL_J0648.7+1516_monthly_bin177> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 03:00:29 2023
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 03:00:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 03:00:30 2023
Terminated at Sat Feb 18 05:55:12 2023
Results reported at Sat Feb 18 05:55:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0648.7+1516_monthly_bin177 102.19 15.2808 695779201 698371201 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 :                                   10218.00 sec.
    Max Memory :                                 700 MB
    Average Memory :                             621.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10481 sec.
    Turnaround time :                            10483 sec.

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

