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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1773
RA = 226.821, Dec = 17.3519
tmin = 698889601, tmax = 699148801
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='794171', job_status='RUN', time_executed='2023-02-27 09:57:25.533255', time_epoch_executed='1677520645.53' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794171/ft1_4FGL_J1507.2+1721_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794171/ft1_4FGL_J1507.2+1721_daily_bin1773.fits outfile=/scratch/kocevski/794171/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1773.fits ra=226.821 dec=17.3519 rad=12.0 tmin=698889601.0 tmax=699148801.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.96
user 2.74
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.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/794171/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/794171/ltcube_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.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/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits
.....................!
real 14.87
user 14.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/794171/ltcube_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits outfile=/scratch/kocevski/794171/expmap_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.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/794171/ltcube_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits
.....................!
real 190.29
user 184.95
sys 4.62

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 144 point sources and 0 extended sources

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits outfile=/scratch/kocevski/794171/cmap_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.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=226.821 yref=17.3519 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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits outfile=/scratch/kocevski/794171/cmap_HighResolution_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.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=226.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794171/Model_4FGL_J1507.2+1721_daily_bin1773.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/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits.....................!
real 58.82
user 57.24
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits', '/scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits', expMap='/scratch/kocevski/794171/expmap_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits', expCube='/scratch/kocevski/794171/ltcube_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794171/Model_4FGL_J1507.2+1721_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794171/ft1_filtered_4FGL_J1507.2+1721_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/794171/ft2_4FGL_J1507.2+1721_daily_bin1773.fits
Exposure map: /scratch/kocevski/794171/expmap_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits
Exposure cube: /scratch/kocevski/794171/ltcube_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794171/Model_4FGL_J1507.2+1721_daily_bin1773.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) = 8232.60018218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.050       1.0000          .0000       .10000E+07
     2 'norm      '    5.3316       1.0000          .0000       .10000E+07
     3 'norm      '    .16537E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .76766E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .91762E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .32068E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15669E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.7438       1.0000          .0000       .10000E+07
     9 'norm      '    .59080       1.0000          .0000       .10000E+07
    10 'norm      '    1.7376       1.0000          .0000       .10000E+07
    11 'norm      '    .30414E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    55.044       1.0000          .0000       .10000E+07
    13 'Prefactor '    .93863E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.2700       1.0000          .0000       .10000E+07
    15 'Normalizat'    .74536       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2145       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8232.588     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1110 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.252        9.1375        .20687E-05   -.11623E-02
   2  norm          5.3320        3.0413        .82420E-08   -.10355E-01
   3  norm           .0000        7.0754        .12838E-06** at limit **
   4  norm          .55511E-10    2.6271        .24016E-06** at limit **
   5  Prefactor     .44409E-09    9.7896       -.49356E-05** at limit **
   6  Prefactor     .20478E-06    32.166        .37519E-05** at limit **
   7  Prefactor     .66613E-09    22.239       -.80779E-06** at limit **
   8  Prefactor     4.6358        7.5346       -.17622E-05   -.14855E-01
   9  norm          .59078        .17950       -.42303E-08    .77251E-01
  10  norm          1.7357        3.6089       -.13051E-06    .28796E-02
  11  norm          .56855E-06    18.058        .43249E-05** at limit **
  12  Prefactor     54.857        41.574       -.50561E-05    .49190E-02
  13  Prefactor     .36637E-08    10.031        .45347E-05** at limit **
  14  norm          1.2689        1.4092        .51303E-07    .21223E-01
  15  Normalizat    .74535        .22800        .47241E-05    .12439E-03
  16  Prefactor     1.2147        .14654        .19580E-05    .50503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2522
  norm       = 5.332
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 2.04781e-07
  Prefactor  = 6.66134e-10
  Prefactor  = 4.63582
  norm       = 0.590783
  norm       = 1.73569
  norm       = 5.68545e-07
  Prefactor  = 54.8572
  Prefactor  = 3.66374e-09
  norm       = 1.26889
  Normalizat = 0.74535
  Prefactor  = 1.2147
 **********
 **   18 **HESSE 
 **********

 FCN=   8232.588     FROM HESSE     STATUS=OK           245 CALLS     1355 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.252        9.2271        .28833E-03   -1.5638    
   2  norm          5.3320        3.0446        .43502E-03   -1.5662    
   3  norm           .0000        6.8046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    2.6174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .44409E-09    9.8239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20478E-06    13.741        .12510E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .66613E-09    21.714        .17340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6358        7.8273        .46173E-03   -1.5665    
   9  norm          .59078        .18095        .45944E-03   -1.5693    
  10  norm          1.7357        3.6553        .79575E-03   -1.5682    
  11  norm          .56855E-06    43.096        .16429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     54.857        41.643        .13480E-03   -1.5560    
  13  Prefactor     .36637E-08    10.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2689        1.4322        .98705E-03   -1.5685    
  15  Normalizat    .74535        .19936        .79898E-01   -1.0213    
  16  Prefactor     1.2147        .12661        .34297E-01   -.85880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96219e-08
Minuit parameter uncertainties:
  1  9.22715
  2  3.04465
  3  8.71429e-06
  4  2.14954e-05
  5  0.000135164
  6  0.00335503
  7  0.000238337
  8  7.82728
  9  0.180952
  10  3.65535
  11  0.0098998
  12  41.6429
  13  0.000383883
  14  1.43218
  15  0.19955
  16  0.126643
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  5.685e-07  9.900e-03  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.215e+00  1.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  7.453e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 226.821 17.352
Photon Flux Upper Limit: 1.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794171/likelihoodResults_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.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) = 8232.59958985
delta logL = -0.0111801800085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8232.53648669
delta logL = 0.0519229794627

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7261       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7723       1.0000          .0000       5.0000    
     3 'Normalizat'    .74677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2122       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+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.

 FCN=   8232.536     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      260 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7288        53.693        .31959E-04    .36149E-02
   2  alpha         2.7706        3.8279        .35830E-01    .45388E-04
   3  Normalizat    .74676        .22431        .35342E-03   -.40068E-03
   4  Prefactor     1.2122        .14632        .18388E-03   -.59159E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72878
  alpha      = 2.77063
  Normalizat = 0.746764
  Prefactor  = 1.21225
 **********
 **   18 **HESSE 
 **********

 FCN=   8232.536     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7288        11.597        .12784E-05   -1.5682    
   2  alpha         2.7706        1.9850        .14332E-02    .10847    
   3  Normalizat    .74676        .22396        .14137E-04   -1.0207    
   4  Prefactor     1.2122        .14622        .36775E-04   -.85955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08606e-10
Minuit parameter uncertainties:
  1  8.95498
  2  2.29914
  3  0.224235
  4  0.146267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794171': 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) = 8232.53648633
delta logL = 0.0519233367904

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.729e+00  8.955e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  2.771e+00  2.299e+00  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.212e+00  1.463e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  7.468e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 226.821 17.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/794171/cmap_HighResolution_698889601_699148801_4FGL_J1507.2+1721_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-05', job_status='DONE', photon_flux_upper_limit='1.60e-08', time_completed='2023-02-27 10:05:59.099683', job_id='794171', GAL2='1.21', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1677521159.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='5.19e-02', ts2='0.10', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1773' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:05:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 794171: <4FGL_J1507.2+1721_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:55:17 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:55:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:55:18 2023
Terminated at Mon Feb 27 10:05:59 2023
Results reported at Mon Feb 27 10:05:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1773 226.821 17.3519 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1507.2+1721 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   514.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            642 sec.

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

