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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1764
RA = 226.821, Dec = 17.3519
tmin = 696556801, tmax = 696816001
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='452771', job_status='RUN', time_executed='2023-01-31 01:12:51.593153', time_epoch_executed='1675156371.59' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452771/ft1_4FGL_J1507.2+1721_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452771/ft1_4FGL_J1507.2+1721_daily_bin1764.fits outfile=/scratch/kocevski/452771/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1764.fits ra=226.821 dec=17.3519 rad=12.0 tmin=696556801.0 tmax=696816001.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 3.71
user 3.46
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.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/452771/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.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.33
sys 0.17

Number of photons that the gtmktime cut: 702

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/452771/ltcube_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.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/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits
.....................!
real 14.40
user 13.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/452771/ltcube_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits outfile=/scratch/kocevski/452771/expmap_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.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/452771/ltcube_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits
.....................!
real 191.65
user 185.61
sys 5.47

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/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits scfile=/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits outfile=/scratch/kocevski/452771/cmap_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits scfile=/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits outfile=/scratch/kocevski/452771/cmap_HighResolution_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits', '/scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits', expMap='/scratch/kocevski/452771/expmap_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits', expCube='/scratch/kocevski/452771/ltcube_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/452771/Model_4FGL_J1507.2+1721_daily_bin1764.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/452771/ft1_filtered_4FGL_J1507.2+1721_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/452771/ft2_4FGL_J1507.2+1721_daily_bin1764.fits
Exposure map: /scratch/kocevski/452771/expmap_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits
Exposure cube: /scratch/kocevski/452771/ltcube_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/452771/Model_4FGL_J1507.2+1721_daily_bin1764.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) = 7854.45130489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43293E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.1961       1.0000          .0000       .10000E+07
     3 'norm      '    .67724E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .14383E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61486       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.464       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10600E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.876       1.0000          .0000       .10000E+07
     9 'norm      '    .70169       1.0000          .0000       .10000E+07
    10 'norm      '    9.8191       1.0000          .0000       .10000E+07
    11 'norm      '    .88060E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    70.896       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10181E-03   1.0000          .0000       .10000E+07
    14 'norm      '    10.268       1.0000          .0000       .10000E+07
    15 'Normalizat'    .69774       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3791       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=   7854.451     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1164 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3229       -.27779E-06** at limit **
   2  norm          2.1968        2.0300       -.33070E-06    .68509E-02
   3  norm          .55511E-10    1.5879       -.50121E-07** at limit **
   4  norm          .55511E-10    2.8028        .27666E-06** at limit **
   5  Prefactor     .37748E-08    155.64        .10638E-04** at limit **
   6  Prefactor     13.455        1.0861        .23412E-07   -.84238E-02
   7  Prefactor     .39968E-08    10.078        .62178E-06** at limit **
   8  Prefactor     10.865        10.487        .35270E-05   -.12371E-02
   9  norm          .70147        .21698        .12025E-07    .23697E-01
  10  norm          9.8571        6.1789        .38148E-06   -.25316E-02
  11  norm          .61062E-09    23.973        .30255E-06** at limit **
  12  Prefactor     70.937        1.0386       -.62299E-08   -.20419E-02
  13  Prefactor      .0000        12.850        .31403E-06** at limit **
  14  norm          10.264        3.8508       -.72877E-07   -.25715E-03
  15  Normalizat    .69870        .26424       -.12989E-04   -.28051E-03
  16  Prefactor     1.3789        .17231       -.65573E-05   -.57452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.19677
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 3.77476e-09
  Prefactor  = 13.4549
  Prefactor  = 3.9968e-09
  Prefactor  = 10.8655
  norm       = 0.701466
  norm       = 9.85713
  norm       = 6.10623e-10
  Prefactor  = 70.9374
  Prefactor  = 0
  norm       = 10.264
  Normalizat = 0.698701
  Prefactor  = 1.37893
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.451     FROM HESSE     STATUS=OK           235 CALLS     1399 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1968        2.0227        .69410E-03   -1.5678    
   3  norm          .55511E-10    1.5823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    2.8003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .37748E-08    151.47        .67908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.455        16.243        .27272E-03   -1.5635    
   7  Prefactor     .39968E-08    10.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.865        10.493        .30356E-03   -1.5642    
   9  norm          .70147        .21872        .49626E-03   -1.5691    
  10  norm          9.8571        6.1882        .31955E-03   -1.5645    
  11  norm          .61062E-09    24.012        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     70.937        58.584        .11877E-03   -1.5540    
  13  Prefactor      .0000        12.854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.264        3.8515        .31244E-03   -1.5644    
  15  Normalizat    .69870        .23736        .92029E-01   -1.0394    
  16  Prefactor     1.3789        .15302        .31357E-01   -.80989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36537e-09
Minuit parameter uncertainties:
  1  1.42976e-05
  2  2.02268
  3  1.35112e-05
  4  1.82297e-05
  5  0.00151728
  6  16.2434
  7  0.000401347
  8  10.4933
  9  0.218718
  10  6.18825
  11  0.00024006
  12  58.5847
  13  3.52661e-05
  14  3.85148
  15  0.237708
  16  0.153067
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  6.106e-10  2.401e-04  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.379e+00  1.531e-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:  6.987e-01  2.377e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452771/likelihoodResults_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.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): 102
logL (Free Index) = 7854.47083183
delta logL = -0.0198727715988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7854.45095909
delta logL = -3.19460013998e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15194E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9035       1.0000          .0000       5.0000    
     3 'Normalizat'    .69865       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3790       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.

 FCN=   7854.451     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      251 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61062E-09    2.7915        .42118E-03** at limit **
   2  alpha         .96428        2.8328        .41850       -.21732E-10
   3  Normalizat    .69871        .21481E-02    .92029E-01   -.37611E-04
   4  Prefactor     1.3789        .13954E-02    .31358E-01   -.46921E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.10623e-10
  alpha      = 0.964277
  Normalizat = 0.698705
  Prefactor  = 1.37893
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.451     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      278 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61062E-09    13.558        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .96428        2.8063        .51000       -.66148    
   3  Normalizat    .69871        .47220E-02    .40772E-03   -1.0394    
   4  Prefactor     1.3789        .30766E-02    .19442E-03   -.80989    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.36846e-12
Minuit parameter uncertainties:
  1  0.000179102
  2  234288
  3  0.004722
  4  0.00307658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452771': 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): 102
logL (Free Index) = 7854.45095906
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  6.106e-10  1.791e-04  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  9.643e-01  2.343e+05  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.379e+00  3.077e-03  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:  6.987e-01  4.722e-03  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/452771/cmap_HighResolution_696556801_696816001_4FGL_J1507.2+1721_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-05', job_status='DONE', photon_flux_upper_limit='1.99e-08', time_completed='2023-01-31 01:21:21.435982', job_id='452771', GAL2='1.38', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1675156881.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-4.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1764' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:21:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 452771: <4FGL_J1507.2+1721_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 01:10:18 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:10:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:10:34 2023
Terminated at Tue Jan 31 01:21:22 2023
Results reported at Tue Jan 31 01:21:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1764 226.821 17.3519 696556801 696816001 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 :                                   510.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            664 sec.

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

