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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin703
RA = 150.294, Dec = 29.188
tmin = 421545601, tmax = 421804801
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='657773', job_status='RUN', time_executed='2021-09-01 09:58:01.230456', time_epoch_executed='1630515481.23' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657773/ft1_4FGL_J1001.1+2911_daily_bin703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657773/ft1_4FGL_J1001.1+2911_daily_bin703.fits outfile=/scratch/kocevski/657773/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin703.fits ra=150.294 dec=29.188 rad=12.0 tmin=421545601.0 tmax=421804801.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.60
user 3.37
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657773/ft1_filtered_4FGL_J1001.1+2911_daily_bin703.fits" evtable="EVENTS" scfile=/scratch/kocevski/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits sctable="SC_DATA" outfile=/scratch/kocevski/657773/ltcube_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.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/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits
.....................!
real 13.14
user 12.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657773/ft1_filtered_4FGL_J1001.1+2911_daily_bin703.fits evtable="EVENTS" scfile=/scratch/kocevski/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits sctable="SC_DATA" expcube=/scratch/kocevski/657773/ltcube_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.fits outfile=/scratch/kocevski/657773/expmap_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.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/657773/ltcube_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.fits
.....................!
real 189.46
user 185.14
sys 3.84

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/657773/ft1_filtered_4FGL_J1001.1+2911_daily_bin703.fits scfile=/scratch/kocevski/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits outfile=/scratch/kocevski/657773/cmap_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.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.68
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657773/ft1_filtered_4FGL_J1001.1+2911_daily_bin703.fits scfile=/scratch/kocevski/657773/ft2_4FGL_J1001.1+2911_daily_bin703.fits outfile=/scratch/kocevski/657773/cmap_HighResolution_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.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.64
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9724       1.0000         .10000E-03   10000.    
     2 'norm      '    .40843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    59.201       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.377       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2753       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6587       1.0000         .10000E-03   10000.    
    12 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.5391       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .21654E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .45628E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .60637       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1921       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9753       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6188       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79178       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1175       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=   5435.823     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     3508 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9729        3.8771        .67823E-08   -.32690E-04
   2  norm          .40776        1.1599        .24686E-06   -.30609E-03
   3  Prefactor     .10000E-03    19.914       -.27709E-06** at limit **
   4  Prefactor     .10000E-03    1.8777        .15436E-06** at limit **
   5  Prefactor     59.203        30.884       -.28566E-05   -.52026E-03
   6  Prefactor     .10000E-03    57.164        .25983E-06** at limit **
   7  Prefactor     20.379        49.515       -.16623E-05   -.41271E-04
   8  Prefactor     .10000E-03    16.659        .32269E-06** at limit **
   9  Prefactor     12.104        7.0947        .23139E-06    .49660E-05
  10  Prefactor     5.2750        6.4765       -.59494E-07   -.66008E-04
  11  Prefactor     1.6584        1.5411        .23975E-07    .35985E-04
  12  norm          .10000E-03    5.3039       -.10865E-06** at limit **
  13  Prefactor     5.2930        3.4044       -.33350E-07    .23516E-04
  14  Prefactor     .10000E-03    14.171       -.42670E-07** at limit **
  15  Prefactor     .10000E-03    1.8399       -.45823E-07** at limit **
  16  norm          9.5387        11.526       -.51194E-06   -.53485E-04
  17  Prefactor     .10047E-03    58.818        .69562E-06** at limit **
  18  Prefactor     .10003E-03    27.614       -.36968E-05** at limit **
  19  Prefactor     .61546        4.3207        .15214E-05    .15579E-03
  20  Prefactor     5.1917        5.3058        .13048E-05   -.18818E-02
  21  Prefactor     1.9751        2.3221       -.11763E-06   -.17115E-03
  22  Prefactor     5.6161        20.168        .70550E-05    .25915E-03
  23  Normalizat    .79181        .17618        .63030E-06   -.83680E-04
  24  Prefactor     1.1175        .18707       -.81643E-06    .18174E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97289
  norm       = 0.407763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.2033
  Prefactor  = 0.0001
  Prefactor  = 20.3787
  Prefactor  = 0.0001
  Prefactor  = 12.1037
  Prefactor  = 5.27498
  Prefactor  = 1.65843
  norm       = 0.0001
  Prefactor  = 5.29296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.53868
  Prefactor  = 0.000100473
  Prefactor  = 0.000100028
  Prefactor  = 0.615457
  Prefactor  = 5.1917
  Prefactor  = 1.97513
  Prefactor  = 5.61609
  Normalizat = 0.791808
  Prefactor  = 1.11754
 **********
 **   18 **HESSE 
 **********

 FCN=   5435.823     FROM HESSE     STATUS=OK           417 CALLS     3925 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9729        3.8766        .12434E-03   -1.5262    
   2  norm          .40776        1.0002        .13014E-02   -1.5580    
   3  Prefactor     .10000E-03    19.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6384        .19207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     59.203        31.610        .52143E-04   -1.4168    
   6  Prefactor     .10000E-03    57.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.379        49.763        .88730E-04   -1.4805    
   8  Prefactor     .10000E-03    16.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.104        7.0913        .11514E-03   -1.5012    
  10  Prefactor     5.2750        6.4734        .17500E-03   -1.5249    
  11  Prefactor     1.6584        1.5515        .85431E-04   -1.5450    
  12  norm          .10000E-03    5.3938        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.2930        3.4110        .10385E-03   -1.5248    
  14  Prefactor     .10000E-03    14.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8496        .97536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.5387        11.501        .12975E-03   -1.5090    
  17  Prefactor     .10047E-03    53.947        .15572       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    77.627        .63283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61546        3.4272        .26556E-03   -1.5551    
  20  Prefactor     5.1917        6.6262        .88210E-03   -1.5252    
  21  Prefactor     1.9751        2.3085        .11583E-03   -1.5427    
  22  Prefactor     5.6161        20.491        .16947E-03   -1.5234    
  23  Normalizat    .79181        .20690        .25017E-03   -1.0037    
  24  Prefactor     1.1175        .22094        .23875E-03   -.88908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04274e-08
Minuit parameter uncertainties:
  1  3.87684
  2  1.00025
  3  3.26107e-05
  4  7.79052e-05
  5  31.6189
  6  6.41459e-05
  7  49.865
  8  3.67264e-05
  9  7.09179
  10  6.47423
  11  1.5515
  12  8.79318e-06
  13  3.41109
  14  4.98985e-06
  15  1.49454e-06
  16  11.5032
  17  0.010114
  18  0.00294767
  19  2.9047
  20  6.62709
  21  2.30856
  22  20.5167
  23  0.207106
  24  0.221119
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.658e+00  1.551e+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.118e+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:  7.918e-01  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.24
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.21e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 8.81e-06 +/- 8.25e-06

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) = 5435.02368835
delta logL = 0.799277838634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5435.01388098
delta logL = 0.80908521041

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4202       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4347       1.0000          .0000       10.000    
     3 'Normalizat'    .80342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1132       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=   5435.014     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4197        1.3812        .90758E-02   -.27120E-03
   2  Index         1.4344        .44144        .23367       -.44014E-04
   3  Normalizat    .80339        .16474        .43655E-01    .15640E-04
   4  Prefactor     1.1132        .18457        .54093E-01    .55064E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41967
  Index      = 1.43439
  Normalizat = 0.803392
  Prefactor  = 1.11322
 **********
 **   18 **HESSE 
 **********

 FCN=   5435.014     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4197        1.7444        .83346E-04   -1.5470    
   2  Index         1.4344        .62297        .90781E-02   -.79394    
   3  Normalizat    .80339        .19429        .24852E-03   -.99943    
   4  Prefactor     1.1132        .21778        .23917E-03   -.89045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60642e-12
Minuit parameter uncertainties:
  1  1.74446
  2  0.626296
  3  0.194457
  4  0.217954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657773': 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) = 5435.01388087
delta logL = 0.809085318839

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.420e+00  1.744e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.434e+00  6.263e-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.113e+00  2.180e-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.034e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.86
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.43 +/- 0.63
Photon Flux (Free Index): 7.96e-09 +/- 1.08e-08
Energy Flux (Free Index): 3.14e-05 +/- 4.79e-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/657773/cmap_HighResolution_421545601_421804801_4FGL_J1001.1+2911_daily_bin703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.21e-08', energy_flux2='3.14e-05', photon_flux_error='2.07e-08', dlogl='8.09e-01', energy_flux='8.81e-06', photon_flux2='7.96e-09', job_status='DONE', time_completed='2021-09-01 10:08:12.862140', photon_index_error2='0.63', photon_index2='1.43', ts='5.24', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='4.79e-05', EG='0.79', time_epoch_completed='1630516092.86', return_code='0', job_id='657773', GAL2='1.11', EG2='0.80', return_code2='0', energy_flux_error='8.25e-06', photon_flux_error2='1.08e-08', ts2='6.86', photon_index='2.27' WHERE bin_id='703' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:08:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 657773: <4FGL_J1001.1+2911_daily_bin703> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin703 150.294 29.188 421545601 421804801 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 :                                   608.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

