/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 150 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin807
RA = 150.294, Dec = 29.188
tmin = 448502401, tmax = 448761601
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='659356', job_status='RUN', time_executed='2021-09-01 10:03:28.817420', time_epoch_executed='1630515808.82' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659356/ft1_4FGL_J1001.1+2911_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659356/ft1_4FGL_J1001.1+2911_daily_bin807.fits outfile=/scratch/kocevski/659356/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin807.fits ra=150.294 dec=29.188 rad=12.0 tmin=448502401.0 tmax=448761601.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 8.38
user 5.75
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/659356/ltcube_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.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/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits
.....................!
real 12.41
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/659356/ltcube_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits outfile=/scratch/kocevski/659356/expmap_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.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/659356/ltcube_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits
.....................!
real 193.59
user 186.32
sys 5.11

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/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits scfile=/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits outfile=/scratch/kocevski/659356/cmap_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.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.65
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits scfile=/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits outfile=/scratch/kocevski/659356/cmap_HighResolution_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.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.71
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits', '/scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits', expMap='/scratch/kocevski/659356/expmap_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits', expCube='/scratch/kocevski/659356/ltcube_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659356/Model_4FGL_J1001.1+2911_daily_bin807.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  1.000e-04  1.000e+04 ( 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/659356/ft1_filtered_4FGL_J1001.1+2911_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/659356/ft2_4FGL_J1001.1+2911_daily_bin807.fits
Exposure map: /scratch/kocevski/659356/expmap_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits
Exposure cube: /scratch/kocevski/659356/ltcube_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659356/Model_4FGL_J1001.1+2911_daily_bin807.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) = 4129.52835972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0792       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0193       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.789       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.700       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .76934       1.0000         .10000E-03   10000.    
    12 'norm      '    .11440E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.1730       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4848       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2754       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3260       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0159       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90515       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.

 FCN=   4129.469     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     3160 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0790        4.4265        .20428E-05   -.35470E-04
   2  norm          .10000E-03    1.0951        .11946E-06** at limit **
   3  Prefactor     .10000E-03    34.990       -.66906E-05** at limit **
   4  Prefactor     1.0193        3.5597       -.47343E-06   -.75479E-03
   5  Prefactor     40.784        26.085        .62323E-07   -.12816E-04
   6  Prefactor     .10000E-03    14.312       -.12750E-04** at limit **
   7  Prefactor     28.697        39.230       -.26867E-05   -.19410E-04
   8  Prefactor     .10000E-03    11.303       -.28987E-05** at limit **
   9  Prefactor     .10000E-03    3.1854        .27469E-06** at limit **
  10  Prefactor     .10000E-03    12.406        .10381E-04** at limit **
  11  Prefactor     .76942        2.1058       -.41029E-06   -.98070E-03
  12  norm          .10008E-03    6.5050        .18517E-06** at limit **
  13  Prefactor     .10000E-03    1.3037       -.10620E-07** at limit **
  14  Prefactor     .10000E-03    59.288        .11449E-04** at limit **
  15  Prefactor     .10000E-03    1.3951       -.24551E-07** at limit **
  16  norm          .10000E-03    4.1527       -.17196E-06** at limit **
  17  Prefactor     8.2026        132.83        .72602E-04   -.48286E-05
  18  Prefactor     .10000E-03    17.370        .75900E-05** at limit **
  19  Prefactor     .10000E-03    3.8340       -.12118E-06** at limit **
  20  Prefactor     3.4856        8.9723        .30335E-07   -.25751E-03
  21  Prefactor     1.2752        2.5084       -.20605E-06   -.52816E-03
  22  Prefactor     3.3175        43.076       -.12540E-05   -.41853E-04
  23  Normalizat    1.0159        .18700       -.21707E-05   -.17510E-03
  24  Prefactor     .90527        .20089       -.75714E-06   -.22833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.07895
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.01931
  Prefactor  = 40.7843
  Prefactor  = 0.0001
  Prefactor  = 28.6965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.769417
  norm       = 0.000100085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.20263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.48562
  Prefactor  = 1.2752
  Prefactor  = 3.3175
  Normalizat = 1.01588
  Prefactor  = 0.90527
 **********
 **   18 **HESSE 
 **********

 FCN=   4129.469     FROM HESSE     STATUS=OK           399 CALLS     3559 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0790        4.4215        .10391E-03   -1.5176    
   2  norm          .10000E-03    1.9465        .13026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    35.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0193        3.5382        .21109E-03   -1.5506    
   5  Prefactor     40.784        26.057        .62764E-04   -1.4430    
   6  Prefactor     .10000E-03    14.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.697        39.292        .74784E-04   -1.4636    
   8  Prefactor     .10000E-03    11.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.2390        .22237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76942        2.0772        .14711E-03   -1.5533    
  12  norm          .10008E-03    117.35        .31174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3130        .71633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    59.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4032        .74111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.1578        .12789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.2026        130.87        .14024E-03   -1.5135    
  18  Prefactor     .10000E-03    17.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.9026        .12284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.4856        8.8842        .21660E-03   -1.5335    
  21  Prefactor     1.2752        2.4429        .13293E-03   -1.5482    
  22  Prefactor     3.3175        43.072        .22195E-03   -1.5344    
  23  Normalizat    1.0159        .21690        .21043E-03   -.92500    
  24  Prefactor     .90527        .23463        .24965E-03   -.95957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26891e-09
Minuit parameter uncertainties:
  1  4.42174
  2  1.72062e-05
  3  5.53573e-05
  4  3.53897
  5  26.064
  6  5.2275e-06
  7  39.3276
  8  4.89853e-06
  9  4.95373e-05
  10  9.56986e-06
  11  2.07739
  12  0.00631757
  13  4.23141e-06
  14  6.19709e-05
  15  2.19517e-06
  16  2.90483e-06
  17  65.6974
  18  2.24408e-06
  19  2.2847e-07
  20  8.88757
  21  2.44305
  22  23.9282
  23  0.217087
  24  0.23489
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.694e-01  2.077e+00  1.000e-04  1.000e+04 ( 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.053e-01  2.349e-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.016e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/659356/likelihoodResults_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.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) = 4129.42491112
delta logL = 0.0438615010835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4129.40832793
delta logL = 0.0604446904053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38859       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0599       1.0000          .0000       10.000    
     3 'Normalizat'    1.0020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91582       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=   4129.408     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38675        15.516        .10807E-01    .12100E-02
   2  Index         3.0607        3.4778        .21973        .45963E-04
   3  Normalizat    1.0020        .29816E-01    .46193E-01    .18943E-05
   4  Prefactor     .91593        .33796E-01    .45206E-01    .10903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.386753
  Index      = 3.06069
  Normalizat = 1.00199
  Prefactor  = 0.915932
 **********
 **   18 **HESSE 
 **********

 FCN=   4129.408     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38675        78.466        .78199E-04   -1.5584    
   2  Index         3.0607        7.8430        .84853E-02   -.39831    
   3  Normalizat    1.0020        .22521        .21173E-03   -.92964    
   4  Prefactor     .91593        .25896        .24836E-03   -.95587    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.41339e-10
Minuit parameter uncertainties:
  1  11.0309
  2  16.5465
  3  0.225422
  4  0.259307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659356': 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): 102
logL (Free Index) = 4129.40832622
delta logL = 0.060446396611

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.868e-01  1.103e+01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.061e+00  1.655e+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.159e-01  2.593e-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.002e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/659356/cmap_HighResolution_448502401_448761601_4FGL_J1001.1+2911_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.33e-08', time_completed='2021-09-01 10:13:21.768017', job_id='659356', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1630516401.77', return_code2='102', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.04e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='807' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:13:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 659356: <4FGL_J1001.1+2911_daily_bin807> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin807> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:32 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:00:34 2021
Terminated at Wed Sep  1 10:13:22 2021
Results reported at Wed Sep  1 10:13:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin807 150.294 29.188 448502401 448761601 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 :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

