/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 207 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 = 7569
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin195
RA = 150.294, Dec = 29.188
tmin = 289872001, tmax = 290131201
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='654751', job_status='RUN', time_executed='2021-09-01 09:49:36.199038', time_epoch_executed='1630514976.2' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654751

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654751/ft1_4FGL_J1001.1+2911_daily_bin195.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654751/ft2_4FGL_J1001.1+2911_daily_bin195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654751/ft1_4FGL_J1001.1+2911_daily_bin195.fits outfile=/scratch/kocevski/654751/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin195.fits ra=150.294 dec=29.188 rad=12.0 tmin=289872001.0 tmax=290131201.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.51
user 3.29
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654751/ft2_4FGL_J1001.1+2911_daily_bin195.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/654751/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin195.fits evtable="EVENTS" outfile="/scratch/kocevski/654751/ft1_filtered_4FGL_J1001.1+2911_daily_bin195.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.50
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654751/ft1_filtered_4FGL_J1001.1+2911_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/654751/ft2_4FGL_J1001.1+2911_daily_bin195.fits sctable="SC_DATA" expcube=/scratch/kocevski/654751/ltcube_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.fits outfile=/scratch/kocevski/654751/expmap_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.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/654751/ltcube_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.fits
.....................!
real 192.16
user 186.01
sys 5.52

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/654751/ft1_filtered_4FGL_J1001.1+2911_daily_bin195.fits scfile=/scratch/kocevski/654751/ft2_4FGL_J1001.1+2911_daily_bin195.fits outfile=/scratch/kocevski/654751/cmap_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.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 1.29
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654751/ft1_filtered_4FGL_J1001.1+2911_daily_bin195.fits scfile=/scratch/kocevski/654751/ft2_4FGL_J1001.1+2911_daily_bin195.fits outfile=/scratch/kocevski/654751/cmap_HighResolution_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.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 1.40
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5172       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3419       1.0000         .10000E-03   10000.    
     3 'Prefactor '    91.096       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13163E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .67311E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.735       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6795       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2492       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3326       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19197       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4740       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.747       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11796E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.918       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0433       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90290       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=   5646.166     FROM MIGRAD    STATUS=CONVERGED   1049 CALLS     2855 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5153        4.6328        .66022E-03   -.16259E-03
   2  norm          2.3443        1.8201        .86218E-04   -.61314E-04
   3  Prefactor     90.987        63.319        .21051E-03    .62646E-04
   4  Prefactor     .10001E-03    7.2374        .19466E-02** at limit **
   5  Prefactor     .10000E-03    13.874        .18142E-02** at limit **
   6  Prefactor     .10000E-03    196.71        .21002E-02** at limit **
   7  Prefactor     .10000E-03    18.305        .18142E-02** at limit **
   8  Prefactor     .10000E-03    23.230        .18142E-02** at limit **
   9  Prefactor     16.738        7.5597        .97905E-04   -.55621E-04
  10  Prefactor     .10000E-03    2.2622        .11031E-02** at limit **
  11  Prefactor     2.6770        2.9000        .12463E-03   -.18882E-04
  12  norm          3.2497        4.0044        .16260E-03    .15032E-04
  13  Prefactor     3.3315        2.8814        .11403E-03    .12732E-03
  14  Prefactor     .87490E-01    44.781        .13852        .59795E-04
  15  Prefactor     .10000E-03    2.4921        .11473E-02** at limit **
  16  norm          1.4734        7.7628        .35381E-03    .12628E-04
  17  Prefactor     .10000E-03    28.772        .18142E-02** at limit **
  18  Prefactor     18.746        19.481        .92504E-04    .15854E-04
  19  Prefactor     .10000E-03    1.6975        .95420E-03** at limit **
  20  Prefactor     .10006E-03    46.165        .33663E-02** at limit **
  21  Prefactor     .10000E-03    1.7847        .15593E-02** at limit **
  22  Prefactor     15.895        20.442        .10039E-03   -.10120E-03
  23  Normalizat    1.0437        .19839        .22397E-03    .34364E-04
  24  Prefactor     .90287        .21318        .26268E-03    .14620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.51531
  norm       = 2.34429
  Prefactor  = 90.9873
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7381
  Prefactor  = 0.0001
  Prefactor  = 2.67696
  norm       = 3.24965
  Prefactor  = 3.33145
  Prefactor  = 0.0874902
  Prefactor  = 0.0001
  norm       = 1.47336
  Prefactor  = 0.0001
  Prefactor  = 18.7465
  Prefactor  = 0.0001
  Prefactor  = 0.000100064
  Prefactor  = 0.0001
  Prefactor  = 15.8949
  Normalizat = 1.04372
  Prefactor  = 0.902868
 **********
 **   18 **HESSE 
 **********

 FCN=   5646.166     FROM HESSE     STATUS=OK           383 CALLS     3238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5153        4.6326        .26409E-04   -1.5197    
   2  norm          2.3443        1.8199        .34487E-05   -1.5402    
   3  Prefactor     90.987        63.316        .84204E-05   -1.3797    
   4  Prefactor     .10001E-03    7.2796        .38932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.876        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    196.78        .42003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.738        7.5595        .39162E-05   -1.4889    
  10  Prefactor     .10000E-03    2.2622        .22061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6770        2.8997        .49854E-05   -1.5381    
  12  norm          3.2497        4.0044        .65041E-05   -1.5347    
  13  Prefactor     3.3315        2.8812        .45612E-05   -1.5343    
  14  Prefactor     .87490E-01    44.373        .13939       -1.5649    
  15  Prefactor     .10000E-03    2.4927        .22946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4734        7.7613        .14152E-04   -1.5465    
  17  Prefactor     .10000E-03    28.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.746        19.478        .37001E-05   -1.4842    
  19  Prefactor     .10000E-03    1.6976        .19084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10006E-03    47.835        .13465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.7875        .31187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.895        20.442        .20077E-04   -1.4910    
  23  Normalizat    1.0437        .19855        .89589E-05   -.91580    
  24  Prefactor     .90287        .21341        .10507E-04   -.96041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45028e-09
Minuit parameter uncertainties:
  1  4.63284
  2  1.81996
  3  63.363
  4  0.000638294
  5  3.17755e-05
  6  0.000184215
  7  1.59681e-05
  8  1.87738e-05
  9  7.55997
  10  2.45737e-06
  11  2.89984
  12  4.00472
  13  2.88128
  14  3.94132
  15  7.93709e-06
  16  6.76431
  17  5.36737e-06
  18  19.4845
  19  3.16123e-06
  20  0.00348863
  21  7.64865e-06
  22  20.4513
  23  0.198688
  24  0.213607
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.677e+00  2.900e+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.029e-01  2.136e-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.044e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 3.87e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.54e-05

TS (Fixed Index): 1.04
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654751/likelihoodResults_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.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) = 5643.41990226
delta logL = 2.74570313764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5643.08091296
delta logL = 3.08469244583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44222E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.2601       1.0000          .0000       10.000    
     3 'Normalizat'    .92441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0057       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=   5643.081     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      292 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43518E-02    .32551E-01    .54738E-03    .83000E-02
   2  Index         6.2675        2.3205        .76530E-01    .15909E-03
   3  Normalizat    .92447        .58280E-01    .45213E-01    .20671E-04
   4  Prefactor     1.0058        .64218E-01    .44048E-01    .15402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00435182
  Index      = 6.26754
  Normalizat = 0.924466
  Prefactor  = 1.00578
 **********
 **   18 **HESSE 
 **********

 FCN=   5643.081     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      325 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43518E-02    .52981E-01    .23262E-05   -1.5695    
   2  Index         6.2675        3.0483        .32244E-02    .25631    
   3  Normalizat    .92447        .17820        .23539E-03   -.95606    
   4  Prefactor     1.0058        .19446        .25034E-03   -.92537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.79039e-10
Minuit parameter uncertainties:
  1  0.0300177
  2  3.29799
  3  0.17831
  4  0.194592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654751': 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) = 5643.08090766
delta logL = 3.08469774508

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.352e-03  3.002e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  6.268e+00  3.298e+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.006e+00  1.946e-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:  9.245e-01  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.67
Ra Dec: 150.294 29.188
Photon Index (Free Index): 6.27 +/- 3.30
Photon Flux (Free Index): 1.20e-07 +/- 5.67e-08
Energy Flux (Free Index): 1.47e-05 +/- 7.52e-06

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/654751/cmap_HighResolution_289872001_290131201_4FGL_J1001.1+2911_daily_bin195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.73e-03', comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.47e-05', photon_flux_error='3.87e-08', dlogl='3.08e+00', energy_flux='1.42e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-01 10:00:35.415117', photon_index_error2='3.30', photon_index2='6.27', ts='1.04', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='7.52e-06', EG='1.04', time_epoch_completed='1630515635.42', return_code='0', job_id='654751', GAL2='1.01', EG2='0.92', return_code2='102', energy_flux_error='1.54e-05', photon_flux_error2='5.67e-08', ts2='7.67', photon_index='2.27' WHERE bin_id='195' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 654751: <4FGL_J1001.1+2911_daily_bin195> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin195> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:57 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:58 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:45:58 2021
Terminated at Wed Sep  1 10:00:36 2021
Results reported at Wed Sep  1 10:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin195 150.294 29.188 289872001 290131201 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

