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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin990
RA = 150.294, Dec = 29.188
tmin = 495936001, tmax = 496195201
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='660712', job_status='RUN', time_executed='2021-09-01 10:08:43.932119', time_epoch_executed='1630516123.93' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660712

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660712/ft1_4FGL_J1001.1+2911_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660712/ft1_4FGL_J1001.1+2911_daily_bin990.fits outfile=/scratch/kocevski/660712/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin990.fits ra=150.294 dec=29.188 rad=12.0 tmin=495936001.0 tmax=496195201.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.48
user 3.26
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.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/660712/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin990.fits evtable="EVENTS" outfile="/scratch/kocevski/660712/ft1_filtered_4FGL_J1001.1+2911_daily_bin990.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.53
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660712/ft1_filtered_4FGL_J1001.1+2911_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/660712/ltcube_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.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/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits
.....................!
real 13.10
user 12.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660712/ft1_filtered_4FGL_J1001.1+2911_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/660712/ltcube_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.fits outfile=/scratch/kocevski/660712/expmap_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.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/660712/ltcube_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.fits
.....................!
real 190.64
user 185.33
sys 4.58

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/660712/ft1_filtered_4FGL_J1001.1+2911_daily_bin990.fits scfile=/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits outfile=/scratch/kocevski/660712/cmap_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.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.91
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660712/ft1_filtered_4FGL_J1001.1+2911_daily_bin990.fits scfile=/scratch/kocevski/660712/ft2_4FGL_J1001.1+2911_daily_bin990.fits outfile=/scratch/kocevski/660712/cmap_HighResolution_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.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.67
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6995       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3438       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6478       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4341       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5253       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8825       1.0000         .10000E-03   10000.    
    12 'norm      '    5.7909       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    69.421       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2232       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13650E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10907E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1944       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78558       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=   5941.867     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2738 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6996        3.5334        .95270E-07   -.81328E-05
   2  norm          1.3438        1.6030        .17953E-06   -.11546E-04
   3  Prefactor     7.6495        32.460        .18662E-05    .11206E-04
   4  Prefactor     .10000E-03    2.2023        .30056E-07** at limit **
   5  Prefactor     .10000E-03    10.399        .21849E-05** at limit **
   6  Prefactor     .10000E-03    21.828       -.50683E-05** at limit **
   7  Prefactor     .10000E-03    19.677        .29618E-06** at limit **
   8  Prefactor     .10000E-03    16.510        .50818E-05** at limit **
   9  Prefactor     6.4343        6.3439        .18603E-06   -.82281E-05
  10  Prefactor     4.5263        9.9635        .69774E-06   -.32158E-04
  11  Prefactor     2.8824        2.8935        .21849E-06   -.10590E-03
  12  norm          5.7911        7.9445        .29688E-05   -.21263E-03
  13  Prefactor     7.8718        4.8916       -.19012E-06   -.39455E-03
  14  Prefactor     69.426        54.856        .19848E-05    .70945E-04
  15  Prefactor     .10000E-03    3.2634        .12212E-06** at limit **
  16  norm          .10000E-03    8.0020        .10625E-06** at limit **
  17  Prefactor     .10001E-03    59.862        .11365E-04** at limit **
  18  Prefactor     3.2853        45.879        .16398E-05   -.50076E-06
  19  Prefactor     .10003E-03    5.0097        .20493E-05** at limit **
  20  Prefactor     .10003E-03    4.2727       -.13728E-05** at limit **
  21  Prefactor     .10000E-03    .78598        .26553E-07** at limit **
  22  Prefactor     .10000E-03    70.783       -.50030E-05** at limit **
  23  Normalizat    1.1944        .17997       -.24007E-05   -.17158E-03
  24  Prefactor     .78550        .18252        .14418E-06   -.19633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.69959
  norm       = 1.34384
  Prefactor  = 7.64947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.43428
  Prefactor  = 4.52629
  Prefactor  = 2.88242
  norm       = 5.79115
  Prefactor  = 7.87179
  Prefactor  = 69.4259
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 3.28528
  Prefactor  = 0.000100027
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.1944
  Prefactor  = 0.785499
 **********
 **   18 **HESSE 
 **********

 FCN=   5941.867     FROM HESSE     STATUS=OK           397 CALLS     3135 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6996        3.5339        .12214E-03   -1.5274    
   2  norm          1.3438        1.5771        .10288E-03   -1.5476    
   3  Prefactor     7.6495        32.507        .14501E-03   -1.5155    
   4  Prefactor     .10000E-03    2.2520        .11158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.4343        6.3371        .15823E-03   -1.5201    
  10  Prefactor     4.5263        9.9422        .18925E-03   -1.5282    
  11  Prefactor     2.8824        2.8825        .12304E-03   -1.5368    
  12  norm          5.7911        8.1440        .83450E-03   -1.5227    
  13  Prefactor     7.8718        4.8975        .12495E-03   -1.5147    
  14  Prefactor     69.426        54.940        .48177E-04   -1.4040    
  15  Prefactor     .10000E-03    3.2898        .13564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.0437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    61.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2853        45.330        .22564E-03   -1.5345    
  19  Prefactor     .10003E-03    10.932        .29957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    12.943        .30234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .79106        .66718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    71.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1944        .20885        .22106E-03   -.86776    
  24  Prefactor     .78550        .21302        .28115E-03   -1.0027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00557e-09
Minuit parameter uncertainties:
  1  3.53409
  2  1.5772
  3  31.5672
  4  8.72909e-06
  5  0.000130363
  6  0.000401081
  7  3.90687e-05
  8  0.000367762
  9  6.33779
  10  9.94581
  11  2.8826
  12  8.14554
  13  4.89776
  14  54.9803
  15  1.11028e-05
  16  1.69246e-07
  17  0.00159982
  18  24.4288
  19  0.00109379
  20  0.00113826
  21  3.09797e-06
  22  0.00052366
  23  0.209001
  24  0.213242
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.882e+00  2.883e+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:  7.855e-01  2.132e-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.194e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.85e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.53e-05

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

Saving results to:
/scratch/kocevski/660712/likelihoodResults_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5941.06443256
delta logL = 0.80237215498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5941.05313481
delta logL = 0.81366990606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4977       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1454       1.0000          .0000       10.000    
     3 'Normalizat'    1.1412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82017       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=   5941.053     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      237 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4990        15.784        .87501E-02    .76390E-03
   2  Index         3.1452        2.8116        .13492        .13504E-03
   3  Normalizat    1.1410        .50115E-01    .36527E-01    .14787E-04
   4  Prefactor     .82036        .52088E-01    .43979E-01    .38307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49898
  Index      = 3.14515
  Normalizat = 1.141
  Prefactor  = 0.820363
 **********
 **   18 **HESSE 
 **********

 FCN=   5941.053     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4990        2.5232        .59880E-04   -1.5463    
   2  Index         3.1452        .96421        .48965E-02   -.38005    
   3  Normalizat    1.1410        .20623        .22520E-03   -.88446    
   4  Prefactor     .82036        .21344        .13764E-02   -.98982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22667e-11
Minuit parameter uncertainties:
  1  2.52339
  2  0.971274
  3  0.206375
  4  0.213654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660712': 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) = 5941.05313412
delta logL = 0.813670590544

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.499e+00  2.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.145e+00  9.713e-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:  8.204e-01  2.137e-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.141e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.15 +/- 0.97
Photon Flux (Free Index): 8.60e-08 +/- 6.08e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.13e-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/660712/cmap_HighResolution_495936001_496195201_4FGL_J1001.1+2911_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-03', comment='SUCCESS', photon_flux='3.85e-08', energy_flux2='1.61e-05', photon_flux_error='3.85e-08', dlogl='8.14e-01', energy_flux='1.53e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2021-09-01 10:19:34.674903', photon_index_error2='0.97', photon_index2='3.15', ts='1.25', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.13e-05', EG='1.19', time_epoch_completed='1630516774.67', return_code='0', job_id='660712', GAL2='0.82', EG2='1.14', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='6.08e-08', ts2='2.96', photon_index='2.27' WHERE bin_id='990' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:19:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 660712: <4FGL_J1001.1+2911_daily_bin990> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin990> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 10:05:19 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:05:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:05:20 2021
Terminated at Wed Sep  1 10:19:35 2021
Results reported at Wed Sep  1 10:19:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin990 150.294 29.188 495936001 496195201 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 :                                   644.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

