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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin797
RA = 150.294, Dec = 29.188
tmin = 445910401, tmax = 446169601
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='659339', job_status='RUN', time_executed='2021-09-01 10:01:13.046684', time_epoch_executed='1630515673.05' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='797'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659339

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659339/ft1_4FGL_J1001.1+2911_daily_bin797.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659339/ft2_4FGL_J1001.1+2911_daily_bin797.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659339/ft1_4FGL_J1001.1+2911_daily_bin797.fits outfile=/scratch/kocevski/659339/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin797.fits ra=150.294 dec=29.188 rad=12.0 tmin=445910401.0 tmax=446169601.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.08
user 3.81
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659339/ft1_filtered_4FGL_J1001.1+2911_daily_bin797.fits evtable="EVENTS" scfile=/scratch/kocevski/659339/ft2_4FGL_J1001.1+2911_daily_bin797.fits sctable="SC_DATA" expcube=/scratch/kocevski/659339/ltcube_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.fits outfile=/scratch/kocevski/659339/expmap_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.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/659339/ltcube_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.fits
.....................!
real 191.19
user 185.51
sys 4.40

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/659339/ft1_filtered_4FGL_J1001.1+2911_daily_bin797.fits scfile=/scratch/kocevski/659339/ft2_4FGL_J1001.1+2911_daily_bin797.fits outfile=/scratch/kocevski/659339/cmap_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659339/ft1_filtered_4FGL_J1001.1+2911_daily_bin797.fits scfile=/scratch/kocevski/659339/ft2_4FGL_J1001.1+2911_daily_bin797.fits outfile=/scratch/kocevski/659339/cmap_HighResolution_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6030       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6828       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.109       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .78626       1.0000         .10000E-03   10000.    
    12 'norm      '    24.825       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .82113       1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.886       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8714       1.0000         .10000E-03   10000.    
    16 'norm      '    .28155E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.212       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8964       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1556       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84016       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=   5477.268     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2718 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6029        3.7639        .94463E-07   -.90803E-05
   2  norm          2.6823        1.8210       -.17084E-07   -.14775E-03
   3  Prefactor     .10000E-03    24.028       -.53424E-05** at limit **
   4  Prefactor     .10000E-03    3.1267        .20855E-06** at limit **
   5  Prefactor     18.105        27.447       -.36735E-05    .47461E-04
   6  Prefactor     .10000E-03    30.155        .10809E-04** at limit **
   7  Prefactor     .10000E-03    16.343        .20085E-05** at limit **
   8  Prefactor     .10000E-03    23.288       -.75133E-05** at limit **
   9  Prefactor     .10000E-03    3.7361        .49298E-07** at limit **
  10  Prefactor     .10000E-03    5.9703       -.74065E-09** at limit **
  11  Prefactor     .78629        1.6098       -.12352E-06   -.72935E-03
  12  norm          24.827        10.991       -.82870E-07   -.16027E-04
  13  Prefactor     .82014        3.1816       -.21776E-05   -.11840E-02
  14  Prefactor     37.891        48.596        .62675E-05   -.80146E-04
  15  Prefactor     1.8718        4.9452        .17025E-05   -.38244E-03
  16  norm          .10041E-03    7.0959       -.17880E-05** at limit **
  17  Prefactor     23.210        58.498       -.41367E-05    .29114E-04
  18  Prefactor     .10000E-03    10.550       -.31155E-05** at limit **
  19  Prefactor     .10000E-03    1.6006        .31501E-08** at limit **
  20  Prefactor     .10000E-03    10.712        .30294E-05** at limit **
  21  Prefactor     1.8978        2.8457       -.36710E-06   -.74372E-03
  22  Prefactor     .10000E-03    27.202        .45201E-05** at limit **
  23  Normalizat    1.1556        .18290        .90353E-06    .82386E-04
  24  Prefactor     .84015        .19239       -.52129E-06    .97672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60292
  norm       = 2.68227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1048
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.786292
  norm       = 24.8271
  Prefactor  = 0.820142
  Prefactor  = 37.891
  Prefactor  = 1.87179
  norm       = 0.000100405
  Prefactor  = 23.2096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.89783
  Prefactor  = 0.0001
  Normalizat = 1.15558
  Prefactor  = 0.840154
 **********
 **   18 **HESSE 
 **********

 FCN=   5477.268     FROM HESSE     STATUS=OK           399 CALLS     3117 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6029        3.7657        .12632E-03   -1.5279    
   2  norm          2.6823        1.8043        .79180E-04   -1.5380    
   3  Prefactor     .10000E-03    23.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5498        .24850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.105        27.371        .94119E-04   -1.4857    
   6  Prefactor     .10000E-03    29.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.7771        .13964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0387        .17657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .78629        1.3162        .12977E-02   -1.5531    
  12  norm          24.827        10.983        .80397E-04   -1.4711    
  13  Prefactor     .82014        3.1513        .22786E-03   -1.5527    
  14  Prefactor     37.891        48.089        .65116E-04   -1.4476    
  15  Prefactor     1.8718        4.6366        .21909E-03   -1.5434    
  16  norm          .10041E-03    55.813        .37573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.210        58.336        .83140E-04   -1.4744    
  18  Prefactor     .10000E-03    10.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6041        .91426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8978        2.8499        .14651E-03   -1.5432    
  22  Prefactor     .10000E-03    27.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1556        .20653        .22315E-03   -.87987    
  24  Prefactor     .84015        .21881        .27644E-03   -.98265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06711e-09
Minuit parameter uncertainties:
  1  3.76585
  2  1.80429
  3  0.000182175
  4  1.67781e-06
  5  27.3899
  6  0.000409887
  7  5.79193e-05
  8  0.000242255
  9  2.98605e-06
  10  3.25428e-06
  11  1.31627
  12  10.9839
  13  3.15198
  14  48.1379
  15  4.63753
  16  0.00952109
  17  58.4797
  18  7.08544e-05
  19  1.6672e-08
  20  0.000101606
  21  2.85007
  22  0.000171619
  23  0.206674
  24  0.219035
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.863e-01  1.316e+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:  8.402e-01  2.190e-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.156e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/659339/likelihoodResults_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.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) = 5476.84814871
delta logL = 0.419804445145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5476.83828384
delta logL = 0.429669317463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95993       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4705       1.0000          .0000       10.000    
     3 'Normalizat'    1.1632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83367       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=   5476.838     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      195 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96180        1.8892        .21304E-01    .58360E-05
   2  Index         1.4692        .68037        .30153       -.43151E-04
   3  Normalizat    1.1634        .17608        .35863E-01    .33949E-04
   4  Prefactor     .83346        .19001        .44154E-01    .56023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.961798
  Index      = 1.46916
  Normalizat = 1.16341
  Prefactor  = 0.83346
 **********
 **   18 **HESSE 
 **********

 FCN=   5476.838     FROM HESSE     STATUS=OK            35 CALLS      230 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96180        1.3926        .10722E-02   -1.5512    
   2  Index         1.4692        .74126        .10767E-01   -.78407    
   3  Normalizat    1.1634        .20031        .22245E-03   -.87741    
   4  Prefactor     .83346        .21602        .27726E-03   -.98506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95478e-12
Minuit parameter uncertainties:
  1  1.39266
  2  0.746787
  3  0.200438
  4  0.216242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659339': 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) = 5476.83827859
delta logL = 0.429674568742

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  9.618e-01  1.393e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.469e+00  7.468e-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:  8.335e-01  2.162e-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.163e+00  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.47 +/- 0.75
Photon Flux (Free Index): 5.47e-09 +/- 8.82e-09
Energy Flux (Free Index): 1.92e-05 +/- 3.82e-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/659339/cmap_HighResolution_445910401_446169601_4FGL_J1001.1+2911_daily_bin797.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', comment='SUCCESS', energy_flux2='1.92e-05', dlogl='4.30e-01', photon_flux2='5.47e-09', job_status='DONE', time_completed='2021-09-01 10:11:49.514755', photon_index_error2='0.75', photon_index2='1.47', ts='0.58', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='6.70e-08', energy_flux_error2='3.82e-05', EG='1.16', time_epoch_completed='1630516309.51', return_code='0', job_id='659339', GAL2='0.83', EG2='1.16', return_code2='0', photon_flux_error2='8.82e-09', ts2='1.44', photon_index='2.27' WHERE bin_id='797' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:11:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 659339: <4FGL_J1001.1+2911_daily_bin797> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin797 150.294 29.188 445910401 446169601 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 :                                   626.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            679 sec.

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

