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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin315
RA = 150.294, Dec = 29.188
tmin = 320976001, tmax = 321235201
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='656053', job_status='RUN', time_executed='2021-09-01 09:54:41.424005', time_epoch_executed='1630515281.42' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656053

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656053/ft1_4FGL_J1001.1+2911_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656053/ft2_4FGL_J1001.1+2911_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656053/ft1_4FGL_J1001.1+2911_daily_bin315.fits outfile=/scratch/kocevski/656053/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin315.fits ra=150.294 dec=29.188 rad=12.0 tmin=320976001.0 tmax=321235201.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.50
user 3.28
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656053/ft1_filtered_4FGL_J1001.1+2911_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/656053/ft2_4FGL_J1001.1+2911_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/656053/ltcube_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.fits outfile=/scratch/kocevski/656053/expmap_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.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/656053/ltcube_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.fits
.....................!
real 189.14
user 184.76
sys 3.92

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/656053/ft1_filtered_4FGL_J1001.1+2911_daily_bin315.fits scfile=/scratch/kocevski/656053/ft2_4FGL_J1001.1+2911_daily_bin315.fits outfile=/scratch/kocevski/656053/cmap_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.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.54
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9186       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.226       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0555       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1122       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.208       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11114E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9983       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7135       1.0000         .10000E-03   10000.    
    12 'norm      '    7.6198       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4540       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13145       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4531       1.0000         .10000E-03   10000.    
    16 'norm      '    11.049       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15419E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .24245E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.826       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .84548       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.6595       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92150       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1108       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=   5904.186     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     2817 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6026       -.21072E-07** at limit **
   2  norm          1.9186        1.4554       -.16298E-08    .63970E-05
   3  Prefactor     12.229        41.604       -.15389E-05   -.16692E-05
   4  Prefactor     5.0547        3.7913        .42363E-07   -.91871E-05
   5  Prefactor     .10000E-03    8.1622        .91192E-07** at limit **
   6  Prefactor     2.1008        199.69        .31845E-05   -.10628E-05
   7  Prefactor     32.206        40.313        .13754E-06   -.24158E-05
   8  Prefactor     .10000E-03    61.600        .83315E-07** at limit **
   9  Prefactor     2.9996        1.6334        .38393E-07   -.86952E-03
  10  Prefactor     .10000E-03    3.5461       -.78272E-07** at limit **
  11  Prefactor     1.7136        1.6545        .23007E-07   -.28723E-05
  12  norm          7.6220        7.0267        .55617E-07   -.87914E-04
  13  Prefactor     2.4548        2.8139        .36769E-07   -.29509E-04
  14  Prefactor     .10000E-03    63.670        .44818E-06** at limit **
  15  Prefactor     2.4528        3.5129       -.15022E-07   -.63404E-04
  16  norm          11.041        11.607        .70159E-07   -.82574E-04
  17  Prefactor     .10000E-03    38.976       -.14193E-06** at limit **
  18  Prefactor     .10002E-03    46.254        .11489E-05** at limit **
  19  Prefactor     16.800        8.9089       -.23081E-06   -.34444E-03
  20  Prefactor     .10000E-03    4.7288        .19613E-07** at limit **
  21  Prefactor     .84688        2.6466        .31807E-07   -.68630E-04
  22  Prefactor     6.6606        30.529        .11428E-04    .19885E-05
  23  Normalizat    .92149        .17302       -.42866E-06   -.60206E-04
  24  Prefactor     1.1108        .18357       -.11471E-06   -.63415E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.91861
  Prefactor  = 12.2292
  Prefactor  = 5.05465
  Prefactor  = 0.0001
  Prefactor  = 2.10077
  Prefactor  = 32.2055
  Prefactor  = 0.0001
  Prefactor  = 2.99964
  Prefactor  = 0.0001
  Prefactor  = 1.71357
  norm       = 7.62203
  Prefactor  = 2.45478
  Prefactor  = 0.0001
  Prefactor  = 2.45283
  norm       = 11.0409
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 16.8001
  Prefactor  = 0.0001
  Prefactor  = 0.846883
  Prefactor  = 6.66057
  Normalizat = 0.921489
  Prefactor  = 1.11079
 **********
 **   18 **HESSE 
 **********

 FCN=   5904.186     FROM HESSE     STATUS=OK           421 CALLS     3238 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.6451        .12102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9186        1.4588        .78130E-04   -1.5431    
   3  Prefactor     12.229        41.726        .11457E-03   -1.5008    
   4  Prefactor     5.0547        3.7902        .12305E-03   -1.5258    
   5  Prefactor     .10000E-03    8.1664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1008        200.97        .28385E-03   -1.5418    
   7  Prefactor     32.206        40.372        .70604E-04   -1.4572    
   8  Prefactor     .10000E-03    61.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9996        5.8373        .11721E-02   -1.5362    
  10  Prefactor     .10000E-03    3.5574        .14129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7136        1.6567        .93864E-04   -1.5446    
  12  norm          7.6220        7.0249        .72639E-03   -1.5156    
  13  Prefactor     2.4548        2.8003        .13132E-03   -1.5395    
  14  Prefactor     .10000E-03    56.185        .15304       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4528        3.4924        .16268E-03   -1.5395    
  16  norm          11.041        11.629        .60263E-03   -1.5043    
  17  Prefactor     .10000E-03    39.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    290.42        .84208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.800        7.5587        .97640E-04   -1.4888    
  20  Prefactor     .10000E-03    4.7546        .16294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .84688        3.2739        .20421E-02   -1.5524    
  22  Prefactor     6.6606        30.416        .15550E-03   -1.5192    
  23  Normalizat    .92149        .20279        .25070E-03   -.95709    
  24  Prefactor     1.1108        .21591        .24964E-03   -.89122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57449e-08
Minuit parameter uncertainties:
  1  1.71671e-06
  2  1.45888
  3  41.8256
  4  3.79035
  5  1.8095e-06
  6  41.2366
  7  40.4061
  8  1.85332e-05
  9  5.83845
  10  1.15272e-06
  11  1.6567
  12  7.0257
  13  2.8005
  14  0.000172207
  15  3.49267
  16  11.6318
  17  6.87262e-06
  18  0.00503472
  19  7.55918
  20  1.71611e-06
  21  3.2746
  22  28.4905
  23  0.202963
  24  0.216075
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.714e+00  1.657e+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.111e+00  2.161e-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.215e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.26
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 9.11e-06 +/- 8.80e-06

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

Saving results to:
/scratch/kocevski/656053/likelihoodResults_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.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) = 5903.89205818
delta logL = 0.293766241605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5903.87291705
delta logL = 0.312907370524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0725       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7585       1.0000          .0000       10.000    
     3 'Normalizat'    .93201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1032       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=   5903.873     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0729        9.8696        .71732E-02   -.38999E-04
   2  Index         1.7585        2.0853        .25716       -.21309E-04
   3  Normalizat    .93201        .17749        .45309E-01    .12399E-04
   4  Prefactor     1.1032        .18954        .56616E-01    .63741E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07289
  Index      = 1.75848
  Normalizat = 0.932013
  Prefactor  = 1.10315
 **********
 **   18 **HESSE 
 **********

 FCN=   5903.873     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0729        1.9600        .10093E-03   -1.5420    
   2  Index         1.7585        .58028        .92697E-02   -.70536    
   3  Normalizat    .93201        .19302        .24940E-03   -.95344    
   4  Prefactor     1.1032        .20986        .25034E-03   -.89366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70047e-10
Minuit parameter uncertainties:
  1  1.9601
  2  0.582551
  3  0.193161
  4  0.210019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656053': 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) = 5903.87291703
delta logL = 0.312907393922

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.073e+00  1.960e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.758e+00  5.826e-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.103e+00  2.100e-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.320e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.89
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.76 +/- 0.58
Photon Flux (Free Index): 1.45e-08 +/- 1.68e-08
Energy Flux (Free Index): 1.97e-05 +/- 2.89e-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/656053/cmap_HighResolution_320976001_321235201_4FGL_J1001.1+2911_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='1.97e-05', photon_flux_error='2.21e-08', dlogl='3.13e-01', energy_flux='9.11e-06', photon_flux2='1.45e-08', job_status='DONE', time_completed='2021-09-01 10:05:31.837874', photon_index_error2='0.58', photon_index2='1.76', ts='3.26', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='8.43e-08', energy_flux_error2='2.89e-05', EG='0.92', time_epoch_completed='1630515931.84', return_code='0', job_id='656053', GAL2='1.10', EG2='0.93', return_code2='0', energy_flux_error='8.80e-06', photon_flux_error2='1.68e-08', ts2='3.89', photon_index='2.27' WHERE bin_id='315' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:05:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 656053: <4FGL_J1001.1+2911_daily_bin315> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin315> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:39 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:41 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:50:41 2021
Terminated at Wed Sep  1 10:05:32 2021
Results reported at Wed Sep  1 10:05:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin315 150.294 29.188 320976001 321235201 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 :                                   644.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             217.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

