/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 209 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 = 7436
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin617
RA = 150.294, Dec = 29.188
tmin = 399254401, tmax = 399513601
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='657646', job_status='RUN', time_executed='2021-09-01 09:59:09.138031', time_epoch_executed='1630515549.14' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='617'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657646

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657646/ft1_4FGL_J1001.1+2911_daily_bin617.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657646/ft1_4FGL_J1001.1+2911_daily_bin617.fits outfile=/scratch/kocevski/657646/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin617.fits ra=150.294 dec=29.188 rad=12.0 tmin=399254401.0 tmax=399513601.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 5.51
user 5.13
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.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/657646/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin617.fits evtable="EVENTS" outfile="/scratch/kocevski/657646/ft1_filtered_4FGL_J1001.1+2911_daily_bin617.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.04
user 0.31
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657646/ft1_filtered_4FGL_J1001.1+2911_daily_bin617.fits" evtable="EVENTS" scfile=/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits sctable="SC_DATA" outfile=/scratch/kocevski/657646/ltcube_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.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/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits
.....................!
real 13.28
user 12.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657646/ft1_filtered_4FGL_J1001.1+2911_daily_bin617.fits evtable="EVENTS" scfile=/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits sctable="SC_DATA" expcube=/scratch/kocevski/657646/ltcube_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.fits outfile=/scratch/kocevski/657646/expmap_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.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/657646/ltcube_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.fits
.....................!
real 192.59
user 187.26
sys 4.90

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/657646/ft1_filtered_4FGL_J1001.1+2911_daily_bin617.fits scfile=/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits outfile=/scratch/kocevski/657646/cmap_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.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.69
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657646/ft1_filtered_4FGL_J1001.1+2911_daily_bin617.fits scfile=/scratch/kocevski/657646/ft2_4FGL_J1001.1+2911_daily_bin617.fits outfile=/scratch/kocevski/657646/cmap_HighResolution_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.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.64
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1144       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8749       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .78338       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .95851       1.0000         .10000E-03   10000.    
     6 'Prefactor '    66.979       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.333       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27307E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5165       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0524       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28808       1.0000         .10000E-03   10000.    
    12 'norm      '    8.7285       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.791       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .80427       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.760       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1949       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9643       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12031E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.273       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89310       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1594       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=   5433.054     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     3485 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1134        4.8657       -.20909E-06    .47135E-04
   2  norm          .10000E-03    .79700       -.43197E-06** at limit **
   3  Prefactor     1.7912        599.26        .47897E-04   -.31082E-04
   4  Prefactor     .78225        3.9124        .70560E-06   -.21510E-03
   5  Prefactor     .95634        25.555       -.78269E-05    .12469E-04
   6  Prefactor     66.985        62.606        .40739E-06   -.18620E-04
   7  Prefactor     11.328        53.392       -.25646E-05    .18940E-04
   8  Prefactor     .10001E-03    215.48        .12052E-04** at limit **
   9  Prefactor     7.5179        8.1974        .58783E-06    .45788E-03
  10  Prefactor     1.0491        11.245        .79619E-05   -.29719E-04
  11  Prefactor     .28690        1.9896        .11512E-05    .25440E-03
  12  norm          8.7268        8.9671        .44435E-07    .13588E-03
  13  Prefactor     .10000E-03    2.0229       -.57453E-06** at limit **
  14  Prefactor     28.784        47.367       -.39622E-06    .17396E-04
  15  Prefactor     .10000E-03    2.4414       -.45248E-06** at limit **
  16  norm          .82691        21.368        .10360E-04   -.45301E-04
  17  Prefactor     .10000E-03    18.712       -.39752E-06** at limit **
  18  Prefactor     39.766        43.914        .65636E-07    .22874E-04
  19  Prefactor     4.1914        9.1738       -.13437E-05    .65952E-04
  20  Prefactor     4.9625        9.8321        .66023E-06    .29162E-03
  21  Prefactor     .10000E-03    1.4822       -.51793E-06** at limit **
  22  Prefactor     36.268        31.361       -.19597E-07    .52641E-04
  23  Normalizat    .89323        .19338        .24713E-05    .36600E-03
  24  Prefactor     1.1596        .19332        .15220E-05    .73616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.11345
  norm       = 0.0001
  Prefactor  = 1.79121
  Prefactor  = 0.782247
  Prefactor  = 0.956344
  Prefactor  = 66.9855
  Prefactor  = 11.3282
  Prefactor  = 0.00010001
  Prefactor  = 7.51793
  Prefactor  = 1.04906
  Prefactor  = 0.286896
  norm       = 8.72682
  Prefactor  = 0.0001
  Prefactor  = 28.7844
  Prefactor  = 0.0001
  norm       = 0.826906
  Prefactor  = 0.0001
  Prefactor  = 39.7656
  Prefactor  = 4.19139
  Prefactor  = 4.96247
  Prefactor  = 0.0001
  Prefactor  = 36.2676
  Normalizat = 0.893232
  Prefactor  = 1.15956
 **********
 **   18 **HESSE 
 **********

 FCN=   5433.054     FROM HESSE     STATUS=OK           409 CALLS     3894 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1134        4.8651        .15300E-03   -1.5256    
   2  norm          .10000E-03    1.3335        .12725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7912        606.30        .30412E-02   -1.5440    
   4  Prefactor     .78225        3.8281        .26992E-03   -1.5531    
   5  Prefactor     .95634        168.48        .67213E-02   -1.5512    
   6  Prefactor     66.985        62.622        .49041E-04   -1.4069    
   7  Prefactor     11.328        53.836        .11900E-03   -1.5035    
   8  Prefactor     .10001E-03    222.07        .42858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.5179        8.1568        .14628E-03   -1.5160    
  10  Prefactor     1.0491        11.716        .23989E-02   -1.5503    
  11  Prefactor     .28690        6.6464        .17341E-02   -1.5601    
  12  norm          8.7268        8.9805        .67837E-03   -1.5117    
  13  Prefactor     .10000E-03    2.0660        .10249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.784        47.472        .74666E-04   -1.4634    
  15  Prefactor     .10000E-03    2.4680        .11248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .82691        22.175        .24912E-02   -1.5526    
  17  Prefactor     .10000E-03    18.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.766        43.458        .63568E-04   -1.4446    
  19  Prefactor     4.1914        9.0891        .19677E-03   -1.5298    
  20  Prefactor     4.9625        9.5474        .18050E-03   -1.5262    
  21  Prefactor     .10000E-03    7.8039        .16743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     36.268        31.396        .66542E-04   -1.4503    
  23  Normalizat    .89323        .21940        .25147E-03   -.96698    
  24  Prefactor     1.1596        .22630        .24480E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05986e-08
Minuit parameter uncertainties:
  1  4.86547
  2  7.06865e-06
  3  66.5984
  4  3.46109
  5  25.459
  6  62.6838
  7  49.4632
  8  0.00299156
  9  8.15801
  10  7.01311
  11  2.76163
  12  8.98192
  13  1.89555e-05
  14  47.5345
  15  2.06612e-05
  16  8.56735
  17  3.77493e-05
  18  43.4927
  19  9.09206
  20  9.55033
  21  1.93823e-05
  22  31.4099
  23  0.219616
  24  0.226485
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.869e-01  2.762e+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:  1.160e+00  2.265e-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.932e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/657646/likelihoodResults_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.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): 102
logL (Free Index) = 5431.37300012
delta logL = 1.68118863858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5431.33464105
delta logL = 1.71954771443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14508       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5501       1.0000          .0000       10.000    
     3 'Normalizat'    .75864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2461       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=   5431.335     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14495        1.2793        .36274E-02    .12445E-02
   2  Index         4.5512        2.5143        .97448E-01    .13194E-03
   3  Normalizat    .75864        .51557E-01    .43068E-01    .16880E-04
   4  Prefactor     1.2461        .56132E-01    .53631E-01    .30781E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.144949
  Index      = 4.5512
  Normalizat = 0.758644
  Prefactor  = 1.24608
 **********
 **   18 **HESSE 
 **********

 FCN=   5431.335     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14495        2.5086        .16320E-04   -1.5632    
   2  Index         4.5512        3.7685        .38160E-02   -.89882E-01
   3  Normalizat    .75864        .19505        .27037E-03   -1.0162    
   4  Prefactor     1.2461        .20937        .23712E-03   -.84925    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63302e-07
Minuit parameter uncertainties:
  1  1.20566
  2  4.27431
  3  0.195229
  4  0.209506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657646': 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) = 5431.33463847
delta logL = 1.71955029187

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.449e-01  1.206e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.551e+00  4.274e+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.246e+00  2.095e-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:  7.586e-01  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 150.294 29.188
Photon Index (Free Index): 4.55 +/- 4.27
Photon Flux (Free Index): 1.21e-07 +/- 7.71e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.15e-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/657646/cmap_HighResolution_399254401_399513601_4FGL_J1001.1+2911_daily_bin617.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', comment='SUCCESS', energy_flux2='1.68e-05', dlogl='1.72e+00', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-01 10:10:29.895895', photon_index_error2='4.27', photon_index2='4.55', ts='0.01', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='9.11e-08', energy_flux_error2='1.15e-05', EG='0.89', time_epoch_completed='1630516229.9', return_code='0', job_id='657646', GAL2='1.25', EG2='0.76', return_code2='102', photon_flux_error2='7.71e-08', ts2='3.81', photon_index='2.27' WHERE bin_id='617' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:10:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 657646: <4FGL_J1001.1+2911_daily_bin617> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin617> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 09:55:24 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:55:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:55:25 2021
Terminated at Wed Sep  1 10:10:30 2021
Results reported at Wed Sep  1 10:10:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin617 150.294 29.188 399254401 399513601 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 :                                   672.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             247.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            906 sec.

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

