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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin984
RA = 150.294, Dec = 29.188
tmin = 494380801, tmax = 494640001
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='660703', job_status='RUN', time_executed='2021-09-01 10:09:00.824321', time_epoch_executed='1630516140.82' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='984'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660703

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660703/ft1_4FGL_J1001.1+2911_daily_bin984.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660703/ft1_4FGL_J1001.1+2911_daily_bin984.fits outfile=/scratch/kocevski/660703/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin984.fits ra=150.294 dec=29.188 rad=12.0 tmin=494380801.0 tmax=494640001.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.84
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660703/ft1_filtered_4FGL_J1001.1+2911_daily_bin984.fits" evtable="EVENTS" scfile=/scratch/kocevski/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits sctable="SC_DATA" outfile=/scratch/kocevski/660703/ltcube_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.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/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits
.....................!
real 13.15
user 11.84
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660703/ft1_filtered_4FGL_J1001.1+2911_daily_bin984.fits evtable="EVENTS" scfile=/scratch/kocevski/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits sctable="SC_DATA" expcube=/scratch/kocevski/660703/ltcube_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.fits outfile=/scratch/kocevski/660703/expmap_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.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/660703/ltcube_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.fits
.....................!
real 190.50
user 185.03
sys 4.88

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/660703/ft1_filtered_4FGL_J1001.1+2911_daily_bin984.fits scfile=/scratch/kocevski/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits outfile=/scratch/kocevski/660703/cmap_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.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.62
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660703/ft1_filtered_4FGL_J1001.1+2911_daily_bin984.fits scfile=/scratch/kocevski/660703/ft2_4FGL_J1001.1+2911_daily_bin984.fits outfile=/scratch/kocevski/660703/cmap_HighResolution_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.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.25
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3766       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8052       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.218       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.011       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0183       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.172       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.927       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9505       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6989       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96996       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0041       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=   5220.935     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2339 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1906       -.60542E-07** at limit **
   2  norm          .10000E-03    .45389       -.92279E-08** at limit **
   3  Prefactor     .10000E-03    21.279        .32030E-06** at limit **
   4  Prefactor     .10000E-03    1.6643        .17849E-07** at limit **
   5  Prefactor     2.3788        100.44       -.96036E-05   -.41432E-06
   6  Prefactor     9.7843        48.247       -.43919E-05    .14164E-04
   7  Prefactor     16.216        21.282        .30477E-05   -.70776E-04
   8  Prefactor     .10000E-03    25.324        .46500E-06** at limit **
   9  Prefactor     20.011        8.3237       -.20108E-05    .44589E-03
  10  Prefactor     .10000E-03    5.8967       -.60062E-09** at limit **
  11  Prefactor     3.0183        2.4629        .64026E-07   -.14839E-03
  12  norm          .10000E-03    4.0712        .33179E-07** at limit **
  13  Prefactor     .10000E-03    1.3935       -.52494E-07** at limit **
  14  Prefactor     .10000E-03    28.264       -.13511E-05** at limit **
  15  Prefactor     .10000E-03    1.1081       -.29479E-07** at limit **
  16  norm          19.174        12.177       -.34301E-06   -.54532E-05
  17  Prefactor     .10000E-03    348.02       -.49517E-05** at limit **
  18  Prefactor     41.924        28.117        .30330E-05   -.91712E-04
  19  Prefactor     .10000E-03    1.6679       -.59654E-07** at limit **
  20  Prefactor     .10000E-03    3.9477       -.38238E-07** at limit **
  21  Prefactor     3.9505        2.7219       -.10559E-06   -.16045E-03
  22  Prefactor     2.7103        18.005       -.12456E-04    .90066E-06
  23  Normalizat    .96990        .17400        .11800E-05    .51536E-04
  24  Prefactor     1.0042        .19212        .42990E-06    .79324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.37882
  Prefactor  = 9.78426
  Prefactor  = 16.2162
  Prefactor  = 0.0001
  Prefactor  = 20.0109
  Prefactor  = 0.0001
  Prefactor  = 3.01827
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.1739
  Prefactor  = 0.0001
  Prefactor  = 41.9237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.95048
  Prefactor  = 2.7103
  Normalizat = 0.969902
  Prefactor  = 1.00421
 **********
 **   18 **HESSE 
 **********

 FCN=   5220.935     FROM HESSE     STATUS=OK           389 CALLS     2728 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3677        .28877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .45565        .47538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.6934        .90972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3788        101.42        .26574E-03   -1.5399    
   6  Prefactor     9.7843        48.310        .12797E-03   -1.5082    
   7  Prefactor     16.216        21.247        .99454E-04   -1.4902    
   8  Prefactor     .10000E-03    25.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.011        8.2519        .89535E-04   -1.4813    
  10  Prefactor     .10000E-03    5.9752        .17133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0183        2.4543        .97749E-04   -1.5360    
  12  norm          .10000E-03    4.0886        .14236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4203        .83255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1128        .74262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.174        12.181        .91473E-04   -1.4832    
  17  Prefactor     .10000E-03    354.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.924        28.075        .61909E-04   -1.4412    
  19  Prefactor     .10000E-03    1.6735        .91093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.9858        .14016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.9505        2.7191        .95354E-04   -1.5310    
  22  Prefactor     2.7103        18.705        .24797E-03   -1.5379    
  23  Normalizat    .96990        .20433        .22661E-03   -.94046    
  24  Prefactor     1.0042        .22592        .25261E-03   -.92589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34639e-10
Minuit parameter uncertainties:
  1  1.07544e-05
  2  2.52229e-07
  3  1.05579e-05
  4  1.44438e-06
  5  31.1202
  6  43.5384
  7  21.2568
  8  1.44232e-05
  9  8.25234
  10  1.15939e-05
  11  2.45441
  12  4.73198e-06
  13  3.94992e-06
  14  3.11309e-05
  15  2.64908e-06
  16  12.1825
  17  1.45927e-05
  18  28.0837
  19  8.71718e-06
  20  2.65224e-06
  21  2.71921
  22  14.2464
  23  0.204498
  24  0.226136
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.018e+00  2.454e+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.004e+00  2.261e-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.699e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.41
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.30e-05

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

Saving results to:
/scratch/kocevski/660703/likelihoodResults_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.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) = 5220.90232657
delta logL = 0.0322854687338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5220.89160128
delta logL = 0.0430107611955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6454       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4648       1.0000          .0000       10.000    
     3 'Normalizat'    .96054       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0108       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=   5220.892     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6452        2.7391        .87962E-04    .10646E-02
   2  Index         2.4647        .71935        .72143E-02    .11820E-03
   3  Normalizat    .96052        .20064        .22756E-03   -.13709E-03
   4  Prefactor     1.0108        .22502        .25188E-03   -.18588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64517
  Index      = 2.4647
  Normalizat = 0.960523
  Prefactor  = 1.01076
 **********
 **   18 **HESSE 
 **********

 FCN=   5220.892     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6452        2.6029        .35185E-05   -1.5383    
   2  Index         2.4647        .68308        .28857E-03   -.53177    
   3  Normalizat    .96052        .20058        .91026E-05   -.94365    
   4  Prefactor     1.0108        .22503        .50375E-04   -.92372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02582e-10
Minuit parameter uncertainties:
  1  2.60298
  2  0.685975
  3  0.200737
  4  0.225236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660703': 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) = 5220.8916012
delta logL = 0.0430108338587

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.645e+00  2.603e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.465e+00  6.860e-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.011e+00  2.252e-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.605e-01  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.46 +/- 0.69
Photon Flux (Free Index): 4.77e-08 +/- 4.39e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.22e-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/660703/cmap_HighResolution_494380801_494640001_4FGL_J1001.1+2911_daily_bin984.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.66e-03', comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='1.44e-05', photon_flux_error='3.27e-08', dlogl='4.30e-02', energy_flux='1.60e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2021-09-01 10:19:01.635405', photon_index_error2='0.69', photon_index2='2.46', ts='2.41', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.22e-05', EG='0.97', time_epoch_completed='1630516741.64', return_code='0', job_id='660703', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.39e-08', ts2='2.50', photon_index='2.27' WHERE bin_id='984' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:19:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 660703: <4FGL_J1001.1+2911_daily_bin984> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin984> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 10:05:18 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:05:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:05:19 2021
Terminated at Wed Sep  1 10:19:02 2021
Results reported at Wed Sep  1 10:19:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin984 150.294 29.188 494380801 494640001 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 :                                   589.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

