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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin900
RA = 150.294, Dec = 29.188
tmin = 472608001, tmax = 472867201
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='659511', job_status='RUN', time_executed='2021-09-01 10:05:05.295280', time_epoch_executed='1630515905.3' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659511

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659511/ft1_4FGL_J1001.1+2911_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659511/ft2_4FGL_J1001.1+2911_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659511/ft1_4FGL_J1001.1+2911_daily_bin900.fits outfile=/scratch/kocevski/659511/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin900.fits ra=150.294 dec=29.188 rad=12.0 tmin=472608001.0 tmax=472867201.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.56
user 3.30
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659511/ft1_filtered_4FGL_J1001.1+2911_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/659511/ft2_4FGL_J1001.1+2911_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/659511/ltcube_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.fits outfile=/scratch/kocevski/659511/expmap_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.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/659511/ltcube_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.fits
.....................!
real 189.55
user 185.26
sys 3.83

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

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

This is gtbin version HEAD
real 0.66
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659511/ft1_filtered_4FGL_J1001.1+2911_daily_bin900.fits scfile=/scratch/kocevski/659511/ft2_4FGL_J1001.1+2911_daily_bin900.fits outfile=/scratch/kocevski/659511/cmap_HighResolution_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.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.58
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24765E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6555       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.988       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3623       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.877       1.0000         .10000E-03   10000.    
     6 'Prefactor '    56.938       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.215       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1382       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2410       1.0000         .10000E-03   10000.    
    12 'norm      '    22.584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5883       1.0000         .10000E-03   10000.    
    16 'norm      '    14.027       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5836       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16561E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.4172       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5512       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0732       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82396       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=   6313.685     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2767 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4386        .21237E-06** at limit **
   2  norm          1.6553        1.4001        .61175E-08   -.57999E-05
   3  Prefactor     21.987        27.733        .31739E-07   -.25285E-05
   4  Prefactor     7.3622        4.4781        .40009E-07   -.10948E-03
   5  Prefactor     16.877        15.280        .69724E-08   -.14748E-06
   6  Prefactor     56.940        64.217        .24160E-06    .59910E-05
   7  Prefactor     27.215        49.260        .40587E-06    .22108E-05
   8  Prefactor     .10000E-03    12.518       -.11453E-05** at limit **
   9  Prefactor     2.1376        6.2309        .98045E-06   -.12560E-03
  10  Prefactor     .10000E-03    7.7485       -.38178E-06** at limit **
  11  Prefactor     2.2411        2.5179        .13650E-06   -.12091E-03
  12  norm          22.584        9.6497       -.60898E-09   -.20067E-04
  13  Prefactor     .10000E-03    1.1286        .35375E-07** at limit **
  14  Prefactor     .10000E-03    9.9474        .14162E-05** at limit **
  15  Prefactor     9.5902        4.3690        .77292E-10    .14321E-03
  16  norm          14.030        11.277       -.35498E-06   -.50526E-04
  17  Prefactor     .10000E-03    15.715        .96498E-06** at limit **
  18  Prefactor     4.6476        20.579       -.40677E-05    .65015E-04
  19  Prefactor     .10002E-03    4.0595        .39194E-06** at limit **
  20  Prefactor     .10000E-03    3.9382       -.25679E-08** at limit **
  21  Prefactor     2.4176        2.5905        .17162E-06   -.97611E-04
  22  Prefactor     2.5520        19.867        .58980E-06   -.18716E-04
  23  Normalizat    1.0731        .17613       -.60499E-06    .12360E-04
  24  Prefactor     .82400        .17981       -.85693E-07   -.19774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.65529
  Prefactor  = 21.9869
  Prefactor  = 7.36224
  Prefactor  = 16.8774
  Prefactor  = 56.9404
  Prefactor  = 27.2151
  Prefactor  = 0.0001
  Prefactor  = 2.13756
  Prefactor  = 0.0001
  Prefactor  = 2.24111
  norm       = 22.5844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.59021
  norm       = 14.0297
  Prefactor  = 0.0001
  Prefactor  = 4.64756
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 2.41758
  Prefactor  = 2.55197
  Normalizat = 1.07313
  Prefactor  = 0.823999
 **********
 **   18 **HESSE 
 **********

 FCN=   6313.685     FROM HESSE     STATUS=OK           405 CALLS     3172 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9809        .24058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6553        1.4015        .83282E-04   -1.5451    
   3  Prefactor     21.987        27.732        .85421E-04   -1.4770    
   4  Prefactor     7.3622        4.4809        .12321E-03   -1.5165    
   5  Prefactor     16.877        15.278        .97493E-04   -1.4886    
   6  Prefactor     56.940        64.210        .53164E-04   -1.4197    
   7  Prefactor     27.215        49.523        .76793E-04   -1.4664    
   8  Prefactor     .10000E-03    12.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1376        6.1572        .28189E-03   -1.5416    
  10  Prefactor     .10000E-03    7.8017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2411        2.5047        .12552E-03   -1.5409    
  12  norm          22.584        9.6450        .84287E-04   -1.4757    
  13  Prefactor     .10000E-03    1.1331        .82368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.5902        4.3739        .10711E-03   -1.5089    
  16  norm          14.030        11.311        .10695E-03   -1.4959    
  17  Prefactor     .10000E-03    15.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6476        20.290        .18801E-03   -1.5277    
  19  Prefactor     .10002E-03    11.893        .29313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.9834        .15385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.4176        2.5759        .12571E-03   -1.5397    
  22  Prefactor     2.5520        19.855        .25563E-03   -1.5388    
  23  Normalizat    1.0731        .20348        .22999E-03   -.90619    
  24  Prefactor     .82400        .20686        .27654E-03   -.98850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66694e-09
Minuit parameter uncertainties:
  1  6.30986e-05
  2  1.40156
  3  27.7484
  4  4.48108
  5  15.2811
  6  64.2878
  7  49.5979
  8  9.47863e-05
  9  6.15905
  10  1.94374e-05
  11  2.50481
  12  9.64567
  13  7.12155e-07
  14  0.000105794
  15  4.37404
  16  11.3125
  17  9.09194e-05
  18  19.4324
  19  0.00093758
  20  2.73757e-08
  21  2.576
  22  14.2429
  23  0.20363
  24  0.207052
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.241e+00  2.505e+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.240e-01  2.071e-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.073e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 3.34e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.33e-05

TS (Fixed Index): 1.03
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659511/likelihoodResults_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.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) = 6313.1815301
delta logL = 0.503953755245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6313.1706693
delta logL = 0.514814548321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81384       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3154       1.0000          .0000       10.000    
     3 'Normalizat'    1.0310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85450       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=   6313.171     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      247 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81375        10.399        .12022E-01    .99846E-03
   2  Index         3.3155        2.9861        .11888        .14968E-03
   3  Normalizat    1.0310        .41741E-01    .42065E-01    .89681E-05
   4  Prefactor     .85450        .44789E-01    .44422E-01    .15193E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.81375
  Index      = 3.31546
  Normalizat = 1.031
  Prefactor  = 0.854498
 **********
 **   18 **HESSE 
 **********

 FCN=   6313.171     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81375        24.236        .54869E-03   -1.5528    
   2  Index         3.3155        6.6534        .58438E-02   -.34363    
   3  Normalizat    1.0310        .18670        .23396E-03   -.91999    
   4  Prefactor     .85450        .20421        .27201E-03   -.97750    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32114e-07
Minuit parameter uncertainties:
  1  8.88534
  2  6.05419
  3  0.186819
  4  0.204395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659511': 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) = 6313.1706693
delta logL = 0.514814552069

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  8.138e-01  8.885e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.315e+00  6.054e+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:  8.545e-01  2.044e-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.031e+00  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.32 +/- 6.05
Photon Flux (Free Index): 6.36e-08 +/- 5.13e-08
Energy Flux (Free Index): 1.12e-05 +/- 2.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/659511/cmap_HighResolution_472608001_472867201_4FGL_J1001.1+2911_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='1.12e-05', photon_flux_error='3.34e-08', dlogl='5.15e-01', energy_flux='1.19e-05', photon_flux2='6.36e-08', job_status='DONE', time_completed='2021-09-01 10:16:15.671681', photon_index_error2='6.05', photon_index2='3.32', ts='1.03', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='2.19e-05', EG='1.07', time_epoch_completed='1630516575.67', return_code='0', job_id='659511', GAL2='0.85', EG2='1.03', return_code2='102', energy_flux_error='1.33e-05', photon_flux_error2='5.13e-08', ts2='2.12', photon_index='2.27' WHERE bin_id='900' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:16:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 659511: <4FGL_J1001.1+2911_daily_bin900> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin900> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:41 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:42 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:42 2021
Terminated at Wed Sep  1 10:16:17 2021
Results reported at Wed Sep  1 10:16:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin900 150.294 29.188 472608001 472867201 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 :                                   666.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

