/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 27 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 = 7462
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin808
RA = 150.294, Dec = 29.188
tmin = 448761601, tmax = 449020801
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='659357', job_status='RUN', time_executed='2021-09-01 10:01:20.554563', time_epoch_executed='1630515680.55' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='808'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659357/ft1_4FGL_J1001.1+2911_daily_bin808.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659357/ft2_4FGL_J1001.1+2911_daily_bin808.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659357/ft1_4FGL_J1001.1+2911_daily_bin808.fits outfile=/scratch/kocevski/659357/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin808.fits ra=150.294 dec=29.188 rad=12.0 tmin=448761601.0 tmax=449020801.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 5.75
user 5.49
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659357/ft1_filtered_4FGL_J1001.1+2911_daily_bin808.fits" evtable="EVENTS" scfile=/scratch/kocevski/659357/ft2_4FGL_J1001.1+2911_daily_bin808.fits sctable="SC_DATA" outfile=/scratch/kocevski/659357/ltcube_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.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/659357/ft2_4FGL_J1001.1+2911_daily_bin808.fits
.....................!
real 11.83
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659357/ft1_filtered_4FGL_J1001.1+2911_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/659357/ft2_4FGL_J1001.1+2911_daily_bin808.fits sctable="SC_DATA" expcube=/scratch/kocevski/659357/ltcube_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.fits outfile=/scratch/kocevski/659357/expmap_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.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/659357/ltcube_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.fits
.....................!
real 190.85
user 185.01
sys 5.27

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/659357/ft1_filtered_4FGL_J1001.1+2911_daily_bin808.fits scfile=/scratch/kocevski/659357/ft2_4FGL_J1001.1+2911_daily_bin808.fits outfile=/scratch/kocevski/659357/cmap_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.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 3.72
user 0.35
sys 0.19

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .21214E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2294       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.059       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4716       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.541       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9544       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.100       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18437E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.406       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.682       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10638E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.837       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68309       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1150       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=   4276.482     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2745 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7731       -.79586E-07** at limit **
   2  norm          .10000E-03    1.1806       -.24869E-06** at limit **
   3  Prefactor     .10000E-03    16.498       -.45986E-06** at limit **
   4  Prefactor     5.2286        3.6248       -.59729E-06    .15675E-04
   5  Prefactor     .10000E-03    11.347        .49006E-06** at limit **
   6  Prefactor     33.476        68.610        .40197E-05    .33941E-04
   7  Prefactor     28.057        34.861       -.23355E-05    .60847E-05
   8  Prefactor     6.4278        97.649       -.11279E-03    .47124E-05
   9  Prefactor     .10000E-03    3.4709        .27367E-06** at limit **
  10  Prefactor     .10000E-03    4.8329       -.64446E-07** at limit **
  11  Prefactor     .10000E-03    1.6589       -.26203E-06** at limit **
  12  norm          16.542        9.7588       -.15626E-06    .54867E-04
  13  Prefactor     .10000E-03    2.0337       -.17639E-06** at limit **
  14  Prefactor     .10000E-03    86.357        .38083E-05** at limit **
  15  Prefactor     2.9558        5.1784        .84784E-06   -.32032E-03
  16  norm          1.6217        7.1761       -.45009E-05   -.54829E-03
  17  Prefactor     16.101        48.145       -.85929E-08    .68537E-05
  18  Prefactor     .10001E-03    64.440        .86510E-06** at limit **
  19  Prefactor     10.403        6.7636       -.38138E-05   -.46962E-04
  20  Prefactor     18.681        10.349       -.29928E-06    .27010E-03
  21  Prefactor     .10000E-03    1.8463       -.87900E-06** at limit **
  22  Prefactor     35.837        34.091       -.10354E-05    .12730E-04
  23  Normalizat    .68310        .18565        .71936E-05    .13383E-03
  24  Prefactor     1.1150        .19997       -.35171E-06    .37820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.22861
  Prefactor  = 0.0001
  Prefactor  = 33.4762
  Prefactor  = 28.0571
  Prefactor  = 6.42776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 16.542
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95576
  norm       = 1.62171
  Prefactor  = 16.1009
  Prefactor  = 0.000100007
  Prefactor  = 10.4032
  Prefactor  = 18.6813
  Prefactor  = 0.0001
  Prefactor  = 35.8372
  Normalizat = 0.683096
  Prefactor  = 1.11503
 **********
 **   18 **HESSE 
 **********

 FCN=   4276.482     FROM HESSE     STATUS=OK           401 CALLS     3146 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7984        .85035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.7977        .13789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2286        3.6194        .98636E-04   -1.5251    
   5  Prefactor     .10000E-03    11.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.476        68.582        .69260E-04   -1.4550    
   7  Prefactor     28.057        34.864        .75632E-04   -1.4648    
   8  Prefactor     6.4278        97.759        .15776E-03   -1.5201    
   9  Prefactor     .10000E-03    3.5015        .11893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.8778        .14039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0750        .16193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.542        9.7591        .98477E-04   -1.4894    
  13  Prefactor     .10000E-03    2.0432        .90644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    86.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9558        5.1499        .17942E-03   -1.5364    
  16  norm          1.6217        7.2101        .33237E-03   -1.5453    
  17  Prefactor     16.101        48.138        .99818E-04   -1.4905    
  18  Prefactor     .10001E-03    64.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.403        6.7356        .12421E-03   -1.5063    
  20  Prefactor     18.681        10.216        .92664E-04   -1.4843    
  21  Prefactor     .10000E-03    3.1114        .16990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.837        34.090        .66945E-04   -1.4510    
  23  Normalizat    .68310        .20905        .24549E-03   -1.0456    
  24  Prefactor     1.1150        .22728        .22558E-03   -.88988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25765e-09
Minuit parameter uncertainties:
  1  7.18169e-06
  2  1.90858e-06
  3  8.60233e-06
  4  3.61959
  5  3.07503e-05
  6  68.7439
  7  34.8894
  8  50.2325
  9  9.65171e-06
  10  2.61589e-05
  11  0.000170751
  12  9.76001
  13  2.25604e-05
  14  9.01964e-06
  15  5.15066
  16  6.84007
  17  48.254
  18  0.00134221
  19  6.7361
  20  10.2171
  21  7.24272e-06
  22  34.1084
  23  0.209289
  24  0.227478
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.708e-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.115e+00  2.275e-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:  6.831e-01  2.093e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659357/likelihoodResults_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.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) = 4276.48310733
delta logL = -0.00155114159861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4276.4815539
delta logL = 2.28856333706e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3359       1.0000          .0000       10.000    
     3 'Normalizat'    .68291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1153       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=   4276.211     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      298 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35518E-01    .78053E-01    .40138E-02   -.20716E-02
   2  Index         4.5562        .84479        .12502        .76088E-04
   3  Normalizat    .64195        .18138        .42062E-01    .66067E-04
   4  Prefactor     1.1423        .20179        .37032E-01    .64715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0355178
  Index      = 4.55619
  Normalizat = 0.641954
  Prefactor  = 1.14228
 **********
 **   18 **HESSE 
 **********

 FCN=   4276.211     FROM HESSE     STATUS=OK            33 CALLS      331 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35518E-01    .30597        .18621E-03   -1.5746    
   2  Index         4.5562        2.6880        .72959E-02   -.88879E-01
   3  Normalizat    .64195        .20215        .25280E-03   -1.0623    
   4  Prefactor     1.1423        .22822        .22327E-03   -.88127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38819e-08
Minuit parameter uncertainties:
  1  0.208201
  2  2.83932
  3  0.202385
  4  0.228414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659357': 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) = 4276.21130678
delta logL = 0.27024940393

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.552e-02  2.082e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.556e+00  2.839e+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.142e+00  2.284e-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:  6.420e-01  2.024e-01  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/659357/cmap_HighResolution_448761601_449020801_4FGL_J1001.1+2911_daily_bin808.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.09e-08', time_completed='2021-09-01 10:11:02.282157', job_id='659357', GAL2='1.14', fit_tolerance='1e-08', EG2='0.64', EG='0.68', time_epoch_completed='1630516262.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.70e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='808' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:11:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 659357: <4FGL_J1001.1+2911_daily_bin808> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin808> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:32 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:34 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:00:34 2021
Terminated at Wed Sep  1 10:11:02 2021
Results reported at Wed Sep  1 10:11:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin808 150.294 29.188 448761601 449020801 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 :                                   574.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            630 sec.

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

