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


Performing analysis on: 4FGL_J1001.1+2911_weekly_bin758
RA = 150.294, Dec = 29.188
tmin = 697420801, tmax = 698025601
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='84413', job_status='RUN', time_executed='2023-02-14 00:57:45.559678', time_epoch_executed='1676365065.56' WHERE source_name='4FGL J1001.1+2911' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84413

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84413/ft1_4FGL_J1001.1+2911_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/84413/ft1_4FGL_J1001.1+2911_weekly_bin758.fits outfile=/scratch/kocevski/84413/ft1_filteredMKT_4FGL_J1001.1+2911_weekly_bin758.fits ra=150.294 dec=29.188 rad=12.0 tmin=697420801.0 tmax=698025601.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 7.95
user 7.65
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.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/84413/ft1_filteredMKT_4FGL_J1001.1+2911_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.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.53
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1128

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/84413/ltcube_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits outfile=/scratch/kocevski/84413/expmap_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.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/84413/ltcube_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits
.....................!
real 190.44
user 185.76
sys 4.36

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/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.fits scfile=/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits outfile=/scratch/kocevski/84413/cmap_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.fits scfile=/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits outfile=/scratch/kocevski/84413/cmap_HighResolution_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.fits', '/scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits', expMap='/scratch/kocevski/84413/expmap_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits', expCube='/scratch/kocevski/84413/ltcube_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84413/Model_4FGL_J1001.1+2911_weekly_bin758.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/84413/ft1_filtered_4FGL_J1001.1+2911_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/84413/ft2_4FGL_J1001.1+2911_weekly_bin758.fits
Exposure map: /scratch/kocevski/84413/expmap_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits
Exposure cube: /scratch/kocevski/84413/ltcube_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84413/Model_4FGL_J1001.1+2911_weekly_bin758.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) = 12623.3508166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1545       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3703       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.6829       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46157E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .87935E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6151       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17173E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23525       1.0000          .0000       .10000E+07
     9 'norm      '    32.847       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45879       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.706       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19373E-07   1.0000          .0000       .10000E+07
    13 'norm      '    16.272       1.0000          .0000       .10000E+07
    14 'Prefactor '    15.242       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.417       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.8562       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88504       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.4815       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .79859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12623.35     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1498 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1549        1.0232        .52483E-07    .89017E-02
   2  Prefactor     3.3721        2.1629        .49245E-07    .52911E-02
   3  Prefactor     8.6970        3.7765       -.14775E-07    .63542E-01
   4  Prefactor     .12212E-08    5.3190        .34070E-07** at limit **
   5  Prefactor     .16653E-09    12.378        .13466E-06** at limit **
   6  Prefactor     4.6307        4.4750       -.20961E-07    .27702E-02
   7  Prefactor     .77716E-09    7.2300        .99844E-08** at limit **
   8  Prefactor     .23552        .69424       -.50206E-07** at limit **
   9  norm          32.904        7.1490       -.23344E-07   -.12872    
  10  Prefactor     .45919        .98414       -.11253E-06   -.65467E-02
  11  Prefactor     10.711        3.9103        .21511E-07   -.68133E-01
  12  Prefactor      .0000        .57144        .23161E-07** at limit **
  13  norm          16.381        7.5366       -.55302E-08    .57644E-01
  14  Prefactor     15.412        34.638        .10509E-06   -.17770E-01
  15  Prefactor     20.437        3.3171        .72121E-09   -.57456E-01
  16  Prefactor     8.8716        4.7233        .20262E-07    .41077E-02
  17  Prefactor     .88433        .80625       -.26917E-07   -.45191E-02
  18  Prefactor     9.4951        2.7502       -.12567E-07    .48991E-01
  19  Normalizat    1.0621        .12932       -.17011E-05    .72903E-04
  20  Prefactor     .79865        .13814        .28392E-05    .20034E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.15492
  Prefactor  = 3.37214
  Prefactor  = 8.69698
  Prefactor  = 1.22125e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 4.6307
  Prefactor  = 7.77156e-10
  Prefactor  = 0.23552
  norm       = 32.9035
  Prefactor  = 0.459186
  Prefactor  = 10.7112
  Prefactor  = 0
  norm       = 16.3812
  Prefactor  = 15.4122
  Prefactor  = 20.4368
  Prefactor  = 8.87163
  Prefactor  = 0.884333
  Prefactor  = 9.49514
  Normalizat = 1.06213
  Prefactor  = 0.79865
 **********
 **   18 **HESSE 
 **********

 FCN=   12623.35     FROM HESSE     STATUS=OK           343 CALLS     1841 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1549        1.0477        .10748E-02   -1.5686    
   2  Prefactor     3.3721        2.1733        .55095E-03   -1.5671    
   3  Prefactor     8.6970        12.618        .33993E-03   -1.5649    
   4  Prefactor     .12212E-08    5.3464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    12.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6307        4.5106        .46828E-03   -1.5665    
   7  Prefactor     .77716E-09    7.2095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23552        .62487        .37742E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.904        7.6018        .17450E-03   -1.5593    
  10  Prefactor     .45919        1.0404        .36997E-02   -1.5694    
  11  Prefactor     10.711        11.004        .30596E-03   -1.5643    
  12  Prefactor      .0000        .56989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.381        7.7489        .24802E-03   -1.5627    
  14  Prefactor     15.412        36.225        .25628E-03   -1.5629    
  15  Prefactor     20.437        18.615        .22138E-03   -1.5618    
  16  Prefactor     8.8716        4.7316        .33657E-03   -1.5648    
  17  Prefactor     .88433        .80316        .46800E-03   -1.5689    
  18  Prefactor     9.4951        12.285        .32521E-03   -1.5646    
  19  Normalizat    1.0621        .11395        .39783E-01   -.90977    
  20  Prefactor     .79865        .12032        .43699E-01   -.99778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94321e-07
Minuit parameter uncertainties:
  1  1.04766
  2  2.17328
  3  12.6183
  4  0.000159809
  5  9.55849e-05
  6  4.51064
  7  0.000152017
  8  0.624872
  9  7.6018
  10  1.04039
  11  11.004
  12  1.25359e-06
  13  7.74887
  14  36.226
  15  18.6148
  16  4.73158
  17  0.803155
  18  12.2854
  19  0.113976
  20  0.120361
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.355e-01  6.249e-01  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:  7.986e-01  1.204e-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:  1.062e+00  1.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/84413/likelihoodResults_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.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) = 12623.1521522
delta logL = 0.198136489133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12623.1422311
delta logL = 0.208057570931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34203       1.0000          .0000       .10000E+07
     2 'Index     '    1.5322       1.0000          .0000       10.000    
     3 'Normalizat'    1.0655       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79517       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12623.14     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      285 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34219        .65726        .14667E-03   -.99792E-02
   2  Index         1.5318        .91479        .16180E-01   -.35602E-04
   3  Normalizat    1.0655        .12517        .21728E-03    .15697E-05
   4  Prefactor     .79514        .13748        .27092E-03    .37600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.342191
  Index      = 1.53183
  Normalizat = 1.0655
  Prefactor  = 0.795141
 **********
 **   18 **HESSE 
 **********

 FCN=   12623.14     FROM HESSE     STATUS=OK            27 CALLS      312 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34219        .65553        .58667E-05   -1.5696    
   2  Index         1.5318        .91479        .64721E-03   -.76652    
   3  Normalizat    1.0655        .12530        .86912E-05   -.90867    
   4  Prefactor     .79514        .13763        .10837E-04   -.99908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56606e-10
Minuit parameter uncertainties:
  1  0.655534
  2  0.924924
  3  0.125334
  4  0.137685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84413': 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) = 12623.1422309
delta logL = 0.208057810185

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.422e-01  6.555e-01  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  1.532e+00  9.249e-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:  7.951e-01  1.377e-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:  1.065e+00  1.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/84413/cmap_HighResolution_697420801_698025601_4FGL_J1001.1+2911_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-03', job_status='DONE', photon_flux_upper_limit='3.34e-08', time_completed='2023-02-14 01:11:18.044531', job_id='84413', GAL2='0.80', fit_tolerance='1e-08', EG2='1.07', EG='1.06', time_epoch_completed='1676365878.04', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.08e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='758' AND source_name='4FGL J1001.1+2911' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:11:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 84413: <4FGL_J1001.1+2911_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1001.1+2911_weekly_bin758> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 14 00:55:23 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 00:55:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 00:55:24 2023
Terminated at Tue Feb 14 01:11:18 2023
Results reported at Tue Feb 14 01:11:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_weekly_bin758 150.294 29.188 697420801 698025601 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 :                                   814.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

