/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 218 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin124
RA = 150.294, Dec = 29.188
tmin = 271468801, tmax = 271728001
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='654636', job_status='RUN', time_executed='2021-09-01 09:49:37.950963', time_epoch_executed='1630514977.95' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654636

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654636/ft1_4FGL_J1001.1+2911_daily_bin124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654636/ft1_4FGL_J1001.1+2911_daily_bin124.fits outfile=/scratch/kocevski/654636/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin124.fits ra=150.294 dec=29.188 rad=12.0 tmin=271468801.0 tmax=271728001.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 1.62
user 1.43
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.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/654636/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin124.fits evtable="EVENTS" outfile="/scratch/kocevski/654636/ft1_filtered_4FGL_J1001.1+2911_daily_bin124.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/654636/ft1_filtered_4FGL_J1001.1+2911_daily_bin124.fits" evtable="EVENTS" scfile=/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits sctable="SC_DATA" outfile=/scratch/kocevski/654636/ltcube_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.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/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits
.....................!
real 12.21
user 11.88
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654636/ft1_filtered_4FGL_J1001.1+2911_daily_bin124.fits evtable="EVENTS" scfile=/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits sctable="SC_DATA" expcube=/scratch/kocevski/654636/ltcube_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.fits outfile=/scratch/kocevski/654636/expmap_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.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/654636/ltcube_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.fits
.....................!
real 189.98
user 184.97
sys 4.50

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/654636/ft1_filtered_4FGL_J1001.1+2911_daily_bin124.fits scfile=/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits outfile=/scratch/kocevski/654636/cmap_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.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 1.73
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654636/ft1_filtered_4FGL_J1001.1+2911_daily_bin124.fits scfile=/scratch/kocevski/654636/ft2_4FGL_J1001.1+2911_daily_bin124.fits outfile=/scratch/kocevski/654636/cmap_HighResolution_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.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 1.39
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8147       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1811       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9646       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.520       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.213       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21101E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4430       1.0000         .10000E-03   10000.    
    12 'norm      '    63.125       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.932       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3872       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2480       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8714       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0865       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=   7784.742     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2757 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8145        2.7038       -.37281E-06   -.44959E-03
   2  norm          1.1811        1.1058       -.94632E-07    .15384E-03
   3  Prefactor     .10000E-03    34.104        .58277E-05** at limit **
   4  Prefactor     3.9599        4.7559       -.67372E-07   -.56311E-03
   5  Prefactor     1.9445        72.774       -.15462E-04   -.57203E-04
   6  Prefactor     17.517        47.427       -.31424E-05    .14123E-04
   7  Prefactor     .10000E-03    16.874        .95390E-05** at limit **
   8  Prefactor     27.177        47.684       -.46173E-04    .15112E-04
   9  Prefactor     .10001E-03    3.2216        .17950E-06** at limit **
  10  Prefactor     .10000E-03    13.956       -.11891E-05** at limit **
  11  Prefactor     5.4431        2.6078       -.18176E-06    .82175E-06
  12  norm          63.127        12.724       -.37138E-06    .62161E-04
  13  Prefactor     2.8027        3.7073       -.19617E-05   -.66389E-03
  14  Prefactor     54.930        37.705       -.27795E-05    .16272E-04
  15  Prefactor     4.3869        4.7205        .14294E-05   -.23218E-03
  16  norm          .10000E-03    5.6234        .51734E-07** at limit **
  17  Prefactor     .10000E-03    22.720       -.10188E-04** at limit **
  18  Prefactor     .10000E-03    12.874       -.64838E-05** at limit **
  19  Prefactor     .10000E-03    2.6288       -.10036E-06** at limit **
  20  Prefactor     2.2474        6.1615       -.22755E-05   -.65370E-03
  21  Prefactor     2.8716        2.0756       -.82435E-07   -.13670E-03
  22  Prefactor     .10000E-03    11.702        .33745E-05** at limit **
  23  Normalizat    1.1524        .16611        .29865E-05    .78616E-04
  24  Prefactor     1.0868        .17627        .24082E-05    .13122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.8145
  norm       = 1.18105
  Prefactor  = 0.0001
  Prefactor  = 3.95992
  Prefactor  = 1.94451
  Prefactor  = 17.517
  Prefactor  = 0.0001
  Prefactor  = 27.1772
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 5.4431
  norm       = 63.127
  Prefactor  = 2.80271
  Prefactor  = 54.9296
  Prefactor  = 4.38686
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.24737
  Prefactor  = 2.87165
  Prefactor  = 0.0001
  Normalizat = 1.15236
  Prefactor  = 1.08678
 **********
 **   18 **HESSE 
 **********

 FCN=   7784.742     FROM HESSE     STATUS=OK           409 CALLS     3166 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8145        2.6843        .17235E-03   -1.5439    
   2  norm          1.1811        1.1177        .86204E-04   -1.5491    
   3  Prefactor     .10000E-03    34.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9599        4.7364        .19149E-03   -1.5310    
   5  Prefactor     1.9445        73.128        .29590E-03   -1.5429    
   6  Prefactor     17.517        47.455        .95686E-04   -1.4871    
   7  Prefactor     .10000E-03    16.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.177        47.625        .76796E-04   -1.4665    
   9  Prefactor     .10001E-03    3.3367        .50614E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.366        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4431        2.6085        .94246E-04   -1.5241    
  12  norm          63.127        12.725        .50506E-04   -1.4117    
  13  Prefactor     2.8027        3.6743        .16485E-03   -1.5373    
  14  Prefactor     54.930        37.720        .54120E-04   -1.4224    
  15  Prefactor     4.3869        4.6823        .16626E-03   -1.5289    
  16  norm          .10000E-03    5.6655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.6591        .13964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2474        6.1867        .27407E-03   -1.5408    
  21  Prefactor     2.8716        2.0641        .10288E-03   -1.5369    
  22  Prefactor     .10000E-03    11.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1524        .19740        .25139E-03   -.88088    
  24  Prefactor     1.0868        .20854        .28459E-03   -.89890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46721e-09
Minuit parameter uncertainties:
  1  2.68446
  2  1.11769
  3  5.36327e-05
  4  4.73685
  5  23.8803
  6  47.5578
  7  3.47826e-05
  8  47.6919
  9  0.000398559
  10  0.000111679
  11  2.60854
  12  12.7254
  13  3.67461
  14  37.7363
  15  4.68272
  16  2.46793e-05
  17  3.78048e-05
  18  2.87905e-05
  19  2.06152e-05
  20  6.18845
  21  2.06417
  22  2.60999e-05
  23  0.197523
  24  0.208692
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.443e+00  2.609e+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.087e+00  2.087e-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.152e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.99
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 7.27e-08 +/- 3.48e-08
Energy Flux (Fixed Index): 2.89e-05 +/- 1.39e-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) = 7784.69683408
delta logL = 0.0449508902975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7784.69546873
delta logL = 0.0463162486567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9583       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3982       1.0000          .0000       10.000    
     3 'Normalizat'    1.1429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0934       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=   7784.695     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      235 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9583        39.103        .45153E-02    .18638E-03
   2  Index         2.3982        3.0329        .15054        .54758E-04
   3  Normalizat    1.1429        .84551E-01    .57040E-01   -.79523E-05
   4  Prefactor     1.0934        .75126E-01    .64169E-01    .32822E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.9583
  Index      = 2.39817
  Normalizat = 1.14291
  Prefactor  = 1.09342
 **********
 **   18 **HESSE 
 **********

 FCN=   7784.695     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9583        3.0431        .87921E-04   -1.5263    
   2  Index         2.3982        .44854        .55216E-02   -.54728    
   3  Normalizat    1.1429        .18908        .25224E-03   -.88386    
   4  Prefactor     1.0934        .20656        .28383E-03   -.89677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92439e-11
Minuit parameter uncertainties:
  1  3.04319
  2  0.449371
  3  0.189193
  4  0.206716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654636': 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) = 7784.69546873
delta logL = 0.0463162487549

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.958e+00  3.043e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.398e+00  4.494e-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.093e+00  2.067e-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.143e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.06
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.40 +/- 0.45
Photon Flux (Free Index): 8.05e-08 +/- 4.46e-08
Energy Flux (Free Index): 2.64e-05 +/- 1.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/654636/cmap_HighResolution_271468801_271728001_4FGL_J1001.1+2911_daily_bin124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.27e-08', energy_flux2='2.64e-05', photon_flux_error='3.48e-08', dlogl='4.63e-02', energy_flux='2.89e-05', photon_flux2='8.05e-08', job_status='DONE', time_completed='2021-09-01 10:00:56.735255', photon_index_error2='0.45', photon_index2='2.40', ts='8.99', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.47e-05', EG='1.15', time_epoch_completed='1630515656.74', return_code='0', job_id='654636', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='4.46e-08', ts2='9.06', photon_index='2.27' WHERE bin_id='124' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 654636: <4FGL_J1001.1+2911_daily_bin124> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin124> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:49 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:45:50 2021
Terminated at Wed Sep  1 10:00:57 2021
Results reported at Wed Sep  1 10:00:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin124 150.294 29.188 271468801 271728001 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 :                                   669.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            908 sec.

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

