/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 179 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 = 7405
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin431
RA = 150.294, Dec = 29.188
tmin = 351043201, tmax = 351302401
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='656237', job_status='RUN', time_executed='2021-09-01 09:54:51.078726', time_epoch_executed='1630515291.08' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656237

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656237/ft1_4FGL_J1001.1+2911_daily_bin431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656237/ft1_4FGL_J1001.1+2911_daily_bin431.fits outfile=/scratch/kocevski/656237/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin431.fits ra=150.294 dec=29.188 rad=12.0 tmin=351043201.0 tmax=351302401.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.50
user 3.24
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.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/656237/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin431.fits evtable="EVENTS" outfile="/scratch/kocevski/656237/ft1_filtered_4FGL_J1001.1+2911_daily_bin431.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.56
user 0.37
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656237/ft1_filtered_4FGL_J1001.1+2911_daily_bin431.fits" evtable="EVENTS" scfile=/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits sctable="SC_DATA" outfile=/scratch/kocevski/656237/ltcube_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.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/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits
.....................!
real 16.48
user 16.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656237/ft1_filtered_4FGL_J1001.1+2911_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits sctable="SC_DATA" expcube=/scratch/kocevski/656237/ltcube_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.fits outfile=/scratch/kocevski/656237/expmap_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.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/656237/ltcube_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.fits
.....................!
real 190.35
user 186.02
sys 3.82

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/656237/ft1_filtered_4FGL_J1001.1+2911_daily_bin431.fits scfile=/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits outfile=/scratch/kocevski/656237/cmap_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656237/ft1_filtered_4FGL_J1001.1+2911_daily_bin431.fits scfile=/scratch/kocevski/656237/ft2_4FGL_J1001.1+2911_daily_bin431.fits outfile=/scratch/kocevski/656237/cmap_HighResolution_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9185       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4831       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.946       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.488       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    138.49       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.323       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .73570       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1046       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1989       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.763       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6495       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0335       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.189       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0166       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70612       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=   4816.912     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     3370 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9184        1.8905       -.30006E-07    .15453E-04
   2  norm          1.4830        1.1773       -.73210E-08    .47535E-05
   3  Prefactor     42.944        48.457        .27576E-07   -.14422E-04
   4  Prefactor     2.0757        2.7935        .17990E-06   -.18269E-04
   5  Prefactor     20.486        26.368       -.13723E-06   -.46691E-04
   6  Prefactor     .10000E-03    28.068        .42170E-08** at limit **
   7  Prefactor     138.49        54.532        .74387E-07   -.26697E-04
   8  Prefactor     14.323        28.652        .12268E-06   -.62481E-05
   9  Prefactor     .73611        3.8959        .16489E-05   -.76224E-04
  10  Prefactor     .10000E-03    5.5978        .99960E-07** at limit **
  11  Prefactor     4.1046        2.3504        .28253E-08   -.96506E-04
  12  norm          .10000E-03    1.6172       -.10384E-07** at limit **
  13  Prefactor     .10000E-03    2.4513        .22776E-06** at limit **
  14  Prefactor     15.263        30.427        .49407E-08   -.17097E-04
  15  Prefactor     1.1976        5.4271        .20211E-05    .12506E-04
  16  norm          .10000E-03    8.6744        .12290E-06** at limit **
  17  Prefactor     40.742        46.350       -.59030E-06   -.13286E-03
  18  Prefactor     .10000E-03    64.143        .36795E-06** at limit **
  19  Prefactor     .10000E-03    3.6871        .14785E-06** at limit **
  20  Prefactor     2.6494        5.0088        .40885E-06   -.58620E-04
  21  Prefactor     4.0335        2.2122        .64746E-09   -.23896E-04
  22  Prefactor     35.187        31.370        .69872E-07   -.33948E-04
  23  Normalizat    1.0166        .17344       -.10868E-05   -.10206E-03
  24  Prefactor     .70614        .17990        .49578E-06   -.12245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.91845
  norm       = 1.48302
  Prefactor  = 42.9439
  Prefactor  = 2.07569
  Prefactor  = 20.4856
  Prefactor  = 0.0001
  Prefactor  = 138.494
  Prefactor  = 14.3233
  Prefactor  = 0.736114
  Prefactor  = 0.0001
  Prefactor  = 4.10461
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.263
  Prefactor  = 1.19755
  norm       = 0.0001
  Prefactor  = 40.7422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.64936
  Prefactor  = 4.03349
  Prefactor  = 35.1869
  Normalizat = 1.0166
  Prefactor  = 0.70614
 **********
 **   18 **HESSE 
 **********

 FCN=   4816.912     FROM HESSE     STATUS=OK           399 CALLS     3769 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9184        1.9073        .92428E-04   -1.5431    
   2  norm          1.4830        1.1794        .65223E-04   -1.5464    
   3  Prefactor     42.944        48.512        .61173E-04   -1.4396    
   4  Prefactor     2.0757        2.7772        .12841E-03   -1.5420    
   5  Prefactor     20.486        26.415        .88488E-04   -1.4802    
   6  Prefactor     .10000E-03    28.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     138.49        54.667        .34227E-04   -1.3349    
   8  Prefactor     14.323        28.664        .10583E-03   -1.4951    
   9  Prefactor     .73611        3.9354        .26800E-03   -1.5536    
  10  Prefactor     .10000E-03    5.6479        .16033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1046        2.3496        .77239E-04   -1.5303    
  12  norm          .10000E-03    1.6188        .86196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.4523        .10487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.263        30.443        .10251E-03   -1.4926    
  15  Prefactor     1.1976        5.3735        .28849E-03   -1.5489    
  16  norm          .10000E-03    8.7195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     40.742        47.303        .62784E-04   -1.4431    
  18  Prefactor     .10000E-03    65.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7316        .12982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.6494        4.9961        .20549E-03   -1.5382    
  21  Prefactor     4.0335        2.2104        .73689E-04   -1.5306    
  22  Prefactor     35.187        31.415        .67556E-04   -1.4521    
  23  Normalizat    1.0166        .19820        .20527E-03   -.92476    
  24  Prefactor     .70614        .20617        .26728E-03   -1.0329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66059e-10
Minuit parameter uncertainties:
  1  1.90733
  2  1.1794
  3  48.5566
  4  2.77734
  5  26.4298
  6  1.00727e-05
  7  54.6869
  8  28.6912
  9  3.40417
  10  6.48856e-07
  11  2.34967
  12  1.14227e-07
  13  2.52443e-05
  14  30.4738
  15  5.07404
  16  1.35582e-05
  17  47.3461
  18  0.000146396
  19  1.36079e-05
  20  4.99684
  21  2.21041
  22  31.4301
  23  0.198342
  24  0.206393
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.105e+00  2.350e+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.061e-01  2.064e-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.017e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.14
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.25e-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) = 4816.90874186
delta logL = 0.00329106393019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4816.90699288
delta logL = 0.00504004540107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9458       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3166       1.0000          .0000       10.000    
     3 'Normalizat'    1.0144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70762       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=   4816.907     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      229 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9460        2.8643        .75208E-04   -.78408E-03
   2  Index         2.3166        .49416        .53271E-02   -.13508E-03
   3  Normalizat    1.0145        .18306        .20545E-03    .85937E-04
   4  Prefactor     .70759        .20119        .26704E-03    .83189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.94596
  Index      = 2.31663
  Normalizat = 1.01448
  Prefactor  = 0.707594
 **********
 **   18 **HESSE 
 **********

 FCN=   4816.907     FROM HESSE     STATUS=OK            25 CALLS      254 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9460        2.7797        .30083E-05   -1.5311    
   2  Index         2.3166        .47947        .21308E-03   -.56649    
   3  Normalizat    1.0145        .18315        .82179E-05   -.92547    
   4  Prefactor     .70759        .20131        .10681E-04   -1.0323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03775e-10
Minuit parameter uncertainties:
  1  2.77983
  2  0.480504
  3  0.183264
  4  0.201515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656237': 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) = 4816.90699282
delta logL = 0.00504010841905

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.946e+00  2.780e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.317e+00  4.805e-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:  7.076e-01  2.015e-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.014e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.12
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.32 +/- 0.48
Photon Flux (Free Index): 5.66e-08 +/- 3.64e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.48e-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/656237/cmap_HighResolution_351043201_351302401_4FGL_J1001.1+2911_daily_bin431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='2.09e-05', photon_flux_error='3.13e-08', dlogl='5.04e-03', energy_flux='2.18e-05', photon_flux2='5.66e-08', job_status='DONE', time_completed='2021-09-01 10:04:39.038281', photon_index_error2='0.48', photon_index2='2.32', ts='6.14', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='1.02', time_epoch_completed='1630515879.04', return_code='0', job_id='656237', GAL2='0.71', EG2='1.01', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='3.64e-08', ts2='6.12', photon_index='2.27' WHERE bin_id='431' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 656237: <4FGL_J1001.1+2911_daily_bin431> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin431> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:55 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:57 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:50:57 2021
Terminated at Wed Sep  1 10:04:39 2021
Results reported at Wed Sep  1 10:04:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin431 150.294 29.188 351043201 351302401 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 :                                   586.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

