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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin640
RA = 150.294, Dec = 29.188
tmin = 405216001, tmax = 405475201
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='657680', job_status='RUN', time_executed='2021-09-01 09:57:36.513958', time_epoch_executed='1630515456.51' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='640'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657680/ft1_4FGL_J1001.1+2911_daily_bin640.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657680/ft1_4FGL_J1001.1+2911_daily_bin640.fits outfile=/scratch/kocevski/657680/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin640.fits ra=150.294 dec=29.188 rad=12.0 tmin=405216001.0 tmax=405475201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.49
user 3.19
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657680/ft1_filtered_4FGL_J1001.1+2911_daily_bin640.fits" evtable="EVENTS" scfile=/scratch/kocevski/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits sctable="SC_DATA" outfile=/scratch/kocevski/657680/ltcube_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.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/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits
.....................!
real 12.00
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657680/ft1_filtered_4FGL_J1001.1+2911_daily_bin640.fits evtable="EVENTS" scfile=/scratch/kocevski/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits sctable="SC_DATA" expcube=/scratch/kocevski/657680/ltcube_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.fits outfile=/scratch/kocevski/657680/expmap_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.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/657680/ltcube_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.fits
.....................!
real 190.00
user 185.30
sys 4.25

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/657680/ft1_filtered_4FGL_J1001.1+2911_daily_bin640.fits scfile=/scratch/kocevski/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits outfile=/scratch/kocevski/657680/cmap_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.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/657680/ft1_filtered_4FGL_J1001.1+2911_daily_bin640.fits scfile=/scratch/kocevski/657680/ft2_4FGL_J1001.1+2911_daily_bin640.fits outfile=/scratch/kocevski/657680/cmap_HighResolution_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0301       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.194       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.278       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7477       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .63302E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .31828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.5097       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1564       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.342       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4752       1.0000         .10000E-03   10000.    
    16 'norm      '    25.612       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7494       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9642       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98028       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92585       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=   5959.912     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2426 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0302        4.1239       -.81785E-07    .11547E-04
   2  norm          1.3217        1.1897       -.55597E-07    .33472E-05
   3  Prefactor     54.184        43.457       -.19355E-05    .20945E-05
   4  Prefactor     .10000E-03    2.7360        .22097E-06** at limit **
   5  Prefactor     9.4790        25.708       -.62902E-05    .78838E-05
   6  Prefactor     .10000E-03    70.300       -.72964E-06** at limit **
   7  Prefactor     26.281        32.671       -.10728E-05    .12828E-04
   8  Prefactor     7.7513        35.357       -.22927E-05    .15757E-05
   9  Prefactor     .10001E-03    3.1520       -.32370E-07** at limit **
  10  Prefactor     .36103        7.9479       -.80247E-06    .10018E-03
  11  Prefactor     .10000E-03    1.0741       -.63234E-07** at limit **
  12  norm          3.5104        4.7736       -.21426E-07   -.19473E-03
  13  Prefactor     1.1561        2.5992       -.31817E-07    .34021E-04
  14  Prefactor     16.341        22.696        .29078E-07    .25054E-05
  15  Prefactor     2.4752        2.9970       -.16243E-07    .46808E-04
  16  norm          25.613        12.708       -.11670E-05    .45337E-05
  17  Prefactor     .10000E-03    45.915       -.21524E-05** at limit **
  18  Prefactor     .10000E-03    45.648        .28782E-05** at limit **
  19  Prefactor     4.7500        4.8758        .63460E-07   -.38221E-03
  20  Prefactor     2.9644        3.0443        .40506E-07   -.52601E-03
  21  Prefactor     .10000E-03    .55905        .45235E-07** at limit **
  22  Prefactor     .10000E-03    8.5492        .15607E-06** at limit **
  23  Normalizat    .98000        .16234        .16845E-05    .67316E-04
  24  Prefactor     .92613        .17139        .66115E-09    .14534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03022
  norm       = 1.32171
  Prefactor  = 54.1838
  Prefactor  = 0.0001
  Prefactor  = 9.47899
  Prefactor  = 0.0001
  Prefactor  = 26.2811
  Prefactor  = 7.75127
  Prefactor  = 0.000100007
  Prefactor  = 0.361028
  Prefactor  = 0.0001
  norm       = 3.51036
  Prefactor  = 1.15606
  Prefactor  = 16.3408
  Prefactor  = 2.47515
  norm       = 25.6126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.75002
  Prefactor  = 2.96445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.979999
  Prefactor  = 0.926131
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.912     FROM HESSE     STATUS=OK           415 CALLS     2841 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0302        4.1246        .12574E-03   -1.5217    
   2  norm          1.3217        1.2025        .77716E-04   -1.5478    
   3  Prefactor     54.184        43.554        .54486E-04   -1.4234    
   4  Prefactor     .10000E-03    2.8164        .24899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.4790        25.741        .13022E-03   -1.5092    
   6  Prefactor     .10000E-03    70.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.281        32.731        .78147E-04   -1.4682    
   8  Prefactor     7.7513        35.448        .14406E-03   -1.5151    
   9  Prefactor     .10001E-03    8.5459        .41598E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36103        50.699        .40249E-02   -1.5588    
  11  Prefactor     .10000E-03    1.1107        .15607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.5104        4.9573        .98744E-03   -1.5333    
  13  Prefactor     1.1561        2.5116        .17202E-03   -1.5493    
  14  Prefactor     16.341        22.696        .99076E-04   -1.4899    
  15  Prefactor     2.4752        2.9631        .13683E-03   -1.5393    
  16  norm          25.613        12.709        .79155E-04   -1.4695    
  17  Prefactor     .10000E-03    46.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.7500        5.4870        .91611E-03   -1.5272    
  20  Prefactor     2.9644        5.3752        .11602E-02   -1.5364    
  21  Prefactor     .10000E-03    .56380        .56341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.5659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98000        .19028        .21944E-03   -.93704    
  24  Prefactor     .92613        .20158        .25158E-03   -.95234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.6352e-10
Minuit parameter uncertainties:
  1  4.1248
  2  1.20256
  3  43.5797
  4  2.5476e-07
  5  25.7707
  6  3.53827e-05
  7  32.7537
  8  33.1843
  9  0.000473216
  10  8.56283
  11  1.04173e-06
  12  4.95783
  13  2.51187
  14  22.7082
  15  2.96324
  16  12.7106
  17  4.99431e-05
  18  2.84582e-05
  19  5.48762
  20  5.37612
  21  1.22444e-06
  22  4.72103e-06
  23  0.190416
  24  0.201743
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.042e-06  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:  9.261e-01  2.017e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.800e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/657680/likelihoodResults_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.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): 102
logL (Free Index) = 5959.9165784
delta logL = -0.0042980470289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5959.91228131
delta logL = -9.55138602876e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2838       1.0000          .0000       10.000    
     3 'Normalizat'    .98010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92609       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5959.906     FROM MIGRAD    STATUS=CONVERGED    162 CALLS      312 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17363E-01    1.7763        .84630E-02   -.39456E-02
   2  Index         3.9599        1.4708        .50000        .23118E-05
   3  Normalizat    .97395        .14866E-01    .21944E-03    .13625E-04
   4  Prefactor     .92992        .16605E-01    .25158E-03    .30955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0173627
  Index      = 3.95991
  Normalizat = 0.973946
  Prefactor  = 0.929923
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.906     FROM HESSE     STATUS=OK            31 CALLS      343 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17363E-01    .43572        .53166E-03   -1.5734    
   2  Index         3.9599        3.5163        .60920E-02   -.20955    
   3  Normalizat    .97395        .18521        .87776E-05   -.93908    
   4  Prefactor     .92992        .20205        .10063E-04   -.95103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19059e-08
Minuit parameter uncertainties:
  1  0.173457
  2  3.924
  3  0.185335
  4  0.202218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657680': 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) = 5959.90606726
delta logL = 0.00621309691269

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.736e-02  1.735e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.960e+00  3.924e+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:  9.299e-01  2.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.739e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 150.294 29.188

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/657680/cmap_HighResolution_405216001_405475201_4FGL_J1001.1+2911_daily_bin640.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-09-01 10:08:22.414532', job_id='657680', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.98', time_epoch_completed='1630516102.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='6.21e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='640' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:08:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 657680: <4FGL_J1001.1+2911_daily_bin640> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin640 150.294 29.188 405216001 405475201 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 :                                   641.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

