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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1748
RA = 226.821, Dec = 17.3519
tmin = 692409601, tmax = 692668801
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='889425', job_status='RUN', time_executed='2022-12-14 00:53:49.694962', time_epoch_executed='1671008029.69' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889425/ft1_4FGL_J1507.2+1721_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889425/ft1_4FGL_J1507.2+1721_daily_bin1748.fits outfile=/scratch/kocevski/889425/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1748.fits ra=226.821 dec=17.3519 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.33
sys 0.20

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

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

Number of photons that the gtmktime cut: 817

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889425/ft1_filtered_4FGL_J1507.2+1721_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889425/ltcube_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.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/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits
.....................!
real 12.07
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889425/ft1_filtered_4FGL_J1507.2+1721_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889425/ltcube_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.fits outfile=/scratch/kocevski/889425/expmap_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.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/889425/ltcube_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.fits
.....................!
real 190.82
user 185.74
sys 4.72

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/889425/ft1_filtered_4FGL_J1507.2+1721_daily_bin1748.fits scfile=/scratch/kocevski/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits outfile=/scratch/kocevski/889425/cmap_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889425/ft1_filtered_4FGL_J1507.2+1721_daily_bin1748.fits scfile=/scratch/kocevski/889425/ft2_4FGL_J1507.2+1721_daily_bin1748.fits outfile=/scratch/kocevski/889425/cmap_HighResolution_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7302       1.0000          .0000       .10000E+07
     2 'norm      '    8.1980       1.0000          .0000       .10000E+07
     3 'norm      '    .49649E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3191       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.150       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38791E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21118E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7174       1.0000          .0000       .10000E+07
     9 'norm      '    .53050       1.0000          .0000       .10000E+07
    10 'norm      '    .19187E-04   1.0000          .0000       .10000E+07
    11 'norm      '    11.175       1.0000          .0000       .10000E+07
    12 'Prefactor '    .84215       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81265E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .32521       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.7585       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77199       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=   8709.175     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1815 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8321        8.2988       -.32387E-06   -.54739E-03
   2  norm          8.1982        3.2666        .20393E-06    .19045E-02
   3  norm           .0000        1.2137       -.31445E-06** at limit **
   4  norm          2.3169        2.6802       -.30985E-06    .56695E-03
   5  Prefactor     15.170        21.118        .21534E-06   -.16804E-03
   6  Prefactor     .55511E-10    11.244       -.73214E-06** at limit **
   7  Prefactor     .16653E-09    14.782        .15401E-05** at limit **
   8  Prefactor     1.7293        4.4272       -.30562E-06   -.15709E-03
   9  norm          .53025        .17685       -.39018E-08    .46588E-02
  10  norm          .11102E-09    6.8728       -.87719E-06** at limit **
  11  norm          11.409        33.160       -.23459E-05    .27113E-03
  12  Prefactor     .90095E-07    737.55        .50228E-05** at limit **
  13  Prefactor     .55511E-10    14.166        .84066E-06** at limit **
  14  norm          .32767        2.0746       -.37538E-06   -.55854E-03
  15  Normalizat    1.7589        .24539        .87704E-05    .34647E-04
  16  Prefactor     .77189        .15168        .65223E-05    .10629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.8321
  norm       = 8.19819
  norm       = 0
  norm       = 2.31694
  Prefactor  = 15.17
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 1.72927
  norm       = 0.530254
  norm       = 1.11022e-10
  norm       = 11.4092
  Prefactor  = 9.00946e-08
  Prefactor  = 5.55112e-11
  norm       = 0.327668
  Normalizat = 1.75888
  Prefactor  = 0.77189
 **********
 **   18 **HESSE 
 **********

 FCN=   8709.175     FROM HESSE     STATUS=OK           237 CALLS     2052 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8321        8.2775        .38654E-03   -1.5656    
   2  norm          8.1982        3.2770        .34991E-03   -1.5651    
   3  norm           .0000        1.2075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3169        2.6875        .67332E-03   -1.5678    
   5  Prefactor     15.170        21.137        .25706E-03   -1.5630    
   6  Prefactor     .55511E-10    11.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    14.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7293        4.4832        .80146E-03   -1.5682    
   9  norm          .53025        .17811        .49414E-03   -1.5693    
  10  norm          .11102E-09    6.8754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.409        33.255        .29945E-03   -1.5640    
  12  Prefactor     .90095E-07    723.01        .49845E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    14.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .32767        2.0075        .98719E-03   -1.5697    
  15  Normalizat    1.7589        .20390        .60910E-01   -.70742    
  16  Prefactor     .77189        .12636        .43352E-01   -1.0077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08875e-08
Minuit parameter uncertainties:
  1  8.27755
  2  3.27699
  3  3.54957e-06
  4  2.68746
  5  21.1371
  6  5.9013e-05
  7  0.000105499
  8  4.48318
  9  0.17811
  10  6.02313e-05
  11  33.2551
  12  0.0161458
  13  4.6049e-05
  14  1.62208
  15  0.203997
  16  0.126411
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.141e+01  3.326e+01  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:  7.719e-01  1.264e-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:  1.759e+00  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/889425/likelihoodResults_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.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) = 8708.94645943
delta logL = 0.228280026564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8708.94615499
delta logL = 0.228584469785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.153       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4093       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76600       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=   8708.946     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      253 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.150        26.365        .11989E-04   -.80978E-03
   2  alpha         2.4096        1.2010        .18915E-01   -.20998E-04
   3  Normalizat    1.7625        .24267        .26911E-03   -.38317E-03
   4  Prefactor     .76610        .15099        .23869E-03   -.56047E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1499
  alpha      = 2.40965
  Normalizat = 1.7625
  Prefactor  = 0.766104
 **********
 **   18 **HESSE 
 **********

 FCN=   8708.946     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.150        23.741        .47958E-06   -1.5641    
   2  alpha         2.4096        1.0910        .75658E-03   -.36150E-01
   3  Normalizat    1.7625        .24285        .53822E-04   -.70647    
   4  Prefactor     .76610        .15113        .47739E-04   -1.0099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13065e-10
Minuit parameter uncertainties:
  1  23.7416
  2  1.12904
  3  0.243019
  4  0.151211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889425': 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) = 8708.94615435
delta logL = 0.228585111194

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.115e+01  2.374e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  2.410e+00  1.129e+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:  7.661e-01  1.512e-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:  1.763e+00  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/889425/cmap_HighResolution_692409601_692668801_4FGL_J1507.2+1721_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.24e-05', job_status='DONE', photon_flux_upper_limit='2.16e-08', time_completed='2022-12-14 01:03:16.936643', job_id='889425', GAL2='0.77', fit_tolerance='1e-08', EG2='1.76', EG='1.76', time_epoch_completed='1671008596.94', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.29e-01', ts2='0.61', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1748' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:03:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 889425: <4FGL_J1507.2+1721_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:22 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:23 2022
Terminated at Wed Dec 14 01:03:17 2022
Results reported at Wed Dec 14 01:03:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1748 226.821 17.3519 692409601 692668801 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 :                                   569.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            775 sec.

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

