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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1753
RA = 150.294, Dec = 29.188
tmin = 693705601, tmax = 693964801
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='451367', job_status='RUN', time_executed='2022-12-29 00:43:44.180341', time_epoch_executed='1672303424.18' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/451367

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/451367/ft1_4FGL_J1001.1+2911_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/451367/ft1_4FGL_J1001.1+2911_daily_bin1753.fits outfile=/scratch/kocevski/451367/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1753.fits ra=150.294 dec=29.188 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.71
user 4.38
sys 0.27

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

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

Number of photons that the gtmktime cut: 461

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/451367/ft1_filtered_4FGL_J1001.1+2911_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/451367/ltcube_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.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/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits
.....................!
real 15.15
user 14.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/451367/ft1_filtered_4FGL_J1001.1+2911_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/451367/ltcube_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.fits outfile=/scratch/kocevski/451367/expmap_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.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/451367/ltcube_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.fits
.....................!
real 192.04
user 186.38
sys 5.10

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/451367/ft1_filtered_4FGL_J1001.1+2911_daily_bin1753.fits scfile=/scratch/kocevski/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits outfile=/scratch/kocevski/451367/cmap_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/451367/ft1_filtered_4FGL_J1001.1+2911_daily_bin1753.fits scfile=/scratch/kocevski/451367/ft2_4FGL_J1001.1+2911_daily_bin1753.fits outfile=/scratch/kocevski/451367/cmap_HighResolution_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3700       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23210E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    48.078       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.536       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .92243E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12070E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0481       1.0000          .0000       .10000E+07
     9 'norm      '    11.106       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0169       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33656E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    13 'norm      '    .23073E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9007       1.0000          .0000       .10000E+07
    15 'Prefactor '    37.242       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.8536       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24200       1.0000          .0000       .10000E+07
    18 'Prefactor '    .73711E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .89315       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81323       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=   5040.984     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1538 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3694        1.3874        .34597E-07    .16332E-02
   2  Prefactor      .0000        1.3563        .11825E-06** at limit **
   3  Prefactor     48.345        15.355       -.85203E-06   -.23206E-01
   4  Prefactor     10.570        2.8816       -.34399E-06   -.20139E-01
   5  Prefactor     .27756E-09    39.793        .25717E-05** at limit **
   6  Prefactor     .55511E-10    1.5825       -.39599E-06** at limit **
   7  Prefactor      .0000        2.1129        .29892E-06** at limit **
   8  Prefactor     2.0486        1.8316        .75778E-07    .26759E-02
   9  norm          11.117        7.5796       -.47258E-06   -.12548E-02
  10  Prefactor     1.0132        2.7839       -.78532E-07    .74584E-03
  11  Prefactor     .33307E-09    25.157       -.39530E-05** at limit **
  12  Prefactor     4.6244        4.5659       -.26195E-07   -.57204E-03
  13  norm          .55511E-10    14.672        .25483E-05** at limit **
  14  Prefactor     10.476        122.36       -.17200E-05    .40881E-03
  15  Prefactor     37.305        25.038       -.16185E-05    .16563E-01
  16  Prefactor     4.8642        6.2717       -.18007E-06    .41026E-03
  17  Prefactor     .24268        1.7410       -.35989E-08** at limit **
  18  Prefactor      .0000        9.1668        .42223E-06** at limit **
  19  Normalizat    .89093        .18857       -.10337E-04    .99342E-04
  20  Prefactor     .81398        .20115        .68219E-05    .46901E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3694
  Prefactor  = 0
  Prefactor  = 48.3448
  Prefactor  = 10.5701
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.04863
  norm       = 11.1171
  Prefactor  = 1.01316
  Prefactor  = 3.33067e-10
  Prefactor  = 4.62436
  norm       = 5.55112e-11
  Prefactor  = 10.4758
  Prefactor  = 37.3049
  Prefactor  = 4.8642
  Prefactor  = 0.242679
  Prefactor  = 0
  Normalizat = 0.890931
  Prefactor  = 0.81398
 **********
 **   18 **HESSE 
 **********

 FCN=   5040.984     FROM HESSE     STATUS=OK           333 CALLS     1871 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3694        1.4040        .93119E-03   -1.5685    
   2  Prefactor      .0000        1.3586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.345        27.420        .14423E-03   -1.5569    
   4  Prefactor     10.570        18.865        .30843E-03   -1.5643    
   5  Prefactor     .27756E-09    39.823        .96903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    1.5817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.1193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0486        1.8397        .72212E-03   -1.5679    
   9  norm          11.117        7.5692        .30038E-03   -1.5641    
  10  Prefactor     1.0132        2.9718        .12903E-02   -1.5688    
  11  Prefactor     .33307E-09    25.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6244        4.7310        .46710E-03   -1.5665    
  13  norm          .55511E-10    14.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.476        122.18        .38168E-03   -1.5643    
  15  Prefactor     37.305        29.999        .16388E-03   -1.5586    
  16  Prefactor     4.8642        6.3057        .45637E-03   -1.5664    
  17  Prefactor     .24268        1.7407        .11071E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        9.1465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .89093        .16057        .44814E-01   -.96780    
  20  Prefactor     .81398        .17136        .43889E-01   -.99215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13132e-08
Minuit parameter uncertainties:
  1  1.40395
  2  1.3133e-06
  3  27.4202
  4  18.865
  5  0.000217828
  6  1.58505e-05
  7  2.74001e-06
  8  1.83973
  9  7.56919
  10  2.97184
  11  0.000187814
  12  4.73097
  13  4.77008e-05
  14  71.5551
  15  29.999
  16  6.30567
  17  1.2999
  18  9.64836e-06
  19  0.160659
  20  0.171476
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.049e+00  1.840e+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:  8.140e-01  1.715e-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.909e-01  1.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.34
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 9.78e-06

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

Saving results to:
/scratch/kocevski/451367/likelihoodResults_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.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) = 5040.91353269
delta logL = 0.0706790374761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5040.90992479
delta logL = 0.074286939147

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5040.910     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      289 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7136        2.0125        .73014E-05    .83147E-03
   2  Index         2.5946        .91399        .78412E-02    .34922E-03
   3  Normalizat    .87718        .18072        .21060E-03    .76275E-04
   4  Prefactor     .82291        .20012        .24411E-03    .10399E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71356
  Index      = 2.59456
  Normalizat = 0.877176
  Prefactor  = 0.822911
 **********
 **   18 **HESSE 
 **********

 FCN=   5040.910     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7136        1.8816        .29205E-06   -1.5682    
   2  Index         2.5946        .85433        .15682E-02   -.50189    
   3  Normalizat    .87718        .18048        .84242E-05   -.97267    
   4  Prefactor     .82291        .20006        .97645E-05   -.98889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92143e-11
Minuit parameter uncertainties:
  1  1.88162
  2  0.859837
  3  0.180606
  4  0.200238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/451367': 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) = 5040.90992454
delta logL = 0.0742871837292

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.714e+00  1.882e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.595e+00  8.598e-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:  8.229e-01  2.002e-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.772e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.59 +/- 0.86
Photon Flux (Free Index): 3.80e-08 +/- 4.03e-08
Energy Flux (Free Index): 1.00e-05 +/- 8.31e-06

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/451367/cmap_HighResolution_693705601_693964801_4FGL_J1001.1+2911_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-03', comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.00e-05', photon_flux_error='2.45e-08', dlogl='7.43e-02', energy_flux='1.09e-05', photon_flux2='3.80e-08', job_status='DONE', time_completed='2022-12-29 00:52:22.389573', photon_index_error2='0.86', photon_index2='2.59', ts='2.34', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='8.59e-08', energy_flux_error2='8.31e-06', EG='0.89', time_epoch_completed='1672303942.39', return_code='0', job_id='451367', GAL2='0.82', EG2='0.88', return_code2='0', energy_flux_error='9.78e-06', photon_flux_error2='4.03e-08', ts2='2.49', photon_index='2.27' WHERE bin_id='1753' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:52:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 451367: <4FGL_J1001.1+2911_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 00:40:25 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:43:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:43:00 2022
Terminated at Thu Dec 29 00:52:23 2022
Results reported at Thu Dec 29 00:52:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1753 150.294 29.188 693705601 693964801 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 :                                   518.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            718 sec.

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

