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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin487
RA = 150.294, Dec = 29.188
tmin = 365558401, tmax = 365817601
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='656313', job_status='RUN', time_executed='2021-09-01 09:53:21.365729', time_epoch_executed='1630515201.37' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='487'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656313

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656313/ft1_4FGL_J1001.1+2911_daily_bin487.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656313/ft2_4FGL_J1001.1+2911_daily_bin487.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656313/ft1_4FGL_J1001.1+2911_daily_bin487.fits outfile=/scratch/kocevski/656313/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin487.fits ra=150.294 dec=29.188 rad=12.0 tmin=365558401.0 tmax=365817601.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.61
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656313/ft2_4FGL_J1001.1+2911_daily_bin487.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/656313/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin487.fits evtable="EVENTS" outfile="/scratch/kocevski/656313/ft1_filtered_4FGL_J1001.1+2911_daily_bin487.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.60
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656313/ft1_filtered_4FGL_J1001.1+2911_daily_bin487.fits" evtable="EVENTS" scfile=/scratch/kocevski/656313/ft2_4FGL_J1001.1+2911_daily_bin487.fits sctable="SC_DATA" outfile=/scratch/kocevski/656313/ltcube_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.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/656313/ft2_4FGL_J1001.1+2911_daily_bin487.fits
.....................!
real 12.31
user 11.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656313/ft1_filtered_4FGL_J1001.1+2911_daily_bin487.fits evtable="EVENTS" scfile=/scratch/kocevski/656313/ft2_4FGL_J1001.1+2911_daily_bin487.fits sctable="SC_DATA" expcube=/scratch/kocevski/656313/ltcube_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.fits outfile=/scratch/kocevski/656313/expmap_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.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/656313/ltcube_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.fits
.....................!
real 190.49
user 185.00
sys 4.23

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/656313/ft1_filtered_4FGL_J1001.1+2911_daily_bin487.fits scfile=/scratch/kocevski/656313/ft2_4FGL_J1001.1+2911_daily_bin487.fits outfile=/scratch/kocevski/656313/cmap_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.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.56
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.344       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8029       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    105.66       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28519E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19315E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .14869       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .81836       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10079E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13787E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2534       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6249       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78081       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3593       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=   5924.336     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     2848 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7699       -.52864E-07** at limit **
   2  norm          .10000E-03    .81254        .48452E-07** at limit **
   3  Prefactor     27.402        57.193       -.78890E-05   -.31897E-04
   4  Prefactor     2.8023        3.4335        .15162E-05    .78213E-03
   5  Prefactor     .10000E-03    20.330        .78764E-06** at limit **
   6  Prefactor     105.67        73.242       -.31371E-06    .20008E-04
   7  Prefactor     .10004E-03    17.676        .12834E-05** at limit **
   8  Prefactor     .10000E-03    30.042       -.15473E-06** at limit **
   9  Prefactor     .10000E-03    2.2376       -.37489E-07** at limit **
  10  Prefactor     .10000E-03    3.0850       -.31117E-07** at limit **
  11  Prefactor     .10001E-03    .99639        .18014E-06** at limit **
  12  norm          .17440        9.5356       -.27702E-05    .55009E-03
  13  Prefactor     .82502        3.5821        .23717E-06    .16282E-03
  14  Prefactor     .10000E-03    58.495        .79462E-06** at limit **
  15  Prefactor     .10032E-03    2.5210       -.42554E-06** at limit **
  16  norm          .10000E-03    3.3173       -.58656E-08** at limit **
  17  Prefactor     .10000E-03    21.287       -.79499E-06** at limit **
  18  Prefactor     .10000E-03    125.28       -.91232E-06** at limit **
  19  Prefactor     4.2529        4.1256        .20164E-06    .46014E-03
  20  Prefactor     4.6280        5.5442        .73177E-07    .12925E-03
  21  Prefactor     .10000E-03    1.0522       -.18281E-06** at limit **
  22  Prefactor     .10000E-03    13.100        .93687E-08** at limit **
  23  Normalizat    .78053        .16550        .46443E-06    .39316E-03
  24  Prefactor     1.3595        .18562        .11205E-06    .35264E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.4024
  Prefactor  = 2.80233
  Prefactor  = 0.0001
  Prefactor  = 105.669
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 0.174396
  Prefactor  = 0.825022
  Prefactor  = 0.0001
  Prefactor  = 0.000100319
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.25292
  Prefactor  = 4.62804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.780532
  Prefactor  = 1.35947
 **********
 **   18 **HESSE 
 **********

 FCN=   5924.336     FROM HESSE     STATUS=OK           407 CALLS     3255 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8229        .20000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .84640        .13547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.402        57.377        .76612E-04   -1.4661    
   4  Prefactor     2.8023        3.4944        .76224E-03   -1.5373    
   5  Prefactor     .10000E-03    20.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     105.67        73.228        .39121E-04   -1.3648    
   7  Prefactor     .10004E-03    95.523        .61795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.2499        .11240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.0923        .13200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    16.691        .14425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .17440        85.934        .38274E-02   -1.5624    
  13  Prefactor     .82502        5.7373        .21859E-02   -1.5526    
  14  Prefactor     .10000E-03    58.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10032E-03    6.1923        .33557E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3259        .13691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    125.34        .41072E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.2529        4.0353        .14525E-03   -1.5295    
  20  Prefactor     4.6280        5.4999        .18715E-03   -1.5278    
  21  Prefactor     .10000E-03    1.6004        .15233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .78053        .19070        .24780E-03   -1.0079    
  24  Prefactor     1.3595        .22001        .22887E-03   -.81556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33558e-08
Minuit parameter uncertainties:
  1  3.49978e-06
  2  2.24619e-06
  3  57.493
  4  3.49465
  5  3.62168e-06
  6  73.2909
  7  0.00380015
  8  1.96634e-05
  9  9.41676e-07
  10  3.21628e-06
  11  0.000958867
  12  7.75148
  13  4.35159
  14  4.85154e-05
  15  0.00281114
  16  1.44937e-06
  17  3.03995e-05
  18  0.000902364
  19  4.03557
  20  5.50055
  21  1.81971e-06
  22  1.03872e-05
  23  0.190864
  24  0.220161
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  9.589e-04  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.359e+00  2.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.805e-01  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656313/likelihoodResults_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.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) = 5924.33617524
delta logL = -0.000289186193186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5924.33580722
delta logL = 7.8831160863e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25289E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4148       1.0000          .0000       10.000    
     3 'Normalizat'    .78079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5923.915     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      242 TOTAL
                     EDM=   .49E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17676E-01    .13784        .10016E-06    .51197E-03
   2  Index         5.0327        2.5776       -.17499E-05    .44252E-05
   3  Normalizat    .72479        .19039        .32572E-05   -.42869E-04
   4  Prefactor     1.3988        .21971       -.31039E-05   -.71933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0176761
  Index      = 5.03265
  Normalizat = 0.724786
  Prefactor  = 1.39884
 **********
 **   18 **HESSE 
 **********

 FCN=   5923.915     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      281 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17676E-01    .33740        .25752E-02   -1.5681    
   2  Index         5.0327        3.0554        .11849        .65303E-02
   3  Normalizat    .72479        .31285E-01    .43359E-01   -1.0292    
   4  Prefactor     1.3988        .37148E-01    .51152E-01   -.80414    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19631e-10
Minuit parameter uncertainties:
  1  0.154015
  2  3.28719
  3  0.0312861
  4  0.0371491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656313': 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) = 5923.91456451
delta logL = 0.421321538697

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.768e-02  1.540e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  5.033e+00  3.287e+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.399e+00  3.715e-02  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.248e-01  3.129e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 150.294 29.188

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/656313/cmap_HighResolution_365558401_365817601_4FGL_J1001.1+2911_daily_bin487.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.58e-03', job_status='DONE', photon_flux_upper_limit='7.29e-08', time_completed='2021-09-01 10:04:37.462323', job_id='656313', GAL2='1.40', fit_tolerance='1e-08', EG2='0.72', EG='0.78', time_epoch_completed='1630515877.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='4.21e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='487' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 656313: <4FGL_J1001.1+2911_daily_bin487> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin487 150.294 29.188 365558401 365817601 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 :                                   674.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

