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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin169
RA = 150.294, Dec = 29.188
tmin = 283132801, tmax = 283392001
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='654717', job_status='RUN', time_executed='2021-09-01 09:50:01.390979', time_epoch_executed='1630515001.39' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654717

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654717/ft1_4FGL_J1001.1+2911_daily_bin169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654717/ft1_4FGL_J1001.1+2911_daily_bin169.fits outfile=/scratch/kocevski/654717/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin169.fits ra=150.294 dec=29.188 rad=12.0 tmin=283132801.0 tmax=283392001.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.84
user 3.61
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654717/ft1_filtered_4FGL_J1001.1+2911_daily_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/654717/ltcube_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.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/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits
.....................!
real 11.66
user 11.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654717/ft1_filtered_4FGL_J1001.1+2911_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/654717/ltcube_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.fits outfile=/scratch/kocevski/654717/expmap_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.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/654717/ltcube_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.fits
.....................!
real 189.84
user 185.32
sys 4.12

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/654717/ft1_filtered_4FGL_J1001.1+2911_daily_bin169.fits scfile=/scratch/kocevski/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits outfile=/scratch/kocevski/654717/cmap_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.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.66
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654717/ft1_filtered_4FGL_J1001.1+2911_daily_bin169.fits scfile=/scratch/kocevski/654717/ft2_4FGL_J1001.1+2911_daily_bin169.fits outfile=/scratch/kocevski/654717/cmap_HighResolution_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.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.79
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.8409       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10595E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    78.212       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8848       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9226       1.0000         .10000E-03   10000.    
    12 'norm      '    19.534       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15481E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.695       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8067       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14691E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.708       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1273       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97700       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=   5681.012     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2407 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3261       -.16652E-06** at limit **
   2  norm          4.8408        2.1502        .84567E-07    .39905E-04
   3  Prefactor     .10000E-03    160.82       -.21882E-05** at limit **
   4  Prefactor     3.4294        3.3682       -.31250E-06   -.52634E-04
   5  Prefactor     12.166        16.586        .92124E-07    .44088E-05
   6  Prefactor     .10000E-03    47.603       -.35639E-05** at limit **
   7  Prefactor     78.210        38.931        .41780E-06    .96121E-05
   8  Prefactor     .10000E-03    47.225       -.19418E-05** at limit **
   9  Prefactor     7.8840        7.1267        .19803E-07   -.46271E-05
  10  Prefactor     .10000E-03    3.3959       -.25827E-06** at limit **
  11  Prefactor     1.9225        1.8931       -.48925E-07   -.71154E-05
  12  norm          19.533        10.796        .12900E-06    .33003E-04
  13  Prefactor     .10000E-03    1.6916       -.25598E-06** at limit **
  14  Prefactor     10.647        51.909        .16723E-04    .22018E-05
  15  Prefactor     .10000E-03    1.8234       -.29880E-06** at limit **
  16  norm          3.8061        7.0351       -.11987E-05   -.35179E-04
  17  Prefactor     .10000E-03    11.735       -.25154E-06** at limit **
  18  Prefactor     .10000E-03    14.143       -.79487E-06** at limit **
  19  Prefactor     .10000E-03    3.1193       -.55456E-06** at limit **
  20  Prefactor     .10000E-03    53.994       -.11225E-04** at limit **
  21  Prefactor     .10000E-03    .81067       -.18703E-06** at limit **
  22  Prefactor     13.707        21.214        .10605E-07    .28070E-05
  23  Normalizat    1.1275        .18271        .31559E-06    .12126E-03
  24  Prefactor     .97681        .19913       -.10299E-05    .16443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.84081
  Prefactor  = 0.0001
  Prefactor  = 3.42938
  Prefactor  = 12.1663
  Prefactor  = 0.0001
  Prefactor  = 78.2104
  Prefactor  = 0.0001
  Prefactor  = 7.88397
  Prefactor  = 0.0001
  Prefactor  = 1.92246
  norm       = 19.5333
  Prefactor  = 0.0001
  Prefactor  = 10.6471
  Prefactor  = 0.0001
  norm       = 3.80608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7066
  Normalizat = 1.12752
  Prefactor  = 0.976814
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.012     FROM HESSE     STATUS=OK           399 CALLS     2806 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3327        .84768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.8408        2.1499        .70903E-04   -1.5268    
   3  Prefactor     .10000E-03    161.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4294        3.3644        .13070E-03   -1.5338    
   5  Prefactor     12.166        16.577        .11484E-03   -1.5010    
   6  Prefactor     .10000E-03    47.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     78.210        38.948        .45408E-04   -1.3937    
   8  Prefactor     .10000E-03    47.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8840        7.1200        .14280E-03   -1.5146    
  10  Prefactor     .10000E-03    3.4063        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9225        1.8889        .99133E-04   -1.5431    
  12  norm          19.533        10.791        .90621E-04   -1.4824    
  13  Prefactor     .10000E-03    12.920        .18535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.647        51.935        .12251E-03   -1.5055    
  15  Prefactor     .10000E-03    1.8385        .99229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.8061        7.0377        .20688E-03   -1.5318    
  17  Prefactor     .10000E-03    11.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1692        .12995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    52.831        .39650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .81784        .66246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.707        21.209        .10819E-03   -1.4967    
  23  Normalizat    1.1275        .20439        .22994E-03   -.88873    
  24  Prefactor     .97681        .22616        .27356E-03   -.93506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22454e-11
Minuit parameter uncertainties:
  1  5.40229e-07
  2  2.14993
  3  1.58904e-05
  4  3.36457
  5  16.5834
  6  8.22334e-06
  7  38.9608
  8  2.22635e-05
  9  7.12073
  10  1.73827e-06
  11  1.889
  12  10.7917
  13  0.000108475
  14  47.0956
  15  4.33063e-07
  16  7.0392
  17  1.57427e-06
  18  4.28361e-06
  19  1.86892e-06
  20  4.8398e-05
  21  1.52414e-07
  22  21.221
  23  0.204534
  24  0.226377
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.922e+00  1.889e+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:  9.768e-01  2.264e-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.128e+00  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.50
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 1.00e-05

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

Saving results to:
/scratch/kocevski/654717/likelihoodResults_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.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) = 5681.00903833
delta logL = 0.00250832351594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5681.00872593
delta logL = 0.00282072284608

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9619       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2039       1.0000          .0000       10.000    
     3 'Normalizat'    1.1296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97554       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=   5681.009     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      230 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9619        2.0153        .10147E-03   -.35148E-03
   2  Index         2.2038        .86562        .97883E-02   -.40700E-04
   3  Normalizat    1.1296        .20294        .22976E-03    .46463E-04
   4  Prefactor     .97554        .22532        .27372E-03    .46560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.96195
  Index      = 2.2038
  Normalizat = 1.12964
  Prefactor  = 0.975535
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.009     FROM HESSE     STATUS=OK            25 CALLS      255 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9619        1.9934        .40586E-05   -1.5428    
   2  Index         2.2038        .85583        .39153E-03   -.59347    
   3  Normalizat    1.1296        .20303        .91904E-05   -.88806    
   4  Prefactor     .97554        .22548        .10949E-04   -.93550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88339e-11
Minuit parameter uncertainties:
  1  1.99351
  2  0.862033
  3  0.203168
  4  0.225701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654717': 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) = 5681.00872593
delta logL = 0.0028207275127

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.962e+00  1.994e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.204e+00  8.620e-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:  9.755e-01  2.257e-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.130e+00  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.20 +/- 0.86
Photon Flux (Free Index): 2.38e-08 +/- 3.39e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.22e-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/654717/cmap_HighResolution_283132801_283392001_4FGL_J1001.1+2911_daily_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='1.06e-05', photon_flux_error='2.52e-08', dlogl='2.82e-03', energy_flux='1.02e-05', photon_flux2='2.38e-08', job_status='DONE', time_completed='2021-09-01 10:00:28.087435', photon_index_error2='0.86', photon_index2='2.20', ts='2.50', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='9.14e-08', energy_flux_error2='1.22e-05', EG='1.13', time_epoch_completed='1630515628.09', return_code='0', job_id='654717', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.39e-08', ts2='2.50', photon_index='2.27' WHERE bin_id='169' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 654717: <4FGL_J1001.1+2911_daily_bin169> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:54 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:55 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:45:55 2021
Terminated at Wed Sep  1 10:00:28 2021
Results reported at Wed Sep  1 10:00:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin169 150.294 29.188 283132801 283392001 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 :                                   620.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            874 sec.

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

