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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin490
RA = 150.294, Dec = 29.188
tmin = 366336001, tmax = 366595201
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='656318', job_status='RUN', time_executed='2021-09-01 09:53:58.011996', time_epoch_executed='1630515238.01' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656318

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656318/ft1_4FGL_J1001.1+2911_daily_bin490.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656318/ft1_4FGL_J1001.1+2911_daily_bin490.fits outfile=/scratch/kocevski/656318/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin490.fits ra=150.294 dec=29.188 rad=12.0 tmin=366336001.0 tmax=366595201.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 5.75
user 5.24
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656318/ft1_filtered_4FGL_J1001.1+2911_daily_bin490.fits" evtable="EVENTS" scfile=/scratch/kocevski/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits sctable="SC_DATA" outfile=/scratch/kocevski/656318/ltcube_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.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/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits
.....................!
real 12.11
user 11.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656318/ft1_filtered_4FGL_J1001.1+2911_daily_bin490.fits evtable="EVENTS" scfile=/scratch/kocevski/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits sctable="SC_DATA" expcube=/scratch/kocevski/656318/ltcube_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.fits outfile=/scratch/kocevski/656318/expmap_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.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/656318/ltcube_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.fits
.....................!
real 192.28
user 185.69
sys 5.83

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/656318/ft1_filtered_4FGL_J1001.1+2911_daily_bin490.fits scfile=/scratch/kocevski/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits outfile=/scratch/kocevski/656318/cmap_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656318/ft1_filtered_4FGL_J1001.1+2911_daily_bin490.fits scfile=/scratch/kocevski/656318/ft2_4FGL_J1001.1+2911_daily_bin490.fits outfile=/scratch/kocevski/656318/cmap_HighResolution_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .79716E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5792       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24750E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5750       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17140E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6388       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0445       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.410       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.493       1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.050       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1010       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0996       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=   5365.565     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2745 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4260        .23309E-07** at limit **
   2  norm          .80190E-01    1.0433        .20016E-07   -.11530E-03
   3  Prefactor     .10000E-03    20.235       -.18910E-07** at limit **
   4  Prefactor     2.5801        3.9009        .19689E-06   -.10079E-03
   5  Prefactor     .10000E-03    33.675        .35720E-08** at limit **
   6  Prefactor     .10000E-03    208.30        .10045E-04** at limit **
   7  Prefactor     3.5895        102.60        .13129E-04    .11623E-04
   8  Prefactor     .10000E-03    281.80       -.23819E-04** at limit **
   9  Prefactor     .10000E-03    5.7472        .49523E-07** at limit **
  10  Prefactor     2.6398        2.7125        .54648E-06   -.17074E-02
  11  Prefactor     .10000E-03    2.0220        .17880E-07** at limit **
  12  norm          .10000E-03    2.0169        .12789E-07** at limit **
  13  Prefactor     7.0482        4.6521        .61644E-08   -.50487E-04
  14  Prefactor     19.415        35.614        .16624E-05    .11312E-04
  15  Prefactor     .10000E-03    4.2890       -.13529E-07** at limit **
  16  norm          .10000E-03    2.4494       -.92869E-08** at limit **
  17  Prefactor     32.507        45.129        .76030E-05    .55335E-04
  18  Prefactor     49.069        34.189        .16304E-05    .35117E-04
  19  Prefactor     .10000E-03    5.4888       -.11855E-06** at limit **
  20  Prefactor     .10000E-03    3.8102        .79001E-08** at limit **
  21  Prefactor     .10000E-03    2.2533        .41073E-07** at limit **
  22  Prefactor     .10000E-03    8.4534        .14783E-07** at limit **
  23  Normalizat    1.1009        .18108       -.84709E-06    .37757E-04
  24  Prefactor     1.0994        .19517       -.31657E-06    .34691E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0801895
  Prefactor  = 0.0001
  Prefactor  = 2.58005
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.58948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.63982
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.04822
  Prefactor  = 19.4147
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.5065
  Prefactor  = 49.0695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10085
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   5365.565     FROM HESSE     STATUS=OK           391 CALLS     3136 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5055        .22282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .80190E-01    5.4009        .14370E-02   -1.5651    
   3  Prefactor     .10000E-03    20.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.5801        3.8689        .16771E-03   -1.5387    
   5  Prefactor     .10000E-03    33.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    210.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5895        102.79        .21374E-03   -1.5329    
   8  Prefactor     .10000E-03    284.34        .20363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8620        .17140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6398        5.9628        .12550E-02   -1.5383    
  11  Prefactor     .10000E-03    2.0961        .20308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.0184        .10159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0482        4.6536        .12087E-03   -1.5177    
  14  Prefactor     19.415        35.664        .90911E-04   -1.4826    
  15  Prefactor     .10000E-03    4.3814        .29491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4498        .11196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.507        45.248        .70295E-04   -1.4567    
  18  Prefactor     49.069        34.052        .57257E-04   -1.4306    
  19  Prefactor     .10000E-03    5.5674        .16674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8275        .13962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.3403        .21454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.4571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1009        .21072        .23352E-03   -.89724    
  24  Prefactor     1.0994        .22789        .25810E-03   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43431e-08
Minuit parameter uncertainties:
  1  2.50199e-06
  2  1.3155
  3  4.26846e-06
  4  3.86926
  5  3.1674e-05
  6  0.000854671
  7  38.489
  8  0.000486771
  9  1.0315e-05
  10  5.96412
  11  3.45545e-06
  12  7.57766e-07
  13  4.65385
  14  35.7029
  15  6.57941e-06
  16  7.85879e-07
  17  45.2955
  18  34.0659
  19  3.77044e-05
  20  2.77241e-06
  21  4.51097e-06
  22  1.95506e-07
  23  0.210881
  24  0.228094
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.455e-06  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.099e+00  2.281e-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.101e+00  2.109e-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: 7.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656318/likelihoodResults_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.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): 102
logL (Free Index) = 5365.56721846
delta logL = -0.00227367079333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5365.56494111
delta logL = 3.67425309378e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3356       1.0000          .0000       10.000    
     3 'Normalizat'    1.1008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5363.722     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      241 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75416E-01    .20039       -.94915E-06    .21567E-02
   2  Index         4.9429        1.3061       -.32135E-04   -.38645E-04
   3  Normalizat    .93437        .22064        .31048E-05    .91735E-04
   4  Prefactor     1.2087        .23434       -.58658E-05    .79600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0754161
  Index      = 4.94293
  Normalizat = 0.934369
  Prefactor  = 1.20865
 **********
 **   18 **HESSE 
 **********

 FCN=   5363.722     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      280 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75416E-01    1.0981        .24173E-02   -1.5763    
   2  Index         4.9429        3.1579        .86734E-01   -.11415E-01
   3  Normalizat    .93437        .16562        .56693E-01   -.95263    
   4  Prefactor     1.2087        .14839        .55984E-01   -.86065    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.0737e-09
Minuit parameter uncertainties:
  1  0.575175
  2  3.41794
  3  0.165708
  4  0.148442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656318': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5363.72150123
delta logL = 1.84344355867

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.542e-02  5.752e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.943e+00  3.418e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.209e+00  1.484e-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.344e-01  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 150.294 29.188
Photon Index (Free Index): 4.94 +/- 3.42
Photon Flux (Free Index): 1.38e-07 +/- 1.99e-06
Energy Flux (Free Index): 1.84e-05 +/- 2.61e-04

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/656318/cmap_HighResolution_366336001_366595201_4FGL_J1001.1+2911_daily_bin490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', comment='SUCCESS', energy_flux2='1.84e-05', dlogl='1.84e+00', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-01 10:04:29.120072', photon_index_error2='3.42', photon_index2='4.94', ts='-0.00', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='7.59e-08', energy_flux_error2='2.61e-04', EG='1.10', time_epoch_completed='1630515869.12', return_code='0', job_id='656318', GAL2='1.21', EG2='0.93', return_code2='102', photon_flux_error2='1.99e-06', ts2='4.16', photon_index='2.27' WHERE bin_id='490' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 656318: <4FGL_J1001.1+2911_daily_bin490> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin490 150.294 29.188 366336001 366595201 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 :                                   628.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

