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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1710
RA = 150.294, Dec = 29.188
tmin = 682560001, tmax = 682819201
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='88873', job_status='RUN', time_executed='2022-09-16 15:10:02.081580', time_epoch_executed='1663366202.08' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88873/ft1_4FGL_J1001.1+2911_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88873/ft1_4FGL_J1001.1+2911_daily_bin1710.fits outfile=/scratch/kocevski/88873/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1710.fits ra=150.294 dec=29.188 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.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/88873/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 535

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/88873/ltcube_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.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/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits
.....................!
real 14.46
user 14.08
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/88873/ltcube_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits outfile=/scratch/kocevski/88873/expmap_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.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/88873/ltcube_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits
.....................!
real 191.73
user 186.34
sys 5.04

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

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits outfile=/scratch/kocevski/88873/cmap_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.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=150.294 yref=29.188 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/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits outfile=/scratch/kocevski/88873/cmap_HighResolution_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.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=150.294 yref=29.188 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88873/Model_4FGL_J1001.1+2911_daily_bin1710.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/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits.....................!
real 55.47
user 54.12
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits', '/scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits', expMap='/scratch/kocevski/88873/expmap_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits', expCube='/scratch/kocevski/88873/ltcube_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88873/Model_4FGL_J1001.1+2911_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88873/ft1_filtered_4FGL_J1001.1+2911_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/88873/ft2_4FGL_J1001.1+2911_daily_bin1710.fits
Exposure map: /scratch/kocevski/88873/expmap_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits
Exposure cube: /scratch/kocevski/88873/ltcube_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88873/Model_4FGL_J1001.1+2911_daily_bin1710.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) = 6150.85332043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0741       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18842E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    52.323       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5892       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.802       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.171       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.543       1.0000          .0000       .10000E+07
     8 'Prefactor '    .94202E-07   1.0000          .0000       .10000E+07
     9 'norm      '    30.051       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6904       1.0000          .0000       .10000E+07
    11 'Prefactor '    47.999       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10792E-05   1.0000          .0000       .10000E+07
    13 'norm      '    14.114       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.180       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27610E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.1255       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17664E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.4995       1.0000          .0000       .10000E+07
    19 'Normalizat'    .81491       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6150.853     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2798 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0749        2.0247        .13702E-08   -.48009E-04
   2  Prefactor      .0000        1.9391        .20182E-08** at limit **
   3  Prefactor     52.323        34.752        .44488E-07    .44548E-03
   4  Prefactor     8.5862        84.636       -.23002E-06   -.27842E-03
   5  Prefactor     19.701        48.449       -.15975E-06   -.51924E-03
   6  Prefactor     11.174        8.3064        .50043E-08   -.16949E-03
   7  Prefactor     12.537        11.029        .40149E-08   -.30241E-04
   8  Prefactor      .0000        1.0553        .93669E-09** at limit **
   9  norm          29.983        12.309       -.87056E-09    .12020E-04
  10  Prefactor     2.6917        4.0733        .32505E-07   -.62720E-03
  11  Prefactor     48.007        42.035        .22031E-07    .20562E-03
  12  Prefactor      .0000        2.1495       -.14982E-08** at limit **
  13  norm          14.102        11.086        .13943E-08   -.13862E-03
  14  Prefactor     16.348        46.718       -.35738E-07   -.11557E-03
  15  Prefactor      .0000        28.118       -.29750E-08** at limit **
  16  Prefactor     8.0783        7.6727        .17950E-06   -.31782E-02
  17  Prefactor      .0000        .97500       -.40661E-08** at limit **
  18  Prefactor     4.4402        37.514        .49044E-06    .85753E-03
  19  Normalizat    .81521        .18604       -.42331E-08   -.33534E-04
  20  Prefactor     1.3153        .19276       -.56447E-06    .97933E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.07489
  Prefactor  = 0
  Prefactor  = 52.3228
  Prefactor  = 8.5862
  Prefactor  = 19.7007
  Prefactor  = 11.1738
  Prefactor  = 12.5371
  Prefactor  = 0
  norm       = 29.9833
  Prefactor  = 2.69173
  Prefactor  = 48.0075
  Prefactor  = 0
  norm       = 14.1025
  Prefactor  = 16.3479
  Prefactor  = 0
  Prefactor  = 8.07828
  Prefactor  = 0
  Prefactor  = 4.44021
  Normalizat = 0.815211
  Prefactor  = 1.31534
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.853     FROM HESSE     STATUS=OK           299 CALLS     3097 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0749        2.0254        .76373E-05   -1.5668    
   2  Prefactor      .0000        1.9522        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.323        34.841        .55303E-05   -1.5563    
   4  Prefactor     8.5862        87.396        .13672E-04   -1.5649    
   5  Prefactor     19.701        49.037        .89918E-05   -1.5619    
   6  Prefactor     11.174        8.3075        .11980E-04   -1.5641    
   7  Prefactor     12.537        11.046        .11303E-04   -1.5637    
   8  Prefactor      .0000        1.0583        .78668E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          29.983        12.309        .72979E-05   -1.5598    
  10  Prefactor     2.6917        4.0683        .18207E-04   -1.5675    
  11  Prefactor     48.007        42.085        .57740E-05   -1.5569    
  12  Prefactor      .0000        2.1534        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.102        11.087        .10654E-04   -1.5633    
  14  Prefactor     16.348        46.783        .99492E-05   -1.5627    
  15  Prefactor      .0000        28.135        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.0783        7.9058        .70296E-04   -1.5651    
  17  Prefactor      .0000        .97879        .75643E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4402        40.370        .18976E-04   -1.5666    
  19  Normalizat    .81521        .21958        .28331E-03   -.99507    
  20  Prefactor     1.3153        .22684        .25294E-03   -.82852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62449e-10
Minuit parameter uncertainties:
  1  2.02545
  2  3.25544e-07
  3  34.8411
  4  54.7877
  5  49.0375
  6  8.30752
  7  11.0463
  8  3.16796e-08
  9  12.3093
  10  4.0683
  11  42.085
  12  1.23749e-06
  13  11.0871
  14  46.7842
  15  7.37859e-06
  16  7.90583
  17  1.92506e-06
  18  26.7772
  19  0.219823
  20  0.227014
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  0.000e+00  3.168e-08  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.315e+00  2.270e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.152e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88873/likelihoodResults_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.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) = 6150.85962798
delta logL = -0.00658665727133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6150.85304161
delta logL = -2.93845914712e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.3316       1.0000          .0000       10.000    
     3 'Normalizat'    .81529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6150.853     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      223 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0262        .42118E-03** at limit **
   2  Index         2.0962        .97450       -.93162E-05     .0000    
   3  Normalizat    .81521        1.1537        .13388E-04   -.72080E-04
   4  Prefactor     1.3153        1.0744       -.20092E-04    .34298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.09623
  Normalizat = 0.815211
  Prefactor  = 1.31534
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6150.853     FROM HESSE     STATUS=FAILED         9 CALLS      232 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47867        1.7020       -.93162E-05   -.61966    
   3  Normalizat    .81521        1.1537        .13388E-04   -.99507    
   4  Prefactor     1.3153        1.0744       -.20092E-04   -.82852    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.69954e-11
Minuit parameter uncertainties:
  1  1.14162e-06
  2  0.984058
  3  1.1914
  4  1.09338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88873': 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): 101
logL (Free Index) = 6150.85304132
delta logL = -2.27373675443e-11

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  0.000e+00  1.142e-06  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.096e+00  9.841e-01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.315e+00  1.093e+00  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.152e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 150.294 29.188

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/88873/cmap_HighResolution_682560001_682819201_4FGL_J1001.1+2911_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2022-09-16 15:20:42.736818', job_id='88873', GAL2='1.32', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1663366842.74', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='-2.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1710' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:20:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 88873: <4FGL_J1001.1+2911_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1710> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 15:05:25 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:06:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:06:28 2022
Terminated at Fri Sep 16 15:20:43 2022
Results reported at Fri Sep 16 15:20:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1710 150.294 29.188 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   643.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            918 sec.

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

