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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1748
RA = 150.294, Dec = 29.188
tmin = 692409601, tmax = 692668801
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='881870', job_status='RUN', time_executed='2022-12-14 00:27:03.602839', time_epoch_executed='1671006423.6' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881870

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881870/ft1_4FGL_J1001.1+2911_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881870/ft1_4FGL_J1001.1+2911_daily_bin1748.fits outfile=/scratch/kocevski/881870/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1748.fits ra=150.294 dec=29.188 rad=12.0 tmin=692409601.0 tmax=692668801.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.62
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.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/881870/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881870/ft1_filtered_4FGL_J1001.1+2911_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881870/ft1_filtered_4FGL_J1001.1+2911_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881870/ltcube_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.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/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits
.....................!
real 12.11
user 11.58
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881870/ft1_filtered_4FGL_J1001.1+2911_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881870/ltcube_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.fits outfile=/scratch/kocevski/881870/expmap_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.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/881870/ltcube_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.fits
.....................!
real 192.32
user 185.54
sys 6.08

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/881870/ft1_filtered_4FGL_J1001.1+2911_daily_bin1748.fits scfile=/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits outfile=/scratch/kocevski/881870/cmap_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881870/ft1_filtered_4FGL_J1001.1+2911_daily_bin1748.fits scfile=/scratch/kocevski/881870/ft2_4FGL_J1001.1+2911_daily_bin1748.fits outfile=/scratch/kocevski/881870/cmap_HighResolution_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39447E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26323E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45242E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15123E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    70.543       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1669       1.0000          .0000       .10000E+07
     7 'Prefactor '    .97826E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2342       1.0000          .0000       .10000E+07
     9 'norm      '    5.2795       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12927E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63800E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3440       1.0000          .0000       .10000E+07
    13 'norm      '    7.8479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20473       1.0000          .0000       .10000E+07
    15 'Prefactor '    42.613       1.0000          .0000       .10000E+07
    16 'Prefactor '    .53311       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43854E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    42.752       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1994       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92718       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=   6711.307     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1601 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38858E-09    4.8114       -.20945E-06** at limit **
   2  Prefactor      .0000        1.7556        .33605E-07** at limit **
   3  Prefactor     .17208E-08    5.4629       -.12738E-07** at limit **
   4  Prefactor     .16487E-07    68.336        .69665E-06** at limit **
   5  Prefactor     70.721        4.2997        .20222E-06   -.14873    
   6  Prefactor     3.1656        3.6128       -.10771E-07   -.10616E-02
   7  Prefactor      .0000        2.8362        .45548E-07** at limit **
   8  Prefactor     3.2347        2.1382       -.85472E-08   -.52819E-02
   9  norm          5.3437        5.2990        .77683E-08   -.29415E-03
  10  Prefactor     .55511E-10    2.1315        .66203E-07** at limit **
  11  Prefactor     .72164E-09    27.660        .40912E-06** at limit **
  12  Prefactor     3.3655        5.3985       -.25544E-07   -.34132E-02
  13  norm          7.8408        8.4206       -.55849E-06   -.78907E-02
  14  Prefactor      .0000        75.217       -.29457E-06** at limit **
  15  Prefactor     42.647        1.0618       -.18562E-07    .62008E-02
  16  Prefactor     .53556        11.827       -.28777E-05   -.92216E-02
  17  Prefactor      .0000        .66210        .11774E-07** at limit **
  18  Prefactor     42.805        1.1211       -.31454E-07    .14561E-01
  19  Normalizat    1.1991        .19710        .39465E-06   -.51511E-03
  20  Prefactor     .92722        .20594        .21988E-05   -.35021E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 1.72085e-09
  Prefactor  = 1.64868e-08
  Prefactor  = 70.721
  Prefactor  = 3.16562
  Prefactor  = 0
  Prefactor  = 3.23466
  norm       = 5.34371
  Prefactor  = 5.55112e-11
  Prefactor  = 7.21645e-10
  Prefactor  = 3.36545
  norm       = 7.84084
  Prefactor  = 0
  Prefactor  = 42.6468
  Prefactor  = 0.535555
  Prefactor  = 0
  Prefactor  = 42.8052
  Normalizat = 1.19911
  Prefactor  = 0.927216
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.307     FROM HESSE     STATUS=OK           333 CALLS     1934 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38858E-09    .91906        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.7501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17208E-08    5.4735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16487E-07    68.183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.721        55.999        .11907E-03   -1.5540    
   6  Prefactor     3.1656        3.6249        .56926E-03   -1.5672    
   7  Prefactor      .0000        2.8391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2347        2.1440        .56300E-03   -1.5672    
   9  norm          5.3437        5.3006        .43720E-03   -1.5662    
  10  Prefactor     .55511E-10    2.1313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .72164E-09    27.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3655        5.4418        .55322E-03   -1.5671    
  13  norm          7.8408        8.4653        .35769E-03   -1.5652    
  14  Prefactor      .0000        74.902        .11692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.647        36.071        .15320E-03   -1.5577    
  16  Prefactor     .53556        11.659        .75446E-03   -1.5693    
  17  Prefactor      .0000        .66661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     42.805        36.612        .15295E-03   -1.5577    
  19  Normalizat    1.1991        .16868        .51676E-01   -.86630    
  20  Prefactor     .92722        .17588        .45350E-01   -.95196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15359e-06
Minuit parameter uncertainties:
  1  3.71819e-05
  2  1.21777e-05
  3  0.00019385
  4  0.00212144
  5  55.9991
  6  3.62486
  7  6.69565e-06
  8  2.14401
  9  5.30061
  10  2.26543e-05
  11  0.000286569
  12  5.44183
  13  8.46531
  14  4.45324e-05
  15  36.071
  16  4.99765
  17  7.61137e-06
  18  36.6123
  19  0.168753
  20  0.175989
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.235e+00  2.144e+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.272e-01  1.760e-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.199e+00  1.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.21
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.14e-05

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) = 6711.26519205
delta logL = 0.0415156881645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6711.26092923
delta logL = 0.0457785081235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5939       1.0000          .0000       .10000E+07
     2 'Index     '    2.1099       1.0000          .0000       10.000    
     3 'Normalizat'    1.2061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92169       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=   6711.261     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      237 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5937        58.656        .53278E-03    .22470E-02
   2  Index         2.1101        6.0314        .20807        .46377E-04
   3  Normalizat    1.2061        .76360E-01    .51549E-01    .40763E-05
   4  Prefactor     .92171        .72729E-01    .45281E-01    .13767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.59368
  Index      = 2.11015
  Normalizat = 1.20609
  Prefactor  = 0.921714
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.261     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5937        2.6027        .10031E-04   -1.5670    
   2  Index         2.1101        .51529        .71390E-02   -.61624    
   3  Normalizat    1.2061        .19141        .22791E-03   -.86415    
   4  Prefactor     .92171        .20533        .27559E-03   -.95386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32716e-12
Minuit parameter uncertainties:
  1  2.60273
  2  0.516673
  3  0.191523
  4  0.205504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881870': 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) = 6711.26092911
delta logL = 0.0457786201541

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.594e+00  2.603e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.110e+00  5.167e-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.217e-01  2.055e-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.206e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.11 +/- 0.52
Photon Flux (Free Index): 3.83e-08 +/- 3.04e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.94e-05

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/881870/cmap_HighResolution_692409601_692668801_4FGL_J1001.1+2911_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='2.06e-05', photon_flux_error='2.86e-08', dlogl='4.58e-02', energy_flux='1.72e-05', photon_flux2='3.83e-08', job_status='DONE', time_completed='2022-12-14 00:35:51.659749', photon_index_error2='0.52', photon_index2='2.11', ts='4.21', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.20', time_epoch_completed='1671006951.66', return_code='0', job_id='881870', GAL2='0.92', EG2='1.21', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.04e-08', ts2='4.30', photon_index='2.27' WHERE bin_id='1748' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:35:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 881870: <4FGL_J1001.1+2911_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:32 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:33 2022
Terminated at Wed Dec 14 00:35:52 2022
Results reported at Wed Dec 14 00:35:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1748 150.294 29.188 692409601 692668801 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 :                                   529.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            620 sec.

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

