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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin991
RA = 150.294, Dec = 29.188
tmin = 496195201, tmax = 496454401
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='660714', job_status='RUN', time_executed='2021-09-01 10:09:30.428187', time_epoch_executed='1630516170.43' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='991'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660714

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660714/ft1_4FGL_J1001.1+2911_daily_bin991.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660714/ft2_4FGL_J1001.1+2911_daily_bin991.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660714/ft1_4FGL_J1001.1+2911_daily_bin991.fits outfile=/scratch/kocevski/660714/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin991.fits ra=150.294 dec=29.188 rad=12.0 tmin=496195201.0 tmax=496454401.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.47
user 3.21
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660714/ft1_filtered_4FGL_J1001.1+2911_daily_bin991.fits evtable="EVENTS" scfile=/scratch/kocevski/660714/ft2_4FGL_J1001.1+2911_daily_bin991.fits sctable="SC_DATA" expcube=/scratch/kocevski/660714/ltcube_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.fits outfile=/scratch/kocevski/660714/expmap_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.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/660714/ltcube_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.fits
.....................!
real 192.08
user 186.33
sys 5.20

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/660714/ft1_filtered_4FGL_J1001.1+2911_daily_bin991.fits scfile=/scratch/kocevski/660714/ft2_4FGL_J1001.1+2911_daily_bin991.fits outfile=/scratch/kocevski/660714/cmap_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.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.76
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5191       1.0000         .10000E-03   10000.    
     2 'norm      '    .97622       1.0000         .10000E-03   10000.    
     3 'Prefactor '    61.295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13596E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.676       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .53884       1.0000         .10000E-03   10000.    
    12 'norm      '    12.566       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4014       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.604       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4697       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3446       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5555       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66028       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=   5896.402     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2747 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5190        2.9088        .90915E-07    .19546E-04
   2  norm          .97614        .88016        .14391E-07    .63242E-04
   3  Prefactor     61.281        60.877        .22770E-05    .18961E-04
   4  Prefactor     .10000E-03    2.3838       -.28803E-06** at limit **
   5  Prefactor     40.278        34.610        .14934E-05    .45700E-04
   6  Prefactor     37.663        50.205        .20894E-05    .68736E-05
   7  Prefactor     .10000E-03    40.229        .50427E-06** at limit **
   8  Prefactor     .10000E-03    72.124       -.96984E-06** at limit **
   9  Prefactor     8.5582        6.9587        .15571E-07   -.22739E-04
  10  Prefactor     .10000E-03    5.0058        .10436E-06** at limit **
  11  Prefactor     .53872        1.6810        .29557E-06   -.99288E-05
  12  norm          12.566        7.9746        .17731E-06   -.15608E-04
  13  Prefactor     1.4020        2.5397        .26051E-06    .30316E-04
  14  Prefactor     45.587        40.661        .17082E-05    .69843E-05
  15  Prefactor     .10000E-03    1.2661        .35490E-07** at limit **
  16  norm          .10000E-03    2.6895        .16081E-07** at limit **
  17  Prefactor     .10000E-03    19.615        .75040E-07** at limit **
  18  Prefactor     .10000E-03    10.827        .11369E-08** at limit **
  19  Prefactor     2.4702        2.8198        .38516E-07   -.87628E-05
  20  Prefactor     3.3427        7.9410        .42712E-05   -.17530E-04
  21  Prefactor     .10000E-03    1.2548        .16504E-06** at limit **
  22  Prefactor     2.5005        45.562        .33167E-05    .12038E-05
  23  Normalizat    1.2021        .16840       -.94179E-06    .82561E-04
  24  Prefactor     .66021        .17489       -.58882E-06    .17132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.51905
  norm       = 0.976138
  Prefactor  = 61.2809
  Prefactor  = 0.0001
  Prefactor  = 40.278
  Prefactor  = 37.6632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.55824
  Prefactor  = 0.0001
  Prefactor  = 0.53872
  norm       = 12.5658
  Prefactor  = 1.40204
  Prefactor  = 45.5872
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.47018
  Prefactor  = 3.34271
  Prefactor  = 0.0001
  Prefactor  = 2.5005
  Normalizat = 1.20214
  Prefactor  = 0.660209
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.402     FROM HESSE     STATUS=OK           401 CALLS     3148 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5190        2.8994        .13684E-03   -1.5391    
   2  norm          .97614        .92866        .66605E-03   -1.5510    
   3  Prefactor     61.281        60.922        .51250E-04   -1.4141    
   4  Prefactor     .10000E-03    4.9867        .22669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.278        34.590        .63151E-04   -1.4438    
   6  Prefactor     37.663        50.177        .65296E-04   -1.4480    
   7  Prefactor     .10000E-03    40.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    72.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.5582        6.9473        .13702E-03   -1.5123    
  10  Prefactor     .10000E-03    5.0566        .16777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53872        1.6504        .16770E-03   -1.5561    
  12  norm          12.566        7.9690        .56499E-03   -1.4999    
  13  Prefactor     1.4020        2.5041        .15796E-03   -1.5471    
  14  Prefactor     45.587        40.599        .59371E-04   -1.4357    
  15  Prefactor     .10000E-03    1.2717        .84319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.6912        .12299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4702        2.8188        .13398E-03   -1.5394    
  20  Prefactor     3.3427        7.9505        .11065E-02   -1.5342    
  21  Prefactor     .10000E-03    1.2826        .84031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5005        45.760        .25540E-03   -1.5392    
  23  Normalizat    1.2021        .19130        .21000E-03   -.86537    
  24  Prefactor     .66021        .19931        .29131E-03   -1.0511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52447e-10
Minuit parameter uncertainties:
  1  2.89956
  2  0.928675
  3  60.9838
  4  1.37185e-05
  5  34.6071
  6  50.2328
  7  7.25312e-05
  8  1.97074e-06
  9  6.94793
  10  1.26264e-05
  11  1.65049
  12  7.96965
  13  2.50427
  14  40.6233
  15  2.02601e-06
  16  1.8339e-06
  17  1.29364e-05
  18  5.18352e-06
  19  2.81894
  20  7.953
  21  4.91698e-06
  22  21.4123
  23  0.191414
  24  0.199528
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.387e-01  1.650e+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:  6.602e-01  1.995e-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.202e+00  1.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/660714/likelihoodResults_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.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) = 5895.66070359
delta logL = 0.741051230134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5895.64589404
delta logL = 0.755860778244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74581       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1961       1.0000          .0000       10.000    
     3 'Normalizat'    1.2059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65572       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=   5895.646     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      217 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74724        1.1065        .18542E-01   -.52951E-04
   2  Index         1.1966        .45088        .25489       -.65370E-04
   3  Normalizat    1.2058        .16165        .34748E-01    .72685E-05
   4  Prefactor     .65581        .17189        .65991E-01    .31720E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.747236
  Index      = 1.19658
  Normalizat = 1.20582
  Prefactor  = 0.655811
 **********
 **   18 **HESSE 
 **********

 FCN=   5895.646     FROM HESSE     STATUS=OK            35 CALLS      252 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74724        1.3187        .91764E-03   -1.5535    
   2  Index         1.1966        .70218        .99997E-02   -.86437    
   3  Normalizat    1.2058        .18468        .20959E-03   -.86423    
   4  Prefactor     .65581        .19605        .29200E-03   -1.0529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44975e-09
Minuit parameter uncertainties:
  1  1.31877
  2  0.707781
  3  0.184784
  4  0.196254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660714': 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) = 5895.64589335
delta logL = 0.755861473779

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.472e-01  1.319e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.197e+00  7.078e-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:  6.558e-01  1.963e-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.206e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.20 +/- 0.71
Photon Flux (Free Index): 4.23e-09 +/- 6.59e-09
Energy Flux (Free Index): 3.57e-05 +/- 5.98e-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/660714/cmap_HighResolution_496195201_496454401_4FGL_J1001.1+2911_daily_bin991.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', comment='SUCCESS', energy_flux2='3.57e-05', dlogl='7.56e-01', photon_flux2='4.23e-09', job_status='DONE', time_completed='2021-09-01 10:20:32.475266', photon_index_error2='0.71', photon_index2='1.20', ts='0.13', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='6.80e-08', energy_flux_error2='5.98e-05', EG='1.20', time_epoch_completed='1630516832.48', return_code='0', job_id='660714', GAL2='0.66', EG2='1.21', return_code2='0', photon_flux_error2='6.59e-09', ts2='1.64', photon_index='2.27' WHERE bin_id='991' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:20:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 660714: <4FGL_J1001.1+2911_daily_bin991> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin991 150.294 29.188 496195201 496454401 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 :                                   643.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

