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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin165
RA = 150.294, Dec = 29.188
tmin = 282096001, tmax = 282355201
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='654710', job_status='RUN', time_executed='2021-09-01 09:49:31.468504', time_epoch_executed='1630514971.47' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654710/ft1_4FGL_J1001.1+2911_daily_bin165.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654710/ft2_4FGL_J1001.1+2911_daily_bin165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654710/ft1_4FGL_J1001.1+2911_daily_bin165.fits outfile=/scratch/kocevski/654710/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin165.fits ra=150.294 dec=29.188 rad=12.0 tmin=282096001.0 tmax=282355201.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.47
user 3.26
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654710/ft1_filtered_4FGL_J1001.1+2911_daily_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/654710/ft2_4FGL_J1001.1+2911_daily_bin165.fits sctable="SC_DATA" expcube=/scratch/kocevski/654710/ltcube_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.fits outfile=/scratch/kocevski/654710/expmap_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.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/654710/ltcube_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.fits
.....................!
real 190.99
user 185.43
sys 4.77

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

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

This is gtbin version HEAD
real 3.36
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654710/ft1_filtered_4FGL_J1001.1+2911_daily_bin165.fits scfile=/scratch/kocevski/654710/ft2_4FGL_J1001.1+2911_daily_bin165.fits outfile=/scratch/kocevski/654710/cmap_HighResolution_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.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.62
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2658       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4057       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1970       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.409       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.781       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.864       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13495E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.494       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12340E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    21.199       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   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 '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .54229       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95575       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0636       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=   5541.824     FROM MIGRAD    STATUS=CONVERGED    955 CALLS     2819 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2661        4.5706        .15868E-03    .38976E-04
   2  norm          1.4056        1.6526        .10098E-03   -.61693E-03
   3  Prefactor     .10000E-03    45.080        .18142E-02** at limit **
   4  Prefactor     1.1973        3.2047        .20657E-03   -.45730E-03
   5  Prefactor     25.409        19.284        .79470E-04   -.16909E-03
   6  Prefactor     .10000E-03    41.781        .18142E-02** at limit **
   7  Prefactor     38.783        34.241        .64362E-04   -.12365E-05
   8  Prefactor     .10000E-03    49.450        .18142E-02** at limit **
   9  Prefactor     12.864        7.4232        .11168E-03   -.62666E-03
  10  Prefactor     .10000E-03    2.3689        .11182E-02** at limit **
  11  Prefactor     .10018E-03    9.3866        .14665E-02** at limit **
  12  norm          12.494        7.8649        .11332E-03   -.21729E-03
  13  Prefactor     .10000E-03    .80020        .64902E-03** at limit **
  14  Prefactor     .10041E-03    23.159        .11563    ** at limit **
  15  Prefactor     .10000E-03    1.2535        .81054E-03** at limit **
  16  norm          21.200        13.234        .86992E-04   -.49269E-04
  17  Prefactor     .10000E-03    11.442        .18142E-02** at limit **
  18  Prefactor     .10000E-03    17.404        .18142E-02** at limit **
  19  Prefactor     .10000E-03    1.9124        .10025E-02** at limit **
  20  Prefactor     .10000E-03    7.4476        .36285E-03** at limit **
  21  Prefactor     .54240        1.6083        .15921E-03   -.35917E-03
  22  Prefactor     .10000E-03    17.004        .18142E-02** at limit **
  23  Normalizat    .95566        .19836        .22988E-03   -.75935E-03
  24  Prefactor     1.0637        .22072        .24962E-03   -.58047E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.26613
  norm       = 1.40563
  Prefactor  = 0.0001
  Prefactor  = 1.19732
  Prefactor  = 25.4086
  Prefactor  = 0.000100004
  Prefactor  = 38.7829
  Prefactor  = 0.000100002
  Prefactor  = 12.8641
  Prefactor  = 0.0001
  Prefactor  = 0.000100176
  norm       = 12.4945
  Prefactor  = 0.0001
  Prefactor  = 0.00010041
  Prefactor  = 0.0001
  norm       = 21.2003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.542395
  Prefactor  = 0.0001
  Normalizat = 0.955661
  Prefactor  = 1.06373
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.824     FROM HESSE     STATUS=OK           383 CALLS     3202 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2661        4.5705        .63471E-05   -1.5295    
   2  norm          1.4056        1.6524        .40394E-05   -1.5471    
   3  Prefactor     .10000E-03    45.084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1973        3.2040        .82627E-05   -1.5489    
   5  Prefactor     25.409        19.284        .15894E-04   -1.4699    
   6  Prefactor     .10000E-03    41.783        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.783        34.252        .25745E-05   -1.4462    
   8  Prefactor     .10000E-03    49.458        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.864        7.4230        .44672E-05   -1.4990    
  10  Prefactor     .10000E-03    2.3689        .22364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10018E-03    9.4787        .29329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.494        7.8648        .45330E-05   -1.5001    
  13  Prefactor     .10000E-03    .80021        .12980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10041E-03    22.186        .12041       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2536        .16211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.200        13.234        .34797E-05   -1.4787    
  17  Prefactor     .10000E-03    11.442        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.9126        .20051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.4481        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54240        1.6081        .63685E-05   -1.5561    
  22  Prefactor     .10000E-03    17.005        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95566        .19849        .45976E-04   -.94531    
  24  Prefactor     1.0637        .22090        .49925E-04   -.90634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95173e-08
Minuit parameter uncertainties:
  1  4.57088
  2  1.65249
  3  0.000247425
  4  3.20446
  5  19.2886
  6  0.000783361
  7  34.2697
  8  0.00055134
  9  7.42349
  10  4.19821e-06
  11  0.00258235
  12  7.86544
  13  2.63031e-06
  14  0.00603735
  15  5.48519e-06
  16  13.2355
  17  0.000114643
  18  2.20456e-05
  19  8.48327e-06
  20  1.84908e-05
  21  1.60826
  22  2.16218e-05
  23  0.198645
  24  0.221091
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.002e-04  2.582e-03  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.064e+00  2.211e-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.557e-01  1.986e-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: 6.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654710/likelihoodResults_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.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) = 5541.82420895
delta logL = -0.000511669013576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5541.07710546
delta logL = 0.746591817357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17371       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0174       1.0000          .0000       10.000    
     3 'Normalizat'    .88918       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1066       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=   5541.077     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      266 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17394        2.6964        .60249E-02    .19989E-02
   2  Index         4.0170        3.0149        .11231        .14161E-03
   3  Normalizat    .88906        .39547E-01    .44763E-01    .10530E-04
   4  Prefactor     1.1068        .45263E-01    .55452E-01   -.57254E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.173941
  Index      = 4.01702
  Normalizat = 0.889059
  Prefactor  = 1.10678
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.077     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      301 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17394        6.9754        .27489E-03   -1.5625    
   2  Index         4.0170        7.0035        .55432E-02   -.19789    
   3  Normalizat    .88906        .15781        .23717E-03   -.96846    
   4  Prefactor     1.1068        .17834        .24519E-03   -.89250    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0363e-07
Minuit parameter uncertainties:
  1  2.20264
  2  6.42165
  3  0.157894
  4  0.178439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654710': 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) = 5541.07710507
delta logL = 0.746592210518

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.739e-01  2.203e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.017e+00  6.422e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.107e+00  1.784e-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:  8.891e-01  1.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 150.294 29.188
Photon Index (Free Index): 4.02 +/- 6.42
Photon Flux (Free Index): 5.11e-08 +/- 4.62e-08
Energy Flux (Free Index): 7.63e-06 +/- 1.19e-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/654710/cmap_HighResolution_282096001_282355201_4FGL_J1001.1+2911_daily_bin165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', comment='SUCCESS', energy_flux2='7.63e-06', dlogl='7.47e-01', photon_flux2='5.11e-08', job_status='DONE', time_completed='2021-09-01 10:00:26.333005', photon_index_error2='6.42', photon_index2='4.02', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.95e-08', energy_flux_error2='1.19e-05', EG='0.96', time_epoch_completed='1630515626.33', return_code='0', job_id='654710', GAL2='1.11', EG2='0.89', return_code2='102', photon_flux_error2='4.62e-08', ts2='1.57', photon_index='2.27' WHERE bin_id='165' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 654710: <4FGL_J1001.1+2911_daily_bin165> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin165> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:53 2021
Job was executed on host(s) <bullet0162>, 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:27 2021
Results reported at Wed Sep  1 10:00:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin165 150.294 29.188 282096001 282355201 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 :                                   645.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            874 sec.

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

