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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin582
RA = 150.294, Dec = 29.188
tmin = 390182401, tmax = 390441601
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='657591', job_status='RUN', time_executed='2021-09-01 09:57:38.337810', time_epoch_executed='1630515458.34' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657591/ft1_4FGL_J1001.1+2911_daily_bin582.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657591/ft2_4FGL_J1001.1+2911_daily_bin582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657591/ft1_4FGL_J1001.1+2911_daily_bin582.fits outfile=/scratch/kocevski/657591/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin582.fits ra=150.294 dec=29.188 rad=12.0 tmin=390182401.0 tmax=390441601.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 4.09
user 3.87
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657591/ft1_filtered_4FGL_J1001.1+2911_daily_bin582.fits evtable="EVENTS" scfile=/scratch/kocevski/657591/ft2_4FGL_J1001.1+2911_daily_bin582.fits sctable="SC_DATA" expcube=/scratch/kocevski/657591/ltcube_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.fits outfile=/scratch/kocevski/657591/expmap_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.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/657591/ltcube_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.fits
.....................!
real 190.55
user 185.59
sys 4.47

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/657591/ft1_filtered_4FGL_J1001.1+2911_daily_bin582.fits scfile=/scratch/kocevski/657591/ft2_4FGL_J1001.1+2911_daily_bin582.fits outfile=/scratch/kocevski/657591/cmap_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.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 2.79
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657591/ft1_filtered_4FGL_J1001.1+2911_daily_bin582.fits scfile=/scratch/kocevski/657591/ft2_4FGL_J1001.1+2911_daily_bin582.fits outfile=/scratch/kocevski/657591/cmap_HighResolution_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.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.60
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.6154       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11187E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14594E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26717       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.041       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15945E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8769       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88969       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.564       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10941E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6952       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11072E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1960       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99490       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6375.443     FROM MIGRAD    STATUS=CONVERGED   1027 CALLS     3196 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .96298        .76477E-03** at limit **
   2  norm          4.6157        2.3082        .82884E-04    .12656E-02
   3  Prefactor     .10000E-03    25.158        .18142E-02** at limit **
   4  Prefactor     .10002E-03    8.9286        .22128E-02** at limit **
   5  Prefactor     2.2622        63.826        .27290E-03    .59740E-04
   6  Prefactor     .10600E-03    50.211        .18232    ** at limit **
   7  Prefactor     .10000E-03    13.436        .18142E-02** at limit **
   8  Prefactor     .10000E-03    14.574        .18142E-02** at limit **
   9  Prefactor     12.040        9.1554        .57722E-03    .60930E-03
  10  Prefactor     .10001E-03    77.485        .36248E-02** at limit **
  11  Prefactor     9.8765        4.0451        .47561E-03    .13466E-02
  12  norm          .10000E-03    4.4225        .16351E-02** at limit **
  13  Prefactor     .89065        3.6599        .28021E-03   -.39103E-03
  14  Prefactor     30.412        52.232        .36237E-03    .18909E-03
  15  Prefactor     .10000E-03    2.2102        .11510E-02** at limit **
  16  norm          .10000E-03    4.1997        .15945E-02** at limit **
  17  Prefactor     .10000E-03    25.022        .18142E-02** at limit **
  18  Prefactor     .10000E-03    10.974        .18142E-02** at limit **
  19  Prefactor     9.6928        4.9326        .12222E-03   -.47069E-04
  20  Prefactor     .10000E-03    3.7883        .15134E-02** at limit **
  21  Prefactor     .10000E-03    3.2764        .18230E-02** at limit **
  22  Prefactor     .10000E-03    18.835        .18142E-02** at limit **
  23  Normalizat    1.1962        .21223        .23884E-03    .98287E-03
  24  Prefactor     .99506        .22435        .28226E-03    .75702E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.61567
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 2.26223
  Prefactor  = 0.000106004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.04
  Prefactor  = 0.000100008
  Prefactor  = 9.87649
  norm       = 0.0001
  Prefactor  = 0.890648
  Prefactor  = 30.4124
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.6928
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.19617
  Prefactor  = 0.995057
 **********
 **   18 **HESSE 
 **********

 FCN=   6375.443     FROM HESSE     STATUS=OK           383 CALLS     3579 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .96299        .15295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.6157        2.3079        .33154E-05   -1.5278    
   3  Prefactor     .10000E-03    25.160        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    8.9780        .44256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2622        63.788        .10916E-04   -1.5407    
   6  Prefactor     .10600E-03    50.363        .18185       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.436        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.040        9.1531        .23089E-04   -1.5014    
  10  Prefactor     .10001E-03    79.396        .14499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.8765        4.0446        .19024E-04   -1.5079    
  12  norm          .10000E-03    4.4233        .32701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .89065        3.6536        .11209E-04   -1.5519    
  14  Prefactor     30.412        52.231        .14495E-04   -1.4604    
  15  Prefactor     .10000E-03    2.2106        .23020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.2002        .31890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.975        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.6928        4.9324        .48886E-05   -1.5085    
  20  Prefactor     .10000E-03    3.7889        .30268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2976        .36461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1962        .21222        .47768E-04   -.86721    
  24  Prefactor     .99506        .22450        .56453E-04   -.92894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55031e-09
Minuit parameter uncertainties:
  1  2.13896e-06
  2  2.30792
  3  2.77274e-05
  4  0.000745951
  5  24.0531
  6  0.0348066
  7  5.35113e-05
  8  4.42512e-05
  9  9.15418
  10  0.00160683
  11  4.04468
  12  3.10452e-05
  13  3.608
  14  52.3096
  15  6.04178e-06
  16  1.26151e-05
  17  3.50007e-05
  18  2.07581e-05
  19  4.93261
  20  7.47662e-06
  21  0.000191712
  22  7.95713e-05
  23  0.21237
  24  0.224713
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  9.876e+00  4.045e+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.951e-01  2.247e-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.196e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.80
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 5.40e-08
Energy Flux (Fixed Index): 5.25e-05 +/- 2.15e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6374.10460926
delta logL = 1.3385094663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6374.10083868
delta logL = 1.34228004246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1310       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8534       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0546       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=   6374.101     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1315        26.092        .40535E-02    .17545E-02
   2  Index         2.8538        2.3294        .79178E-01    .50553E-03
   3  Normalizat    1.1094        .98020E-01    .55661E-01    .18215E-03
   4  Prefactor     1.0546        .95066E-01    .62210E-01    .13671E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.13149
  Index      = 2.85378
  Normalizat = 1.10944
  Prefactor  = 1.05462
 **********
 **   18 **HESSE 
 **********

 FCN=   6374.101     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1315        3.9943        .62469E-04   -1.5213    
   2  Index         2.8538        .41671        .32932E-02   -.44366    
   3  Normalizat    1.1094        .21328        .24612E-03   -.89449    
   4  Prefactor     1.0546        .22664        .27514E-03   -.90930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.069e-10
Minuit parameter uncertainties:
  1  3.9945
  2  0.417304
  3  0.213441
  4  0.22685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657591': 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) = 6374.10083665
delta logL = 1.34228207499

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  6.131e+00  3.995e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.854e+00  4.173e-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:  1.055e+00  2.268e-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.109e+00  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.70
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.85 +/- 0.42
Photon Flux (Free Index): 2.11e-07 +/- 8.01e-08
Energy Flux (Free Index): 4.55e-05 +/- 1.62e-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/657591/cmap_HighResolution_390182401_390441601_4FGL_J1001.1+2911_daily_bin582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.55e-05', photon_flux_error='5.40e-08', dlogl='1.34e+00', energy_flux='5.25e-05', photon_flux2='2.11e-07', job_status='DONE', time_completed='2021-09-01 10:08:29.993963', photon_index_error2='0.42', photon_index2='2.85', ts='10.80', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.20', time_epoch_completed='1630516109.99', return_code='0', job_id='657591', GAL2='1.05', EG2='1.11', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='8.01e-08', ts2='13.70', photon_index='2.27' WHERE bin_id='582' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:08:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 657591: <4FGL_J1001.1+2911_daily_bin582> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin582> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 09:55:20 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:55:21 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:21 2021
Terminated at Wed Sep  1 10:08:30 2021
Results reported at Wed Sep  1 10:08:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin582 150.294 29.188 390182401 390441601 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 :                                   648.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

