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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin814
RA = 150.294, Dec = 29.188
tmin = 450316801, tmax = 450576001
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='659368', job_status='RUN', time_executed='2021-09-01 10:04:41.874246', time_epoch_executed='1630515881.87' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='814'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659368/ft1_4FGL_J1001.1+2911_daily_bin814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659368/ft2_4FGL_J1001.1+2911_daily_bin814.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659368/ft1_4FGL_J1001.1+2911_daily_bin814.fits outfile=/scratch/kocevski/659368/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin814.fits ra=150.294 dec=29.188 rad=12.0 tmin=450316801.0 tmax=450576001.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.97
user 3.73
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659368/ft1_filtered_4FGL_J1001.1+2911_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/659368/ft2_4FGL_J1001.1+2911_daily_bin814.fits sctable="SC_DATA" expcube=/scratch/kocevski/659368/ltcube_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.fits outfile=/scratch/kocevski/659368/expmap_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.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/659368/ltcube_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.fits
.....................!
real 190.72
user 185.92
sys 4.38

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/659368/ft1_filtered_4FGL_J1001.1+2911_daily_bin814.fits scfile=/scratch/kocevski/659368/ft2_4FGL_J1001.1+2911_daily_bin814.fits outfile=/scratch/kocevski/659368/cmap_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.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.65
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659368/ft1_filtered_4FGL_J1001.1+2911_daily_bin814.fits scfile=/scratch/kocevski/659368/ft2_4FGL_J1001.1+2911_daily_bin814.fits outfile=/scratch/kocevski/659368/cmap_HighResolution_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.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/659368/ft1_filtered_4FGL_J1001.1+2911_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/659368/ft2_4FGL_J1001.1+2911_daily_bin814.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659368/Model_4FGL_J1001.1+2911_daily_bin814.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/659368/ft1_filtered_4FGL_J1001.1+2911_daily_bin814.fits.....................!
real 54.76
user 51.12
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4966       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8977       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.334       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11751       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.335       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.907       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5698       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5722       1.0000         .10000E-03   10000.    
    12 'norm      '    17.806       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.6833       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3219       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .96603       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.411       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7674       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .26662       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=   5486.239     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2423 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4967        3.4245        .48141E-07    .82141E-04
   2  norm          1.9008        1.4907        .14004E-06    .10969E-03
   3  Prefactor     30.350        39.320       -.22397E-06   -.49536E-04
   4  Prefactor     .44189E-01    2.4494       -.97126E-08    .12065E-03
   5  Prefactor     17.368        30.862       -.44678E-05   -.24018E-03
   6  Prefactor     19.858        63.386        .20401E-05    .22980E-04
   7  Prefactor     .10000E-03    15.084        .11120E-07** at limit **
   8  Prefactor     8.2442        95.991       -.93386E-05   -.47344E-04
   9  Prefactor     .10000E-03    7.1720       -.78154E-06** at limit **
  10  Prefactor     .10000E-03    4.6208        .18385E-06** at limit **
  11  Prefactor     1.5713        1.7160       -.42076E-07    .17637E-03
  12  norm          17.804        9.8395        .19985E-07    .25233E-03
  13  Prefactor     .10000E-03    1.0748        .88914E-07** at limit **
  14  Prefactor     .10000E-03    25.161        .12173E-06** at limit **
  15  Prefactor     .10000E-03    1.2260        .84833E-07** at limit **
  16  norm          8.6657        12.235       -.85429E-07    .33659E-04
  17  Prefactor     .10000E-03    16.306        .27547E-06** at limit **
  18  Prefactor     .10000E-03    38.167        .10150E-05** at limit **
  19  Prefactor     .10000E-03    8.0291        .73972E-06** at limit **
  20  Prefactor     4.3073        6.9184        .59999E-05   -.27893E-04
  21  Prefactor     .96640        2.5505       -.69474E-07   -.19120E-03
  22  Prefactor     26.365        25.069        .20677E-05    .29253E-03
  23  Normalizat    1.7683        .21519        .50754E-05   -.29192E-05
  24  Prefactor     .26631        .21663       -.11824E-04   -.32310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.49673
  norm       = 1.90084
  Prefactor  = 30.3497
  Prefactor  = 0.0441894
  Prefactor  = 17.3676
  Prefactor  = 19.8578
  Prefactor  = 0.0001
  Prefactor  = 8.24422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.57133
  norm       = 17.8038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.66572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.30729
  Prefactor  = 0.966403
  Prefactor  = 26.3651
  Normalizat = 1.76828
  Prefactor  = 0.266313
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.239     FROM HESSE     STATUS=OK           405 CALLS     2828 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4967        3.4278        .13197E-03   -1.5334    
   2  norm          1.9008        1.5008        .77347E-04   -1.5432    
   3  Prefactor     30.350        39.282        .72747E-04   -1.4606    
   4  Prefactor     .44189E-01    8.7906        .35080E-01   -1.5666    
   5  Prefactor     17.368        31.566        .96197E-04   -1.4874    
   6  Prefactor     19.858        63.176        .89769E-04   -1.4816    
   7  Prefactor     .10000E-03    15.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2442        97.641        .13693E-03   -1.5134    
   9  Prefactor     .10000E-03    7.2809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6441        .15548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5713        1.7115        .98006E-04   -1.5457    
  12  norm          17.804        9.8542        .94914E-04   -1.4864    
  13  Prefactor     .10000E-03    1.0784        .74971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2301        .80073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.6657        12.242        .13603E-03   -1.5119    
  17  Prefactor     .10000E-03    16.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    38.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.3770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.3073        7.0154        .96886E-03   -1.5293    
  21  Prefactor     .96640        2.5008        .17945E-03   -1.5511    
  22  Prefactor     26.365        25.280        .38975E-03   -1.4681    
  23  Normalizat    1.7683        .22000        .19529E-03   -.70495    
  24  Prefactor     .26631        .21216        .46251E-03   -1.2429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78175e-09
Minuit parameter uncertainties:
  1  3.42797
  2  1.50087
  3  39.3156
  4  1.24529
  5  31.5959
  6  63.3897
  7  1.65278e-05
  8  56.8601
  9  1.10718e-05
  10  3.08244e-06
  11  1.71151
  12  9.85509
  13  2.71991e-06
  14  1.81243e-06
  15  2.90456e-06
  16  12.246
  17  9.68454e-06
  18  5.57151e-05
  19  4.40131e-05
  20  7.0167
  21  2.50106
  22  25.2901
  23  0.22012
  24  0.212778
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.571e+00  1.712e+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:  2.663e-01  2.128e-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.768e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.10e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 8.35e-06 +/- 9.10e-06

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

Saving results to:
/scratch/kocevski/659368/likelihoodResults_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.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) = 5485.66357791
delta logL = 0.575060534236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5485.62066727
delta logL = 0.617971175536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0152       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3308       1.0000          .0000       10.000    
     3 'Normalizat'    1.7845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25868       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=   5485.621     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0123        1.0980        .12966E-01   -.33430E-03
   2  Index         1.3299        .47355        .25681       -.50208E-04
   3  Normalizat    1.7842        .21306        .44022E-01   -.12614E-04
   4  Prefactor     .25872        .21290        .10587        .63515E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01227
  Index      = 1.3299
  Normalizat = 1.78425
  Prefactor  = 0.258717
 **********
 **   18 **HESSE 
 **********

 FCN=   5485.621     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0123        1.4583        .77057E-04   -1.5507    
   2  Index         1.3299        .70892        .98786E-02   -.82422    
   3  Normalizat    1.7842        .20833        .19456E-03   -.70075    
   4  Prefactor     .25872        .20772        .46885E-03   -1.2477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04073e-09
Minuit parameter uncertainties:
  1  1.4584
  2  0.714176
  3  0.208429
  4  0.208318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659368': 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) = 5485.62066343
delta logL = 0.617975016012

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.012e+00  1.458e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.330e+00  7.142e-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:  2.587e-01  2.083e-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.784e+00  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.31
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.33 +/- 0.71
Photon Flux (Free Index): 5.58e-09 +/- 8.08e-09
Energy Flux (Free Index): 3.10e-05 +/- 5.34e-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/659368/cmap_HighResolution_450316801_450576001_4FGL_J1001.1+2911_daily_bin814.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-03', comment='SUCCESS', photon_flux='2.10e-08', energy_flux2='3.10e-05', photon_flux_error='2.28e-08', dlogl='6.18e-01', energy_flux='8.35e-06', photon_flux2='5.58e-09', job_status='DONE', time_completed='2021-09-01 10:14:55.206566', photon_index_error2='0.71', photon_index2='1.33', ts='2.07', fit_tolerance='1e-08', GAL='0.27', photon_index_error='0.00', photon_flux_upper_limit='8.68e-08', energy_flux_error2='5.34e-05', EG='1.77', time_epoch_completed='1630516495.21', return_code='0', job_id='659368', GAL2='0.26', EG2='1.78', return_code2='0', energy_flux_error='9.10e-06', photon_flux_error2='8.08e-09', ts2='3.31', photon_index='2.27' WHERE bin_id='814' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:14:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 659368: <4FGL_J1001.1+2911_daily_bin814> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin814 150.294 29.188 450316801 450576001 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 :                                   608.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

