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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin560
RA = 150.294, Dec = 29.188
tmin = 384480001, tmax = 384739201
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='657557', job_status='RUN', time_executed='2021-09-01 09:55:35.661917', time_epoch_executed='1630515335.66' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657557/ft1_4FGL_J1001.1+2911_daily_bin560.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657557/ft2_4FGL_J1001.1+2911_daily_bin560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657557/ft1_4FGL_J1001.1+2911_daily_bin560.fits outfile=/scratch/kocevski/657557/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin560.fits ra=150.294 dec=29.188 rad=12.0 tmin=384480001.0 tmax=384739201.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.99
user 3.68
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657557/ft1_filtered_4FGL_J1001.1+2911_daily_bin560.fits" evtable="EVENTS" scfile=/scratch/kocevski/657557/ft2_4FGL_J1001.1+2911_daily_bin560.fits sctable="SC_DATA" outfile=/scratch/kocevski/657557/ltcube_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.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/657557/ft2_4FGL_J1001.1+2911_daily_bin560.fits
.....................!
real 12.46
user 12.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657557/ft1_filtered_4FGL_J1001.1+2911_daily_bin560.fits evtable="EVENTS" scfile=/scratch/kocevski/657557/ft2_4FGL_J1001.1+2911_daily_bin560.fits sctable="SC_DATA" expcube=/scratch/kocevski/657557/ltcube_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.fits outfile=/scratch/kocevski/657557/expmap_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.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/657557/ltcube_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.fits
.....................!
real 195.53
user 189.53
sys 5.51

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/657557/ft1_filtered_4FGL_J1001.1+2911_daily_bin560.fits scfile=/scratch/kocevski/657557/ft2_4FGL_J1001.1+2911_daily_bin560.fits outfile=/scratch/kocevski/657557/cmap_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.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.62
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.7094       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.805       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6201       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.206       1.0000         .10000E-03   10000.    
     6 'Prefactor '    118.59       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11291E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7113       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.577       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12720E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46826E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11511E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16460E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.424       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.3969       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.403       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83711       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1028       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=   5708.767     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2805 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9401        .42512E-07** at limit **
   2  norm          4.7095        2.2748        .13141E-07   -.28718E-04
   3  Prefactor     49.811        51.463       -.50370E-06   -.16730E-04
   4  Prefactor     3.6205        4.7772        .38495E-06   -.37471E-05
   5  Prefactor     19.209        28.038       -.10208E-05   -.10355E-04
   6  Prefactor     118.55        79.161        .31358E-05    .12718E-03
   7  Prefactor     .10000E-03    50.472        .44477E-05** at limit **
   8  Prefactor     .10000E-03    61.713       -.66143E-05** at limit **
   9  Prefactor     2.7151        6.5925        .69164E-05   -.14963E-03
  10  Prefactor     .10000E-03    2.4557        .32490E-07** at limit **
  11  Prefactor     10.577        3.3371       -.12065E-06   -.12769E-03
  12  norm          .10000E-03    4.4582        .32366E-07** at limit **
  13  Prefactor     .10000E-03    1.1515        .45179E-07** at limit **
  14  Prefactor     .10000E-03    116.82        .69840E-07** at limit **
  15  Prefactor     .10000E-03    1.7881        .44333E-06** at limit **
  16  norm          .10000E-03    4.9032       -.10464E-06** at limit **
  17  Prefactor     .10000E-03    123.01        .34900E-05** at limit **
  18  Prefactor     .10000E-03    26.191       -.31062E-06** at limit **
  19  Prefactor     11.431        6.0873        .95282E-07   -.12837E-03
  20  Prefactor     5.3966        6.1335        .26328E-06    .22020E-06
  21  Prefactor     .10000E-03    1.0575        .41659E-07** at limit **
  22  Prefactor     29.403        24.919        .18208E-06   -.16818E-04
  23  Normalizat    .83708        .17407       -.21696E-05   -.12833E-03
  24  Prefactor     1.1027        .18958        .28406E-06   -.12970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.70952
  Prefactor  = 49.811
  Prefactor  = 3.62048
  Prefactor  = 19.2093
  Prefactor  = 118.55
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 2.71515
  Prefactor  = 0.0001
  Prefactor  = 10.5768
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.4308
  Prefactor  = 5.39659
  Prefactor  = 0.0001
  Prefactor  = 29.4031
  Normalizat = 0.837084
  Prefactor  = 1.10272
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.767     FROM HESSE     STATUS=OK           393 CALLS     3198 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9699        .10277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7095        2.2704        .74834E-04   -1.5274    
   3  Prefactor     49.811        51.504        .56824E-04   -1.4295    
   4  Prefactor     3.6205        4.7553        .17191E-03   -1.5327    
   5  Prefactor     19.209        28.020        .91391E-04   -1.4831    
   6  Prefactor     118.55        79.573        .18476E-03   -1.3526    
   7  Prefactor     .10000E-03    50.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    62.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7151        6.6078        .12368E-02   -1.5378    
  10  Prefactor     .10000E-03    2.4594        .11563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.577        3.3420        .73505E-04   -1.5057    
  12  norm          .10000E-03    4.5722        .31154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1628        .79085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    118.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.507        .19242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    19.565        .32514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    124.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.431        6.0517        .11853E-03   -1.5032    
  20  Prefactor     5.3966        6.1289        .17298E-03   -1.5243    
  21  Prefactor     .10000E-03    1.0835        .15165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.403        24.921        .73887E-04   -1.4623    
  23  Normalizat    .83708        .20273        .24880E-03   -.98708    
  24  Prefactor     1.1027        .22332        .24976E-03   -.89380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36665e-10
Minuit parameter uncertainties:
  1  4.03666e-06
  2  2.27039
  3  51.5502
  4  4.7558
  5  28.0393
  6  79.6446
  7  0.000375884
  8  0.000754104
  9  6.60954
  10  3.4363e-06
  11  3.34211
  12  2.13657e-06
  13  2.80906e-06
  14  0.000173951
  15  8.07695e-05
  16  0.000101685
  17  0.000540511
  18  9.20981e-06
  19  6.05199
  20  6.12965
  21  2.95281e-06
  22  24.9297
  23  0.202915
  24  0.223513
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.058e+01  3.342e+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.103e+00  2.235e-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:  8.371e-01  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.41
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.41e-07 +/- 4.46e-08
Energy Flux (Fixed Index): 5.62e-05 +/- 1.78e-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) = 5708.73856998
delta logL = 0.0281969696598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5708.7220888
delta logL = 0.0446781518767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.191       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1844       1.0000          .0000       10.000    
     3 'Normalizat'    .84788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0954       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=   5708.722     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.194        4.0866        .77004E-04    .12438E-02
   2  Index         2.1842        .28468        .39788E-02    .18118E-03
   3  Normalizat    .84790        .19874        .24743E-03   -.73055E-04
   4  Prefactor     1.0954        .22261        .25051E-03   -.68300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1939
  Index      = 2.18418
  Normalizat = 0.847899
  Prefactor  = 1.09537
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.722     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.194        4.0336        .15401E-04   -1.5039    
   2  Index         2.1842        .28080        .15915E-03   -.59821    
   3  Normalizat    .84790        .19886        .98973E-05   -.98316    
   4  Prefactor     1.0954        .22279        .10020E-04   -.89615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19739e-10
Minuit parameter uncertainties:
  1  4.03375
  2  0.281019
  3  0.199034
  4  0.222975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657557': 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) = 5708.72208829
delta logL = 0.0446786584916

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.119e+01  4.034e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.184e+00  2.810e-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.095e+00  2.230e-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:  8.479e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.33
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.18 +/- 0.28
Photon Flux (Free Index): 1.32e-07 +/- 5.21e-08
Energy Flux (Free Index): 6.12e-05 +/- 2.69e-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/657557/cmap_HighResolution_384480001_384739201_4FGL_J1001.1+2911_daily_bin560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-07', energy_flux2='6.12e-05', photon_flux_error='4.46e-08', dlogl='4.47e-02', energy_flux='5.62e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-01 10:05:33.993407', photon_index_error2='0.28', photon_index2='2.18', ts='32.41', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.69e-05', EG='0.84', time_epoch_completed='1630515933.99', return_code='0', job_id='657557', GAL2='1.10', EG2='0.85', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='5.21e-08', ts2='32.33', photon_index='2.27' WHERE bin_id='560' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:05:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 657557: <4FGL_J1001.1+2911_daily_bin560> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin560 150.294 29.188 384480001 384739201 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 :                                   594.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            617 sec.

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

