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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin194
RA = 150.294, Dec = 29.188
tmin = 289612801, tmax = 289872001
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='654750', job_status='RUN', time_executed='2021-09-01 09:49:29.844103', time_epoch_executed='1630514969.84' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654750/ft1_4FGL_J1001.1+2911_daily_bin194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654750/ft2_4FGL_J1001.1+2911_daily_bin194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654750/ft1_4FGL_J1001.1+2911_daily_bin194.fits outfile=/scratch/kocevski/654750/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin194.fits ra=150.294 dec=29.188 rad=12.0 tmin=289612801.0 tmax=289872001.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.48
user 3.27
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654750/ft1_filtered_4FGL_J1001.1+2911_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/654750/ft2_4FGL_J1001.1+2911_daily_bin194.fits sctable="SC_DATA" expcube=/scratch/kocevski/654750/ltcube_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.fits outfile=/scratch/kocevski/654750/expmap_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.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/654750/ltcube_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.fits
.....................!
real 191.91
user 187.14
sys 4.40

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/654750/ft1_filtered_4FGL_J1001.1+2911_daily_bin194.fits scfile=/scratch/kocevski/654750/ft2_4FGL_J1001.1+2911_daily_bin194.fits outfile=/scratch/kocevski/654750/cmap_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.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.78
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654750/ft1_filtered_4FGL_J1001.1+2911_daily_bin194.fits scfile=/scratch/kocevski/654750/ft2_4FGL_J1001.1+2911_daily_bin194.fits outfile=/scratch/kocevski/654750/cmap_HighResolution_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59964E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3556       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6324       1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.132       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.007       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10672       1.0000         .10000E-03   10000.    
    12 'norm      '    7.9489       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.822       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.330       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2709       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .39023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0662       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.621       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0293       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0013       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=   5847.729     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2773 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    2.1524       -.81305E-06** at limit **
   2  norm          1.3558        1.6609       -.92732E-07   -.41988E-03
   3  Prefactor     .10000E-03    25.757        .40579E-05** at limit **
   4  Prefactor     2.6336        4.1842       -.18566E-05   -.61806E-03
   5  Prefactor     43.124        31.346        .11917E-04    .17617E-03
   6  Prefactor     .10000E-03    25.254       -.24324E-05** at limit **
   7  Prefactor     33.746        37.997       -.16551E-04    .12794E-04
   8  Prefactor     22.015        54.878       -.24188E-04    .10578E-04
   9  Prefactor     16.600        8.7357       -.10318E-07    .42968E-03
  10  Prefactor     .10000E-03    3.7356       -.30298E-07** at limit **
  11  Prefactor     .12104        1.3341       -.15190E-05    .11880E-02
  12  norm          7.9484        8.1635       -.33358E-05    .32520E-04
  13  Prefactor     .10000E-03    1.9742        .31085E-07** at limit **
  14  Prefactor     .10000E-03    23.754       -.33610E-05** at limit **
  15  Prefactor     .10000E-03    1.4653       -.46094E-07** at limit **
  16  norm          .10000E-03    5.5351        .36543E-07** at limit **
  17  Prefactor     14.655        65.818       -.26485E-04    .22425E-04
  18  Prefactor     24.332        26.682       -.10175E-04    .13043E-04
  19  Prefactor     7.2721        5.7971        .13304E-05   -.57567E-04
  20  Prefactor     .10014E-03    6.4351        .14848E-05** at limit **
  21  Prefactor     3.0664        2.4710       -.27762E-06   -.57765E-03
  22  Prefactor     15.622        22.806       -.24964E-05    .70395E-05
  23  Normalizat    1.0291        .18844        .39888E-05    .33270E-03
  24  Prefactor     1.0014        .19110        .64100E-06    .43552E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  norm       = 1.35576
  Prefactor  = 0.0001
  Prefactor  = 2.63358
  Prefactor  = 43.1236
  Prefactor  = 0.0001
  Prefactor  = 33.746
  Prefactor  = 22.0155
  Prefactor  = 16.6005
  Prefactor  = 0.0001
  Prefactor  = 0.12104
  norm       = 7.94836
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.6554
  Prefactor  = 24.3317
  Prefactor  = 7.27207
  Prefactor  = 0.000100145
  Prefactor  = 3.06642
  Prefactor  = 15.6221
  Normalizat = 1.02914
  Prefactor  = 1.0014
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.729     FROM HESSE     STATUS=OK           401 CALLS     3174 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    17.493        .21715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3558        1.6243        .10285E-03   -1.5475    
   3  Prefactor     .10000E-03    25.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6336        4.1682        .18142E-03   -1.5383    
   5  Prefactor     43.124        31.440        .61042E-04   -1.4394    
   6  Prefactor     .10000E-03    25.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.746        38.047        .68984E-04   -1.4545    
   8  Prefactor     22.015        55.054        .85383E-04   -1.4769    
   9  Prefactor     16.600        8.7382        .98289E-04   -1.4893    
  10  Prefactor     .10000E-03    3.7475        .14433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12104        15.223        .16339E-02   -1.5638    
  12  norm          7.9484        8.1640        .14221E-03   -1.5144    
  13  Prefactor     .10000E-03    2.0470        .20969E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4746        .90364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.5607        .17569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.655        66.128        .10404E-03   -1.4942    
  18  Prefactor     24.332        26.656        .81211E-04   -1.4721    
  19  Prefactor     7.2721        5.8001        .14875E-03   -1.5169    
  20  Prefactor     .10014E-03    28.438        .36775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0664        2.4345        .10258E-03   -1.5358    
  22  Prefactor     15.622        22.813        .10134E-03   -1.4917    
  23  Normalizat    1.0291        .21990        .23967E-03   -.92061    
  24  Prefactor     1.0014        .22292        .26240E-03   -.92683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51416e-08
Minuit parameter uncertainties:
  1  0.00120073
  2  1.62435
  3  4.06575e-05
  4  4.16864
  5  31.4523
  6  8.56387e-06
  7  38.0739
  8  55.1815
  9  8.73887
  10  7.22823e-06
  11  2.71441
  12  8.16514
  13  2.37819e-06
  14  1.99779e-05
  15  5.37958e-07
  16  5.60627e-06
  17  62.3766
  18  26.6689
  19  5.80054
  20  0.00405906
  21  2.4346
  22  22.8256
  23  0.220093
  24  0.223124
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.210e-01  2.714e+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.001e+00  2.231e-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.029e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654750/likelihoodResults_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.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) = 5847.62839457
delta logL = 0.100834205041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5847.62839451
delta logL = 0.100834264881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30031       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2811       1.0000          .0000       10.000    
     3 'Normalizat'    1.0075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0128       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=   5847.628     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      240 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30135        12.126        .10426E-01    .19814E-02
   2  Index         3.2793        3.3174        .21533        .64759E-04
   3  Normalizat    1.0074        .25847E-01    .46261E-01    .12983E-04
   4  Prefactor     1.0129        .28161E-01    .42940E-01    .12357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.301349
  Index      = 3.27931
  Normalizat = 1.00743
  Prefactor  = 1.0129
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.628     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30135        103.07        .90568E-04   -1.5598    
   2  Index         3.2793        8.2471        .10203E-01   -.35132    
   3  Normalizat    1.0074        .22034        .24194E-03   -.92782    
   4  Prefactor     1.0129        .26089        .26103E-03   -.92301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10353e-06
Minuit parameter uncertainties:
  1  11.1641
  2  19.0551
  3  0.220541
  4  0.261217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654750': 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) = 5847.62839415
delta logL = 0.100834624167

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.013e-01  1.116e+01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.279e+00  1.906e+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.013e+00  2.612e-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.007e+00  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 150.294 29.188

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/654750/cmap_HighResolution_289612801_289872001_4FGL_J1001.1+2911_daily_bin194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.85e-08', time_completed='2021-09-01 10:00:21.924308', job_id='654750', GAL2='1.01', fit_tolerance='1e-08', EG2='1.01', EG='1.03', time_epoch_completed='1630515621.92', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.01e-01', ts2='0.22', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='194' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 654750: <4FGL_J1001.1+2911_daily_bin194> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin194> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:56 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:58 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:45:58 2021
Terminated at Wed Sep  1 10:00:22 2021
Results reported at Wed Sep  1 10:00:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin194 150.294 29.188 289612801 289872001 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 :                                   646.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

