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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin887
RA = 150.294, Dec = 29.188
tmin = 469238401, tmax = 469497601
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='659490', job_status='RUN', time_executed='2021-09-01 10:03:28.735973', time_epoch_executed='1630515808.74' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='887'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659490

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659490/ft1_4FGL_J1001.1+2911_daily_bin887.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659490/ft1_4FGL_J1001.1+2911_daily_bin887.fits outfile=/scratch/kocevski/659490/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin887.fits ra=150.294 dec=29.188 rad=12.0 tmin=469238401.0 tmax=469497601.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.54
user 3.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659490/ft1_filtered_4FGL_J1001.1+2911_daily_bin887.fits" evtable="EVENTS" scfile=/scratch/kocevski/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits sctable="SC_DATA" outfile=/scratch/kocevski/659490/ltcube_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.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/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits
.....................!
real 11.71
user 11.38
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659490/ft1_filtered_4FGL_J1001.1+2911_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits sctable="SC_DATA" expcube=/scratch/kocevski/659490/ltcube_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.fits outfile=/scratch/kocevski/659490/expmap_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.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/659490/ltcube_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.fits
.....................!
real 190.18
user 185.90
sys 3.84

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659490/ft1_filtered_4FGL_J1001.1+2911_daily_bin887.fits scfile=/scratch/kocevski/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits outfile=/scratch/kocevski/659490/cmap_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.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.64
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659490/ft1_filtered_4FGL_J1001.1+2911_daily_bin887.fits scfile=/scratch/kocevski/659490/ft2_4FGL_J1001.1+2911_daily_bin887.fits outfile=/scratch/kocevski/659490/cmap_HighResolution_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.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.60
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51230       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0232       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.666       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7872       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2278       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10790E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.005       1.0000         .10000E-03   10000.    
     8 'Prefactor '    72.555       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.353       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .94015       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67093E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6260       1.0000         .10000E-03   10000.    
    16 'norm      '    22.668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.566       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5829       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.499       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94508       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82721       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=   6070.873     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2794 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51198        1.7757        .66908E-06   -.21591E-03
   2  norm          1.0232        .96810       -.23008E-07    .16346E-04
   3  Prefactor     18.659        38.907        .80638E-08   -.13811E-04
   4  Prefactor     1.7868        2.5673        .14456E-06   -.62551E-04
   5  Prefactor     8.2286        25.918       -.24878E-06   -.77739E-05
   6  Prefactor     .10001E-03    124.43       -.29311E-05** at limit **
   7  Prefactor     22.008        37.351        .13959E-06    .92448E-05
   8  Prefactor     72.530        53.062       -.27435E-06   -.81302E-04
   9  Prefactor     19.352        7.5954       -.14946E-06   -.25326E-04
  10  Prefactor     .10000E-03    7.4540        .10837E-06** at limit **
  11  Prefactor     .94005        2.5124        .88377E-06   -.16759E-03
  12  norm          .10000E-03    4.1425        .66669E-07** at limit **
  13  Prefactor     .10047E-03    1.7527       -.45517E-06** at limit **
  14  Prefactor     .10001E-03    70.878        .27071E-05** at limit **
  15  Prefactor     6.6425        4.2387        .17300E-05   -.32853E-03
  16  norm          22.669        12.101       -.10126E-06    .20438E-04
  17  Prefactor     .10000E-03    19.139       -.17832E-07** at limit **
  18  Prefactor     .10000E-03    40.844       -.98837E-06** at limit **
  19  Prefactor     22.567        7.2108       -.27491E-06    .67850E-04
  20  Prefactor     4.5833        6.1636        .35210E-06   -.11519E-03
  21  Prefactor     .10000E-03    1.1684       -.23636E-07** at limit **
  22  Prefactor     14.500        21.502        .10077E-06   -.49603E-06
  23  Normalizat    .94497        .16417       -.27556E-06   -.50812E-05
  24  Prefactor     .82736        .16763       -.36986E-06   -.55364E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.511977
  norm       = 1.02317
  Prefactor  = 18.6595
  Prefactor  = 1.7868
  Prefactor  = 8.22863
  Prefactor  = 0.000100007
  Prefactor  = 22.0082
  Prefactor  = 72.5297
  Prefactor  = 19.3522
  Prefactor  = 0.0001
  Prefactor  = 0.940048
  norm       = 0.0001
  Prefactor  = 0.000100474
  Prefactor  = 0.000100007
  Prefactor  = 6.64247
  norm       = 22.6688
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.5674
  Prefactor  = 4.58332
  Prefactor  = 0.0001
  Prefactor  = 14.5
  Normalizat = 0.944969
  Prefactor  = 0.827356
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.873     FROM HESSE     STATUS=OK           411 CALLS     3205 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51198        1.8117        .18660E-02   -1.5565    
   2  norm          1.0232        1.0015        .72309E-03   -1.5506    
   3  Prefactor     18.659        38.932        .92704E-04   -1.4844    
   4  Prefactor     1.7868        2.5386        .14262E-03   -1.5441    
   5  Prefactor     8.2286        25.909        .13977E-03   -1.5134    
   6  Prefactor     .10001E-03    125.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.008        37.473        .85386E-04   -1.4769    
   8  Prefactor     72.530        53.156        .47132E-04   -1.4003    
   9  Prefactor     19.352        7.5886        .91044E-04   -1.4828    
  10  Prefactor     .10000E-03    7.5655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94005        2.4780        .18355E-03   -1.5514    
  12  norm          .10000E-03    4.1993        .15482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10047E-03    24.930        .19223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    71.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6425        4.2751        .60482E-03   -1.5192    
  16  norm          22.669        12.103        .84131E-04   -1.4755    
  17  Prefactor     .10000E-03    19.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    40.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.567        7.1852        .84321E-04   -1.4758    
  20  Prefactor     4.5833        6.1104        .18803E-03   -1.5280    
  21  Prefactor     .10000E-03    2.3363        .16174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.500        21.496        .10519E-03   -1.4946    
  23  Normalizat    .94497        .18950        .22516E-03   -.94898    
  24  Prefactor     .82736        .19449        .26062E-03   -.98728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26139e-08
Minuit parameter uncertainties:
  1  1.81186
  2  1.00147
  3  38.9849
  4  2.53875
  5  25.9448
  6  0.00192229
  7  37.5126
  8  53.1903
  9  7.589
  10  1.87235e-05
  11  2.47829
  12  1.35192e-07
  13  0.00688126
  14  0.00137103
  15  4.27532
  16  12.1043
  17  3.02284e-05
  18  0.000320541
  19  7.18551
  20  6.11119
  21  3.57553e-06
  22  21.5076
  23  0.189633
  24  0.194656
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  9.400e-01  2.478e+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:  8.274e-01  1.947e-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.450e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/659490/likelihoodResults_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.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) = 6070.28866289
delta logL = 0.583850828999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6070.26439591
delta logL = 0.608117812953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36209E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.8616       1.0000          .0000       10.000    
     3 'Normalizat'    .88258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87589       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=   6070.264     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      318 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36130E-01    .51102        .29078E-02    .47276E-02
   2  Index         4.8627        2.8140        .10873        .15633E-03
   3  Normalizat    .88245        .34554E-01    .44679E-01    .47887E-05
   4  Prefactor     .87598        .37898E-01    .44697E-01    .12002E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.03613
  Index      = 4.86274
  Normalizat = 0.882448
  Prefactor  = 0.875977
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.264     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36130E-01    1.4358        .13193E-03   -1.5670    
   2  Index         4.8627        7.3235        .55184E-02   -.27456E-01
   3  Normalizat    .88245        .13147        .23200E-03   -.97080    
   4  Prefactor     .87598        .14155        .25402E-03   -.96986    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10183e-07
Minuit parameter uncertainties:
  1  0.454905
  2  6.2404
  3  0.13152
  4  0.141612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659490': 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): 102
logL (Free Index) = 6070.26439544
delta logL = 0.60811827963

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.613e-02  4.549e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.863e+00  6.240e+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:  8.760e-01  1.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.824e-01  1.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 150.294 29.188
Photon Index (Free Index): 4.86 +/- 6.24
Photon Flux (Free Index): 5.63e-08 +/- 4.86e-08
Energy Flux (Free Index): 7.57e-06 +/- 8.07e-06

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/659490/cmap_HighResolution_469238401_469497601_4FGL_J1001.1+2911_daily_bin887.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', comment='SUCCESS', energy_flux2='7.57e-06', dlogl='6.08e-01', photon_flux2='5.63e-08', job_status='DONE', time_completed='2021-09-01 10:14:38.109783', photon_index_error2='6.24', photon_index2='4.86', ts='0.17', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='8.07e-06', EG='0.94', time_epoch_completed='1630516478.11', return_code='0', job_id='659490', GAL2='0.88', EG2='0.88', return_code2='102', photon_flux_error2='4.86e-08', ts2='1.50', photon_index='2.27' WHERE bin_id='887' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:14:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 659490: <4FGL_J1001.1+2911_daily_bin887> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin887 150.294 29.188 469238401 469497601 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 :                                   665.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

