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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1747
RA = 225.257, Dec = 22.6364
tmin = 692150401, tmax = 692409601
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='804908', job_status='RUN', time_executed='2022-12-11 01:08:04.263581', time_epoch_executed='1670749684.26' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804908

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804908/ft1_4FGL_J1501.0+2238_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804908/ft1_4FGL_J1501.0+2238_daily_bin1747.fits outfile=/scratch/kocevski/804908/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1747.fits ra=225.257 dec=22.6364 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.74
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.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/804908/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.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.49
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/804908/ltcube_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.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/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits
.....................!
real 11.76
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/804908/ltcube_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits outfile=/scratch/kocevski/804908/expmap_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.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/804908/ltcube_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits
.....................!
real 191.82
user 187.15
sys 4.35

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits outfile=/scratch/kocevski/804908/cmap_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.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=225.257 yref=22.6364 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits outfile=/scratch/kocevski/804908/cmap_HighResolution_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.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=225.257 yref=22.6364 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804908/Model_4FGL_J1501.0+2238_daily_bin1747.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/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits.....................!
real 57.43
user 56.08
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits', '/scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits', expMap='/scratch/kocevski/804908/expmap_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits', expCube='/scratch/kocevski/804908/ltcube_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804908/Model_4FGL_J1501.0+2238_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/804908/ft1_filtered_4FGL_J1501.0+2238_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/804908/ft2_4FGL_J1501.0+2238_daily_bin1747.fits
Exposure map: /scratch/kocevski/804908/expmap_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits
Exposure cube: /scratch/kocevski/804908/ltcube_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804908/Model_4FGL_J1501.0+2238_daily_bin1747.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) = 7734.59866802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15205E-03   1.0000          .0000       .10000E+07
     2 'norm      '    6.1990       1.0000          .0000       .10000E+07
     3 'norm      '    .49123E-04   1.0000          .0000       .10000E+07
     4 'norm      '    9.3361       1.0000          .0000       .10000E+07
     5 'Prefactor '    74.200       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.314       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16034E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.4920       1.0000          .0000       .10000E+07
     9 'norm      '    .18279E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .56765E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71415E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18383       1.0000          .0000       .10000E+07
    13 'Prefactor '    .62195E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20262       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13765E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4579       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7734.503     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1303 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1648        .37967E-07** at limit **
   2  norm          6.2003        2.4246       -.11982E-08    .29736E-03
   3  norm           .0000        6.4371        .34180E-07** at limit **
   4  norm          9.3440        4.7403        .76544E-08    .17115E-02
   5  Prefactor     76.069        40.390       -.24487E-06   -.67810E-02
   6  Prefactor     14.361        8.3397        .25777E-06    .82473E-01
   7  Prefactor      .0000        11.069        .29412E-07** at limit **
   8  Prefactor     7.4794        11.690       -.10684E-06    .15739E-02
   9  norm          .58177E-05    10.027        .28034E-06** at limit **
  10  Prefactor     .10203E-06    17.628        .76564E-07** at limit **
  11  norm           .0000        .30779        .21925E-07** at limit **
  12  Prefactor     .29438E-01    169.87       -.35918E-05** at limit **
  13  Prefactor     .50893E-05    12.167       -.69143E-06** at limit **
  14  Prefactor     .20184        2.7270       -.27153E-07** at limit **
  15  Prefactor     .28965E-05    918.42       -.36632E-05** at limit **
  16  Normalizat    1.4563        .22700        .28336E-05    .22208E-03
  17  Prefactor     .81684        .15363       -.10429E-05    .22524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 6.20029
  norm       = 0
  norm       = 9.34399
  Prefactor  = 76.0694
  Prefactor  = 14.3613
  Prefactor  = 0
  Prefactor  = 7.47945
  norm       = 5.81768e-06
  Prefactor  = 1.02029e-07
  norm       = 0
  Prefactor  = 0.0294376
  Prefactor  = 5.08932e-06
  Prefactor  = 0.20184
  Prefactor  = 2.89646e-06
  Normalizat = 1.45629
  Prefactor  = 0.816838
 **********
 **   18 **HESSE 
 **********

 FCN=   7734.503     FROM HESSE     STATUS=OK           271 CALLS     1574 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2003        2.4322        .40297E-03   -1.5658    
   3  norm           .0000        1.3172        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.3440        4.7415        .32775E-03   -1.5647    
   5  Prefactor     76.069        40.205        .11610E-03   -1.5534    
   6  Prefactor     14.361        20.653        .26447E-03   -1.5632    
   7  Prefactor      .0000        11.070        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4794        11.722        .36616E-03   -1.5653    
   9  norm          .58177E-05    16.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10203E-06    18.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .30748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .29438E-01    3.4531        .93932E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .50893E-05    16.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20184        1.2883        .34113E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28965E-05    902.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4563        .19252        .59186E-01   -.79014    
  17  Prefactor     .81684        .12953        .43927E-01   -.99111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70557e-07
Minuit parameter uncertainties:
  1  2.03647e-05
  2  2.43216
  3  2.15498e-06
  4  4.74153
  5  40.2054
  6  20.6533
  7  6.26178e-06
  8  11.7223
  9  0.0198339
  10  0.00272114
  11  2.52328e-07
  12  0.637658
  13  0.018496
  14  1.01988
  15  0.102296
  16  0.192612
  17  0.129577
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  7.479e+00  1.172e+01  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.168e-01  1.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.456e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/804908/likelihoodResults_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.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) = 7732.761928
delta logL = 1.74107446886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7732.74178391
delta logL = 1.76121855637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3253       1.0000          .0000       .10000E+07
     2 'Index     '    3.1726       1.0000          .0000       10.000    
     3 'Normalizat'    1.3832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+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=   7732.742     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      286 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3250        13.461        .73220E-05   -.27024E-01
   2  Index         3.1728        1.9288        .35620E-02   -.60670E-03
   3  Normalizat    1.3830        .22579        .26692E-03   -.54680E-03
   4  Prefactor     .83786        .15651        .23001E-03   -.71255E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.32498
  Index      = 3.17284
  Normalizat = 1.38301
  Prefactor  = 0.837864
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.742     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3250        3.9937        .29288E-06   -1.5677    
   2  Index         3.1728        .70657        .14248E-03   -.37410    
   3  Normalizat    1.3830        .22229        .53385E-04   -.81121    
   4  Prefactor     .83786        .15213        .46003E-04   -.98347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76941e-09
Minuit parameter uncertainties:
  1  3.99367
  2  0.70931
  3  0.222444
  4  0.15221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804908': 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) = 7732.74178308
delta logL = 1.76121938595

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  2.325e+00  3.994e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  3.173e+00  7.093e-01  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.379e-01  1.522e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.383e+00  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 225.257 22.636
Photon Index (Free Index): 3.17 +/- 0.71
Photon Flux (Free Index): 1.03e-07 +/- 6.05e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.15e-05

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/804908/cmap_HighResolution_692150401_692409601_4FGL_J1501.0+2238_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='1.76e+00', photon_flux2='1.03e-07', job_status='DONE', time_completed='2022-12-11 01:17:00.463962', photon_index_error2='0.71', photon_index2='3.17', ts='0.49', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.15e-05', EG='1.46', time_epoch_completed='1670750220.46', return_code='0', job_id='804908', GAL2='0.84', EG2='1.38', return_code2='0', photon_flux_error2='6.05e-08', ts2='4.12', photon_index='2.00' WHERE bin_id='1747' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:17:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 804908: <4FGL_J1501.0+2238_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 01:05:18 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:05:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:05:20 2022
Terminated at Sun Dec 11 01:17:01 2022
Results reported at Sun Dec 11 01:17:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1747 225.257 22.6364 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1501.0+2238 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   538.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            703 sec.

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

