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 224 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7682
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1764
RA = 150.294, Dec = 29.188
tmin = 696556801, tmax = 696816001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='440928', job_status='RUN', time_executed='2023-01-31 00:37:42.256996', time_epoch_executed='1675154262.26' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440928

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440928/ft1_4FGL_J1001.1+2911_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440928/ft1_4FGL_J1001.1+2911_daily_bin1764.fits outfile=/scratch/kocevski/440928/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1764.fits ra=150.294 dec=29.188 rad=12.0 tmin=696556801.0 tmax=696816001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.77
user 3.51
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/440928/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/440928/ltcube_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits
.....................!
real 15.83
user 15.32
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/440928/ltcube_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits outfile=/scratch/kocevski/440928/expmap_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/440928/ltcube_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits
.....................!
real 193.97
user 187.41
sys 5.56

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/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits outfile=/scratch/kocevski/440928/cmap_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits outfile=/scratch/kocevski/440928/cmap_HighResolution_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440928/Model_4FGL_J1001.1+2911_daily_bin1764.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits.....................!
real 51.98
user 50.27
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits', '/scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits', expMap='/scratch/kocevski/440928/expmap_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits', expCube='/scratch/kocevski/440928/ltcube_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440928/Model_4FGL_J1001.1+2911_daily_bin1764.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/440928/ft1_filtered_4FGL_J1001.1+2911_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/440928/ft2_4FGL_J1001.1+2911_daily_bin1764.fits
Exposure map: /scratch/kocevski/440928/expmap_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits
Exposure cube: /scratch/kocevski/440928/ltcube_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440928/Model_4FGL_J1001.1+2911_daily_bin1764.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3174       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.9205       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15003E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .57978E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    31.421       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.927       1.0000          .0000       .10000E+07
     7 'Prefactor '    .57621E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0871       1.0000          .0000       .10000E+07
     9 'norm      '    12.984       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.8055       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.101       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1000       1.0000          .0000       .10000E+07
    13 'norm      '    1.0339       1.0000          .0000       .10000E+07
    14 'Prefactor '    53.180       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23191E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .76716E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.5995       1.0000          .0000       .10000E+07
    18 'Prefactor '    28.465       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0068       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94277       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=   5732.206     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1601 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3169        1.6353       -.10581E-06   -.30131E-02
   2  Prefactor     2.9180        3.8433        .45928E-06   -.66097E-03
   3  Prefactor     .26645E-08    12.416        .67254E-06** at limit **
   4  Prefactor     .16653E-09    13.199       -.18461E-05** at limit **
   5  Prefactor     31.403        1.8486       -.20870E-06    .25429E-01
   6  Prefactor     17.911        10.200        .10348E-05    .54722E-02
   7  Prefactor     .16653E-09    5.2309        .10342E-05** at limit **
   8  Prefactor     1.0855        1.5802       -.30889E-07    .20359E-02
   9  norm          12.966        9.3121       -.29437E-05    .24027E-02
  10  Prefactor     4.8903        4.5845        .43886E-06    .31235E-02
  11  Prefactor     11.106        1.2239       -.85620E-07   -.98483E-02
  12  Prefactor     1.9963        5.3691       -.67511E-06    .17265E-02
  13  norm          1.0082        13.687       -.68661E-05   -.82449E-03
  14  Prefactor     53.244        1.1840        .52572E-07    .12742E-01
  15  Prefactor     .42522E-07    135.96       -.17176E-04** at limit **
  16  Prefactor     .55511E-10    2.3138        .35553E-06** at limit **
  17  Prefactor     3.5978        2.5586        .18206E-06    .92331E-02
  18  Prefactor     28.173        27.076        .20363E-05    .15157E-02
  19  Normalizat    1.0071        .21402        .92866E-06    .57425E-03
  20  Prefactor     .94283        .22374        .53448E-05    .48914E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.31688
  Prefactor  = 2.91797
  Prefactor  = 2.66454e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 31.4029
  Prefactor  = 17.9109
  Prefactor  = 1.66533e-10
  Prefactor  = 1.08548
  norm       = 12.9656
  Prefactor  = 4.89035
  Prefactor  = 11.1063
  Prefactor  = 1.99631
  norm       = 1.00824
  Prefactor  = 53.2439
  Prefactor  = 4.25215e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.59778
  Prefactor  = 28.1727
  Normalizat = 1.00709
  Prefactor  = 0.942828
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.206     FROM HESSE     STATUS=OK           339 CALLS     1940 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3169        1.6664        .95894E-03   -1.5685    
   2  Prefactor     2.9180        3.8751        .59421E-03   -1.5674    
   3  Prefactor     .26645E-08    12.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    13.175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.403        47.837        .17842E-03   -1.5596    
   6  Prefactor     17.911        10.224        .23628E-03   -1.5623    
   7  Prefactor     .16653E-09    5.2499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0855        1.8190        .25905E-02   -1.5687    
   9  norm          12.966        9.3207        .27773E-03   -1.5636    
  10  Prefactor     4.8903        4.6971        .45869E-03   -1.5664    
  11  Prefactor     11.106        27.038        .30044E-03   -1.5641    
  12  Prefactor     1.9963        5.5092        .71187E-03   -1.5680    
  13  norm          1.0082        13.638        .12421E-02   -1.5688    
  14  Prefactor     53.244        55.855        .13714E-03   -1.5562    
  15  Prefactor     .42522E-07    135.53        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    2.3016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5978        2.5559        .53235E-03   -1.5670    
  18  Prefactor     28.173        27.123        .18746E-03   -1.5602    
  19  Normalizat    1.0071        .18444        .46252E-01   -.92793    
  20  Prefactor     .94283        .19249        .45548E-01   -.94660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12413e-06
Minuit parameter uncertainties:
  1  1.66637
  2  3.87513
  3  0.00036266
  4  9.69117e-05
  5  47.8377
  6  10.2238
  7  5.59537e-05
  8  1.81896
  9  9.32071
  10  4.69708
  11  27.0386
  12  5.50917
  13  7.41631
  14  55.8555
  15  0.00480003
  16  2.52659e-05
  17  2.55587
  18  27.1229
  19  0.184558
  20  0.192632
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.085e+00  1.819e+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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.428e-01  1.926e-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.007e+00  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/440928/likelihoodResults_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5732.19787183
delta logL = 0.00765566760583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5732.19596772
delta logL = 0.00955977916146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1937       1.0000          .0000       .10000E+07
     2 'Index     '    2.1457       1.0000          .0000       10.000    
     3 'Normalizat'    1.0086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94150       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.

 FCN=   5732.196     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1929        70.718        .10410E-02    .54953E-02
   2  Index         2.1458        5.5605        .25013        .27982E-04
   3  Normalizat    1.0086        .55693E-01    .46275E-01    .92513E-05
   4  Prefactor     .94152        .58990E-01    .45532E-01    .11404E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19291
  Index      = 2.14582
  Normalizat = 1.00861
  Prefactor  = 0.941524
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.196     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .90E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1929        1.8638        .11794E-04   -1.5686    
   2  Index         2.1458        .87742        .11323E-01   -.60752    
   3  Normalizat    1.0086        .20674        .24204E-03   -.92743    
   4  Prefactor     .94152        .22279        .26757E-03   -.94705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.03712e-13
Minuit parameter uncertainties:
  1  1.86377
  2  0.88424
  3  0.206902
  4  0.223005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440928': 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) = 5732.19596762
delta logL = 0.00955987241286

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.193e+00  1.864e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.146e+00  8.842e-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:  9.415e-01  2.230e-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.009e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.69
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/440928/cmap_HighResolution_696556801_696816001_4FGL_J1001.1+2911_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-03', job_status='DONE', photon_flux_upper_limit='7.27e-08', time_completed='2023-01-31 00:46:35.645846', job_id='440928', GAL2='0.94', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1675154795.65', return_code2='0', ts='0.69', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.56e-03', ts2='0.71', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1764' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:46:35 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 440928: <4FGL_J1001.1+2911_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:30:40 2023
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:33:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:33:48 2023
Terminated at Tue Jan 31 00:46:36 2023
Results reported at Tue Jan 31 00:46:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1764 150.294 29.188 696556801 696816001 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 :                                   534.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             232.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            956 sec.

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

