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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin541
RA = 150.294, Dec = 29.188
tmin = 379555201, tmax = 379814401
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='656406', job_status='RUN', time_executed='2021-09-01 09:53:50.206416', time_epoch_executed='1630515230.21' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656406/ft1_4FGL_J1001.1+2911_daily_bin541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656406/ft2_4FGL_J1001.1+2911_daily_bin541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656406/ft1_4FGL_J1001.1+2911_daily_bin541.fits outfile=/scratch/kocevski/656406/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin541.fits ra=150.294 dec=29.188 rad=12.0 tmin=379555201.0 tmax=379814401.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 4.80
user 3.29
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656406/ft1_filtered_4FGL_J1001.1+2911_daily_bin541.fits evtable="EVENTS" scfile=/scratch/kocevski/656406/ft2_4FGL_J1001.1+2911_daily_bin541.fits sctable="SC_DATA" expcube=/scratch/kocevski/656406/ltcube_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.fits outfile=/scratch/kocevski/656406/expmap_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.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/656406/ltcube_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.fits
.....................!
real 193.07
user 186.65
sys 4.62

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/656406/ft1_filtered_4FGL_J1001.1+2911_daily_bin541.fits scfile=/scratch/kocevski/656406/ft2_4FGL_J1001.1+2911_daily_bin541.fits outfile=/scratch/kocevski/656406/cmap_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656406/ft1_filtered_4FGL_J1001.1+2911_daily_bin541.fits scfile=/scratch/kocevski/656406/ft2_4FGL_J1001.1+2911_daily_bin541.fits outfile=/scratch/kocevski/656406/cmap_HighResolution_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3070       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0906       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.984       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.809       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.844       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12137E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8374       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0722       1.0000         .10000E-03   10000.    
    12 'norm      '    13.751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .39294       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5215       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8703       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.592       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11933E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97350       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1035       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=   5796.295     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2346 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3070        2.9359        .12100E-06    .47713E-04
   2  norm          .10000E-03    .87398        .92654E-07** at limit **
   3  Prefactor     .10000E-03    12.975        .47988E-07** at limit **
   4  Prefactor     2.0909        3.1237        .27008E-06    .13319E-03
   5  Prefactor     10.981        18.870        .21921E-05    .11752E-03
   6  Prefactor     28.804        35.563        .97365E-07   -.93041E-05
   7  Prefactor     13.772        43.233       -.16282E-05   -.52136E-04
   8  Prefactor     .10000E-03    83.762        .12824E-05** at limit **
   9  Prefactor     9.8372        6.3987        .57612E-07   -.43672E-05
  10  Prefactor     .10000E-03    4.6585        .14071E-07** at limit **
  11  Prefactor     2.0722        1.7561        .11593E-07    .14903E-04
  12  norm          13.752        7.7395       -.13447E-07   -.27515E-04
  13  Prefactor     .10000E-03    1.0131        .12634E-07** at limit **
  14  Prefactor     .10000E-03    16.691        .19113E-06** at limit **
  15  Prefactor     .39388        2.4334       -.76406E-06    .35560E-03
  16  norm          4.5189        10.813       -.32761E-06    .20198E-04
  17  Prefactor     .10000E-03    23.619        .23520E-06** at limit **
  18  Prefactor     .10000E-03    21.075       -.40763E-06** at limit **
  19  Prefactor     1.8750        5.0193        .10653E-05    .25484E-03
  20  Prefactor     11.598        7.2805       -.18072E-06   -.18370E-03
  21  Prefactor     .10000E-03    1.6851        .48481E-06** at limit **
  22  Prefactor     .10000E-03    8.1481        .83323E-07** at limit **
  23  Normalizat    .97308        .20133        .30597E-05   -.18265E-03
  24  Prefactor     1.1040        .21788       -.41308E-05   -.50799E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.307
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.09086
  Prefactor  = 10.981
  Prefactor  = 28.8044
  Prefactor  = 13.7724
  Prefactor  = 0.0001
  Prefactor  = 9.83718
  Prefactor  = 0.0001
  Prefactor  = 2.07219
  norm       = 13.7519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.393878
  norm       = 4.51895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.875
  Prefactor  = 11.5981
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973078
  Prefactor  = 1.10404
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.295     FROM HESSE     STATUS=OK           403 CALLS     2749 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3070        2.9242        .14331E-03   -1.5404    
   2  norm          .10000E-03    .90320        .13896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0909        3.1253        .15761E-03   -1.5419    
   5  Prefactor     10.981        19.181        .60441E-03   -1.5045    
   6  Prefactor     28.804        35.564        .74642E-04   -1.4634    
   7  Prefactor     13.772        43.488        .10765E-03   -1.4966    
   8  Prefactor     .10000E-03    85.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8372        6.3977        .12776E-03   -1.5081    
  10  Prefactor     .10000E-03    4.6819        .16046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.0722        1.7497        .89643E-04   -1.5420    
  12  norm          13.752        7.7405        .10801E-03   -1.4966    
  13  Prefactor     .10000E-03    1.0177        .74747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .39388        7.1081        .20697E-02   -1.5582    
  16  norm          4.5189        10.769        .18933E-03   -1.5283    
  17  Prefactor     .10000E-03    23.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8750        5.0873        .26436E-03   -1.5434    
  20  Prefactor     11.598        7.2317        .11766E-03   -1.5027    
  21  Prefactor     .10000E-03    3.8546        .18636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.1525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97308        .21289        .23429E-03   -.93938    
  24  Prefactor     1.1040        .22814        .25176E-03   -.89338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97037e-10
Minuit parameter uncertainties:
  1  2.9244
  2  2.20487e-06
  3  9.20947e-07
  4  3.12552
  5  19.1919
  6  35.5903
  7  43.5879
  8  0.000330564
  9  6.39815
  10  2.73831e-06
  11  1.74975
  12  7.74107
  13  1.34536e-06
  14  3.09714e-05
  15  3.34651
  16  10.7738
  17  3.02727e-05
  18  8.77031e-05
  19  5.08842
  20  7.23229
  21  5.88354e-05
  22  4.82897e-06
  23  0.213075
  24  0.228341
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.072e+00  1.750e+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.104e+00  2.283e-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.731e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.77e-08 +/- 2.33e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 9.30e-06

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

Saving results to:
/scratch/kocevski/656406/likelihoodResults_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.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) = 5796.29355381
delta logL = 0.00100538413699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5796.29328716
delta logL = 0.00127203302418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1154       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2345       1.0000          .0000       10.000    
     3 'Normalizat'    .97408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1034       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=   5796.293     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1154        2.0158        .91001E-04    .72808E-03
   2  Index         2.2346        .68904        .90015E-02    .53500E-04
   3  Normalizat    .97408        .19792        .23419E-03   -.25923E-04
   4  Prefactor     1.1034        .22473        .25183E-03   -.30156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.1154
  Index      = 2.2346
  Normalizat = 0.974081
  Prefactor  = 1.10335
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.293     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1154        1.9680        .36401E-05   -1.5417    
   2  Index         2.2346        .67270        .36006E-03   -.58606    
   3  Normalizat    .97408        .19809        .93674E-05   -.93904    
   4  Prefactor     1.1034        .22496        .10073E-04   -.89360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30494e-11
Minuit parameter uncertainties:
  1  1.96802
  2  0.675658
  3  0.198234
  4  0.225149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656406': 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) = 5796.29328716
delta logL = 0.00127203732063

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.115e+00  1.968e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.235e+00  6.757e-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.251e-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.741e-01  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.91
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.23 +/- 0.68
Photon Flux (Free Index): 2.69e-08 +/- 2.78e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.17e-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/656406/cmap_HighResolution_379555201_379814401_4FGL_J1001.1+2911_daily_bin541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', comment='SUCCESS', photon_flux='2.77e-08', energy_flux2='1.13e-05', photon_flux_error='2.33e-08', dlogl='1.27e-03', energy_flux='1.10e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2021-09-01 10:04:27.171643', photon_index_error2='0.68', photon_index2='2.23', ts='2.91', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='8.54e-08', energy_flux_error2='1.17e-05', EG='0.97', time_epoch_completed='1630515867.17', return_code='0', job_id='656406', GAL2='1.10', EG2='0.97', return_code2='0', energy_flux_error='9.30e-06', photon_flux_error2='2.78e-08', ts2='2.91', photon_index='2.27' WHERE bin_id='541' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 656406: <4FGL_J1001.1+2911_daily_bin541> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin541> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:51:10 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:51:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:51:12 2021
Terminated at Wed Sep  1 10:04:28 2021
Results reported at Wed Sep  1 10:04:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin541 150.294 29.188 379555201 379814401 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 :                                   630.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            798 sec.

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

