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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1713
RA = 150.294, Dec = 29.188
tmin = 683337601, tmax = 683596801
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='88878', job_status='RUN', time_executed='2022-09-16 15:08:27.983302', time_epoch_executed='1663366107.98' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88878

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88878/ft1_4FGL_J1001.1+2911_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88878/ft1_4FGL_J1001.1+2911_daily_bin1713.fits outfile=/scratch/kocevski/88878/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1713.fits ra=150.294 dec=29.188 rad=12.0 tmin=683337601.0 tmax=683596801.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.55
user 3.30
sys 0.23

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

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

Number of photons that the gtmktime cut: 553

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88878/ft1_filtered_4FGL_J1001.1+2911_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/88878/ltcube_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.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/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits
.....................!
real 12.97
user 12.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88878/ft1_filtered_4FGL_J1001.1+2911_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/88878/ltcube_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.fits outfile=/scratch/kocevski/88878/expmap_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.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/88878/ltcube_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.fits
.....................!
real 190.92
user 185.38
sys 4.73

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/88878/ft1_filtered_4FGL_J1001.1+2911_daily_bin1713.fits scfile=/scratch/kocevski/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits outfile=/scratch/kocevski/88878/cmap_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88878/ft1_filtered_4FGL_J1001.1+2911_daily_bin1713.fits scfile=/scratch/kocevski/88878/ft2_4FGL_J1001.1+2911_daily_bin1713.fits outfile=/scratch/kocevski/88878/cmap_HighResolution_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69516E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .37829E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35984E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    61.881       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35683E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8085       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36418       1.0000          .0000       .10000E+07
     9 'norm      '    6.5285       1.0000          .0000       .10000E+07
    10 'Prefactor '    .41928E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .64999E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20285E-05   1.0000          .0000       .10000E+07
    13 'norm      '    15.317       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39152       1.0000          .0000       .10000E+07
    15 'Prefactor '    55.900       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9993       1.0000          .0000       .10000E+07
    17 'Prefactor '    .87291E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .43636       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1781       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1563       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=   6343.736     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1647 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48360E-01    13.228       -.97580E-09** at limit **
   2  Prefactor     .32621E-05    17.072        .11688E-07** at limit **
   3  Prefactor     .97472E-06    12.227        .46156E-08** at limit **
   4  Prefactor     .43003E-05    11.762       -.11993E-07** at limit **
   5  Prefactor     61.312        39.988       -.63563E-08    .15293    
   6  Prefactor     .12212E-08    3.1608       -.91661E-09** at limit **
   7  Prefactor     2.8010        11.455        .59242E-09   -.13275E-01
   8  Prefactor     .36385        1.6522       -.39674E-09   -.10720E-01
   9  norm          6.5440        8.7626       -.26248E-09    .16252E-02
  10  Prefactor     .11102E-09    1.8100       -.64781E-10** at limit **
  11  Prefactor     .27101E-06    21.106        .19455E-08** at limit **
  12  Prefactor     .55511E-10    1.5698        .37093E-09** at limit **
  13  norm          15.341        10.881       -.85391E-09    .42823E-01
  14  Prefactor     .16165E-04    21.938       -.11428E-07** at limit **
  15  Prefactor     56.676        27.102       -.56774E-09    .14185    
  16  Prefactor     3.1232        8.6515        .80061E-09   -.30871E-02
  17  Prefactor     .88818E-09    1.1861        .45451E-10** at limit **
  18  Prefactor     .29744E-05    134.02        .15845E-07** at limit **
  19  Normalizat    1.1778        .21665        .58224E-08   -.36976E-03
  20  Prefactor     1.1568        .23296        .44132E-08   -.40042E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0483597
  Prefactor  = 3.26206e-06
  Prefactor  = 9.7472e-07
  Prefactor  = 4.30034e-06
  Prefactor  = 61.3118
  Prefactor  = 1.22125e-09
  Prefactor  = 2.80097
  Prefactor  = 0.363849
  norm       = 6.54399
  Prefactor  = 1.11022e-10
  Prefactor  = 2.71005e-07
  Prefactor  = 5.55112e-11
  norm       = 15.341
  Prefactor  = 1.61648e-05
  Prefactor  = 56.6758
  Prefactor  = 3.12321
  Prefactor  = 8.88178e-10
  Prefactor  = 2.9744e-06
  Normalizat = 1.17783
  Prefactor  = 1.15678
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.736     FROM HESSE     STATUS=OK           337 CALLS     1984 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48360E-01    1.0520        .46552E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .32621E-05    18.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .97472E-06    12.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43003E-05    12.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     61.312        50.561        .12713E-03   -1.5551    
   6  Prefactor     .12212E-08    3.1774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8010        11.554        .60673E-03   -1.5674    
   8  Prefactor     .36385        1.7146        .93760E-03   -1.5696    
   9  norm          6.5440        8.7625        .39254E-03   -1.5657    
  10  Prefactor     .11102E-09    1.8060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27101E-06    22.239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    1.5721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.341        10.904        .25566E-03   -1.5630    
  14  Prefactor     .16165E-04    114.74        .90476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     56.676        39.740        .13376E-03   -1.5557    
  16  Prefactor     3.1232        8.6941        .58586E-03   -1.5673    
  17  Prefactor     .88818E-09    1.1819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .29744E-05    144.50        .85390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1778        .17946        .55445E-01   -.87291    
  20  Prefactor     1.1568        .19186        .60470E-01   -.87672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47534e-06
Minuit parameter uncertainties:
  1  0.451101
  2  0.0153915
  3  0.00691077
  4  0.0146248
  5  50.5612
  6  0.000125728
  7  11.3779
  8  1.57971
  9  8.76248
  10  3.06974e-05
  11  0.00490986
  12  1.9066e-05
  13  10.9041
  14  0.0861359
  15  39.7404
  16  8.69417
  17  6.49775e-05
  18  0.041464
  19  0.179557
  20  0.191977
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.638e-01  1.580e+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:  1.157e+00  1.920e-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.178e+00  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/88878/likelihoodResults_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.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) = 6343.69445522
delta logL = 0.0420310970812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6343.68477897
delta logL = 0.0517073448273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57829       1.0000          .0000       .10000E+07
     2 'Index     '    1.7539       1.0000          .0000       10.000    
     3 'Normalizat'    1.1817       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1521       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=   6343.685     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57898        1.6103        .16636E-04    .22483E-03
   2  Index         1.7549        1.2265        .18803E-01   -.14605E-03
   3  Normalizat    1.1820        .21215        .24479E-03    .22850E-04
   4  Prefactor     1.1520        .23081        .26789E-03    .14896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.578977
  Index      = 1.75485
  Normalizat = 1.18199
  Prefactor  = 1.15201
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.685     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57898        1.6200        .66543E-06   -1.5693    
   2  Index         1.7549        1.2348        .37605E-02   -.70631    
   3  Normalizat    1.1820        .21235        .97914E-05   -.87161    
   4  Prefactor     1.1520        .23103        .10716E-04   -.87821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.433e-12
Minuit parameter uncertainties:
  1  1.61996
  2  1.2576
  3  0.212505
  4  0.231233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88878': 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) = 6343.68477751
delta logL = 0.0517088068427

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.152e+00  2.312e-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.182e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/88878/cmap_HighResolution_683337601_683596801_4FGL_J1001.1+2911_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2022-09-16 15:17:41.674221', job_id='88878', GAL2='1.15', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1663366661.67', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='5.17e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1713' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:17:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 88878: <4FGL_J1001.1+2911_daily_bin1713> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1713 150.294 29.188 683337601 683596801 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 :                                   555.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            737 sec.

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

