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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin392
RA = 150.294, Dec = 29.188
tmin = 340934401, tmax = 341193601
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='656175', job_status='RUN', time_executed='2021-09-01 09:53:32.353766', time_epoch_executed='1630515212.35' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656175

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656175/ft1_4FGL_J1001.1+2911_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656175/ft1_4FGL_J1001.1+2911_daily_bin392.fits outfile=/scratch/kocevski/656175/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin392.fits ra=150.294 dec=29.188 rad=12.0 tmin=340934401.0 tmax=341193601.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.53
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656175/ft1_filtered_4FGL_J1001.1+2911_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/656175/ltcube_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.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/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits
.....................!
real 13.60
user 12.99
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656175/ft1_filtered_4FGL_J1001.1+2911_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/656175/ltcube_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.fits outfile=/scratch/kocevski/656175/expmap_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.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/656175/ltcube_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.fits
.....................!
real 193.04
user 185.61
sys 4.65

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/656175/ft1_filtered_4FGL_J1001.1+2911_daily_bin392.fits scfile=/scratch/kocevski/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits outfile=/scratch/kocevski/656175/cmap_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656175/ft1_filtered_4FGL_J1001.1+2911_daily_bin392.fits scfile=/scratch/kocevski/656175/ft2_4FGL_J1001.1+2911_daily_bin392.fits outfile=/scratch/kocevski/656175/cmap_HighResolution_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.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.72
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6259       1.0000         .10000E-03   10000.    
     2 'norm      '    .20255E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.571       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0641       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4261       1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.062       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.272       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10840E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5133       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0008       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8471       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21333E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .93127E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3904       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.777       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90636       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87514       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=   5652.104     FROM MIGRAD    STATUS=CONVERGED   1026 CALLS     2909 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6258        3.1127        .11936E-03    .11430E-05
   2  norm          .10000E-03    8.0371        .13070E-02** at limit **
   3  Prefactor     16.420        44.898        .98388E-04    .50380E-04
   4  Prefactor     6.0661        3.9226        .11286E-03   -.19744E-04
   5  Prefactor     1.3997        87.624        .36198E-03   -.10867E-04
   6  Prefactor     77.074        51.297        .45743E-04   -.55671E-05
   7  Prefactor     16.266        37.451        .99288E-04    .18320E-04
   8  Prefactor     .10000E-03    85.890        .18142E-02** at limit **
   9  Prefactor     4.5144        6.3090        .18951E-03    .35094E-04
  10  Prefactor     .10000E-03    3.1266        .12930E-02** at limit **
  11  Prefactor     .10000E-03    1.3639        .13628E-02** at limit **
  12  norm          .10000E-03    4.7067        .15758E-02** at limit **
  13  Prefactor     2.0009        2.2905        .11738E-03    .62393E-03
  14  Prefactor     3.8280        84.036        .20575E-03    .92274E-05
  15  Prefactor     .10004E-03    19.193        .18994E-02** at limit **
  16  norm          .10000E-03    2.4798        .11558E-02** at limit **
  17  Prefactor     .10000E-03    22.250        .18142E-02** at limit **
  18  Prefactor     .10002E-03    41.761        .10460    ** at limit **
  19  Prefactor     2.3859        4.1377        .15234E-03    .24388E-03
  20  Prefactor     10.777        6.8669        .12205E-03   -.83277E-04
  21  Prefactor     .10000E-03    3.1320        .17122E-02** at limit **
  22  Prefactor     .10000E-03    13.359        .18142E-02** at limit **
  23  Normalizat    .90619        .18412        .21294E-03    .17432E-03
  24  Prefactor     .87542        .20037        .24259E-03    .35542E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62577
  norm       = 0.0001
  Prefactor  = 16.42
  Prefactor  = 6.06612
  Prefactor  = 1.39971
  Prefactor  = 77.0743
  Prefactor  = 16.2656
  Prefactor  = 0.0001
  Prefactor  = 4.51442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.00091
  Prefactor  = 3.82796
  Prefactor  = 0.000100036
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 2.38585
  Prefactor  = 10.7767
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.906192
  Prefactor  = 0.875424
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.104     FROM HESSE     STATUS=OK           383 CALLS     3292 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6258        3.1126        .47743E-05   -1.5327    
   2  norm          .10000E-03    8.2233        .26140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.420        44.900        .39355E-05   -1.4897    
   4  Prefactor     6.0661        3.9215        .45143E-05   -1.5215    
   5  Prefactor     1.3997        87.530        .14479E-04   -1.5471    
   6  Prefactor     77.074        51.296        .91487E-05   -1.3950    
   7  Prefactor     16.266        37.452        .39715E-05   -1.4901    
   8  Prefactor     .10000E-03    85.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5144        6.3075        .75804E-05   -1.5283    
  10  Prefactor     .10000E-03    3.1271        .25860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3662        .27255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.7097        .31517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0009        2.2889        .46952E-05   -1.5425    
  14  Prefactor     3.8280        84.056        .82301E-05   -1.5317    
  15  Prefactor     .10004E-03    19.504        .37987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4798        .23116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.253        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    39.625        .10751       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.3859        4.1098        .60936E-05   -1.5399    
  20  Prefactor     10.777        6.8661        .48818E-05   -1.5051    
  21  Prefactor     .10000E-03    3.1489        .34243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.360        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90619        .18426        .85175E-05   -.96243    
  24  Prefactor     .87542        .20054        .48518E-04   -.97005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60773e-09
Minuit parameter uncertainties:
  1  3.11278
  2  5.96795e-05
  3  44.9923
  4  3.92166
  5  22.1706
  6  51.325
  7  37.506
  8  0.000110141
  9  6.30844
  10  4.02104e-06
  11  3.84366e-06
  12  1.02609e-05
  13  2.28902
  14  35.9324
  15  0.00168135
  16  2.71554e-07
  17  3.97637e-06
  18  0.00161437
  19  4.11033
  20  6.86663
  21  0.000115571
  22  5.20016e-06
  23  0.18439
  24  0.200704
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.844e-06  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:  8.754e-01  2.007e-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.062e-01  1.844e-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: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656175/likelihoodResults_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.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) = 5652.10706111
delta logL = -0.00349574293705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5652.10356175
delta logL = 3.6251376514e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2188       1.0000          .0000       10.000    
     3 'Normalizat'    .90624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87537       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=   5652.104     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      243 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .86125        .41781E-01** at limit **
   2  Index         1.5393        8.7367        .50000       -.12126E-05
   3  Normalizat    .90619        .33475E-02    .44981E-01   -.34503E-04
   4  Prefactor     .87542        .37756E-02    .44690E-01    .21765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.53927
  Normalizat = 0.906194
  Prefactor  = 0.875421
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.104     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    226.35        .15075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5393        8.1848        .50000       -.76446    
   3  Normalizat    .90619        .18793E-01    .21294E-03   -.96243    
   4  Prefactor     .87542        .21200E-01    .24259E-03   -.97005    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.73666e-09
Minuit parameter uncertainties:
  1  6.44541e-05
  2  214.891
  3  0.0187932
  4  0.0212005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656175': 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): 102
logL (Free Index) = 5652.10353403
delta logL = 3.13452619594e-05

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.445e-05  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.539e+00  2.149e+02  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:  8.754e-01  2.120e-02  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.062e-01  1.879e-02  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/656175/cmap_HighResolution_340934401_341193601_4FGL_J1001.1+2911_daily_bin392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-03', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-01 10:04:33.522717', job_id='656175', GAL2='0.88', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630515873.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.13e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='392' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 656175: <4FGL_J1001.1+2911_daily_bin392> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin392 150.294 29.188 340934401 341193601 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 :                                   654.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             217.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            825 sec.

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

