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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin598
RA = 150.294, Dec = 29.188
tmin = 394329601, tmax = 394588801
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='657619', job_status='RUN', time_executed='2021-09-01 09:58:02.529328', time_epoch_executed='1630515482.53' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657619

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657619/ft1_4FGL_J1001.1+2911_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657619/ft1_4FGL_J1001.1+2911_daily_bin598.fits outfile=/scratch/kocevski/657619/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin598.fits ra=150.294 dec=29.188 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.43
user 7.13
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.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/657619/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.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/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/657619/ltcube_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.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/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits
.....................!
real 11.45
user 11.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/657619/ltcube_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits outfile=/scratch/kocevski/657619/expmap_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.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/657619/ltcube_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits
.....................!
real 189.80
user 185.13
sys 4.17

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/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits scfile=/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits outfile=/scratch/kocevski/657619/cmap_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits scfile=/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits outfile=/scratch/kocevski/657619/cmap_HighResolution_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.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.95
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits', '/scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits', expMap='/scratch/kocevski/657619/expmap_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits', expCube='/scratch/kocevski/657619/ltcube_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/657619/Model_4FGL_J1001.1+2911_daily_bin598.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/657619/ft1_filtered_4FGL_J1001.1+2911_daily_bin598.fits
Spacecraft file(s): /scratch/kocevski/657619/ft2_4FGL_J1001.1+2911_daily_bin598.fits
Exposure map: /scratch/kocevski/657619/expmap_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits
Exposure cube: /scratch/kocevski/657619/ltcube_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/657619/Model_4FGL_J1001.1+2911_daily_bin598.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5016.49143412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.617       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9086       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4807       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8528       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.194       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8888       1.0000         .10000E-03   10000.    
    12 'norm      '    2.3125       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12624E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .51087       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6899       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1621       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .52430       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2733       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8869       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75403       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2398       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=   5016.400     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2827 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0289        .17384E-06** at limit **
   2  norm          2.8123        2.0166        .21212E-06    .63922E-03
   3  Prefactor     67.480        73.318        .18928E-04    .42913E-03
   4  Prefactor     .10000E-03    2.3584       -.71252E-06** at limit **
   5  Prefactor     1.8802        78.129        .20499E-05    .17246E-04
   6  Prefactor     5.4686        175.92        .59479E-05    .59560E-05
   7  Prefactor     .10000E-03    44.490        .15725E-05** at limit **
   8  Prefactor     .10000E-03    15.405       -.86563E-08** at limit **
   9  Prefactor     5.8532        5.5115        .88198E-07   -.17721E-04
  10  Prefactor     20.194        13.344        .40262E-06   -.70512E-04
  11  Prefactor     9.8890        3.9494        .17716E-06   -.70759E-04
  12  norm          2.3121        7.4581        .70843E-06    .24144E-04
  13  Prefactor     .10000E-03    2.7857        .79937E-07** at limit **
  14  Prefactor     .10000E-03    119.69       -.35672E-06** at limit **
  15  Prefactor     .51562        6.2970        .17682E-05    .21180E-05
  16  norm          5.6927        12.073        .43244E-06   -.75047E-04
  17  Prefactor     7.1467        65.924        .50193E-05    .12980E-04
  18  Prefactor     .10000E-03    32.881       -.28267E-06** at limit **
  19  Prefactor     .51600        3.7287        .10278E-06   -.61563E-04
  20  Prefactor     1.2696        8.8322        .20267E-04   -.36453E-03
  21  Prefactor     2.8877        2.8993       -.61086E-06    .14193E-03
  22  Prefactor     .10000E-03    10.826        .94236E-07** at limit **
  23  Normalizat    .75441        .19381       -.43232E-05    .15752E-03
  24  Prefactor     1.2394        .20602       -.69875E-07    .33459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.81234
  Prefactor  = 67.4797
  Prefactor  = 0.000100001
  Prefactor  = 1.88016
  Prefactor  = 5.46855
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.85316
  Prefactor  = 20.1939
  Prefactor  = 9.88902
  norm       = 2.31213
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.51562
  norm       = 5.69274
  Prefactor  = 7.14668
  Prefactor  = 0.0001
  Prefactor  = 0.516005
  Prefactor  = 1.26957
  Prefactor  = 2.88774
  Prefactor  = 0.0001
  Normalizat = 0.754412
  Prefactor  = 1.23943
 **********
 **   18 **HESSE 
 **********

 FCN=   5016.400     FROM HESSE     STATUS=OK           407 CALLS     3234 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0563        .98520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8123        2.0017        .81968E-04   -1.5373    
   3  Prefactor     67.480        73.856        .24406E-03   -1.4063    
   4  Prefactor     .10000E-03    8.6823        .20543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8802        78.059        .30094E-03   -1.5434    
   6  Prefactor     5.4686        176.13        .17163E-03   -1.5240    
   7  Prefactor     .10000E-03    44.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8532        5.5075        .15452E-03   -1.5224    
  10  Prefactor     20.194        13.337        .89129E-04   -1.4809    
  11  Prefactor     9.8890        3.9478        .83589E-04   -1.5079    
  12  norm          2.3121        7.4499        .26979E-03   -1.5404    
  13  Prefactor     .10000E-03    2.8024        .11472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    121.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .51562        6.3287        .32816E-02   -1.5564    
  16  norm          5.6927        12.028        .16840E-03   -1.5231    
  17  Prefactor     7.1467        65.909        .14989E-03   -1.5173    
  18  Prefactor     .10000E-03    32.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .51600        13.977        .25411E-02   -1.5564    
  20  Prefactor     1.2696        8.9294        .19701E-02   -1.5483    
  21  Prefactor     2.8877        2.8924        .11377E-03   -1.5368    
  22  Prefactor     .10000E-03    10.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75441        .22315        .26961E-03   -1.0178    
  24  Prefactor     1.2394        .24251        .23921E-03   -.85126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51757e-08
Minuit parameter uncertainties:
  1  1.34368e-05
  2  2.00171
  3  73.9569
  4  0.000174718
  5  24.2625
  6  62.271
  7  0.000311388
  8  5.11447e-06
  9  5.50797
  10  13.3392
  11  3.94789
  12  7.45289
  13  5.45831e-06
  14  0.000880528
  15  3.613
  16  12.0332
  17  43.4696
  18  1.73576e-05
  19  5.37207
  20  6.7351
  21  2.89257
  22  1.79173e-05
  23  0.223418
  24  0.242727
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  9.889e+00  3.948e+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.239e+00  2.427e-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:  7.544e-01  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.06
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 5.27e-08
Energy Flux (Fixed Index): 5.26e-05 +/- 2.10e-05

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) = 5016.35115713
delta logL = 0.048938302456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5016.34949202
delta logL = 0.0506034073233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1237       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3717       1.0000          .0000       10.000    
     3 'Normalizat'    .74389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2468       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=   5016.349     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      238 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1237        60.433        .33172E-02   -.24491E-03
   2  Index         2.3717        2.9621        .93091E-01    .77203E-04
   3  Normalizat    .74390        .13254        .61375E-01    .10866E-04
   4  Prefactor     1.2468        .13408        .53956E-01    .12093E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.12374
  Index      = 2.37169
  Normalizat = 0.743896
  Prefactor  = 1.24685
 **********
 **   18 **HESSE 
 **********

 FCN=   5016.349     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1237        4.5224        .78689E-04   -1.5104    
   2  Index         2.3717        .33570        .38733E-02   -.55349    
   3  Normalizat    .74390        .21663        .27148E-03   -1.0218    
   4  Prefactor     1.2468        .23833        .23856E-03   -.84902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.6887e-10
Minuit parameter uncertainties:
  1  4.5226
  2  0.336054
  3  0.216876
  4  0.238536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657619': 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) = 5016.34949202
delta logL = 0.0506034074106

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  9.124e+00  4.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.372e+00  3.361e-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:  1.247e+00  2.385e-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:  7.439e-01  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.14
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.37 +/- 0.34
Photon Flux (Free Index): 1.42e-07 +/- 6.26e-08
Energy Flux (Free Index): 4.84e-05 +/- 2.26e-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/657619/cmap_HighResolution_394329601_394588801_4FGL_J1001.1+2911_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.84e-05', photon_flux_error='5.27e-08', dlogl='5.06e-02', energy_flux='5.26e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-09-01 10:07:23.873063', photon_index_error2='0.34', photon_index2='2.37', ts='14.06', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='0.75', time_epoch_completed='1630516043.87', return_code='0', job_id='657619', GAL2='1.25', EG2='0.74', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='6.26e-08', ts2='14.14', photon_index='2.27' WHERE bin_id='598' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:07:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 657619: <4FGL_J1001.1+2911_daily_bin598> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin598> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 09:55:22 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:55:24 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:55:24 2021
Terminated at Wed Sep  1 10:07:24 2021
Results reported at Wed Sep  1 10:07:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin598 150.294 29.188 394329601 394588801 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 :                                   558.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

