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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin268
RA = 150.294, Dec = 29.188
tmin = 308793601, tmax = 309052801
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='654886', job_status='RUN', time_executed='2021-09-01 09:49:07.024391', time_epoch_executed='1630514947.02' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654886

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654886/ft1_4FGL_J1001.1+2911_daily_bin268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654886/ft2_4FGL_J1001.1+2911_daily_bin268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654886/ft1_4FGL_J1001.1+2911_daily_bin268.fits outfile=/scratch/kocevski/654886/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin268.fits ra=150.294 dec=29.188 rad=12.0 tmin=308793601.0 tmax=309052801.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.49
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654886/ft2_4FGL_J1001.1+2911_daily_bin268.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/654886/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin268.fits evtable="EVENTS" outfile="/scratch/kocevski/654886/ft1_filtered_4FGL_J1001.1+2911_daily_bin268.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654886/ft1_filtered_4FGL_J1001.1+2911_daily_bin268.fits" evtable="EVENTS" scfile=/scratch/kocevski/654886/ft2_4FGL_J1001.1+2911_daily_bin268.fits sctable="SC_DATA" outfile=/scratch/kocevski/654886/ltcube_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.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/654886/ft2_4FGL_J1001.1+2911_daily_bin268.fits
.....................!
real 13.19
user 12.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654886/ft1_filtered_4FGL_J1001.1+2911_daily_bin268.fits evtable="EVENTS" scfile=/scratch/kocevski/654886/ft2_4FGL_J1001.1+2911_daily_bin268.fits sctable="SC_DATA" expcube=/scratch/kocevski/654886/ltcube_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.fits outfile=/scratch/kocevski/654886/expmap_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.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/654886/ltcube_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.fits
.....................!
real 193.18
user 187.81
sys 4.95

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/654886/ft1_filtered_4FGL_J1001.1+2911_daily_bin268.fits scfile=/scratch/kocevski/654886/ft2_4FGL_J1001.1+2911_daily_bin268.fits outfile=/scratch/kocevski/654886/cmap_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.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.63
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.875       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    55.730       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.353       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0119       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .33162       1.0000         .10000E-03   10000.    
    12 'norm      '    16.584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8431       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.235       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    27.641       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    55.620       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10783E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3596       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93675       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0326       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=   5870.125     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     3476 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9528        .26999E-06** at limit **
   2  norm          .10000E-03    .95961        .16502E-06** at limit **
   3  Prefactor     17.825        54.480       -.29973E-06   -.41366E-04
   4  Prefactor     .10000E-03    1.5225        .14735E-06** at limit **
   5  Prefactor     20.976        20.706       -.25136E-07   -.30764E-04
   6  Prefactor     .10000E-03    26.413        .16088E-06** at limit **
   7  Prefactor     55.726        39.308        .12671E-06   -.13580E-04
   8  Prefactor     20.347        34.240        .19883E-06   -.11076E-04
   9  Prefactor     6.0113        5.1041        .28418E-07   -.57468E-04
  10  Prefactor     2.0680        8.0554        .11470E-05   -.26774E-04
  11  Prefactor     .33195        1.7756        .14788E-05   -.10249E-03
  12  norm          16.584        8.8433        .43455E-06   -.64626E-04
  13  Prefactor     2.8420        4.0586        .35375E-06   -.55288E-04
  14  Prefactor     10.221        45.731        .55864E-06   -.12343E-04
  15  Prefactor     .10000E-03    4.2159       -.43207E-06** at limit **
  16  norm          27.640        12.895        .46322E-07   -.11396E-04
  17  Prefactor     .10000E-03    23.810        .94907E-07** at limit **
  18  Prefactor     55.622        32.027        .73993E-07   -.13579E-04
  19  Prefactor     .10000E-03    4.4337        .40649E-06** at limit **
  20  Prefactor     .10000E-03    7.8939        .23520E-06** at limit **
  21  Prefactor     2.3608        2.3113        .15555E-06   -.32031E-04
  22  Prefactor     .10000E-03    34.648        .57087E-06** at limit **
  23  Normalizat    .93677        .17217       -.15986E-05   -.92638E-04
  24  Prefactor     1.0326        .18719        .37654E-06   -.17074E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.8248
  Prefactor  = 0.0001
  Prefactor  = 20.9763
  Prefactor  = 0.0001
  Prefactor  = 55.7257
  Prefactor  = 20.3472
  Prefactor  = 6.01126
  Prefactor  = 2.06795
  Prefactor  = 0.33195
  norm       = 16.5835
  Prefactor  = 2.84197
  Prefactor  = 10.2214
  Prefactor  = 0.0001
  norm       = 27.6402
  Prefactor  = 0.0001
  Prefactor  = 55.6219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36082
  Prefactor  = 0.0001
  Normalizat = 0.936769
  Prefactor  = 1.03259
 **********
 **   18 **HESSE 
 **********

 FCN=   5870.125     FROM HESSE     STATUS=OK           399 CALLS     3875 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0806        .25729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.0022        .14657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.825        54.464        .94732E-04   -1.4863    
   4  Prefactor     .10000E-03    2.5769        .18326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.976        20.706        .87453E-04   -1.4792    
   6  Prefactor     .10000E-03    26.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     55.726        39.335        .53734E-04   -1.4214    
   8  Prefactor     20.347        34.243        .88782E-04   -1.4806    
   9  Prefactor     6.0113        5.0984        .15317E-03   -1.5218    
  10  Prefactor     2.0680        8.0086        .28731E-03   -1.5420    
  11  Prefactor     .33195        1.7868        .19317E-03   -1.5593    
  12  norm          16.584        8.8379        .49175E-03   -1.4893    
  13  Prefactor     2.8420        4.0249        .16791E-03   -1.5371    
  14  Prefactor     10.221        45.787        .12525E-03   -1.5068    
  15  Prefactor     .10000E-03    4.3398        .30452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          27.640        12.899        .76200E-04   -1.4656    
  17  Prefactor     .10000E-03    23.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     55.622        31.887        .53787E-04   -1.4215    
  19  Prefactor     .10000E-03    4.5005        .15696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1470        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3608        2.3002        .11045E-03   -1.5401    
  22  Prefactor     .10000E-03    35.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93677        .19589        .23227E-03   -.95180    
  24  Prefactor     1.0326        .21495        .25302E-03   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21239e-11
Minuit parameter uncertainties:
  1  2.00101e-06
  2  5.8211e-07
  3  54.616
  4  5.47284e-06
  5  20.7132
  6  5.07031e-05
  7  39.353
  8  34.2764
  9  5.09875
  10  8.01275
  11  1.54013
  12  8.83864
  13  4.02525
  14  43.3222
  15  2.2381e-07
  16  12.9002
  17  2.15124e-05
  18  31.8972
  19  4.32754e-06
  20  5.96349e-06
  21  2.30027
  22  1.29843e-05
  23  0.196039
  24  0.215128
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.033e+00  2.151e-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.368e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654886/likelihoodResults_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.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) = 5870.10169288
delta logL = 0.0233124581264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5869.97799817
delta logL = 0.147007171596

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.2321       1.0000          .0000       10.000    
     3 'Normalizat'    .91067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0553       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=   5869.978     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      363 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .79300E-02    .31284E-03** at limit **
   2  Index         7.2306        3.2389        .22695        .79717E-04
   3  Normalizat    .91020        .29781E-01    .45038E-01   -.23507E-04
   4  Prefactor     1.0556        .33837E-01    .56711E-01   -.25443E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.23059
  Normalizat = 0.910201
  Prefactor  = 1.05558
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.978     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      404 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .26499E-01    .28548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.2306        8.5737        .87167E-02    .46242    
   3  Normalizat    .91020        .61710E-01    .23528E-03   -.96103    
   4  Prefactor     1.0556        .69935E-01    .25076E-03   -.90899    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.25455e-07
Minuit parameter uncertainties:
  1  3.32817e-08
  2  9.91629
  3  0.0617143
  4  0.0699413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654886': 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) = 5869.97798812
delta logL = 0.147017225837

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.328e-08  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  7.231e+00  9.916e+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.056e+00  6.994e-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.102e-01  6.171e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/654886/cmap_HighResolution_308793601_309052801_4FGL_J1001.1+2911_daily_bin268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2021-09-01 10:01:16.478841', job_id='654886', GAL2='1.06', fit_tolerance='1e-08', EG2='0.91', EG='0.94', time_epoch_completed='1630515676.48', return_code2='102', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.47e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='268' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 654886: <4FGL_J1001.1+2911_daily_bin268> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin268> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:46:16 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:46:18 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:46:18 2021
Terminated at Wed Sep  1 10:01:17 2021
Results reported at Wed Sep  1 10:01:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin268 150.294 29.188 308793601 309052801 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 :                                   721.14 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

