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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin514
RA = 150.294, Dec = 29.188
tmin = 372556801, tmax = 372816001
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='656360', job_status='RUN', time_executed='2021-09-01 09:53:32.646786', time_epoch_executed='1630515212.65' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656360/ft1_4FGL_J1001.1+2911_daily_bin514.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656360/ft2_4FGL_J1001.1+2911_daily_bin514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656360/ft1_4FGL_J1001.1+2911_daily_bin514.fits outfile=/scratch/kocevski/656360/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin514.fits ra=150.294 dec=29.188 rad=12.0 tmin=372556801.0 tmax=372816001.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.39
user 3.14
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656360/ft1_filtered_4FGL_J1001.1+2911_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/656360/ft2_4FGL_J1001.1+2911_daily_bin514.fits sctable="SC_DATA" expcube=/scratch/kocevski/656360/ltcube_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.fits outfile=/scratch/kocevski/656360/expmap_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.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/656360/ltcube_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.fits
.....................!
real 191.22
user 185.97
sys 4.85

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/656360/ft1_filtered_4FGL_J1001.1+2911_daily_bin514.fits scfile=/scratch/kocevski/656360/ft2_4FGL_J1001.1+2911_daily_bin514.fits outfile=/scratch/kocevski/656360/cmap_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656360/ft1_filtered_4FGL_J1001.1+2911_daily_bin514.fits scfile=/scratch/kocevski/656360/ft2_4FGL_J1001.1+2911_daily_bin514.fits outfile=/scratch/kocevski/656360/cmap_HighResolution_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.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/656360/ft1_filtered_4FGL_J1001.1+2911_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/656360/ft2_4FGL_J1001.1+2911_daily_bin514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/656360/Model_4FGL_J1001.1+2911_daily_bin514.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/656360/ft1_filtered_4FGL_J1001.1+2911_daily_bin514.fits.....................!
real 51.76
user 50.43
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11717E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3947       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.827       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6803       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.154       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.793       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.117       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9649       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0680       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1597       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-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 '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1892       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68419       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=   5861.992     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2744 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10026E-03    2.2084       -.11246E-05** at limit **
   2  norm          2.3946        1.5347        .10826E-07    .28767E-04
   3  Prefactor     14.825        37.733        .69127E-06   -.10338E-05
   4  Prefactor     2.6804        2.7719        .35152E-07   -.22213E-06
   5  Prefactor     32.153        24.030        .15648E-06   -.11326E-06
   6  Prefactor     37.784        52.177        .14707E-05   -.21361E-05
   7  Prefactor     .10000E-03    17.036        .21214E-05** at limit **
   8  Prefactor     35.116        36.026        .19135E-06   -.45631E-05
   9  Prefactor     1.9642        5.4204       -.25399E-07   -.18117E-04
  10  Prefactor     .10000E-03    5.8377       -.64353E-07** at limit **
  11  Prefactor     1.0684        2.2565        .14284E-06    .36547E-04
  12  norm          3.1593        6.2180        .40603E-05    .25426E-03
  13  Prefactor     .10000E-03    4.4350        .96059E-07** at limit **
  14  Prefactor     .10000E-03    8.9799        .83772E-06** at limit **
  15  Prefactor     .10000E-03    2.2432        .30379E-07** at limit **
  16  norm          .10000E-03    3.6162        .10806E-07** at limit **
  17  Prefactor     .10000E-03    25.576       -.22520E-05** at limit **
  18  Prefactor     .10000E-03    9.8262       -.77755E-06** at limit **
  19  Prefactor     .10000E-03    1.8472        .23658E-07** at limit **
  20  Prefactor     .10000E-03    5.5778        .33109E-05** at limit **
  21  Prefactor     .10000E-03    1.0975        .78542E-07** at limit **
  22  Prefactor     .10000E-03    13.506       -.43419E-07** at limit **
  23  Normalizat    1.1892        .15678       -.32724E-06   -.62578E-05
  24  Prefactor     .68423        .16885       -.37803E-06    .18340E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100263
  norm       = 2.39461
  Prefactor  = 14.8253
  Prefactor  = 2.68038
  Prefactor  = 32.1529
  Prefactor  = 37.784
  Prefactor  = 0.0001
  Prefactor  = 35.1164
  Prefactor  = 1.96421
  Prefactor  = 0.0001
  Prefactor  = 1.06843
  norm       = 3.15927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18917
  Prefactor  = 0.684232
 **********
 **   18 **HESSE 
 **********

 FCN=   5861.992     FROM HESSE     STATUS=OK           409 CALLS     3153 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10026E-03    2.9356        .39134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3946        1.5332        .73524E-04   -1.5398    
   3  Prefactor     14.825        37.773        .10402E-03   -1.4938    
   4  Prefactor     2.6804        2.7646        .12427E-03   -1.5381    
   5  Prefactor     32.153        24.010        .70663E-04   -1.4573    
   6  Prefactor     37.784        52.177        .65195E-04   -1.4478    
   7  Prefactor     .10000E-03    17.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.116        36.029        .67625E-04   -1.4522    
   9  Prefactor     1.9642        5.3790        .27868E-03   -1.5428    
  10  Prefactor     .10000E-03    5.8721        .18061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0684        2.2177        .15649E-03   -1.5501    
  12  norm          3.1593        6.5525        .11401E-02   -1.5352    
  13  Prefactor     .10000E-03    4.6085        .31399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.9827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2655        .11188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.6210        .14219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.8334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8608        .10161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.618        .29924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.0208        .15519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1892        .17945        .20161E-03   -.86938    
  24  Prefactor     .68423        .19348        .27922E-03   -1.0415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28083e-10
Minuit parameter uncertainties:
  1  0.0017578
  2  1.53319
  3  37.8341
  4  2.76471
  5  24.0173
  6  52.2405
  7  3.38549e-06
  8  36.0518
  9  5.38029
  10  4.22223e-06
  11  2.21788
  12  6.55398
  13  9.5164e-06
  14  1.24932e-06
  15  3.03989e-06
  16  1.26965e-06
  17  2.23079e-05
  18  4.62648e-06
  19  2.40821e-06
  20  0.000224081
  21  1.35297e-05
  22  5.24579e-06
  23  0.179545
  24  0.19367
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.068e+00  2.218e+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:  6.842e-01  1.937e-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.189e+00  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656360/likelihoodResults_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.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) = 5861.30088512
delta logL = 0.691508147062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5861.27983408
delta logL = 0.712559181711

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29151       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8033       1.0000          .0000       10.000    
     3 'Normalizat'    1.1362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72059       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=   5861.280     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      309 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29114        4.0664        .75346E-02    .11938E-02
   2  Index         3.8040        2.9750        .11273        .12383E-03
   3  Normalizat    1.1362        .37681E-01    .36689E-01   -.57707E-04
   4  Prefactor     .72049        .40877E-01    .61626E-01    .26391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.291143
  Index      = 3.80399
  Normalizat = 1.13622
  Prefactor  = 0.720494
 **********
 **   18 **HESSE 
 **********

 FCN=   5861.280     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      342 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29114        10.207        .34384E-03   -1.5600    
   2  Index         3.8040        6.9005        .56226E-02   -.24154    
   3  Normalizat    1.1362        .14779        .20542E-03   -.88597    
   4  Prefactor     .72049        .16008        .27259E-03   -1.0273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26756e-07
Minuit parameter uncertainties:
  1  3.44778
  2  6.28297
  3  0.147842
  4  0.160179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656360': 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) = 5861.27983381
delta logL = 0.712559450467

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.911e-01  3.448e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.804e+00  6.283e+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:  7.205e-01  1.602e-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.136e+00  1.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.79
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.80 +/- 6.28
Photon Flux (Free Index): 5.68e-08 +/- 4.76e-08
Energy Flux (Free Index): 8.81e-06 +/- 1.20e-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/656360/cmap_HighResolution_372556801_372816001_4FGL_J1001.1+2911_daily_bin514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', comment='SUCCESS', energy_flux2='8.81e-06', dlogl='7.13e-01', photon_flux2='5.68e-08', job_status='DONE', time_completed='2021-09-01 10:04:24.858222', photon_index_error2='6.28', photon_index2='3.80', ts='0.29', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='8.40e-08', energy_flux_error2='1.20e-05', EG='1.19', time_epoch_completed='1630515864.86', return_code='0', job_id='656360', GAL2='0.72', EG2='1.14', return_code2='102', photon_flux_error2='4.76e-08', ts2='1.79', photon_index='2.27' WHERE bin_id='514' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 656360: <4FGL_J1001.1+2911_daily_bin514> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin514> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:51:06 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:51:07 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:51:07 2021
Terminated at Wed Sep  1 10:04:25 2021
Results reported at Wed Sep  1 10:04:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin514 150.294 29.188 372556801 372816001 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 :                                   650.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            799 sec.

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

