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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin858
RA = 150.294, Dec = 29.188
tmin = 461721601, tmax = 461980801
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='659441', job_status='RUN', time_executed='2021-09-01 10:03:15.999827', time_epoch_executed='1630515796.0' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659441

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659441/ft1_4FGL_J1001.1+2911_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659441/ft2_4FGL_J1001.1+2911_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659441/ft1_4FGL_J1001.1+2911_daily_bin858.fits outfile=/scratch/kocevski/659441/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin858.fits ra=150.294 dec=29.188 rad=12.0 tmin=461721601.0 tmax=461980801.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 4.41
user 3.96
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659441/ft1_filtered_4FGL_J1001.1+2911_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/659441/ft2_4FGL_J1001.1+2911_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/659441/ltcube_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.fits outfile=/scratch/kocevski/659441/expmap_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.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/659441/ltcube_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.fits
.....................!
real 189.38
user 184.92
sys 4.00

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/659441/ft1_filtered_4FGL_J1001.1+2911_daily_bin858.fits scfile=/scratch/kocevski/659441/ft2_4FGL_J1001.1+2911_daily_bin858.fits outfile=/scratch/kocevski/659441/cmap_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.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.61
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659441/ft1_filtered_4FGL_J1001.1+2911_daily_bin858.fits scfile=/scratch/kocevski/659441/ft2_4FGL_J1001.1+2911_daily_bin858.fits outfile=/scratch/kocevski/659441/cmap_HighResolution_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.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.77
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .86675       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .73945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.025       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.220       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2788       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3108       1.0000         .10000E-03   10000.    
    12 'norm      '    6.4046       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0846       1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.628       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10595E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.1263       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.604       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .25485E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.591       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2546       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.487       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89519       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0915       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=   5555.570     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2745 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5232       -.60770E-07** at limit **
   2  norm          .86676        .96770       -.59351E-08    .19356E-04
   3  Prefactor     .10000E-03    17.997       -.46868E-07** at limit **
   4  Prefactor     .73986        3.0009       -.11153E-06   -.16441E-03
   5  Prefactor     .10000E-03    6.4798        .44865E-06** at limit **
   6  Prefactor     .10000E-03    34.639        .15495E-06** at limit **
   7  Prefactor     .10000E-03    33.991       -.79391E-06** at limit **
   8  Prefactor     64.030        52.583       -.79843E-06    .46964E-04
   9  Prefactor     20.221        8.4350        .49286E-07    .50938E-04
  10  Prefactor     1.2795        13.847        .93867E-05   -.37099E-04
  11  Prefactor     2.3108        1.7735       -.38162E-07   -.16646E-04
  12  norm          6.4046        5.6639        .32291E-07    .13896E-04
  13  Prefactor     2.0836        2.8000        .30829E-06    .79178E-03
  14  Prefactor     61.635        39.626       -.98771E-06    .79709E-04
  15  Prefactor     .10000E-03    2.8321        .78903E-06** at limit **
  16  norm          .10000E-03    6.0827       -.36292E-06** at limit **
  17  Prefactor     9.1187        50.053        .34410E-05   -.24435E-04
  18  Prefactor     27.623        28.735        .62909E-06   -.21090E-04
  19  Prefactor     .10000E-03    3.3886        .14008E-05** at limit **
  20  Prefactor     19.592        9.3716        .59414E-07    .80458E-04
  21  Prefactor     1.2545        2.6534       -.66707E-07   -.13639E-03
  22  Prefactor     24.482        23.379        .75070E-06   -.54547E-04
  23  Normalizat    .89517        .17510       -.82041E-06    .21732E-03
  24  Prefactor     1.0915        .19037        .10945E-05    .37079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.866761
  Prefactor  = 0.0001
  Prefactor  = 0.739862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.0304
  Prefactor  = 20.2206
  Prefactor  = 1.27951
  Prefactor  = 2.31084
  norm       = 6.40462
  Prefactor  = 2.08361
  Prefactor  = 61.6346
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 9.11873
  Prefactor  = 27.6233
  Prefactor  = 0.0001
  Prefactor  = 19.5919
  Prefactor  = 1.25454
  Prefactor  = 24.4825
  Normalizat = 0.895175
  Prefactor  = 1.0915
 **********
 **   18 **HESSE 
 **********

 FCN=   5555.570     FROM HESSE     STATUS=OK           401 CALLS     3146 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5334        .89846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .86676        .96283        .75351E-04   -1.5522    
   3  Prefactor     .10000E-03    18.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73986        2.9906        .24392E-03   -1.5536    
   5  Prefactor     .10000E-03    6.4722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     64.030        52.602        .50152E-04   -1.4106    
   9  Prefactor     20.221        8.4412        .44536E-03   -1.4808    
  10  Prefactor     1.2795        14.724        .19634E-02   -1.5482    
  11  Prefactor     2.3108        1.7731        .83966E-04   -1.5404    
  12  norm          6.4046        5.6629        .79298E-03   -1.5202    
  13  Prefactor     2.0836        2.7441        .13494E-03   -1.5419    
  14  Prefactor     61.635        39.589        .51113E-04   -1.4136    
  15  Prefactor     .10000E-03    6.9627        .22820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1421        .17959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.1187        49.636        .13267E-03   -1.5104    
  18  Prefactor     27.623        29.452        .76251E-04   -1.4656    
  19  Prefactor     .10000E-03    13.943        .22727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.592        9.2961        .90489E-04   -1.4822    
  21  Prefactor     1.2545        2.6138        .16147E-03   -1.5484    
  22  Prefactor     24.482        23.336        .80950E-04   -1.4718    
  23  Normalizat    .89517        .20259        .24052E-03   -.96630    
  24  Prefactor     1.0915        .22460        .25307E-03   -.89739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99274e-09
Minuit parameter uncertainties:
  1  5.3276e-06
  2  0.962847
  3  1.89088e-05
  4  2.97504
  5  3.37256e-05
  6  5.30892e-05
  7  6.80223e-05
  8  52.6401
  9  8.44171
  10  8.68313
  11  1.77313
  12  5.66334
  13  2.74431
  14  39.6057
  15  0.000131716
  16  5.56866e-06
  17  42.6041
  18  29.4675
  19  5.14906e-05
  20  9.29679
  21  2.61407
  22  23.3442
  23  0.202763
  24  0.224792
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.311e+00  1.773e+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:  1.092e+00  2.248e-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.952e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.33
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.08e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 9.42e-06

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) = 5555.32635504
delta logL = 0.243817473013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5555.32044129
delta logL = 0.249731222774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6553       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8612       1.0000          .0000       10.000    
     3 'Normalizat'    .90565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0858       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=   5555.320     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6555        84.799        .62539E-02   -.14418E-04
   2  Index         1.8615        5.3439        .23649        .21305E-05
   3  Normalizat    .90564        .11816        .44974E-01    .11131E-04
   4  Prefactor     1.0858        .10912        .57370E-01    .62937E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.65549
  Index      = 1.86153
  Normalizat = 0.905637
  Prefactor  = 1.08581
 **********
 **   18 **HESSE 
 **********

 FCN=   5555.320     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6555        2.1706        .96138E-04   -1.5382    
   2  Index         1.8615        .56273        .82605E-02   -.67859    
   3  Normalizat    .90564        .19321        .23932E-03   -.96262    
   4  Prefactor     1.0858        .22267        .25369E-03   -.89921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65999e-12
Minuit parameter uncertainties:
  1  2.17068
  2  0.56471
  3  0.19336
  4  0.222863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659441': 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) = 5555.32044116
delta logL = 0.249731351861

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.655e+00  2.171e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.862e+00  5.647e-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:  1.086e+00  2.229e-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.056e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.83
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.86 +/- 0.56
Photon Flux (Free Index): 2.07e-08 +/- 2.22e-08
Energy Flux (Free Index): 2.07e-05 +/- 2.54e-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/659441/cmap_HighResolution_461721601_461980801_4FGL_J1001.1+2911_daily_bin858.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.08e-08', energy_flux2='2.07e-05', photon_flux_error='2.37e-08', dlogl='2.50e-01', energy_flux='1.23e-05', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-01 10:12:52.471714', photon_index_error2='0.56', photon_index2='1.86', ts='5.33', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.90', time_epoch_completed='1630516372.47', return_code='0', job_id='659441', GAL2='1.09', EG2='0.91', return_code2='0', energy_flux_error='9.42e-06', photon_flux_error2='2.22e-08', ts2='5.83', photon_index='2.27' WHERE bin_id='858' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:12:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 659441: <4FGL_J1001.1+2911_daily_bin858> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin858 150.294 29.188 461721601 461980801 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 :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            737 sec.

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

