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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin751
RA = 150.294, Dec = 29.188
tmin = 433987201, tmax = 434246401
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='659259', job_status='RUN', time_executed='2021-09-01 10:03:10.792131', time_epoch_executed='1630515790.79' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659259

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659259/ft1_4FGL_J1001.1+2911_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659259/ft1_4FGL_J1001.1+2911_daily_bin751.fits outfile=/scratch/kocevski/659259/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin751.fits ra=150.294 dec=29.188 rad=12.0 tmin=433987201.0 tmax=434246401.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 6.35
user 5.90
sys 0.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659259/ft1_filtered_4FGL_J1001.1+2911_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/659259/ltcube_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.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/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits
.....................!
real 12.62
user 12.05
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659259/ft1_filtered_4FGL_J1001.1+2911_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/659259/ltcube_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.fits outfile=/scratch/kocevski/659259/expmap_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.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/659259/ltcube_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.fits
.....................!
real 191.16
user 185.43
sys 5.02

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/659259/ft1_filtered_4FGL_J1001.1+2911_daily_bin751.fits scfile=/scratch/kocevski/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits outfile=/scratch/kocevski/659259/cmap_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.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.69
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659259/ft1_filtered_4FGL_J1001.1+2911_daily_bin751.fits scfile=/scratch/kocevski/659259/ft2_4FGL_J1001.1+2911_daily_bin751.fits outfile=/scratch/kocevski/659259/cmap_HighResolution_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.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.61
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3982       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.816       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .46825E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4400       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1816       1.0000         .10000E-03   10000.    
    12 'norm      '    14.804       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0051       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.863       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    38.800       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.281       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11811       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    69.195       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1472       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .49916       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=   3207.205     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2782 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3975        3.8328       -.45039E-06   -.41091E-03
   2  norm          .10000E-03    .94934       -.38039E-07** at limit **
   3  Prefactor     58.331        49.400       -.45456E-05    .18361E-04
   4  Prefactor     .10000E-03    1.3834       -.56856E-07** at limit **
   5  Prefactor     10.918        29.798        .82430E-05    .10679E-03
   6  Prefactor     .10000E-03    59.322       -.48259E-05** at limit **
   7  Prefactor     13.787        43.730       -.91244E-05    .16895E-05
   8  Prefactor     .10000E-03    28.069        .65002E-06** at limit **
   9  Prefactor     .10050E-03    4.8341       -.28906E-05** at limit **
  10  Prefactor     6.4373        10.251       -.97997E-05   -.66582E-04
  11  Prefactor     2.1819        1.9839       -.32269E-07    .36150E-03
  12  norm          14.810        12.253        .12691E-04    .24113E-03
  13  Prefactor     4.0037        4.5501        .11058E-05   -.20844E-04
  14  Prefactor     42.833        60.402       -.15724E-04   -.10311E-04
  15  Prefactor     .10000E-03    4.5534       -.13753E-06** at limit **
  16  norm          .10000E-03    5.5256        .55699E-07** at limit **
  17  Prefactor     .10000E-03    23.363       -.82958E-06** at limit **
  18  Prefactor     38.812        57.651        .36358E-05   -.44021E-05
  19  Prefactor     11.277        10.086       -.92977E-06   -.69779E-05
  20  Prefactor     .97055E-01    5.7391        .20099E-05   -.11453E-02
  21  Prefactor     .10000E-03    .82079       -.66212E-07** at limit **
  22  Prefactor     69.189        43.855       -.30300E-05    .23644E-05
  23  Normalizat    1.1475        .20542        .11784E-05    .25975E-03
  24  Prefactor     .49900        .20946       -.24826E-05    .14652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39754
  norm       = 0.0001
  Prefactor  = 58.3306
  Prefactor  = 0.0001
  Prefactor  = 10.9179
  Prefactor  = 0.0001
  Prefactor  = 13.7874
  Prefactor  = 0.0001
  Prefactor  = 0.0001005
  Prefactor  = 6.4373
  Prefactor  = 2.18193
  norm       = 14.8099
  Prefactor  = 4.00367
  Prefactor  = 42.8325
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.812
  Prefactor  = 11.2766
  Prefactor  = 0.0970552
  Prefactor  = 0.0001
  Prefactor  = 69.189
  Normalizat = 1.14751
  Prefactor  = 0.499
 **********
 **   18 **HESSE 
 **********

 FCN=   3207.205     FROM HESSE     STATUS=OK           411 CALLS     3193 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3975        3.7984        .17715E-03   -1.5472    
   2  norm          .10000E-03    .97798        .10772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     58.331        49.437        .26263E-03   -1.4179    
   4  Prefactor     .10000E-03    1.3959        .65028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.918        29.925        .12127E-03   -1.5047    
   6  Prefactor     .10000E-03    59.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.787        44.009        .10776E-03   -1.4965    
   8  Prefactor     .10000E-03    28.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10050E-03    14.940        .37652E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.4373        10.291        .15815E-03   -1.5200    
  11  Prefactor     2.1819        1.9923        .73568E-04   -1.5413    
  12  norm          14.810        12.297        .10410E-03   -1.4938    
  13  Prefactor     4.0037        4.5324        .12110E-03   -1.5308    
  14  Prefactor     42.833        60.375        .61232E-04   -1.4398    
  15  Prefactor     .10000E-03    4.6346        .23498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.5335        .13002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     38.812        58.364        .64346E-04   -1.4461    
  19  Prefactor     11.277        10.215        .11928E-03   -1.5036    
  20  Prefactor     .97055E-01    123.33        .25994E-02   -1.5646    
  21  Prefactor     .10000E-03    .82243        .50091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     69.189        43.877        .48255E-04   -1.4042    
  23  Normalizat    1.1475        .23970        .18871E-03   -.88241    
  24  Prefactor     .49900        .23788        .29728E-03   -1.1202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44926e-08
Minuit parameter uncertainties:
  1  3.7991
  2  9.69149e-07
  3  49.4717
  4  3.62215e-07
  5  29.9666
  6  1.68017e-05
  7  44.1132
  8  2.11792e-06
  9  0.00546708
  10  10.2943
  11  1.99237
  12  12.2995
  13  4.53279
  14  60.4612
  15  8.58066e-06
  16  1.22539e-06
  17  1.96251e-06
  18  58.4499
  19  10.2162
  20  6.93015
  21  3.25206e-06
  22  43.8971
  23  0.239928
  24  0.238353
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.182e+00  1.992e+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:  4.990e-01  2.384e-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.148e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.91e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.06e-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) = 3206.10022048
delta logL = 1.10440478579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3206.07932027
delta logL = 1.12530499975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8548       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3079       1.0000          .0000       10.000    
     3 'Normalizat'    1.1670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48902       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=   3206.079     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8597        1.8520        .76516E-02   -.14899E-03
   2  Index         1.3090        .44270        .16967       -.37960E-04
   3  Normalizat    1.1674        .19236        .35756E-01   -.83586E-04
   4  Prefactor     .48868        .20771        .67815E-01    .55072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.8597
  Index      = 1.30904
  Normalizat = 1.16742
  Prefactor  = 0.488684
 **********
 **   18 **HESSE 
 **********

 FCN=   3206.079     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8597        2.3125        .72728E-04   -1.5435    
   2  Index         1.3090        .58247        .70518E-02   -.83039    
   3  Normalizat    1.1674        .21608        .18728E-03   -.87615    
   4  Prefactor     .48868        .23281        .30019E-03   -1.1250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24338e-11
Minuit parameter uncertainties:
  1  2.31258
  2  0.585406
  3  0.216246
  4  0.233262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659259': 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) = 3206.07931585
delta logL = 1.12530942123

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.860e+00  2.313e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.309e+00  5.854e-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:  4.887e-01  2.333e-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.167e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.52
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.31 +/- 0.59
Photon Flux (Free Index): 1.02e-08 +/- 1.26e-08
Energy Flux (Free Index): 6.10e-05 +/- 9.11e-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/659259/cmap_HighResolution_433987201_434246401_4FGL_J1001.1+2911_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.91e-08', energy_flux2='6.10e-05', photon_flux_error='2.66e-08', dlogl='1.13e+00', energy_flux='1.16e-05', photon_flux2='1.02e-08', job_status='DONE', time_completed='2021-09-01 10:11:23.346839', photon_index_error2='0.59', photon_index2='1.31', ts='6.26', fit_tolerance='1e-08', GAL='0.50', photon_index_error='0.00', energy_flux_error2='9.11e-05', EG='1.15', time_epoch_completed='1630516283.35', return_code='0', job_id='659259', GAL2='0.49', EG2='1.17', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='1.26e-08', ts2='8.52', photon_index='2.27' WHERE bin_id='751' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:11:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 659259: <4FGL_J1001.1+2911_daily_bin751> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:27 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:28 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:00:28 2021
Terminated at Wed Sep  1 10:11:24 2021
Results reported at Wed Sep  1 10:11:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin751 150.294 29.188 433987201 434246401 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 :                                   488.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            657 sec.

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

